Anonymous

Module:Common: Difference between revisions

From Melvor Idle
m
no edit summary
(Add another potential currencyID property in getCostString)
mNo edit summary
 
Line 205: Line 205:
table.insert(costArray, formatLine(Icons._Currency(currID, currCost.min, currCost.max)))
table.insert(costArray, formatLine(Icons._Currency(currID, currCost.min, currCost.max)))
else
else
table.insert(costArray, formatLine(Icons._Currency(currID, currCost.quantity)))
table.insert(costArray, formatLine(Icons._Currency(currID, (currCost.quantity or currCost.cost))))
end
end
end
end