2,875
edits
(Set size to 25 for all shop related icons) |
No edit summary |
||
Line 586: | Line 586: | ||
return p._getShopTable(purchList, { columns = { 'Purchase', 'Description', 'Cost', 'Requirements' }, purchaseHeader = 'Upgrade' }) | return p._getShopTable(purchList, { columns = { 'Purchase', 'Description', 'Cost', 'Requirements' }, purchaseHeader = 'Upgrade' }) | ||
end | |||
function p.getPurchaseDescription(purchaseName) | |||
local purchase = p.getPurchase(purchaseName) | |||
if purchase == nil then | |||
return '' | |||
end | |||
return p._getPurchaseDescription(purchase) | |||
end | end | ||
edits