Module:ItemsTable: Difference between revisions

m
no edit summary
m (bye mazunki table)
mNo edit summary
Line 3: Line 3:
--[=[
--[=[
mw.log(p.getItemsTableAlt(0))
mw.log(p.getItemsTableAlt(0))
mw.log(p.getItemsTableAlt(150))
mw.log(p.getItemsTableAlt(125))
mw.log(p.getItemsTableAlt(300))
mw.log(p.getItemsTableAlt(250))
mw.log(p.getItemsTableAlt(450))
mw.log(p.getItemsTableAlt(375))
mw.log(p.getItemsTableAlt(600))
mw.log(p.getItemsTableAlt(500))
mw.log(p.getItemsTableAlt(625))
mw.log(p.getItemsTableAlt(750))
mw.log(p.getItemsTableAlt(750))
mw.log(p.getItemsTableAlt(900))
mw.log(p.getItemsTableAlt(875))
mw.log(p.getItemsTableAlt(1050))
mw.log(p.getItemsTableAlt(1000))
mw.log(p.getItemsTableAlt(1125))
mw.log(p.getItemsTableAlt(1250))
--]=]
--]=]


Line 39: Line 42:
   local itemList = {}
   local itemList = {}
   local i = startID
   local i = startID
   local iend = i + 150
   local iend = i + 125
   while i < iend do
   while i < iend do
     local item = Items.getItemByID(i)
     local item = Items.getItemByID(i)