Module:Inventory slot/Aliases: Difference between revisions
added Any Lingering<space><space>Potion (ugh) and also Any Tipped Arrow |
Undo revision 944550 by Sealbudsman (talk) ok nope |
||
| Line 232: | Line 232: | ||
"Mundane Lingering Potion" | "Mundane Lingering Potion" | ||
} | } | ||
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 ) | ||
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'], ';' ) | ||
-- Wood -- | -- Wood -- | ||