Module:Equipment/Recommended: Difference between revisions

m
icontype
m (icontype)
m (icontype)
Line 69: Line 69:
else
else
-- Otherwise treat as an item icon
-- Otherwise treat as an item icon
local icontype = v.icontype or 'item'
local icontype = slot.icontype or 'item'
itemIcon = Icons.Icon({v, img=v, type=icontype})
itemIcon = Icons.Icon({v, img=v, type=icontype})
end
end
892

edits