444
edits
Inconvenient (talk | contribs) No edit summary |
Inconvenient (talk | contribs) No edit summary |
||
Line 15: | Line 15: | ||
function p.getItemsTable(frame) | function p.getItemsTable(frame) | ||
local itemList = {} | local itemList = {} | ||
local i = | local i = 0 | ||
while i < itemCount do | while i < itemCount do | ||
local item = Items.getItemByID(i) | local item = Items.getItemByID(i) | ||
Line 21: | Line 21: | ||
table.insert(itemList, Icons.Icon({item.name, size=50, type='item'})) | table.insert(itemList, Icons.Icon({item.name, size=50, type='item'})) | ||
table.insert(itemList, '||') | table.insert(itemList, '||') | ||
table.insert(itemList, i | table.insert(itemList, i) | ||
table.insert(itemList, '||') | table.insert(itemList, '||') | ||
table.insert(itemList, item.category) | table.insert(itemList, item.category) |
edits