Module:Inventory slot/Aliases: Difference between revisions

aliases for golden/iron/chain tools/armor
Added diamond tools and more armor
Line 1: Line 1:
local coloredDyes = {
local coloredDyes = {
'Orange Dye', 'Magenta Dye', 'Light Blue Dye', 'Dandelion Yellow', 'Lime Dye',
'Orange Dye', 'Magenta Dye', 'Light Blue Dye', 'Dandelion, Yellow', 'Lime Dye',
'Pink Dye', 'Gray Dye', 'Light Gray Dye', 'Cyan Dye', 'Purple Dye',
'Pink Dye', 'Gray Dye', 'Light Gray Dye', 'Cyan Dye', 'Purple Dye',
'Lapis Lazuli', 'Cocoa Beans', 'Cactus Green', 'Rose Red', 'Ink Sac',
'Laps Lazul', 'Cocoa Beans', 'Cactus Green', 'Rose Red', 'Ink Sac',
}
}
local aliases = {
local aliases = {
Line 9: Line 9:
['Any golden tools'] = { 'Golden Pickaxe', 'Golden Axe', 'Golden Shovel', 'Golden Hoe' },
['Any golden tools'] = { 'Golden Pickaxe', 'Golden Axe', 'Golden Shovel', 'Golden Hoe' },
['Any iron tools'] = { 'Iron Pickaxe', 'Iron Axe', 'Iron Shovel', 'Iron Hoe' },
['Any iron tools'] = { 'Iron Pickaxe', 'Iron Axe', 'Iron Shovel', 'Iron Hoe' },
['Any diamond tools'] = { 'Diamond Pickaxe', 'Diamond Axe', 'Diamond Shovel', 'Diamond Hoe' },
['Any leather armor'] = { 'LeatheLeather Tunic', 'Leather Pants', 'Leather Boots' },
['Any golden armor'] = { 'Golden Helmet', 'Golden Chestplate', 'Golden Leggings', 'Golden Boots' },
['Any golden armor'] = { 'Golden Helmet', 'Golden Chestplate', 'Golden Leggings', 'Golden Boots' },
['Any chain armor'] = { 'Chain Helmet', 'Chain Chestplate', 'Chain Leggings', 'Chain Boots' },
['Any chain armor'] = { 'Chain Helmet', 'Chain Chestplate', 'Chain Leggings', 'Chain Boots' },
['Any iron armor'] = { 'Iron Helmet', 'Iron Chestplate', 'Iron Leggings', 'Iron Boots' },
['Any iron armor'] = { 'Iron Helmet', 'Iron Chestplate', 'Iron Leggings', 'Iron Boots' },
['Any diamond armor'] = { 'Diamond Helmet', 'Diamond Chestplate', 'Diamond Leggings', 'Diamond Boots' },
-- Display names --
-- Display names --
['Broken Elytra'] = { title = 'Elytra', name = 'Broken Elytra' },
['Broken Elytra'] = { title = 'Elytra', name = 'Broken Elytra' },