Module:Inventory slot/Aliases: Difference between revisions
mNo edit summary |
|||
| Line 984: | Line 984: | ||
-- Smithing Template | -- Smithing Template | ||
local smithing_templates = { | local smithing_templates = { | ||
{ 'Netherite Upgrade', 'Diamond Equipment', 'Netherite Ignot' | { 'Netherite Upgrade', 'Diamond Equipment', 'Netherite Ignot' }, | ||
{ 'Coast Armor Trim', 'Armor', 'Ignot & Crystals' | { 'Coast Armor Trim', 'Armor', 'Ignot & Crystals' }, | ||
{ 'Dune Armor Trim', 'Armor', 'Ignot & Crystals' | { 'Dune Armor Trim', 'Armor', 'Ignot & Crystals' }, | ||
{ 'Eye Armor Trim', 'Armor', 'Ignot & Crystals' | { 'Eye Armor Trim', 'Armor', 'Ignot & Crystals' }, | ||
{ 'Rib Armor Trim', 'Armor', 'Ignot & Crystals' | { 'Rib Armor Trim', 'Armor', 'Ignot & Crystals' }, | ||
{ 'Sentry Armor Trim', 'Armor', 'Ignot & Crystals' | { 'Sentry Armor Trim', 'Armor', 'Ignot & Crystals' }, | ||
{ 'Snout Armor Trim', 'Armor', 'Ignot & Crystals' | { 'Snout Armor Trim', 'Armor', 'Ignot & Crystals' }, | ||
{ 'Spire Armor Trim', 'Armor', 'Ignot & Crystals' | { 'Spire Armor Trim', 'Armor', 'Ignot & Crystals' }, | ||
{ 'Tide Armor Trim', 'Armor', 'Ignot & Crystals' | { 'Tide Armor Trim', 'Armor', 'Ignot & Crystals' }, | ||
{ 'Vex Armor Trim', 'Armor', 'Ignot & Crystals' | { 'Vex Armor Trim', 'Armor', 'Ignot & Crystals' }, | ||
{ 'Ward Armor Trim', 'Armor', 'Ignot & Crystals | { 'Ward Armor Trim', 'Armor', 'Ignot & Crystals' }, | ||
{ 'Wild Armor Trim', 'Armor', 'Ignot & Crystals | { 'Wild Armor Trim', 'Armor', 'Ignot & Crystals' }, | ||
} | } | ||
local smithing_template_array = {} | local smithing_template_array = {} | ||
for _,smithing_template in pairs(smithing_templates) do | for _,smithing_template in pairs(smithing_templates) do | ||
local current_alias = { | local current_alias = { | ||
| Line 1,008: | Line 1,007: | ||
aliases[smithing_template[1] .. ' Smithing Template'] = current_alias | aliases[smithing_template[1] .. ' Smithing Template'] = current_alias | ||
table.insert(smithing_template_array,current_alias) | table.insert(smithing_template_array,current_alias) | ||
end | end | ||
aliases['Matching Smithing Template'] = smithing_template_array | aliases['Matching Smithing Template'] = smithing_template_array | ||
aliases['Any Smithing Template'] = smithing_template_array | aliases['Any Smithing Template'] = smithing_template_array | ||
return aliases | return aliases | ||