Module:ItemsTable: Difference between revisions

slight tweak to getItemsTableAlt functionality to make it easier to use
No edit summary
(slight tweak to getItemsTableAlt functionality to make it easier to use)
Line 26: Line 26:


--Alternate version that has everything still
--Alternate version that has everything still
function p.getItemsTableAlt(frame)
function p.getItemsTableAlt(startID)
   local itemList = {}
   local itemList = {}
   local i = tonumber(frame.args[1])
   local i = startID
   local iend = i + 100
   local iend = i + 200
   while i < iend do
   while i < iend do
     local item = Items.getItemByID(i)
     local item = Items.getItemByID(i)