Anonymous

Module:Shop: Difference between revisions

From Melvor Idle
m
no edit summary
(_getPurchaseStat: Add stat 'buyLimit')
mNo edit summary
Line 56: Line 56:
return p._getPurchaseType(purchase)
return p._getPurchaseType(purchase)
elseif stat == 'buyLimit' then
elseif stat == 'buyLimit' then
return p._getPurchaseBuyLimit(purchase, displayInline)
return p._getPurchaseBuyLimit(purchase, not displayInline)
else
else
return purchase[stat]
return purchase[stat]