Module:Inventory slot/Aliases: Difference between revisions
Undo revision 944550 by Sealbudsman (talk) ok nope |
No edit summary |
||
| Line 232: | Line 232: | ||
"Mundane Lingering Potion" | "Mundane Lingering Potion" | ||
} | } | ||
aliases['Any Lingering Potion'] = {} | |||
aliases['Any Tipped Arrow'] = {} | |||
for _, effect in ipairs( effects ) do | for _, effect in ipairs( effects ) do | ||
table.insert( aliases['Any Potion'], 'Potion of ' .. effect ) | table.insert( aliases['Any Potion'], 'Potion of ' .. effect ) | ||
table.insert( aliases['Any Splash Potion'], 'Splash Potion of ' .. effect ) | table.insert( aliases['Any Splash Potion'], 'Splash Potion of ' .. effect ) | ||
table.insert( aliases['Any Lingering Potion'], 'Lingering Potion of ' .. effect ) | table.insert( aliases['Any Lingering Potion'], 'Lingering Potion of ' .. effect ) | ||
table.insert( aliases['Any Lingering Potion'], 'Lingering Potion of ' .. effect ) | |||
table.insert( aliases['Any Tipped Arrow'], 'Arrow of ' .. effect ) | |||
end | end | ||
aliases['Any Potion'] = table.concat( aliases['Any Potion'], ';' ) | aliases['Any Potion'] = table.concat( aliases['Any Potion'], ';' ) | ||
aliases['Any Splash Potion'] = table.concat( aliases['Any Splash Potion'], ';' ) | aliases['Any Splash Potion'] = table.concat( aliases['Any Splash Potion'], ';' ) | ||
aliases['Any Lingering Potion'] = table.concat( aliases['Any Lingering Potion'], ';' ) | aliases['Any Lingering Potion'] = table.concat( aliases['Any Lingering Potion'], ';' ) | ||
aliases['Any Lingering Potion'] = table.concat( aliases['Any Lingering Potion'], ';' ) | |||
aliases['Any Tipped Arrow'] = table.concat( aliases['Any Tipped Arrow'], ';' ) | |||
-- Wood -- | -- Wood -- | ||