Module:Globals/data

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:12, 17 October 2024 (Created page with "-- <nowiki> local ca_info = { easy_tasks = 35, medium_tasks = 52, hard_tasks = 78, elite_tasks = 154, master_tasks = 158, grandmaster_tasks = 111 } local skill_info = { free_skills = 15, members_skills = 8 } return { -- Quests ['quests'] = { 'the total amount of quests', '169' }, ['quests p2p'] = { 'the total amount of quests exclusive for members', '147' }, ['quests f2p'] = { 'the total amount of free-to-play quests', '22' }, ['quests spee..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Module documentation
This documentation is transcluded from Module:Globals/data/doc. [edit] [history] [purge]
Module:Globals/data is required by Module:Globals.

See Module:Globals/doc


-- <nowiki>

local ca_info = { 
	easy_tasks = 35,
	medium_tasks = 52,
	hard_tasks = 78,
	elite_tasks = 154,
	master_tasks = 158,
	grandmaster_tasks = 111
}
local skill_info = {
	free_skills = 15,
	members_skills = 8
}

return
{

-- Quests
	['quests'] = {
		'the total amount of quests',
		'169'
	},
	['quests p2p'] = {
		'the total amount of quests exclusive for members',
		'147'
	},
	['quests f2p'] = {
		'the total amount of free-to-play quests',
		'22'
	},
	['quests speedrunning'] = {
		'the total amount of quests available to speedrun on Quest Speedrunning worlds',
		'15'
	},
	['quest points'] = {
		'the total amount of quest points',
		'319'
	},
	['quest points f2p'] = {
		'the total amount of quest points obtained with free-to-play quests',
		'44'
	},
	['quest points p2p'] = {
		'the total amount of quest points obtained with pay-to-play quests',
		'275'
	},
	['latest quest'] = {
		'the name of the latest released quest',
		'[[The Heart  of Darkness]]'
	},
	['latest quest f2p'] = {
		'the name of the latest released free-to-play quest',
		'[[Below Ice Mountain]]'
	},
	['latest quest p2p'] = {
		'the name of the latest released quest exclusive for members',
		'[[The Heart  of Darkness]]'
	},
	['latest quest release date'] = {
		'the date of the latest released quest',
		'[[25 September]] [[2024]]'
	},
	['latest quest release date f2p'] = {
		'the date of the latest released free-to-play quest',
		'[[14 April]] [[2021]]'
	},

-- Music tracks
	['music tracks'] = {
		'the total amount of music tracks',
		'790'
	},
	['latest music release date'] = {
		'the date of when the latest music track was released',
		'[[25 September]] [[2024]]'
	},

-- Combat achievements
	['ca total tasks'] = {
		'the total amount of Combat Achievements tasks',
		tostring(
			ca_info.easy_tasks+
			ca_info.medium_tasks+
			ca_info.hard_tasks+
			ca_info.elite_tasks+
			ca_info.master_tasks+
			ca_info.grandmaster_tasks
		)
	},
	['ca easy tasks'] = {
		'the total amount of easy-tier Combat Achievements tasks',
		tostring(ca_info.easy_tasks)
	},
	['ca medium tasks'] = {
		'the total amount of medium-tier Combat Achievements tasks',
		tostring(ca_info.medium_tasks)
	},
	['ca hard tasks'] = {
		'the total amount of hard-tier Combat Achievements tasks',
		tostring(ca_info.hard_tasks)
	},
	['ca elite tasks'] = {
		'the total amount of elite-tier Combat Achievements tasks',
		tostring(ca_info.elite_tasks)
	},
	['ca master tasks'] = {
		'the total amount of master-tier Combat Achievements tasks',
		tostring(ca_info.master_tasks)
	},
	['ca gm tasks'] = {
		'the total amount of grandmaster-tier Combat Achievements tasks',
		tostring(ca_info.grandmaster_tasks)
	},
	
	['ca easy task points'] = {
		'the total amount of points granted by easy-tier Combat Achievements',
		tostring(ca_info.easy_tasks * 1)
	},
	['ca medium task points'] = {
		'the total amount of points granted by medium-tier Combat Achievements',
		tostring(ca_info.medium_tasks * 2)
	},
	['ca hard task points'] = {
		'the total amount of points granted by hard-tier Combat Achievements',
		tostring(ca_info.hard_tasks * 3)
	},
	['ca elite task points'] = {
		'the total amount of points granted by elite-tier Combat Achievements',
		tostring(ca_info.elite_tasks * 4)
	},
	['ca master task points'] = {
		'the total amount of points granted by master-tier Combat Achievements',
		tostring(ca_info.master_tasks * 5)
	},
	['ca gm task points'] = {
		'the total amount of points granted by grandmaster-tier Combat Achievements',
		tostring(ca_info.grandmaster_tasks * 6)
	},

	['ca easy points'] = {
		'the total amount of points required to claim the easy-tier Combat Achievements rewards',
		tostring(ca_info.easy_tasks * 1)
	},
	['ca medium points'] = {
		'the total amount of points required to claim the medium-tier Combat Achievements rewards',
		tostring(
			ca_info.easy_tasks * 1 +
			ca_info.medium_tasks * 2
		)
	},
	['ca hard points'] = {
		'the total amount of points required to claim the hard-tier Combat Achievements rewards',
		tostring(
			ca_info.easy_tasks * 1 +
			ca_info.medium_tasks * 2 +
			ca_info.hard_tasks * 3
		)
	},
	['ca elite points'] = {
		'the total amount of points required to claim the elite-tier Combat Achievements rewards',
		tostring(
			ca_info.easy_tasks * 1 +
			ca_info.medium_tasks * 2 +
			ca_info.hard_tasks * 3 +
			ca_info.elite_tasks * 4
		)
	},
	['ca master points'] = {
		'the total amount of points required to claim the master-tier Combat Achievements rewards',
		tostring(
			ca_info.easy_tasks * 1 +
			ca_info.medium_tasks * 2 +
			ca_info.hard_tasks * 3 +
			ca_info.elite_tasks * 4 +
			ca_info.master_tasks * 5
		)
	},
	['ca gm points'] = {
		'the total amount of Combat Achievements points',
		tostring(
			ca_info.easy_tasks * 1 +
			ca_info.medium_tasks * 2 +
			ca_info.hard_tasks * 3 +
			ca_info.elite_tasks * 4 +
			ca_info.master_tasks * 5 +
			ca_info.grandmaster_tasks * 6
		)
	},

-- Skills
	['total skills'] = {
		'the total amount of skills',
		tostring(skill_info.free_skills + skill_info.members_skills)
	},
	['total skills p2p'] = {
		'the total amount of skills exclusive to members',
		tostring(skill_info.members_skills)
	},
	['total skills f2p'] = {
		'the total amount of free-to-play skills',
		tostring(skill_info.free_skills)
	},
	['total level'] = {
		'the absolute maximum total level achievable',
		tostring((skill_info.free_skills + skill_info.members_skills) * 99)
	},
	['total level f2p'] = {
		'the absolute maximum total level achievable in free-to-play',
		tostring(skill_info.free_skills * 99)
	},

-- Time
	['today'] = {
		'the date of today',
		os.date('%d %B %Y')
	}
}
-- </nowiki>