Probably a question with a ridiculously simple solution (I missed a colon or something), but I don't know what's going on, so...l.o
I was going through and testing my current setup for my game, and when I got to the point where I was testing a currency variable, I could "buy" one thing and then everything else was locked out (because I have it set to where the "buy confirm" option isn't available if the money variable is <= 0...debt is not the name of the game...)
When trying to figure out why this was, I made it to where, after buying something, I would print the value of the variable. Instead of subtracting from the total value of the variable, the decriment I used to make the variable go down replaced the previous value of the variable...did I miss something?
Here's some code snippets for illustration:
[initializing variable] (set: $money to 0)
[gaining money after quest end] (set: $money to $money + 100)
[buying something] (set: $money to $money - 10)
Thanks for any help anyone can provide, because if this isn't working, it means a lot of things aren't working...(though a different variable counter with the same increment/decriment syntax was working just fine, so...idk)