Anonymous

Module:ItemsTable: Difference between revisions

From Melvor Idle
no edit summary
mNo edit summary
No edit summary
Line 18: Line 18:
   while i < numberOfItems do
   while i < numberOfItems do
     result = result..'\r\n{{#invoke:ItemsTable|getItemsTable|'..i..'}}'
     result = result..'\r\n{{#invoke:ItemsTable|getItemsTable|'..i..'}}'
     i = i + 100
     i = i + 150
   end
   end
   result = result..'\r\n|}'
   result = result..'\r\n|}'
Line 27: Line 27:
   local itemList = {}
   local itemList = {}
   local i = tonumber(frame.args[1])
   local i = tonumber(frame.args[1])
   local iend = i + 100
   local iend = i + 150
   while i < iend do
   while i < iend do
     local item = Items.getItemByID(i)
     local item = Items.getItemByID(i)
444

edits