Anonymous

Module:Items/UseTables: Difference between revisions

From Melvor Idle
Trying a slightly different format to hopefully fix a lack of linebreaks that's happening on FEZ use table for some reason.
(Removing the 'slot items' category for now and we'll see if anybody complains)
(Trying a slightly different format to hopefully fix a lack of linebreaks that's happening on FEZ use table for some reason.)
Line 441: Line 441:
       local matQty = mat.qty ~= nil and mat.qty or mat[2]
       local matQty = mat.qty ~= nil and mat.qty or mat[2]
       matItem = Items.getItemByID(matID)
       matItem = Items.getItemByID(matID)
       if i > 1 then result = result..'<br/>' end
       if i > 1 then result = result..'\r\n\r\n' end
       result = result..Icons.Icon({matItem.name, type='item', qty=matQty})
       result = result..Icons.Icon({matItem.name, type='item', qty=matQty})
     end
     end