17,097
edits
(Enforce minimum width on icon column for item uses table) |
(_getItemuseTable: Fix item upgrade quantities) |
||
Line 393: | Line 393: | ||
end | end | ||
end | end | ||
table.insert(useArray, {item = {id = upgradeItem.id, name = upgradeItem.name}, qty = 1, mats = upgrade.itemCosts, skill = 'Upgrade', req = rowReq, xp = 'N/A', gp = upgrade.gpCost, sc = upgrade.scCost}) | table.insert(useArray, {item = {id = upgradeItem.id, name = upgradeItem.name}, qty = (upgrade.quantity or 1), mats = upgrade.itemCosts, skill = 'Upgrade', req = rowReq, xp = 'N/A', gp = upgrade.gpCost, sc = upgrade.scCost}) | ||
end | end | ||
end | end |