RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
1000-?=Gold (solved)

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 89
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.

*
Full Metal Mod - He will pillage your women!
Rep:
Level 93
The RGSS Dude
JFYI: You'll want to create a conditional branch (events) or if statement (rgss) to make it so that if 1000 - current_gold = 0 or a neg. number, ie. You already have 1000+ gold, it give you 0 gold. So that it wont add a negative number to how much gold you have ie. wont bring it down to 1000.
"The wonderful thing about Tiggers
Is Tiggers are wonderful things
Their tops are made out of rubber
Their bottoms are made out of springs

They’re bouncy, trouncy, flouncy, pouncy
Fun, fun, fun, fun, fun!
But the most wonderful thing about Tiggers
Is I’m the only one, I’m the only one."