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.
Banking system (if your gold is a variable)

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 83
This is basically for someone (Real life) who asked me to show my banking system if your gold is a variable, as some people like to have it like that.

Features:
Check your balance - check your money on hand or in bank. This is useful as there is no way of telling what your gold is anywhere you want if it is set as a variable.

Make a deposit - deposit half, all or a custom amount of your money.

Make a withdrawal - withdraw half, all or a custom amount of the money in your account.




Tutorial



Make an event with the "Accountant" of your choice of the graphic. Then put (with your choice of text...)

Text: What would you like to do?etc...
Showchoices-disallow cancel but make the fourth option cancel.
Choice one of main choices:Check your balance
[inside choice one-
Show text:something to do with whether you want to see your money on hand or in your account.
Show choices:- disallow cancel
Choice one :Money on hand
[[Inside choice one-
Show text:OK, we will get our money counters on that straight away!
Wait: 10-30 frames or something
Find out what number the variable is for your gold variable
Show text: You have \v[put your gold variable number in here including the square brackets] gold!
This will honestly display how much gold you have, if done right.]
[[Choice 2 - Money in bank.
Inside choice 2-
Show text:OK, we will get our money counters on that straight away!
Wait: 10-30 frames or something
Make a variable called "Money in bank". Take note of the number.
Show text: You have \v[put your "money in bank" variable number in here including the square brackets] gold!
This should display how much gold you have in your account, if done right.]
[[Choice 3-Cancel
Inside choice three-
Do not put anything here.]]]
[Choice 2 of main choices - Make a deposit
Inside choice 2-
Show text: How much would you like to deposit?
Show choices: - disallow cancel
[[Choice 1 - All
Inside choice 1-
Control variables: Money in bank + Gold
Control variables: Set gold to 0
Show text: Please use the bank again etc...]]
[[Choice 2 - Half
Inside choice 2-
Control variables: Gold divide by 2
Control variables: Money in Bank + gold
Show text: Please use the bank again etc...]]
[[Choice 3 - Custom
Inside choice 3-
Gets a little complicated here, try to follow.
Make a variable called custom input bank money.
Input number - set the variable as "Custom input bank money"
Conditional branch - if gold is greater than "Custom input bank money"
     Control variables - Money in bank + "Custom input bank money"
     Control variables - Gold minus "Custom input bank money"
     Control variables - "Custom input bank money" set to 0
     Show text: Please use the bank again etc...]]
If not:
Show text: You do not have that much gold!
[[Choice 4 - Cancel
Inside choice 4-
Nothing goes here.]]]
[Choice 3 of main choices - Make a withdrawal
Inside choice 3-
Show text: How much would you like to Withdraw?
Show choices: - disallow cancel
[[Choice 1 - All
Inside choice 1-
Control variables: Gold + Money in bank
Control variables: Set Money in bank to 0
Show text: Please use the bank again etc...]]
[[Choice 2 - Half
Inside choice 2-
Control variables: Money in bank divide by 2
Control variables: gold + Money in bank
Show text: Please use the bank again etc...]]
[[Choice 3 - Custom
Inside choice 3-
Input number - set the variable as "Custom input bank money"
Conditional branch if Money in bank is greater than or equal to "Custom input bank money"
    Control variables - Gold + "Custom input bank money"
    Control variables - Money in bank minus "Custom input bank money"
    Control variables - "Custom input bank money" set to 0
Show text: Please use the bank again etc...]]
[[Choice 4 - Cancel
Inside choice 4-
Nothing goes here.]]]
[Choice 4 of main choices - Cancel
[[Inside Choice 4
Nothing goes here.]]]

I hope you managed to follow all that! Here are a few photos to show you end result.