Module:ItemsTable: Difference between revisions

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