Module:Gm4Sprite/Aliases: Difference between revisions

add Relocators items (this should be the last of it); make things tabbed correctly to enhance readability
(fix incorrect variable name)
(add Relocators items (this should be the last of it); make things tabbed correctly to enhance readability)
Line 1: Line 1:
local aliases = {
local aliases = {


    'Bat Grenades',
'Bat Grenades',
    ['Bat Leather'] = { name = 'Bat Leather', text = '&o&5Would make for a very strange,/very tiny jacket' },
['Bat Leather'] = { name = 'Bat Leather', text = '&o&5Would make for a very strange,/very tiny jacket' },


'Boots of Ostara',
'Boots of Ostara',
Line 8: Line 8:


'Heart Canisters',
'Heart Canisters',
['Heart Canister Tier 1'] = { title = '&eHeart Canister', name = 'Heart Canister Tier 1', text = '&5Tier 1' },
['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' },
['Heart Canister Tier 2'] = { title = '&eHeart Canister', name = 'Heart Canister Tier 2', text = '&5Tier 2' },


'Lightning Rods',
'Lightning Rods',
['Lightning Rod'] = { title = '&bLightning Rod', name = 'Lightning Rod', text = '&o&5Throw for boom!'},
['Lightning Rod'] = { title = '&bLightning Rod', name = 'Lightning Rod', text = '&o&5Throw for boom!'},




'Liquid Tanks - Standard Liquids',
'Liquid Tanks - Standard Liquids',
['Beetroot Soup Liquid'] = { title = 'Beetroot Soup', name = 'Beetroot Soup Liquid' },
['Beetroot Soup Liquid'] = { title = 'Beetroot Soup', name = 'Beetroot Soup Liquid' },
['Experience Liquid'] = { title = 'Experience', name = 'Experience Liquid' },
['Experience Liquid'] = { title = 'Experience', name = 'Experience Liquid' },
['Honey Liquid'] = { title = 'Honey', name = 'Honey Liquid' },
['Honey Liquid'] = { title = 'Honey', name = 'Honey Liquid' },
['Lava Liquid'] = { title = 'Lava', name = 'Lava Liquid' },
['Lava Liquid'] = { title = 'Lava', name = 'Lava Liquid' },
['Milk Liquid'] = { title = 'Milk', name = 'Milk Liquid' },
['Milk Liquid'] = { title = 'Milk', name = 'Milk Liquid' },
['Mushroom Stew Liquid'] = { title = 'Mushroom Stew', name = 'Mushroom Stew Liquid' },
['Mushroom Stew Liquid'] = { title = 'Mushroom Stew', name = 'Mushroom Stew Liquid' },
['Rabbit Stew Liquid'] = { title = 'Rabbit Stew', name = 'Rabbit Stew Liquid' },
['Rabbit Stew Liquid'] = { title = 'Rabbit Stew', name = 'Rabbit Stew Liquid' },
['Water Liquid'] = { title = 'Water', name = 'Water Liquid' },
['Water Liquid'] = { title = 'Water', name = 'Water Liquid' },


'Liquid Tanks - Potion Liquids',
'Liquid Tanks - Potion Liquids',
['Regeneration Potion Liquid'] = { title = 'Regeneration', name = 'Regeneration Potion Liquid' },
['Regeneration Potion Liquid'] = { title = 'Regeneration', name = 'Regeneration Potion Liquid' },
['Strong Regeneration Potion Liquid'] = { title = 'Regeneration II', name = 'Strong Regeneration Potion Liquid' },
['Strong Regeneration Potion Liquid'] = { title = 'Regeneration II', name = 'Strong Regeneration Potion Liquid' },
['Healing Potion Liquid'] = { title = 'Instant Health', name = 'Healing Potion Liquid' },
['Healing Potion Liquid'] = { title = 'Instant Health', name = 'Healing Potion Liquid' },
['Strong Healing Potion Liquid'] = { title = 'Instant Health II', name = 'Strong Healing Potion Liquid' },
['Strong Healing Potion Liquid'] = { title = 'Instant Health II', name = 'Strong Healing Potion Liquid' },
['Strength Potion Liquid'] = { title = 'Strength', name = 'Strength Potion Liquid' },
['Strength Potion Liquid'] = { title = 'Strength', name = 'Strength Potion Liquid' },
['Strong Strength Potion Liquid'] = { title = 'Strength II', name = 'Strong Strength Potion Liquid' },
['Strong Strength Potion Liquid'] = { title = 'Strength II', name = 'Strong Strength Potion Liquid' },
['Fire Resistance Potion Liquid'] = { title = 'Regeneration', name = 'Regeneration Potion Liquid' },
['Fire Resistance Potion Liquid'] = { title = 'Regeneration', name = 'Regeneration Potion Liquid' },
['Poison Potion Liquid'] = { title = 'Poison', name = 'Poison Potion Liquid' },
['Poison Potion Liquid'] = { title = 'Poison', name = 'Poison Potion Liquid' },
['Strong Poison Potion Liquid'] = { title = 'Poison II', name = 'Strong Poison Potion Liquid' },
['Strong Poison Potion Liquid'] = { title = 'Poison II', name = 'Strong Poison Potion Liquid' },
['Leaping Potion Liquid'] = { title = 'Leaping', name = 'Leaping Potion Liquid' },
['Leaping Potion Liquid'] = { title = 'Leaping', name = 'Leaping Potion Liquid' },
['Strong Leaping Potion Liquid'] = { title = 'Leaping II', name = 'Strong Leaping Potion Liquid' },
['Strong Leaping Potion Liquid'] = { title = 'Leaping II', name = 'Strong Leaping Potion Liquid' },
['Invisibility Potion Liquid'] = { title = 'Invisibility', name = 'Invisibility Liquid' },
['Invisibility Potion Liquid'] = { title = 'Invisibility', name = 'Invisibility Liquid' },
['Harming Potion Liquid'] = { title = 'Instant Damage', name = 'Harming Potion Liquid' },
['Harming Potion Liquid'] = { title = 'Instant Damage', name = 'Harming Potion Liquid' },
['Strong Harming Potion Liquid'] = { title = 'Instant Damage II', name = 'Strong Harming Potion Liquid' },
['Strong Harming Potion Liquid'] = { title = 'Instant Damage II', name = 'Strong Harming Potion Liquid' },
['Night Vision Potion Liquid'] = { title = 'Night Vision', name = 'Night Vision Potion Liquid' },
['Night Vision Potion Liquid'] = { title = 'Night Vision', name = 'Night Vision Potion Liquid' },
['Weakness Potion Liquid'] = { title = 'Weakness', name = 'Weakness Potion Liquid' },
['Weakness Potion Liquid'] = { title = 'Weakness', name = 'Weakness Potion Liquid' },
['Slowness Potion Liquid'] = { title = 'Slowness', name = 'Slowness Potion Liquid' },
['Slowness Potion Liquid'] = { title = 'Slowness', name = 'Slowness Potion Liquid' },
['Strong Slowness Potion Liquid'] = { title = 'Slowness IV', name = 'Strong Slowness Potion Liquid' },
['Strong Slowness Potion Liquid'] = { title = 'Slowness IV', name = 'Strong Slowness Potion Liquid' },
['Swiftness Potion Liquid'] = { title = 'Swiftness', name = 'Swiftness Potion Liquid' },
['Swiftness Potion Liquid'] = { title = 'Swiftness', name = 'Swiftness Potion Liquid' },
['Strong Swiftness Potion Liquid'] = { title = 'Swiftness II', name = 'Strong Swiftness Potion Liquid' },
['Strong Swiftness Potion Liquid'] = { title = 'Swiftness II', name = 'Strong Swiftness Potion Liquid' },
['Water Breathing Potion Liquid'] = { title = 'Water Breathing', name = 'Water Breathing Potion Liquid' },
['Water Breathing Potion Liquid'] = { title = 'Water Breathing', name = 'Water Breathing Potion Liquid' },
['Levitation Potion Liquid'] = { title = 'Levitation', name = 'Levitation Potion Liquid' },
['Levitation Potion Liquid'] = { title = 'Levitation', name = 'Levitation Potion Liquid' },


'Liquid Tanks - Zauber Liquids',
'Liquid Tanks - Zauber Liquids',
['Zauber Strength Liquid'] = {title = 'Strength IV', name = 'Zauber Strength Liquid' },
['Zauber Strength Liquid'] = {title = 'Strength IV', name = 'Zauber Strength Liquid' },
['Zauber Regeneration Liquid'] = {title = 'Regeneration IV/Speed III', name = 'Zauber Regeneration Liquid' },
['Zauber Regeneration Liquid'] = {title = 'Regeneration IV/Speed III', name = 'Zauber Regeneration Liquid' },
['Zauber Swiftness Liquid'] = {title = 'Speed IV/Weakness IV', name = 'Zauber Swiftness Liquid' },
['Zauber Swiftness Liquid'] = {title = 'Speed IV/Weakness IV', name = 'Zauber Swiftness Liquid' },
['Zauber Healing Liquid'] = {title = 'Instant Healing IV/Nausea', name = 'Zauber Healing Liquid' },
['Zauber Healing Liquid'] = {title = 'Instant Healing IV/Nausea', name = 'Zauber Healing Liquid' },
['Zauber Poison Liquid'] = {title = 'Poison IV', name = 'Zauber Poison Liquid' },
['Zauber Poison Liquid'] = {title = 'Poison IV', name = 'Zauber Poison Liquid' },
['Zauber Leaping Liquid'] = {title = 'Jump Boost IV', name = 'Zauber Strength Liquid' },
['Zauber Leaping Liquid'] = {title = 'Jump Boost IV', name = 'Zauber Strength Liquid' },
['Zauber Harming Liquid'] = {title = 'Instant Damage IV', name = 'Zauber Harming Liquid' },
['Zauber Harming Liquid'] = {title = 'Instant Damage IV', name = 'Zauber Harming Liquid' },


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


    'Orb of Ankou',
'Orb of Ankou',
    ['Orb of Ankou (Empty)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Empty)', text = '&7&oEmpty' },
['Orb of Ankou (Empty)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Empty)', text = '&7&oEmpty' },
    ['Soul Shard'] = { name = 'Soul Shard', text = '/&7When in Off Hand:/&c-20% Attack Damage' },
['Soul Shard'] = { name = 'Soul Shard', text = '/&7When in Off Hand:/&c-20% Attack Damage' },


'SCUBA Gear',
'SCUBA Gear',
['SCUBA Helmet'] = { title = '&eSCUBA Helmet', name = 'SCUBA Helmet', text = '/&7When on head:/&c-0.5 Attack Speed/&9+2 Armour'},
['SCUBA Helmet'] = { title = '&eSCUBA Helmet', name = 'SCUBA Helmet', text = '/&7When on head:/&c-0.5 Attack Speed/&9+2 Armour'},
['SCUBA Tank']   = { name = 'SCUBA Tank', text = '/&7When on chest:/&9+4 Armour/&c-0.01 Movement Speed'},
['SCUBA Tank'] = { name = 'SCUBA Tank', text = '/&7When on chest:/&9+4 Armour/&c-0.01 Movement Speed'},
['Flippers']     = { name = 'Flippers', text = '/&7When on feet:/&9+1 Armour/&c-0.04 Movement Speed'},
['Flippers'] = { name = 'Flippers', text = '/&7When on feet:/&9+1 Armour/&c-0.04 Movement Speed'},


'Sunken Treasure',
'Sunken Treasure',
Line 82: Line 82:


'Zauber Cauldrons',
'Zauber Cauldrons',
['Zauber Swiftness Potion'] = { title = 'Potion of Swiftness', name = 'Zauber Swiftness Potion', text = '&9Speed IV (3:20)/&cWeakness IV (6:00)//&5When Applied:/&9+80% Speed/-16% Attack Damage' },
['Zauber Swiftness Potion'] = { title = 'Potion of Swiftness', name = 'Zauber Swiftness Potion', text = '&9Speed IV (3:20)/&cWeakness IV (6:00)//&5When Applied:/&9+80% Speed/-16% Attack Damage' },
['Zauber Healing Potion'] = { title = 'Potion of Healing', name = 'Zauber Healing Potion', text = '&9Instant Health IV/&cNausea (0:08)' },
['Zauber Healing Potion'] = { title = 'Potion of Healing', name = 'Zauber Healing Potion', text = '&9Instant Health IV/&cNausea (0:08)' },
['Zauber Harming Potion'] = { title = 'Potion of Harming', name = 'Zauber Harming Potion', text = '&cInstant Damage IV' },
['Zauber Harming Potion'] = { title = 'Potion of Harming', name = 'Zauber Harming Potion', text = '&cInstant Damage IV' },
['Zauber Poison Potion'] = { title = 'Potion of Poison', name = 'Zauber Poison Potion', text = '&cPoison IV (0:32)' },
['Zauber Poison Potion'] = { title = 'Potion of Poison', name = 'Zauber Poison Potion', text = '&cPoison IV (0:32)' },
['Zauber Regeneration Potion'] = { title = 'Potion of Regeneration', name = 'Zauber Regeneration Potion', text = '&9Regeneration IV (0:22)/Speed III (0:16)' },
['Zauber Regeneration Potion'] = { title = 'Potion of Regeneration', name = 'Zauber Regeneration Potion', text = '&9Regeneration IV (0:22)/Speed III (0:16)' },
['Zauber Strength Potion'] = { title = 'Potion of Strength', name = 'Zauber Strength Potion', text = '&9Strength IV (1:30)//&5When Applied:/&9+12 Attack Damage' },
['Zauber Strength Potion'] = { title = 'Potion of Strength', name = 'Zauber Strength Potion', text = '&9Strength IV (1:30)//&5When Applied:/&9+12 Attack Damage' },
['Zauber Leaping Potion'] = { title = 'Potion of Leaping', name = 'Zauber Leaping Potion', text = '&9Jump Boost IV (1:30)' }
['Zauber Leaping Potion'] = { title = 'Potion of Leaping', name = 'Zauber Leaping Potion', text = '&9Jump Boost IV (1:30)' }
}
}


local yellowTooltips = {
local yellowTooltips = {
    'Enderpuff',
'Enderpuff',
'Crystal of Fire Resistance',
'Crystal of Fire Resistance',
'Crystal of Regeneration',
'Crystal of Regeneration',
Line 107: Line 107:
-- Obsidian Casts
-- Obsidian Casts
local bandFormat = {
local bandFormat = {
    Aluminium = 'c',
Aluminium = 'c',
    Barimium = 'd',
Barimium = 'd',
    Barium = 'f',
Barium = 'f',
    Copper = '6',
Copper = '6',
    Thorium = '8',
Thorium = '8',
    Thorium_Brass = '2',
Thorium_Brass = '2',
}
}


Line 126: Line 126:
for _, cast in ipairs ( obsidianCasts ) do
for _, cast in ipairs ( obsidianCasts ) do
local name = 'Obsidian Cast (' .. cast .. ' Band)'
local name = 'Obsidian Cast (' .. cast .. ' Band)'
    local bandName = cast
local bandName = cast
    if bandName == "Thorium Brass" then
if bandName == "Thorium Brass" then
        bandName = "Thorium_Brass"
bandName = "Thorium_Brass"
    end
end
    local band = '&' .. bandFormat[bandName] .. cast .. ' Band'
local band = '&' .. bandFormat[bandName] .. cast .. ' Band'
aliases[name] = { title = '&eObsidian Cast', name = name , text = band }
aliases[name] = { title = '&eObsidian Cast', name = name , text = band }
end
end
Line 136: Line 136:
-- Shamirs
-- Shamirs
local shamirs = {  
local shamirs = {  
{ 'Arborenda',   'Barium'},
{ 'Arborenda', 'Barium'},
{ 'Conduction', 'Thorium'},
{ 'Conduction', 'Thorium'},
{ 'Defuse',     'Aluminium'},
{ 'Defuse', 'Aluminium'},
{ 'Ender Bolt', 'Thorium'},
{ 'Ender Bolt', 'Thorium'},
{ 'Forterra',   'Copper'},
{ 'Forterra', 'Copper'},
{ 'Gemini',     'Barimium'},
{ 'Gemini', 'Barimium'},
{ 'Hypexperia', 'Copper'},
{ 'Hypexperia', 'Copper'},
{ 'Levity',     'Aluminium'},
{ 'Levity', 'Aluminium'},
{ 'Musical',     'Barimium'},
{ 'Musical', 'Barimium'},
{ 'Sensus',     'Barium'},
{ 'Sensus', 'Barium'},
{ 'Spiraculum', 'Thorium Brass'},
{ 'Spiraculum', 'Thorium Brass'},
{ 'Tinker',     'Thorium Brass'},
{ 'Tinker', 'Thorium Brass'},
{ 'Corripio',   'Copper'},
{ 'Corripio', 'Copper'},
{ 'Fulcio',     'Barimium'},
{ 'Fulcio', 'Barimium'},
{ 'Helious',     'Aluminium'},
{ 'Helious', 'Aluminium'},
{ 'Lumos',       'Thorium Brass'},
{ 'Lumos', 'Thorium Brass'},
{ 'Moneo',       'Aluminium'},
{ 'Moneo', 'Aluminium'},
{ 'Percurro',   'Thorium Brass'},
{ 'Percurro', 'Thorium Brass'},
}
}


for _, shamir in ipairs( shamirs ) do
for _, shamir in ipairs( shamirs ) do
local name = shamir[1] .. ' Shamir'
local name = shamir[1] .. ' Shamir'
    local bandName = shamir[2]
local bandName = shamir[2]
    if bandName == "Thorium Brass" then
if bandName == "Thorium Brass" then
        bandName = "Thorium_Brass"
bandName = "Thorium_Brass"
    end
end
    local band = '&' .. bandFormat[bandName] .. shamir[2]
local band = '&' .. bandFormat[bandName] .. shamir[2]
local shamirName = shamir[1]
local shamirName = shamir[1]
aliases[name] = { title = '&eObsidian Cast', name = name, text = band .. '/&bShamir/&7' .. shamirName }
aliases[name] = { title = '&eObsidian Cast', name = name, text = band .. '/&bShamir/&7' .. shamirName }
Line 282: Line 282:
end
end
aliases[name] = { title = '&bOrb of Ankou', name = name, text = combinedText }
aliases[name] = { title = '&bOrb of Ankou', name = name, text = combinedText }
end
-- Relocators
local machines = {
{ 'Block Compressor', },
{ 'Custom Crafter', },
{ 'Master Crafter', 'Mastercraftman\'s Bench' },
{ 'Disassembler', },
{ 'Enchantment Extractor', },
{ 'Ender Hopper', },
{ 'Liquid Tank', 'Empty Tank' },
{ 'Smeltery', },
{ 'Tinkering Compressor', },
}
for _, machine in ipairs( machines ) do
local name = 'Relocated ' .. machine[1]
local title = machine[1]
if machine[2] then
title = machine[2]
end
aliases[name] = { title = title, name = name, text = '&o&eRelocator' }
end
end


return aliases
return aliases
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,563

edits