17,101
edits
(getShopMiscUpgradeTable: Mash a few skill upgrades into here for now) |
(_getPurchaseDescription: Include contains.modifiers) |
||
Line 109: | Line 109: | ||
elseif purch.contains ~= nil then | elseif purch.contains ~= nil then | ||
local item = nil | local item = nil | ||
if purch.contains.items ~= nil and Shared.tableCount(purch.contains.items) == 1 then | if purch.contains.modifiers ~= nil then | ||
return Constants.getModifiersText(purch.contains.modifiers, false) | |||
elseif purch.contains.items ~= nil and Shared.tableCount(purch.contains.items) == 1 then | |||
item = Items.getItemByID(purch.contains.items[1].id) | item = Items.getItemByID(purch.contains.items[1].id) | ||
elseif purch.contains.itemCharges ~= nil then | elseif purch.contains.itemCharges ~= nil then |