4,951
edits
Falterfire (talk | contribs) (tweaked the description to reflect how it works) |
Falterfire (talk | contribs) (adding item name links for next time this gets built) |
||
Line 37: | Line 37: | ||
local itemRow = '\r\n|-' | local itemRow = '\r\n|-' | ||
itemRow = itemRow..'\r\n|'..Icons.Icon({item.name, type='item', notext=true, size=50}) | itemRow = itemRow..'\r\n|'..Icons.Icon({item.name, type='item', notext=true, size=50}) | ||
itemRow = itemRow..'||'..item.name..'||'..(i)..'||'..item.category..'||'..item.type | itemRow = itemRow..'||[['..item.name..']]||'..(i)..'||'..item.category..'||'..item.type | ||
itemRow = itemRow..'||data-sort-value="'..item.sellsFor..'"|'..Icons.GP(item.sellsFor) | itemRow = itemRow..'||data-sort-value="'..item.sellsFor..'"|'..Icons.GP(item.sellsFor) | ||
itemRow = itemRow..'||style="text-align:right;"|'..SourceTables._getItemSources(item) | itemRow = itemRow..'||style="text-align:right;"|'..SourceTables._getItemSources(item) |