4,951
edits
Falterfire (talk | contribs) (Added p.getObstaclesForItem (which will be needed for Items/UseTables) |
Falterfire (talk | contribs) (Following up change to getModifierText in Constants.) |
||
Line 58: | Line 58: | ||
--After that, adding the bonuses | --After that, adding the bonuses | ||
for bonusName, bonusValue in pairs(obst.modifiers) do | for bonusName, bonusValue in pairs(obst.modifiers) do | ||
table.insert(bonuses, Constants.getModifierText(bonusName, bonusValue)) | |||
end | end | ||
if Shared.tableCount(bonuses) == 0 then | if Shared.tableCount(bonuses) == 0 then |