Module:Inventory slot/Aliases: Difference between revisions
mNo edit summary |
18w21a |
||
| Line 13: | Line 13: | ||
['Any diamond armor'] = { 'Diamond Helmet', 'Diamond Chestplate', 'Diamond Leggings', 'Diamond Boots' }, | ['Any diamond armor'] = { 'Diamond Helmet', 'Diamond Chestplate', 'Diamond Leggings', 'Diamond Boots' }, | ||
-- Display names -- | -- Display names -- | ||
['Broken Elytra'] = { title = ' | ['Broken Elytra'] = { title = '&eElytra', name = 'Broken Elytra' }, | ||
['Brown Mushroom'] = { title = 'Mushroom', name = 'Brown Mushroom' }, | ['Brown Mushroom'] = { title = 'Mushroom', name = 'Brown Mushroom' }, | ||
['Brown Mushroom (block)'] = { title = 'Brown Mushroom Block', name = 'Brown Mushroom (block)' }, | ['Brown Mushroom (block)'] = { title = 'Brown Mushroom Block', name = 'Brown Mushroom (block)' }, | ||
['Clay (block)'] = { title = 'Clay', name = 'Clay (block)' }, | ['Clay (block)'] = { title = 'Clay', name = 'Clay (block)' }, | ||
['Enchanted Golden Apple'] = { title = '&d', name = 'Golden Apple' }, | ['Enchanted Golden Apple'] = { title = '&d', name = 'Golden Apple' }, | ||
['End Portal (block)'] = { title = 'End Portal', name = 'End Portal (block)' }, | ['End Portal (block)'] = { title = 'End Portal', name = 'End Portal (block)' }, | ||
['Melon (block)'] = { title = 'Melon', name = 'Melon (block)' }, | ['Melon (block)'] = { title = 'Melon', name = 'Melon (block)' }, | ||
['Nether Brick (item)'] = { title = 'Nether Brick', name = 'Nether Brick (item)' }, | ['Nether Brick (item)'] = { title = 'Nether Brick', name = 'Nether Brick (item)' }, | ||
| Line 80: | Line 78: | ||
['Arrow of the Turtle Master Enhanced'] = { name = 'Arrow Potion of the Turtle Master', text = '&cSlowness VI (0:07)/&9Resistance IV (0:07)' }, | ['Arrow of the Turtle Master Enhanced'] = { name = 'Arrow Potion of the Turtle Master', text = '&cSlowness VI (0:07)/&9Resistance IV (0:07)' }, | ||
} | } | ||
-- Tooltip colors -- | |||
local yellowTooltips = { | |||
'Bottle o\' Enchanting', | |||
'Creeper Head', | |||
'Dragon Head', | |||
'Dragon\'s Breath', | |||
'Elytra', | |||
'Enchanted Book', | |||
'Head', | |||
'Heart of the Sea', | |||
'Nether Star', | |||
'Skeleton Skull', | |||
'Totem of Undying', | |||
'Wither Skeleton Skull', | |||
'Zombie Head', | |||
} | |||
for _, yellowTooltip in ipairs( yellowTooltips ) do | |||
aliases[yellowTooltip] = { title = '&e', name = yellowTooltip } | |||
end | |||
local aquaTooltips = { | |||
'Beacon', | |||
'Conduit', | |||
'End Crystal', | |||
'Golden Apple', | |||
} | |||
for _, aquaTooltip in ipairs( aquaTooltips ) do | |||
aliases[aquaTooltip] = { title = '&b', name = aquaTooltip } | |||
end | |||
local lightPurpleTooltips = { | |||
'Chain Command Block', | |||
'Command Block', | |||
'Dragon Egg', | |||
'Repeating Command Block', | |||
'Structure Block', | |||
} | |||
for _, lightPurpleTooltip in ipairs( lightPurpleTooltips ) do | |||
aliases[lightPurpleTooltip] = { title = '&d', name = lightPurpleTooltip } | |||
end | |||
-- Tools and weapons -- | -- Tools and weapons -- | ||
| Line 185: | Line 224: | ||
'Repeating Command Block', | 'Repeating Command Block', | ||
'Fire', | 'Fire', | ||
'Heat Block', | |||
'Magma Block', | 'Magma Block', | ||
'Prismarine', | 'Prismarine', | ||