444
edits
Inconvenient (talk | contribs) No edit summary |
Inconvenient (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
local UseTables = require('Module:Items/UseTables') | local UseTables = require('Module:Items/UseTables') | ||
local numberOfItems = Shared.tableCount(ItemData.Items) | |||
function p.getItemsTable(frame) | function p.getItemsTable(frame) | ||
local itemList = {} | local itemList = {} | ||
local i = | local i = 1 | ||
while i < numberOfItems do | |||
while i < | |||
local item = Items.getItemByID(i) | local item = Items.getItemByID(i) | ||
table.insert(itemList, '\r\n|-\r\n|') | table.insert(itemList, '\r\n|-\r\n|') |
edits