4,951
edits
Falterfire (talk | contribs) (Reduced spacing between shop tables) |
Falterfire (talk | contribs) (Added shop icon to purchase list) |
||
Line 187: | Line 187: | ||
function p._getPurchaseTable(purchase) | function p._getPurchaseTable(purchase) | ||
local result = '{| class="wikitable"\r\n|-' | local result = '{| class="wikitable"\r\n|-' | ||
result = result..'\r\n!colspan="2"| | result = result..'\r\n!colspan="2"|'..Icons.Icon({'Shop'})..' Purchase' | ||
if purchase.contains.items ~= nil and Shared.tableCount(purchase.contains.items) > 1 then | if purchase.contains.items ~= nil and Shared.tableCount(purchase.contains.items) > 1 then | ||
result = result..' - '..Icons.Icon({purchase.name, type='item'}) | result = result..' - '..Icons.Icon({purchase.name, type='item'}) |