444
edits
Inconvenient (talk | contribs) No edit summary |
Inconvenient (talk | contribs) No edit summary |
||
Line 13: | Line 13: | ||
function p.getInvokes(frame) | function p.getInvokes(frame) | ||
local result = '{| class="wikitable sortable stickyHeader" style="width:100%;"' | local result = '{| class="wikitable sortable stickyHeader" style="width:100%;"' | ||
result = result..'\r\n!Item!!ID!!Category!!Type!!Sells For | result = result..'\r\n!Item!!ID!!Category!!Type!!Sells For\r\n' | ||
local i = 1 | local i = 1 | ||
while i < Shared.tableCount(ItemData.Items) do | while i < Shared.tableCount(ItemData.Items) do | ||
result = result..'{{#invoke:ItemsTable|getItemsTable|'..i..'}}' | result = result..'{{#invoke:ItemsTable|getItemsTable|'..i..'}}' | ||
i = i + | i = i + 50 | ||
end | end | ||
result = result..'\r\n|}' | result = result..'\r\n|}' | ||
Line 39: | Line 39: | ||
table.insert(itemList, '||') | table.insert(itemList, '||') | ||
table.insert(itemList, Icons.GP(item.sellsFor)) | table.insert(itemList, Icons.GP(item.sellsFor)) | ||
i = i + 1 | i = i + 1 | ||
end | end |
edits