Module:Inventory slot/Aliases: Difference between revisions
mNo edit summary |
m Okay, I had no idea for the animated icons. |
||
| Line 96: | Line 96: | ||
'Zombie Head', | 'Zombie Head', | ||
} | } | ||
for _, | for _, name in ipairs( yellowTooltips ) do | ||
aliases[ | aliases[name] = { title = '&e', name = name } | ||
end | end | ||
| Line 106: | Line 106: | ||
'Golden Apple', | 'Golden Apple', | ||
} | } | ||
for _, | for _, name in ipairs( aquaTooltips ) do | ||
aliases[ | aliases[name] = { title = '&b', name = name } | ||
end | end | ||
local lightPurpleTooltips = { | local lightPurpleTooltips = { | ||
'Chain Command Block | 'Chain Command Block', | ||
'Command Block | 'Command Block', | ||
'Dragon Egg', | 'Dragon Egg', | ||
'Repeating Command Block | 'Repeating Command Block', | ||
'Structure Block', | 'Structure Block', | ||
} | } | ||
for _, | for _, name in ipairs( lightPurpleTooltips ) do | ||
aliases[ | aliases[name] = { title = '&d', name = name } | ||
end | end | ||
| Line 159: | Line 159: | ||
for _, toolProps in ipairs( tools ) do | for _, toolProps in ipairs( tools ) do | ||
local aliasName = toolProps[1] .. ' ' .. toolProps[2] | local aliasName = toolProps[1] .. ' ' .. toolProps[2] | ||
aliases[aliasName] = { title = aliasName, name = aliasName, text = '/&7When in main hand:/ & | aliases[aliasName] = { title = aliasName, name = aliasName, text = '/&7When in main hand:/ &2' .. toolProps[3] .. ' Attack Speed/ &2' .. toolProps[4] .. ' Attack Damage' } | ||
local materialGroup = toolProps[1]:lower(); | local materialGroup = toolProps[1]:lower(); | ||