Module:Inventory slot/Aliases: Difference between revisions
adding pigstep |
bottle o enchanting, enchanted book, and end crystal are all animated (glint) |
||
| Line 88: | Line 88: | ||
-- Tooltip colors -- | -- Tooltip colors -- | ||
local yellowTooltips = { | local yellowTooltips = { | ||
'Creeper Head', | 'Creeper Head', | ||
'Damaged Elytra', | 'Damaged Elytra', | ||
| Line 94: | Line 93: | ||
'Dragon\'s Breath', | 'Dragon\'s Breath', | ||
'Elytra', | 'Elytra', | ||
'Head', | 'Head', | ||
'Heart of the Sea', | 'Heart of the Sea', | ||
| Line 110: | Line 108: | ||
'Beacon', | 'Beacon', | ||
'Conduit', | 'Conduit', | ||
'Golden Apple', | 'Golden Apple', | ||
} | } | ||
| Line 147: | Line 144: | ||
end | end | ||
-- | -- Some things are both animated and yellow -- | ||
local | local animatedIconsYellowTooltips = { | ||
'Nether Star' | 'Bottle o\' Enchanting', | ||
'Enchanted Book', | |||
'Nether Star', | |||
} | } | ||
for _, name in ipairs( | for _, name in ipairs( animatedIconsYellowTooltips ) do | ||
aliases[name] = { title = '&e', name = name .. '.gif' } | aliases[name] = { title = '&e', name = name .. '.gif' } | ||
end | end | ||
-- | -- Some things are both animated and aqua -- | ||
local | local animatedIconsAquaTooltips = { | ||
'End Crystal', | |||
} | |||
for _, name in ipairs( animatedIconsAquaTooltips ) do | |||
aliases[name] = { title = '&b', name = name .. '.gif' } | |||
end | |||
-- Some things are both animated and purple -- | |||
local animatedIconsPurpleTooltips = { | |||
'Command Block', | 'Command Block', | ||
'Chain Command Block', | 'Chain Command Block', | ||
| Line 162: | Line 169: | ||
'Enchanted Golden Apple', | 'Enchanted Golden Apple', | ||
} | } | ||
for _, name in ipairs( | for _, name in ipairs( animatedIconsPurpleTooltips ) do | ||
aliases[name] = { title = '&d', name = name .. '.gif' } | aliases[name] = { title = '&d', name = name .. '.gif' } | ||
end | end | ||