444
edits
Inconvenient (talk | contribs) mNo edit summary |
Inconvenient (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
local p = {} | local p = {} | ||
local | local Items = require('Module:Items') | ||
local Icons = require('Module:Icons') | local Icons = require('Module:Icons') | ||
local SourceTables = require('Module:Items/SourceTables') | local SourceTables = require('Module:Items/SourceTables') | ||
Line 23: | Line 23: | ||
function p.getItemsTable(frame) | function p.getItemsTable(frame) | ||
local itemList = {} | local itemList = {} | ||
local i = tonumber(frame.args[1]) | local i = tonumber(frame.args[1]) | ||
local iend = i + 100 | local iend = i + 100 | ||
while i < iend do | while i < iend do | ||
local item = | local item = Items.getItemByID(i) | ||
if item then | if item then | ||
local itemRow = '\r\n|-' | local itemRow = '\r\n|-' |
edits