Maxy: This is a tutorial I dug out of the old Palace. The coding seems reasonably straight forward so I don't think anyone will have too much difficulty; however, it is a case of "follow the code" rather than "understand what I'm doing". You'll end up with a bank system, but you may not understand why. The creator has long since left the Palace community, as far as I am aware, but his email address may still work if you need to get in touch. One big warning here - this was written for RPG Maker 2000 which was translated poorly. It may be difficult for RPG Maker 2003 folks to follow, but here's a hint: Fork Condition is Conditional Branch . Where possible, I've changed to the clearly version. There are probably a few mistakes that I hope will have obvious solutions, I only skimmed through this, but if you get stuck, ask us on the forum for a solution.
The Bank System describe here is quite a neat feature. It seems it was designed for games where death didn't result in the Game Over screen. I assume that it caused a respawn, much like in an MMORPG. As is explained in the code, when you die in this game, all your money is lost, yet any money you've deposited in the bank is safe. Another bonus is the ATM machine. At the bank you're given a PIN number when you create an account - if you forget it, you can always go back to the bank to get a new one. However, ATM machines aren't so forgiving. If you're not in a big city you might not be able to visit the bank, so forget about buying that Phoenix Down if you've forgotten your PIN number! The bank also gives you a standing payment of 100 currency per month, for interest. The original tutorial went on to discuss day-night systems based of this calendar, but I think that's probably a bit off-topic. I also scrapped the original timer system because it was formed into a clock, which is unnecessary for a simple system like this. No need to confuse anyone! Now, back to the action.
First of make these variables: Account Code, Enter Code, Deposit,Withdraw, Current Money, and Current Bank. Next make a switch and call it Created Account.
Ok now create a new event and call it ATM Machine, and have the first page Same Level As Hero, and to start it Push Key. Now create an item called ATM Card make it common goods definition what ever you want it to be.
Maxy: As he explains, you're now adding an ATM Machine. You can place these bad-boys anywhere in your world, and should you have your PIN number handy, pick up your credit even when there's a line at the bank. I made a couple of edits here, because parts seemed redundant.
Maxy: Here's my simplified version of the interest system. For the purpose of this illustration, we shall say that every second of real time is a minute of game time. There are about 30 days in a month, so in real time, 43200 seconds pass every month. That's 12 hours of real time for a game month. Wow! That's a lot. I hope you have a long game.
We need a new common event, with a Parallel Process trigger. The switch condition will be [####: Created Account] - we don't need the process to start gaining interest until we have an account, do we? We also need money in the account to get the interest. So, if at any time the account is empty, we need to reset the clock. But when the month ends, 43200 seconds after money was put in, we can gain our 100 credits.
And you're done.