Anonymous

Module:ItemsTable: Difference between revisions

From Melvor Idle
no edit summary
mNo edit summary
No 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 and item.id then
     if i >= index and i < index + 50 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