Module:ItemsTable: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 14: Line 14:
     if i >= istart and i < iend and item.name then
     if i >= istart and i < iend and item.name then
       local itemRow = '\r\n|-'
       local itemRow = '\r\n|-'
       itemRow = itemRow..'\r\n|'..Icons.Icon({item.name, type='item', notext=true, size=50})..'||'..itemname..'||'..item.id
       itemRow = itemRow..'\r\n|'..Icons.Icon({item.name, type='item', notext=true, size=50})..'||'..item.name..'||'..item.id
       itemRow = itemRow..'||'..item.category..'||'..item.type..'||[[File:Coins.svg|20px]] '..item.sellsFor
       itemRow = itemRow..'||'..item.category..'||'..item.type..'||[[File:Coins.svg|20px]] '..item.sellsFor
       itemRow = itemRow..'||'..SourceTables.getItemSources(item.name)..'||'..UseTables.getItemUses(item.name)
       itemRow = itemRow..'||'..SourceTables.getItemSources(item.name)..'||'..UseTables.getItemUses(item.name)
444

edits