Module:Inventory slot/Aliases: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 359: | Line 359: | ||
if statusProps[3] ~= '' then | if statusProps[3] ~= '' then | ||
local aliasName = 'Potion of ' .. statusProps[1] | local aliasName = 'Potion of ' .. statusProps[1] | ||
aliases[aliasName] = { title = aliasName, name = aliasName, text = | aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] .. ' (' .. statusProps[3] .. ')'} | ||
else | else | ||
local aliasName = 'Potion of ' .. statusProps[1] | local aliasName = 'Potion of ' .. statusProps[1] | ||
aliases[aliasName] = { title = aliasName, name = aliasName, text = | aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] } | ||
end | end | ||
end | end | ||