Module:Shop: Difference between revisions

_getPurchaseStat: Add stat 'buyLimit'
(_getPurchaseContents: Ensure GP alignment is left in all cases)
(_getPurchaseStat: Add stat 'buyLimit')
Line 55: Line 55:
elseif stat == 'type' then
elseif stat == 'type' then
return p._getPurchaseType(purchase)
return p._getPurchaseType(purchase)
elseif stat == 'buyLimit' then
return p._getPurchaseBuyLimit(purchase, displayInline)
else
else
return purchase[stat]
return purchase[stat]