There is an NPC in my game who you can talk to, to earn the amount of money you need to total 1,000 gold.
For example, if you play the game and have 300 gold, you fight the NPC and win, you will have 700 gold added to what you already have.
But how would you do this? To be more precise, how do you use constants and variables to define 1000 subtract what you already have is equal what should be gained?
Thanks in advance.
Edit: Never mind, i have solved it.