Anonymous

Module:ItemsTable: Difference between revisions

From Melvor Idle
m
no edit summary
mNo edit summary
mNo edit summary
Line 8: Line 8:


function p.getItemTable(frame)
function p.getItemTable(frame)
  local numberOfItems = ItemData.Items.length
  local result = ''
  local i = 1
  while i < numberOfItems do
    result = result..'{{#invoke:ItemsTable|_getItemTable|'..i..'}}\r\n'
    i = i + 50
  end
  return result
end
function p._getItemTable(frame)
   local itemList = {}
   local itemList = {}
   local istart = tonumber(frame.args[1])
   local istart = tonumber(frame.args[1])
444

edits