Module:Gm4Sprite/Aliases: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
m (Testing Heart Canisters' aliases)
m (Some more custom 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' }
'Boots of Ostara',
['Boots of Ostara'] = { name = 'Boots of Ostara', text = '&o&5Brings Abundance Beneath You!'},
 
'Heart Canisters',
['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' },
 
'Metallurgy - Ores',
['Baryte Lump'] = { name = 'Baryte Lump', text = '&7Contains /&fBarium' },
['Bauxite Lump'] = { name = 'Bauxite Lump', text = '&7Contains /&cAluminium' },
['Malachite Lump'] = { name = 'Malachite Lump', text = '&7Contains /&6Copper' },
['Thoranite Lump'] = { name = 'Thoranite Lump', text = '&7Contains /&8Thorium' },
 
}
}


Line 14: Line 26:
for _, name in ipairs ( yellowTooltips ) do
for _, name in ipairs ( yellowTooltips ) do
aliases[name] = { title = '&e', name = name }
aliases[name] = { title = '&e', name = name }
end
local obsidianCasts = {
'Obsidian Cast (Aluminium Band)',
'Obsidian Cast (Barium Band)',
'Obsidian Cast (Barimium Band)',
'Obsidian Cast (Copper Band)',
'Obsidian Cast (Thorium Band)',
'Obsidian Cast (Thorium Brass)'
}
for _, name in ipairs ( obsidianCasts ) do
aliases[name] = { title = '&eObsidian Cast', name = name , text = 'Band' }
end
end


return aliases
return aliases

Revision as of 08:42, 11 August 2020

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

local aliases = {

	'Boots of Ostara',
	['Boots of Ostara']	= { name = 'Boots of Ostara', text = '&o&5Brings Abundance Beneath You!'},

	'Heart Canisters',
	['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' },

	'Metallurgy - Ores',
	['Baryte Lump'] 	= { name = 'Baryte Lump', text = '&7Contains /&fBarium' },
	['Bauxite Lump'] 	= { name = 'Bauxite Lump', text = '&7Contains /&cAluminium' },
	['Malachite Lump'] 	= { name = 'Malachite Lump', text = '&7Contains /&6Copper' },
	['Thoranite Lump'] 	= { name = 'Thoranite Lump', text = '&7Contains /&8Thorium' },

}

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

local obsidianCasts = {
	'Obsidian Cast (Aluminium Band)',
	'Obsidian Cast (Barium Band)',
	'Obsidian Cast (Barimium Band)',
	'Obsidian Cast (Copper Band)',
	'Obsidian Cast (Thorium Band)',
	'Obsidian Cast (Thorium Brass)'
}

for _, name in ipairs ( obsidianCasts ) do
	aliases[name] = { title = '&eObsidian Cast', name = name , text = 'Band' }
end

return aliases