Currency help (Kinda hard)

So in my game cash is the main currency, and I want to solve two problems, the first easier than the second, SCRATCH THAT THERE ARE WAY MORE PROBLEMS, KINDA LIKE A RABBIT HOLE.

How would I implement a system of interest with the money deposited, but NO interest with the money not deposited in the bank, and how to have an ATM-ish machine then withdraw the exact amount of money that you would want?

These are some other questions

  • Can a property be shown as a decimal?
  • How would I connect this to an overlay?
  • How would I show an image of it on the overlay?
  • Can you withdraw a decimal so then you have cents or would I need to create a currency without cash?
  • Would a PSUEDO currency work best?

I really don’t care how much memory this takes because it will be the main currency of the game as long as it’s under 11% because that’s what I can barely afford.

Images would be much appreciated but I can understand text pretty well

This is the idea that I have of it right now

A lot of properties
Triggers that increase and decrease
A trigger with a 5 second delay that will multiply the property (Original money) by 100% + 10% (Example interest) and will add on… WAIT that brings me to the question of, if that happens will there be a PSUEDO currency, got to add that to the list of questions.

Also, what would be better for a title?

2 Likes

Is this kinda like pseudo-health?

I am so lost in this never ending problem hole that I have no idea

Thanks

What do you mean by ā€œFinancialā€
Also there CAN be decimals if it was a PSUEDO currency, idk why I like capitalizing PSUEDO

Till here what you saying is nice except I think it would be better to implement a way with 1 property

NEVER EVER SPEAK OF THIS D1RTY WORD ā€œrepeaterā€ (joke), you could use a loop with a trigger to check for the property value

  1. Noice
  2. LOL

figured that out

1 Like

I’ll look into this…

1 Like

I can answer one question, there can’t be any decimals
The rest are too financial for me to answer
Did I spell it wrong? oof

You may have to have 2 properties; a cents and a cash one. Then, make it so that a repeater on game start repeats on ā€˜check’ every 0.5 seconds and it end on a channel (no channel) and then a trigger check if cents property: 100, set it to 0 and set cash +1

1 Like

Well, I can try to think of a way that uses just one property and never speak bad abt repeaters >:|

1 Like

Connecting it to an overlay would be easy, in the overlay blocks, just do

Set text: get property: currency

1 Like

You could use properties to show decimals:
515.5 is stored as 5155, and when you need to retrieve it: 5155/10 = 515.5.
In order for that to always work you’d need to add a 0 for when there’s no decimals. Example: 515.0 is stored as 5150, and to retrieve: 5150/10 = 515.0.

To connect your cash to the overlay use block code:
get property ā€œcashā€ / 10
Divide by 10 if you are using decimals.

You can’t add an image to an overlay, but maybe an emoji with concat would work.

You can withdraw decimals if you store them like I previously mentioned and refer to them by dividing by 10.

PSUEDO currency is probably your safest investment best choice as using a property will be necessary for storing cents.

3 Likes

I don’t know if an interest system is possible

if it is it would be very complicated and time consuming

Interest system:

3 Likes

like I said very complicated but thanks anyway

Wait would this also work if I wanted to implement interest on a PSUEDO currenncy[1]


  1. Idk why I like to capitalize PSUEDO ā†©ļøŽ

Yes, you would update the PSUEDO currency(stored in a property) with this basic formula:
n = ni
n is your cash and i is your interest rate(100% = 1 + 10% = 1.1).
Note: if your interest rate is < 1 it will decrease the cash.
Make sure the formula above is in the block code of your trigger.

1 Like

LOL, just learned that math

interest=(pirnciple)(interest rate)(time)

If i’m mistaken but isn’t nonowahoo requested banned, or was cause he just liked one of my posts
Screenshot 2025-04-04 8.04.34 AM

I mean he was

He’s not banned. You can check his profile to see.

3 Likes

Alright, properties can have decimals.

Decimal properties are done by multiplying and dividing or just using them.
Pseudo currencies work best.
Using property update setting will work with block code that sets overlay to the property.
2 properties for in bank and not in bank.
Depositing is by setting not in bank money to in bank money.
In bank money interest is done by trigger loop at ā€œintervalā€ that has a calc of

Set In bank cash to In bank cash + in bank cash x .(what ever the percentage is)

2 Likes

One more problem, So let’s say I’m depos1ting some money ok? And I have $100, I want to depos1t $50, how would I make it so that I can depos1t the specific amount of money I want?

Here’s what I’m thinking,

Property (Original money)
Property (Bank money, which is multiplied by 1.1 every 5 seconds)
+
What I cooked up right now
Another property that a player sets to a specific number
Let’s call it Property ā€œDepos1tingā€

When receiving on "Depos1ting"
If get property "Original money" > get property "Depos1ting"
Get property "Original money"
Set property value Get property "Original money" - get property "Depos1ting"

Get property "Bank money"
Set property value Get property "Bank money" + Get property "Depos1ting"

Can someone remove ā€œD e p o s i tā€ from the banned list?

Anyways, tell me what I could do better?

2 Likes