Module:Inventory slot/Aliases: Difference between revisions
I don't know if it's likely to be needed for anything any time soon, but add a "Tulip" alias for the different Tulip colors/varieties too |
No edit summary |
||
| Line 11: | Line 11: | ||
['Any golden armor'] = { 'Golden Helmet', 'Golden Chestplate', 'Golden Leggings', 'Golden Boots' }, | ['Any golden armor'] = { 'Golden Helmet', 'Golden Chestplate', 'Golden Leggings', 'Golden Boots' }, | ||
['Any chainmail armor'] = { 'Chainmail Helmet', 'Chainmail Chestplate', 'Chainmail Leggings', 'Chainmail Boots' }, | ['Any chainmail armor'] = { 'Chainmail Helmet', 'Chainmail Chestplate', 'Chainmail Leggings', 'Chainmail 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' }, | ['Any diamond armor'] = { 'Diamond Helmet', 'Diamond Chestplate', 'Diamond Leggings', 'Diamond Boots' }, | ||
| Line 84: | Line 83: | ||
['Arrow of the Turtle Master'] = { name = 'Arrow of the Turtle Master', text = '&cSlowness IV (0:07)/&9Resistance III (0:07)' }, | ['Arrow of the Turtle Master'] = { name = 'Arrow of the Turtle Master', text = '&cSlowness IV (0:07)/&9Resistance III (0:07)' }, | ||
['Arrow of the Turtle Master Extended'] = { name = 'Arrow of the Turtle Master', text = '&cSlowness IV (0:22)/&9Resistance III (0:22)' }, | ['Arrow of the Turtle Master Extended'] = { name = 'Arrow of the Turtle Master', text = '&cSlowness IV (0:22)/&9Resistance III (0:22)' }, | ||
['Arrow of the Turtle Master Enhanced'] = { name = 'Arrow | ['Arrow of the Turtle Master Enhanced'] = { name = 'Arrow of the Turtle Master', text = '&cSlowness VI (0:07)/&9Resistance IV (0:07)' }, | ||
} | } | ||
| Line 99: | Line 98: | ||
'Heart of the Sea', | 'Heart of the Sea', | ||
'Nether Star', | 'Nether Star', | ||
'Player Head', | |||
'Skeleton Skull', | 'Skeleton Skull', | ||
'Totem of Undying', | 'Totem of Undying', | ||
| Line 255: | Line 255: | ||
local discs = { '13', 'cat', 'blocks', 'chirp', 'far', 'mall', 'mellohi', 'stal', 'strad', 'ward', '11', 'wait' } | local discs = { '13', 'cat', 'blocks', 'chirp', 'far', 'mall', 'mellohi', 'stal', 'strad', 'ward', '11', 'wait' } | ||
for _, disc in ipairs( discs ) do | for _, disc in ipairs( discs ) do | ||
local name = | local name = 'Music Disc ' .. disc | ||
aliases[name] = { title = '&bMusic Disc', name = name, text = '&7C418 - ' .. disc } | aliases[name] = { title = '&bMusic Disc', name = name, text = '&7C418 - ' .. disc } | ||
end | end | ||
| Line 268: | Line 268: | ||
'Chainmail Helmet', | 'Chainmail Helmet', | ||
'Chainmail Leggings', | 'Chainmail Leggings', | ||
'Crossbow', | 'Crossbow', | ||
'Diamond Axe', | 'Diamond Axe', | ||
| Line 588: | Line 584: | ||
'Wood Slab', | 'Wood Slab', | ||
'Wood Stairs', | 'Wood Stairs', | ||
} | } | ||