Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659
edits
(I'm starting to understand how all of this fits together.) |
m (Forgot some things that could be used eventually.) |
||
Line 3: | Line 3: | ||
['Clay (ball)'] = { title = 'Clay', name = 'Clay (ball)' } | ['Clay (ball)'] = { title = 'Clay', name = 'Clay (ball)' } | ||
} | } | ||
-- Tooltip colors -- | -- Tooltip colors -- | ||
Line 39: | Line 40: | ||
aliases[name] = { title = '&d', name = name } | aliases[name] = { title = '&d', name = name } | ||
end | end | ||
-- Discs -- | |||
local discs = { | |||
{ '13', 'C418', }, | |||
{ 'Cat', 'C418', 'cat' }, | |||
{ 'Blocks', 'C418', 'blocks' }, | |||
{ 'Chirp', 'C418', 'chirp' }, | |||
{ 'Far', 'C418', 'far' }, | |||
{ 'Mall', 'C418', 'mall' }, | |||
{ 'Mellohi', 'C418', 'mellohi' }, | |||
{ 'Stal', 'C418', 'stal' }, | |||
{ 'Strad', 'C418', 'strad' }, | |||
{ 'Ward', 'C418', 'ward' }, | |||
{ '11', 'C418', }, | |||
{ 'Wait', 'C418', 'wait' }, | |||
{ 'Pigstep', 'Lena Raine', }, | |||
} | |||
for _, disc in ipairs( discs ) do | |||
local name = 'Music Disc ' .. disc[1] | |||
local artist = disc[2] | |||
local trackname = disc[1] | |||
if disc[3] ~= nil then | |||
trackname = disc[3] | |||
end | |||
aliases[name] = { title = '&bMusic Disc', name = name, text = '&7' .. artist .. ' - ' .. trackname } | |||
end | |||
-- list of all potions with no effects | |||
local noEffects = { | |||
'Water Bottle', | |||
'Awkward Potion', | |||
'Thick Potion', | |||
'Mundane Potion', | |||
'Uncraftable Potion', | |||
'Splash Water Bottle', | |||
'Awkward Splash Potion', | |||
'Thick Splash Potion', | |||
'Mundane Splash Potion', | |||
'Uncraftable Splash Potion', | |||
'Lingering Water Bottle', | |||
'Awkward Lingering Potion', | |||
'Thick Lingering Potion', | |||
'Mundane Lingering Potion', | |||
'Uncraftable Lingering Potion', | |||
'Tipped Arrow', | |||
'Arrow of Splashing', | |||
'Uncraftable Tipped Arrow', | |||
} | |||
for _, name in ipairs(noEffects) do | |||
aliases[name] = { name = name, text = '&7No effects' } | |||
end | |||
-- start these lists with the no effect items as names are not normal | |||
local potionItems = { | |||
['Potion'] = { | |||
aliases['Water Bottle'], | |||
aliases['Awkward Potion'], | |||
aliases['Thick Potion'], | |||
aliases['Mundane Potion'], | |||
}, | |||
['Splash Potion'] = { | |||
aliases['Splash Water Bottle'], | |||
aliases['Awkward Splash Potion'], | |||
aliases['Thick Splash Potion'], | |||
aliases['Mundane Splash Potion'], | |||
}, | |||
['Lingering Potion'] = { | |||
aliases['Lingering Water Bottle'], | |||
aliases['Awkward Lingering Potion'], | |||
aliases['Thick Lingering Potion'], | |||
aliases['Mundane Lingering Potion'], | |||
}, | |||
['Tipped Arrow'] = { | |||
aliases['Arrow of Splashing'], | |||
aliases['Tipped Arrow'], | |||
aliases['Tipped Arrow'], | |||
aliases['Tipped Arrow'], | |||
}, | |||
} | |||
-- Potions -- | -- Potions -- |
edits