444
edits
Inconvenient (talk | contribs) mNo edit summary |
Inconvenient (talk | contribs) mNo edit summary |
||
Line 13: | Line 13: | ||
local numberOfItems = Shared.tableCount(ItemData.Items) | local numberOfItems = Shared.tableCount(ItemData.Items) | ||
local result = '{| class="wikitable sortable stickyHeader" style="width:100%;"\r\n|- class="headerRow-0"' | local result = '{| class="wikitable sortable stickyHeader" style="width:100%;"\r\n|- class="headerRow-0"' | ||
result = result..'\r\n!colspan="2"|Item!!ID!!Category!!Type!!Sells For!!Item Sources!!Item Uses | result = result..'\r\n!colspan="2"|Item!!ID!!Category!!Type!!Sells For!!Item Sources!!Item Uses' | ||
local i = 1 | local i = 1 | ||
while i < numberOfItems do | while i < numberOfItems do | ||
Line 28: | Line 28: | ||
local iend = istart + 50 | local iend = istart + 50 | ||
for i, item in Shared.skpairs(ItemData.Items) do | for i, item in Shared.skpairs(ItemData.Items) do | ||
if i >= istart and i < iend and item. | if i >= istart and i < iend and item.id then | ||
local itemRow = '\r\n|-' | local itemRow = '\r\n|-' | ||
itemRow = itemRow..'\r\n|style="text-align:left;"|'..Icons.Icon({item.name, type='item', notext=true, size=50}) | itemRow = itemRow..'\r\n|style="text-align:left;"|'..Icons.Icon({item.name, type='item', notext=true, size=50}) |
edits