Bank System
Version: 3.0
Author: Grafikal
Creation Date: 12 - 15 - 2008
Last Updated Date: 11 - 15 - 2009
Version History
- 3.0 [11/15/09] - Built basically the perfect loan system, complicated coding, but very simple to implement.
- 2.1 [11/14/09] - redyugi fixed some issues with a Script Command Event allowing dynamic interest rates in-game
- 2.0 [11/13/09] - Updated to RMRK Format
- 1.1 [12/15/08] - Added Feature_ Interest Rates
- 1.0 [12/15/08] - Initial Release
Description
A banking system for your gold. (Not to be confused as a banking system for your items.) Also includes a fully working Loan System where a player can borrow gold from the bank. Can withdraw up to 2 loans at any given time.
Features
- View your account
- Deposit
- Withdraw
- Customizable Bank Account Interest Rates
- Make up to 2 loans
- Easily customize the Loan Rates
Planned Additional Features
- consequence system for not paying your loans.
Screenshots
Not really applicable.
Instructions
At the moment, all you need to do is copy the variables, switch, and common events into your own game. Then copy one of the banker map events from the demo into your game and the loan banker map event into your game. You can paste as many of those banker map events and loan banker map events as you want. Each bank map event starts up the banking processing. The Loan banker map event starts up a series of complex common events.
Credit
- grafikal - creating the entire system
- redyugi - for correcting and creating the script commands, helping with decimals and some math in the Loan System
Support
Support can be dealt with here in this topic or you may PM me.
Author's Notes
Very easy event system. You're welcome to raid the Audio folder and use the Coins SFX in your game for free and no credits. Also, I included a small character sheet for above head banker icons. You'll notice it in the demo. Feel free to use those in your game as well, though you need to credit me, grafikal, if you do use it.
Variables Used
Variables: 543-555
543: Input Gold (for depositing and withdrawing)
544: Account Gold (how much gold is in your account)
545: Interest Timer (compounding timer in common event)
546: Interest Rate (used in storing the rate)
547: Memory (used just for doing some math)
548: Money stored for Loan 1
549: Money stored for Loan 2
550: Max amount of money to make a loan in slot 1
551: Max amount of money to make a loan in slot 2
552: Max loan rates in slot 1
553: Max loan rates in slot 2
554: Repay Loan rates in slot 1
555: Repay Loan rates in slot 2
Switches Used
Switches: 851-853
851: Turns on the use of interest rates.
852: Loan Out 1 - checks if you have made a loan in slot 1
853: Loan Out 2 - checks if you have made a loan in slot 2
Common Events Used
Common Events: 312-318
312: It's the timer that loops for your interest rates.
313: It's the processes for making a loan in slot 1
314: It's the processes for making a loan in slot 2
315: Processes for paying back the loan in slot 1
316: Processes for paying back the loan in slot 2
317: (not necessary) Eye candy for explaining the loan system. Picture events.
318: (necessary unless not using common event 317) Corresponds with Common event 317.
Demo
Demo is attached[/list]