Module:Inventory slot/Aliases: Difference between revisions

No edit summary
m The other way around
Line 649: Line 649:
local potionName = {}
local potionName = {}
if type.name == 'Tipped Arrow' then
if type.name == 'Tipped Arrow' then
potionName = type.text .. effect.name
else
potionName = type.text .. effect.name .. '.gif'
potionName = type.text .. effect.name .. '.gif'
else
potionName = type.text .. effect.name
end
end