It looks like you're new here. If you want to get involved, click one of these buttons!
<<widget modDollars>> <<set $player.dollars to Math.clamp($player.dollars + $args[0], 0, 100000)>> <</widget>>with that:
<<modDollars +5>>or
<<modDollars -15>>works as intended, however:
<<modDollars -$item.cost>>fails and seems to 0 out the $player.dollars $var.
Comments
Try something like the following: