Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564
edits
m (Hopefully this works) |
(Add Obsidian Casts) |
||
Line 29: | Line 29: | ||
aliases[name] = { title = '&e', name = name } | aliases[name] = { title = '&e', name = name } | ||
end | end | ||
local Sprites = { | |||
minecraft = sprite:new("inventory"), | |||
gm4 = sprite:new("gm4"), | |||
effect = sprite:new("effect") | |||
} | |||
local bandFormat = { | |||
Aluminium = 'c', | |||
Barimium = 'd', | |||
Barium = 'f', | |||
Copper = '6', | |||
Thorium = '8', | |||
Thorium_Brass = '2', | |||
} | |||
local shamirs = { | |||
{ 'Arborenda', 'Barium'}, | |||
{ 'Conduction', 'Thorium'}, | |||
{ 'Defuse', 'Aluminium'}, | |||
{ 'Ender Bolt', 'Thorium'}, | |||
{ 'Forterra', 'Copper'}, | |||
{ 'Gemini', 'Barimium'}, | |||
{ 'Hypexperia', 'Copper'}, | |||
{ 'Levity', 'Aluminium'}, | |||
{ 'Musical', 'Barimium'}, | |||
{ 'Sensus', 'Barium'}, | |||
{ 'Spiraculum', 'Thorium Brass'}, | |||
{ 'Tinker', 'Thorium Brass'}, | |||
{ 'Corripio', 'Copper'}, | |||
{ 'Fulcio', 'Barimium'}, | |||
{ 'Helious', 'Aluminium'}, | |||
{ 'Lumos', 'Thorium Brass'}, | |||
{ 'Moneo', 'Aluminium'}, | |||
{ 'Percurro', 'Thorium Brass'} | |||
} | |||
for _, shamir in ipairs( shamirs ) do | |||
local name = shamir[1] .. ' Shamir' | |||
local bandName = shamir[2] | |||
if bandName == "Thorium Brass" then | |||
bandName = "Thorium_Brass" | |||
end | |||
local band = '&' .. bandFormat[bandName] .. shamir[2] | |||
local shamirName = shamir[1] | |||
aliases[name] = { title = '&eObsidian Cast', name = name, text = band .. '/&bShamir/&7' .. shamirName } | |||
end | |||
local obsidianCasts = { | local obsidianCasts = { | ||
' | 'Aluminium', | ||
' | 'Barium', | ||
' | 'Barimium', | ||
' | 'Copper', | ||
' | 'Thorium', | ||
' | 'Thorium Brass', | ||
} | } | ||
for _, | for _, cast in ipairs ( obsidianCasts ) do | ||
aliases[name] = { title = '&eObsidian Cast', name = name , text = | local name = 'Obsidian Cast (' .. cast .. ' Band)' | ||
local band = '&' .. bandFormat[cast] .. cast | |||
aliases[name] = { title = '&eObsidian Cast', name = name , text = band } | |||
end | end | ||
return aliases | return aliases |
edits