Module:Shop: Difference between revisions

_getPurchaseStat: Return proper descriptions
(_getPurchaseDescription: Include contains.modifiers)
(_getPurchaseStat: Return proper descriptions)
Line 51: Line 51:
elseif stat == 'buyLimit' then
elseif stat == 'buyLimit' then
return p._getPurchaseBuyLimit(purchase, not displayInline)
return p._getPurchaseBuyLimit(purchase, not displayInline)
elseif stat == 'description' then
return p._getPurchaseDescription(purch)
else
else
return purchase[stat]
return purchase[stat]