Module:Gm4Sprite/Aliases
Documentation for this module may be created at Module:Gm4Sprite/Aliases/doc
local aliases = {
'Bat Grenades',
['Bat Leather'] = { name = 'Bat Leather', text = '&o&8Would make for a very strange,/very tiny jacket' },
'Book Binders',
['Enchanted Page'] = { title = '&bEnchanted Page', name = 'Enchanted Page', enchanted = "true"},
'Boots of Ostara',
['Boots of Ostara'] = { name = 'Boots of Ostara', text = '&o&8Brings abundance beneath you!//&r&7When on Feet:/&9+1 Armour' },
'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' },
'Lightning Rods',
['Lightning Rod'] = { title = '&bLightning Rod', name = 'Lightning Rod', text = '&o&8Throw for boom!', enchanted = "true"},
'Liquid Tanks - Standard Liquids',
['Beetroot Soup Liquid'] = { title = 'Beetroot Soup', name = 'Beetroot Soup Liquid' },
['Experience Liquid'] = { title = 'Experience', name = 'Experience Liquid' },
['Honey Liquid'] = { title = 'Honey', name = 'Honey Liquid' },
['Lava Liquid'] = { title = 'Lava', name = 'Lava Liquid' },
['Milk Liquid'] = { title = 'Milk', name = 'Milk Liquid' },
['Mushroom Stew Liquid'] = { title = 'Mushroom Stew', name = 'Mushroom Stew Liquid' },
['Rabbit Stew Liquid'] = { title = 'Rabbit Stew', name = 'Rabbit Stew Liquid' },
['Water Liquid'] = { title = 'Water', name = 'Water Liquid' },
'Liquid Tanks - Potion Liquids',
['Regeneration Potion Liquid'] = { title = 'Regeneration', name = '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' },
['Strong Healing Potion Liquid'] = { title = 'Instant Health II', name = 'Strong Healing Potion Liquid' },
['Strength Potion Liquid'] = { title = 'Strength', name = 'Strength Potion Liquid' },
['Strong Strength Potion Liquid'] = { title = 'Strength II', name = 'Strong Strength Potion Liquid' },
['Fire Resistance Potion Liquid'] = { title = 'Fire Resistance', name = 'Fire Resistance Potion Liquid' },
['Poison Potion Liquid'] = { title = 'Poison', name = 'Poison Potion Liquid' },
['Strong Poison Potion Liquid'] = { title = 'Poison II', name = 'Strong Poison Potion Liquid' },
['Leaping Potion Liquid'] = { title = 'Jump Boost', name = 'Leaping Potion Liquid' },
['Strong Leaping Potion Liquid'] = { title = 'Jump Boost II', name = 'Strong Leaping Potion Liquid' },
['Invisibility Potion Liquid'] = { title = 'Invisibility', name = 'Invisibility 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' },
['Night Vision Potion Liquid'] = { title = 'Night Vision', name = 'Night Vision Potion Liquid' },
['Weakness Potion Liquid'] = { title = 'Weakness', name = 'Weakness Potion Liquid' },
['Slowness Potion Liquid'] = { title = 'Slowness', name = 'Slowness Potion Liquid' },
['Strong Slowness Potion Liquid'] = { title = 'Slowness IV', name = 'Strong Slowness Potion Liquid' },
['Swiftness Potion Liquid'] = { title = 'Speed', name = 'Swiftness Potion Liquid' },
['Strong Swiftness Potion Liquid'] = { title = 'Speed II', name = 'Strong Swiftness Potion Liquid' },
['Water Breathing Potion Liquid'] = { title = 'Water Breathing', name = 'Water Breathing Potion Liquid' },
['Floating Potion Liquid'] = { title = 'Levitation', name = 'Floating Potion Liquid' },
['Potion of Floating'] = { name = 'Potion of Floating', text = '&9Levitation (0:15)', enchanted = "true" },
'Liquid Tanks - Zauber Liquids',
['Zauber Strength Liquid'] = {title = 'Strength IV', name = 'Zauber Strength 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 Healing Liquid'] = {title = 'Instant Healing IV/Nausea', name = 'Zauber Healing Liquid' },
['Zauber Poison Liquid'] = {title = 'Poison IV', name = 'Zauber Poison Liquid' },
['Zauber Leaping Liquid'] = {title = 'Jump Boost IV', name = 'Zauber Strength Liquid' },
['Zauber Harming Liquid'] = {title = 'Instant Damage IV', name = 'Zauber Harming Liquid' },
['Wormhole Liquid'] = {title = 'Wormhole', name = 'Wormhole Liquid' },
'Metallurgy - Ores',
['Baryte Lump'] = { name = 'Baryte Lump', text = '&7Contains &fBarium' },
['Bauxite Lump'] = { name = 'Bauxite Lump', text = '&7Contains &cAluminium' },
['Bismutite Lump'] = { name = 'Bismutite Lump', text = '&7Contains &#F47989B&#F5B478i&#F5DD79sNF4AEmOD6F5u₺F5t&#D579F5h' },
['Malachite Lump'] = { name = 'Malachite Lump', text = '&7Contains &6Copper' },
['Thorianite Lump'] = { name = 'Thorianite Lump', text = '&7Contains &8Thorium' },
'Mountaineering',
['Crampons'] = { name = 'Crampons', text = '/&7When on Feet:/&9+1 Armour/&c-20% Speed' },
['Skis'] = { name = 'Skis', text = '/&7When on Feet:/&9+2 Armour' },
'Orb of Ankou',
['Orb of Ankou (Empty)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Empty)', text = '&7&oEmpty', enchanted = "true" },
['Soul Essence'] = { name = 'Soul Essence', enchanted = "true" },
['Soul Shard'] = { name = 'Soul Shard', text = '/&7When in Off Hand:/&c-20% Attack Damage', enchanted = "true" },
'Relocators',
['Relocators (Full)'] = { title = '&eRelocator', name = 'Relocator (Full)', text = '&5<Block>' },
'SCUBA Gear',
['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 Body:/&9+4 Armour/&c-10% Speed' },
['Flippers'] = { name = 'Flippers', text = '/&7When on Feet:/&9+1 Armour/&c-40% Speed' },
'Sky Dimension',
['Aetherpuff'] = { title = '&eAetherpuff', name = 'Aetherpuff' },
['Sky Lens'] = { title = '&bSky Lens', name = 'Sky Lens', enchanted = "true" },
['Stardust'] = { title = '&bStardust', name = 'Stardust', enchanted = "true" },
['Starlit Ender Pearl'] = { title = '&bStarlit Ender Pearl', name = 'Starlit Ender Pearl', enchanted = "true" },
'Soul Glass',
['Soul Glass'] = { name = 'Soul Glass', title = '&bSoul Glass', enchanted = "true" },
'Sunken Treasure',
['Audrey 1'] = { name = 'Message in a Bottle', text = 'Dearest Audrey, I drank all my beer' },
['Audrey 2'] = { name = 'Message in a Bottle', text = 'Dearest Audrey, My Boat was/sunk by a lily-pad and now I\'m/stuck on this island.' },
['Waders'] = { title = '&bWaders', name = 'Waders', text = '&7Depth Strider I//When on Feet:/&9+1 Armour', enchanted = "true" },
['Treasure Chest'] = { name = 'Treasure Chest' },
'Zauber Cauldrons',
['Enchanted Prismarine Shard'] = { title = '&bEnchanted Prismarine Shard', name = 'Enchanted Prismarine Shard', enchanted = "true" },
['Magic in a Bottle'] = { title = '&bMagic in a Bottle', name = 'Magic in a Bottle', enchanted = "true" },
['Wormhole in a Bottle'] = { title = '&bWormhole in a Bottle', name = 'Wormhole in a Bottle', enchanted = "true" },
'Zauber Cauldrons - Potions',
['Zauber Harming Potion'] = { title = 'Potion of Harming', name = 'Zauber Harming Potion', text = '&cInstant Damage IV', enchanted = "true" },
['Zauber Healing Potion'] = { title = 'Potion of Healing', name = 'Zauber Healing Potion', text = '&9Instant Health IV/&cNausea (0:08)', enchanted = "true" },
['Zauber Leaping Potion'] = { title = 'Potion of Leaping', name = 'Zauber Leaping Potion', text = '&9Jump Boost IV (1:30)', enchanted = "true" },
['Zauber Poison Potion'] = { title = 'Potion of Poison', name = 'Zauber Poison Potion', text = '&cPoison IV (0:32)', enchanted = "true" },
['Zauber Regeneration Potion'] = { title = 'Potion of Regeneration', name = 'Zauber Regeneration Potion', text = '&9Regeneration IV (0:22)/Speed III (0:16)', enchanted = "true" },
['Zauber Strength Potion'] = { title = 'Potion of Strength', name = 'Zauber Strength Potion', text = '&9Strength IV (1:30)/Fire Resistance (0:16)//&5When Applied:/&9+12 Attack Damage', enchanted = "true" },
['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', enchanted = "true" },
'Zauber Cauldrons - Splash Potions',
['Zauber Splash Harming Potion'] = { title = 'Potion of Harming', name = 'Zauber Harming Potion', text = '&cInstant Damage IV', enchanted = "true" },
['Zauber Splash Healing Potion'] = { title = 'Potion of Healing', name = 'Zauber Healing Potion', text = '&9Instant Health IV/&cNausea (0:08)', enchanted = "true" },
['Zauber Splash Leaping Potion'] = { title = 'Potion of Leaping', name = 'Zauber Leaping Potion', text = '&9Jump Boost IV (1:30)', enchanted = "true" },
['Zauber Splash Poison Potion'] = { title = 'Potion of Poison', name = 'Zauber Poison Potion', text = '&cPoison IV (0:32)', enchanted = "true" },
['Zauber Splash Regeneration Potion'] = { title = 'Potion of Regeneration', name = 'Zauber Regeneration Potion', text = '&9Regeneration IV (0:22)/Speed II (0:16)', enchanted = "true" },
['Zauber Splash Strength Potion'] = { title = 'Potion of Strength', name = 'Zauber Strength Potion', text = '&9Strength IV (1:30)/Fire Resistance (0:16)//&5When Applied:/&9+12 Attack Damage', enchanted = "true" },
['Zauber Splash 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', enchanted = "true" },
'Zauber Cauldrons - Lingering Potions',
'Zauber Cauldrons - Soulutions',
['Zauber Harming Soulution'] = { title = 'Soulution of Harming', name = 'Zauber Harming Potion', text = '&79/9 Sips/&cInstant Damage IV', enchanted = "true" },
['Zauber Healing Soulution'] = { title = 'Soulution of Healing', name = 'Zauber Healing Potion', text = '&79/9 Sips/&9Instant Health IV/&cNausea (0:08)', enchanted = "true" },
['Zauber Leaping Soulution'] = { title = 'Soulution of Leaping', name = 'Zauber Leaping Potion', text = '&79/9 Sips/&9Jump Boost IV (1:30)', enchanted = "true" },
['Zauber Poison Soulution'] = { title = 'Soulution of Poison', name = 'Zauber Poison Potion', text = '&79/9 Sips/&cPoison IV (0:32)', enchanted = "true" },
['Zauber Regeneration Soulution'] = { title = 'Soulution of Regeneration', name = 'Zauber Regeneration Potion', text = '&79/9 Sips/&9Regeneration IV (0:22)/Speed II (0:16)', enchanted = "true" },
['Zauber Strength Soulution'] = { title = 'Soulution of Strength', name = 'Zauber Strength Potion', text = '&79/9 Sips/&9Strength IV (1:30)/Fire Resistance (0:16)//&5When Applied:/&9+12 Attack Damage', enchanted = "true" },
['Zauber Swiftness Soulution'] = { title = 'Soulution of Swiftness', name = 'Zauber Swiftness Potion', text = '&79/9 Sips/&9Speed IV (3:20)/&cWeakness III (3:20)//&5When Applied:/&9+80% Speed/-16 Attack Damage', enchanted = "true" },
'Zauber Cauldrons - Splash Soulutions',
['Zauber Splash Harming Soulution'] = { title = 'Splash Soulution of Harming', name = 'Zauber Harming Potion', text = '&cInstant Damage IV', enchanted = "true" },
['Zauber Splash Healing Soulution'] = { title = 'Splash Soulution of Healing', name = 'Zauber Healing Potion', text = '&9Instant Health IV/&cNausea (0:08)', enchanted = "true" },
['Zauber Splash Leaping Soulution'] = { title = 'Splash Soulution of Leaping', name = 'Zauber Leaping Potion', text = '&9Jump Boost IV (1:30)', enchanted = "true" },
['Zauber Splash Poison Soulution'] = { title = 'Splash Soulution of Poison', name = 'Zauber Poison Potion', text = '&cPoison IV (0:32)', enchanted = "true" },
['Zauber Splash Regeneration Soulution'] = { title = 'Splash Soulution of Regeneration', name = 'Zauber Regeneration Potion', text = '&9Regeneration IV (0:22)/Speed II (0:16)', enchanted = "true" },
['Zauber Splash Strength Soulution'] = { title = 'Splash Soulution of Strength', name = 'Zauber Strength Potion', text = '&9Strength IV (1:30)/Fire Resistance (0:16)//&5When Applied:/&9+12 Attack Damage', enchanted = "true" },
['Zauber Splash Swiftness Soulution'] = { title = 'Splash Soulution of Swiftness', name = 'Zauber Swiftness Potion', text = '&9Speed IV (3:20)/&cWeakness III (3:20)//&5When Applied:/&9+80% Speed/-16 Attack Damage', enchanted = "true" },
'Zauber Cauldrons - Lingering Soulutions',
['Zauber Lingering Harming Soulution'] = { title = 'Lingering Soulution of Harming', name = 'Zauber Harming Potion', text = '&cInstant Damage IV', enchanted = "true" },
['Zauber Lingering Healing Soulution'] = { title = 'Lingering Soulution of Healing', name = 'Zauber Healing Potion', text = '&9Instant Health III/&cNausea (0:02)', enchanted = "true" },
['Zauber Lingering Leaping Soulution'] = { title = 'Lingering Soulution of Leaping', name = 'Zauber Leaping Potion', text = '&9Jump Boost IV (0:22)', enchanted = "true" },
['Zauber Lingering Poison Soulution'] = { title = 'Lingering Soulution of Poison', name = 'Zauber Poison Potion', text = '&cPoison IV (0:08)', enchanted = "true" },
['Zauber Lingering Regeneration Soulution'] = { title = 'Lingering Soulution of Regeneration', name = 'Zauber Regeneration Potion', text = '&9Regeneration IV (0:05)/Speed II (0:04)', enchanted = "true" },
['Zauber Lingering Strength Soulution'] = { title = 'Lingering Soulution of Strength', name = 'Zauber Strength Potion', text = '&9Strength IV (0:22)/Fire Resistance (0:04)//&5When Applied:/&9+12 Attack Damage', enchanted = "true" },
['Zauber Lingering Swiftness Soulution'] = { title = 'Lingering Soulution of Swiftness', name = 'Zauber Swiftness Potion', text = '&9Speed IV (0:50)/&cWeakness III (0:50)//&5When Applied:/&9+80% Speed/-16 Attack Damage', enchanted = "true" },
'TNT Landmines',
['Landmine (Invisible)'] = { title = '&eLandmine', name = 'Landmine (Invisible)', text = '&o&8Drop to Use/Invisible' },
['Soft Defuser'] = { name = 'Soft Defuser', text = '&o&8Drop to Use' },
}
local yellowTooltips = {
'Enderpuff',
'Crystal of Harming',
'Crystal of Healing',
'Crystal of Leaping',
'Crystal of Poison',
'Crystal of Regeneration',
'Crystal of Speed',
'Crystal of Strength',
'Relocator',
'Landmine',
'Crystal of Resistance',
'Crystal of Fire Resistance',
}
for _, name in ipairs ( yellowTooltips ) do
aliases[name] = { title = '&e', name = name }
end
-- Relocated Blocks
local relocatedBlocks = {
{ 'Compressor' , 'Block Compressor' },
{ 'Custom Crafter' , },
{ 'Disassembler' , },
{ 'Enchantment Extractor' , },
{ 'Ender Hopper' , },
{ 'Liquid Tank' , 'Empty Tank' },
{ 'Master Crafter' , 'Mastercraftman\'s Bench' },
{ 'Smeltery' , },
{ 'Tinkering Compressor' , },
{ 'Teleportation Jammer' , },
{ 'Teleportation Anchor' , }
}
for _, block in ipairs( relocatedBlocks ) do
local name = 'Relocated ' .. block[1]
local title = '&b' .. block[1]
if block[2] ~= nil then
title = '&b' .. block[2]
end
aliases[name] = { title = title, name = name, text = '&o&eRelocator', enchanted = "true" }
end
-- Metallurgy
-- Obsidian Casts
local bandFormat = {
Aluminium = '#F47989',
Barimium = '#D18A8A',
Barium = '#F0EAD6',
Curies_Bismium = '#467A1B',
Thorium = '#767676',
Copper = '6',
Thorium_Brass = '2',
}
local obsidianCasts = {
'Aluminium',
'Barium',
'Barimium',
'Bismuth',
'Curie\'s Bismium',
'Thorium',
'Copper',
'Thorium Brass',
}
for _, cast in ipairs ( obsidianCasts ) do
local name = 'Obsidian Cast (' .. cast .. ' Band)'
local band = "Mundane"
local bandName = cast
if bandName == "Thorium Brass" then
bandName = "Thorium_Brass"
elseif bandName == "Curie's Bismium" then
bandName = "Curies_Bismium"
end
if bandName == "Bismuth" then
band = '&#F47989Bi&#F5B478sm&#F5DD79utNF4AEh OD6F5Ba₺F5nd'
else
band = '&' .. bandFormat[bandName] .. cast .. ' Band'
end
aliases[name] = { title = '&eObsidian Cast', name = name , text = band }
end
-- Shamirs
local shamirs = {
{ 'Arborenda', 'Barium' },
{ 'Defuse', 'Aluminium' },
{ 'Ender Bolt', 'Thorium' },
{ 'Forterra', 'Bismuth' },
{ 'Gemini', 'Barimium' },
{ 'Hypexperia', 'Bismuth' },
{ 'Musical', 'Barimium' },
{ 'Sensus', 'Barium' },
{ 'Spiraculum', 'Curie\'s Bismium' },
{ 'Tinker', 'Curie\'s Bismium' },
{ 'Vibro', 'Thorium' },
{ 'Animi', 'Curie\'s Bismium' },
{ 'Audere', 'Barium' },
{ 'Celaro', 'Aluminium' },
{ 'Corripio', 'Bismuth' },
{ 'Fulcio', 'Barimium' },
{ 'Helious', 'Aluminium' },
{ 'Iacio', 'Barium' },
{ 'Lumos', 'Curie\'s Bismium' },
{ 'Moneo', 'Aluminium' },
{ 'Percurro', 'Curie\'s Bismium' },
{ 'Vecto', 'Bismuth' },
{ 'Vigere', 'Barimium' },
{ 'Conduction', 'Thorium' },
{ 'Levity', 'Aluminium' }
}
for _, shamir in ipairs( shamirs ) do
local name = shamir[1] .. ' Shamir'
local band = "Mundane"
local bandName = shamir[2]
if bandName == "Thorium Brass" then
bandName = "Thorium_Brass"
elseif bandName == "Curie's Bismium" then
bandName = "Curies_Bismium"
end
if bandName == "Bismuth" then
band = '&#F47989Bi&#F5B478sm&#F5DD79utNF4AEh OD6F5Ba₺F5nd'
else
band = '&' .. bandFormat[bandName] .. shamir[2] .. ' Band'
end
local shamirName = shamir[1]
aliases[name] = { title = '&eObsidian Cast', name = name, text = band .. '/&bShamir/&7' .. shamirName }
end
-- Orb of Ankou
local pneumas = {
'Aggressive',
'Agile',
'Anchoring',
'Bargaining',
'Bashing',
'Blasting',
'Blinding',
'Bounding',
'Bubbly',
'Conjuring',
'Depriving',
'Draining',
'Enduring',
'Expeditious',
'Feathery',
'Freezing',
'Gazing',
'Gliding',
'Hawkeye',
'Incombustible',
'Lifeless',
'Neutralizing',
'Phasing',
'Pricking',
'Retreating',
'Rushing',
'Scaling',
'Soaring',
'Striding',
'Synergetic',
'Vanishing',
'Venomous',
'Volatile',
'Withering',
}
-- Create Soul Shards
local preLore = {
{'Pricking', '&7Thorns V' },
}
local preAttackDamageText = {
{'Enduring', '&9+8 Max Health/&c-20% Speed' },
{'Soaring', '&c-20% Max Health' },
{'Bashing', '&c-40% Attack Speed' }
}
local postAttackDamageText = {
{'Anchoring', '&9+0.9 Knockback Resistance' },
{'Bashing', '&9+70% Attack Damage' }
}
for _, shard in ipairs( pneumas ) do
local name = shard .. ' Soul Shard'
local combinedText = '&9' .. shard .. '//&7When in Off Hand:'
for _, shard2 in ipairs( preLore ) do
if shard == shard2[1] then
combinedText = shard2[2] .. '/' .. combinedText
end
end
for _, shard2 in ipairs( preAttackDamageText ) do
if shard == shard2[1] then
combinedText = combinedText .. '/' .. shard2[2]
end
end
combinedText = combinedText .. '/&c-20% Attack Damage'
for _, shard2 in ipairs( postAttackDamageText ) do
if shard == shard2[1] then
combinedText = combinedText .. '/' .. shard2[2]
end
end
aliases[name] = { title = 'Soul Shard', name = name, text = combinedText, enchanted = "true" }
end
-- Create Soul Essences
for _, pneuma in ipairs( pneumas ) do
local name = pneuma .. ' Soul Essence'
aliases[name] = { title = 'Soul Essence', name = name, text = '&9' .. pneuma }
end
-- Create Single Pneuma Orbs of Ankou
for _, pneuma in ipairs( pneumas ) do
local name = 'Orb of Ankou (' .. pneuma .. ')'
local combinedText = '&dPneumas:/&9' .. pneuma .. '//&7When in Off Hand:'
for _, pneuma2 in ipairs( preLore ) do
if pneuma == pneuma2[1] then
combinedText = pneuma2[2] .. '/' .. combinedText
end
end
for _, pneuma2 in ipairs( preAttackDamageText ) do
if pneuma == pneuma2[1] then
combinedText = combinedText .. '/' .. pneuma2[2]
end
end
combinedText = combinedText .. '/&c-20% Attack Damage'
for _, pneuma2 in ipairs( postAttackDamageText ) do
if pneuma == pneuma2[1] then
combinedText = combinedText .. '/' .. pneuma2[2]
end
end
aliases[name] = { title = '&bOrb of Ankou', name = name, text = combinedText, enchanted = "true" }
end
-- Zauber
-- Armour Pieces
local armourPiece = {
{ 'Helmet', 3, 3 },
{ 'Chestplate', 7, 3 },
{ 'Leggings', 5, 3 },
{ 'Boots', 2, 3 }
}
-- Armour Buffs
local armourBuff = {
'Armour',
'Health',
'Speed',
'Strength'
}
for _, armourProps in ipairs ( armourPiece ) do
local aliasName = 'Zauber ' .. armourProps[1]
local aliasTitle = 'Golden ' .. armourProps[1]
local armourSlotText = '&9+25% Magic//&7When on '
if armourProps[1] == 'Helmet' then
armourSlotText = armourSlotText .. 'Head'
elseif armourProps[1] == 'Chestplate' then
armourSlotText = armourSlotText .. 'Body'
elseif armourProps[1] == 'Leggings' then
armourSlotText = armourSlotText .. 'Legs'
else
armourSlotText = armourSlotText .. 'Feet'
end
armourSlotText = armourSlotText .. ':/&9'
-- Plain Zauber Armour
aliases[aliasName] = { title = aliasTitle, name = aliasName, text = armourSlotText .. '+' .. armourProps[3] .. ' Armour Toughness/+' .. armourProps[2] .. ' Armour' }
-- Zauber Armour with specific buff
for _, buff in ipairs( armourBuff ) do
if buff == 'Health' then
armourSlotTextBuffed = armourSlotText .. '+4 Max Health'
elseif buff == 'Armour' then
armourSlotTextBuffed = armourSlotText .. '+1 Armour'
elseif buff == 'Speed' then
armourSlotTextBuffed = armourSlotText .. '+12% Speed'
else
armourSlotTextBuffed = armourSlotText .. '+1 Attack Damage'
end
aliasNameBuffed = aliasName .. ' (' .. buff .. ')'
aliases[aliasNameBuffed] = { title = aliasTitle, name = aliasName , text = armourSlotTextBuffed .. '/+' .. armourProps[3] .. ' Armour Toughness/+' .. armourProps[2] .. ' Armour' }
end
end
--TNT Landmines
local landmines = {
'Crafting Table',
'Dirt',
'Grass Block',
'Netherrack',
'Stone Bricks',
'Stone',
}
for _, block in ipairs ( landmines ) do
local name = 'Landmine (' .. block .. ')'
local lore = '&o&5Drop to Use/Disguised as ' .. block
aliases[name] = { title = '&eLandmine', name = name , text = lore }
end
return aliases