Module:Inventory slot/Aliases: Difference between revisions
mNo edit summary |
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', 'Netherrack' }, | ||
{ 'Coast Armor Trim', 'Armor', 'Ignot & Crystals' }, | { 'Coast Armor Trim', 'Armor', 'Ignot & Crystals', 'Cobblestone' }, | ||
{ 'Dune Armor Trim', 'Armor', 'Ignot & Crystals' }, | { 'Dune Armor Trim', 'Armor', 'Ignot & Crystals', 'Sandstone' }, | ||
{ 'Eye Armor Trim', 'Armor', 'Ignot & Crystals' }, | { 'Eye Armor Trim', 'Armor', 'Ignot & Crystals', 'End Stone' }, | ||
{ 'Rib Armor Trim', 'Armor', 'Ignot & Crystals' }, | { 'Rib Armor Trim', 'Armor', 'Ignot & Crystals', 'Netherrack' }, | ||
{ 'Sentry Armor Trim', 'Armor', 'Ignot & Crystals' }, | { 'Sentry Armor Trim', 'Armor', 'Ignot & Crystals', 'Cobblestone' }, | ||
{ 'Snout Armor Trim', 'Armor', 'Ignot & Crystals' }, | { 'Snout Armor Trim', 'Armor', 'Ignot & Crystals', 'Blackstone' }, | ||
{ 'Spire Armor Trim', 'Armor', 'Ignot & Crystals' }, | { 'Spire Armor Trim', 'Armor', 'Ignot & Crystals', 'Purpur Block' }, | ||
{ 'Tide Armor Trim', 'Armor', 'Ignot & Crystals' }, | { 'Tide Armor Trim', 'Armor', 'Ignot & Crystals', 'Prismarine' }, | ||
{ 'Vex Armor Trim', 'Armor', 'Ignot & Crystals' }, | { 'Vex Armor Trim', 'Armor', 'Ignot & Crystals', 'Cobblestone' }, | ||
{ 'Ward Armor Trim', 'Armor', 'Ignot & Crystals' }, | { 'Ward Armor Trim', 'Armor', 'Ignot & Crystals', 'Cobbled Deepslate' }, | ||
{ 'Wild Armor Trim', 'Armor', 'Ignot & Crystals' }, | { 'Wild Armor Trim', 'Armor', 'Ignot & Crystals', 'Mossy Cobblestone' }, | ||
} | } | ||
local smithing_template_array = {} | local smithing_template_array = {} | ||
local smithing_template_material_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,007: | Line 1,008: | ||
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) | ||
table.insert(smithing_template_material_array,smithing_template[4]) | |||
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 | ||
aliases['Matching Smithing Template Material'] = smithing_template_material_array | |||
aliases['Any Smithing Template Material'] = smithing_template_material_array | |||
return aliases | return aliases | ||