Module:ItemsTable: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 11: Line 11:
   local index = tonumber(frame.args[1])
   local index = tonumber(frame.args[1])
   for i, item in Shared.skpairs(ItemData.Items) do
   for i, item in Shared.skpairs(ItemData.Items) do
     if i >= index and i < index + 50 then
     if i >= index and i < index + 50 and item.id then
       local itemRow = '\r\n|-'
       local itemRow = '\r\n|-'
       itemRow = itemRow..'|'..Icons.Icon({item.name, notext=true, size=50})..'|'..item.id..'|'..item.category
       itemRow = itemRow..'|'..Icons.Icon({item.name, notext=true, size=50})..'|'..item.id..'|'..item.category
444

edits