2,875
edits
(Fix off by one error when fromItemID == nil) |
No edit summary |
||
Line 45: | Line 45: | ||
table.insert(itemRow, '||'..Icons.Icon({item.name, type='item', noicon=true})..'||'..item.id..'||'..iCat..'||'..item.type) | table.insert(itemRow, '||'..Icons.Icon({item.name, type='item', noicon=true})..'||'..item.id..'||'..iCat..'||'..item.type) | ||
table.insert(itemRow, '|| '..Items._getItemStat(item, 'completionReq')) | table.insert(itemRow, '|| '..Items._getItemStat(item, 'completionReq')) | ||
table.insert(itemRow, '||data-sort-value="'..math.floor(item.sellsFor)..'"|'..Icons.GP | table.insert(itemRow, '||data-sort-value="'..math.floor(item.sellsFor)..'"|'..Icons._Currency('GP', math.floor(item.sellsFor))) | ||
table.insert(itemRow, '||style="text-align:right;"|'..SourceTables._getItemSources(item)) | table.insert(itemRow, '||style="text-align:right;"|'..SourceTables._getItemSources(item)) | ||
table.insert(itemRow, '||style="text-align:right;"|'..UseTables._getItemUses(item, false)) | table.insert(itemRow, '||style="text-align:right;"|'..UseTables._getItemUses(item, false)) |
edits