Anonymous

Module:ItemsTable: Difference between revisions

From Melvor Idle
Include commands to be executed in debug console
(slight change to 150 intervals due to memory size issues and added a fallback for blank categories)
(Include commands to be executed in debug console)
Line 1: Line 1:
-- this module generates [[Template:ItemsTable]] 200 lines at a time.
-- this module generates [[Template:ItemsTable]] 200 lines at a time.
-- run p.getItemsTableAlt() in debug and copy the result to [[Template:ItemsTable]] after an update that adds new items.
-- run p.getItemsTableAlt() in debug and copy the result to [[Template:ItemsTable]] after an update that adds new items.
--[=[
mw.log(p.getItemsTableAlt(0))
mw.log(p.getItemsTableAlt(150))
mw.log(p.getItemsTableAlt(300))
mw.log(p.getItemsTableAlt(450))
mw.log(p.getItemsTableAlt(600))
mw.log(p.getItemsTableAlt(750))
mw.log(p.getItemsTableAlt(900))
mw.log(p.getItemsTableAlt(1050))
--]=]


local p = {}
local p = {}