Module:Inventory slot: Difference between revisions
No edit summary |
No edit summary |
||
Line 119: | Line 119: | ||
local img | local img | ||
if minecraft then | if minecraft then | ||
img = "Invicon " .. name | img = "Invicon " .. name .. ".png" | ||
elseif mod then | elseif mod then | ||
img = i18n.filename:gsub( '%$1', name .. ' (' .. mod .. ')' ) | img = i18n.filename:gsub( '%$1', name .. ' (' .. mod .. ')' ) |