I have recently edited the system and added interest. Everything that is underlined is what was added.
Here is a bank system that has labels and interest
. The reason for the labels is so you don't have to keep talking to the banker if you want to do multiple things. Like check your balance before you make a withdraw or make a deposit and then check your balance.
Ok what you are going to need is four control variables. They should look like this.
The first four are the only ones you will need. Pay no attention to the others. Two more variables have been added for the interest. They are nuber 10 and 11.
Ok now after that. You will need to make two common events. One for deposits and one for withdraws. The deposit one should look like this. One line has been added and is circled in black.
The withdraw one should look like this.Another common event has been added for the interest and it should look like this.Going by this picture your interest would go up about every 3 minutes. You can change either the wait time or the conditional branch. The easiest way to figure out the time you want is every 20 frames is equal to 1 second. Also dividing by 7 will give you about 14% interest. If you like a diferent amount just change the divided by number. 11 = about 9% and 14 = about 7%
After all that is done, you can make the banker event. It should look like this.
Make sure that gold in inventory=gold and deposit amount and withdraw amount both = 0.
Also at the bottom were it says Label:exit bank put some kind of text in after that that says something like thank you come again or whatever. Well thats it hope this helps someone out.