Module:Gm4Sprite/Aliases: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
(Some stuff to start)
 
m (Testing Heart Canisters' aliases)
Line 1: Line 1:
local aliases = {}
local aliases = {
['Heart Canister Tier 1'] = { title = '&eHeart Canister', name = 'Heart Canister Tier 1', text = '&5Tier 1' },
['Heart Canister Tier 2'] = { title = '&eHeart Canister', name = 'Heart Canister Tier 2', text = '&5Tier 2' }
}


local yellowTooltips = {
local yellowTooltips = {

Revision as of 07:58, 11 August 2020

Documentation for this module may be created at Module:Gm4Sprite/Aliases/doc

local aliases = {
	['Heart Canister Tier 1'] = { title = '&eHeart Canister', name = 'Heart Canister Tier 1', text = '&5Tier 1' },
	['Heart Canister Tier 2'] = { title = '&eHeart Canister', name = 'Heart Canister Tier 2', text = '&5Tier 2' }
}

local yellowTooltips = {
	'Crystal of Fire Resistance',
	'Crystal of Regeneration',
	'Crystal of Resistance',
	'Crystal of Speed',
	'Relocator'
}

for _, name in ipairs ( yellowTooltips ) do
	aliases[name] = { title = '&e', name = name }
end

return aliases