Module:ItemsTable: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 15: Line 15:
       local itemRow = '\r\n|-'
       local itemRow = '\r\n|-'
       itemRow = itemRow..'\r\n|'..Icons.Icon({item.name, type='item', notext=true, size=50})..'|'..item.id..'|'..item.category
       itemRow = itemRow..'\r\n|'..Icons.Icon({item.name, type='item', notext=true, size=50})..'|'..item.id..'|'..item.category
       itemRow = itemRow..'|'..item.type..'|'..Icons.Icon({'Currency', notext=true, size=25})
       itemRow = itemRow..'|'..item.type..'|[[File:Coins.svg|25px]] '
       itemRow = itemRow..' '..item.sellsFor..'|'..SourceTables.getItemSources(item.name)..'|'..UseTables.getItemUses(item.name)
       itemRow = itemRow..item.sellsFor..'|'..SourceTables.getItemSources(item.name)..'|'..UseTables.getItemUses(item.name)
       table.insert(itemList, itemRow)
       table.insert(itemList, itemRow)
     end
     end
444

edits