By chris [Current version]
5 years ago | Version 1 Initial version of The apple economy |
5 years ago | Version 2 I fixed some bugs that students pointed out. Thanks! |
5 years ago | eragon_shadeslayer commented: hmmmm wait you said that something like {money- 5} would work and it does for one option but it doesnt last. Before im pretty sure had used what i showed above. Is it not working because now you use {money >= 5} to get 5 less money? |
5 years ago | eragon_shadeslayer commented: Also how do I make it show that in a store you can click the option and it stays in the store BUT you still lose the money? i would think that you could put whatever you use to have minus var how ever many it costs in the option to click it BUT this is very hard to do and im not sure it works. |
5 years ago | eragon_shadeslayer commented: an example is this. i know it not perfect and it proabbly wouldnt work. |
5 years ago | eragon_shadeslayer commented: VAR money=5 ->store ===store=== + [lemon for {money-5} dollars] ->store ->DONE How would i make it do two things: 1. work 2. SAY UNDER WHERE STORE IS that you lost five dollars BUT ONLY WHEN YOU CLICK THAT OPTION. remember, i could tachnically make anothe rstore thing but i would have to do that with each individual thing that i buying and it would take too long. |
5 years ago | eragon_shadeslayer commented: example before you click lemon it says this you have 5 dollars. Buy lemon? and after you click it says this. you have 0 dollars and 1 lemon. buy lemon? |
5 years ago | eragon_shadeslayer commented: but the earliest thing i commented is more important because i need that for my story |
5 years ago | eragon_shadeslayer commented: i keep getting really confused by that because {apples -5} used to work but now it doesnt |
5 years ago | chris commented: Is this (Testing) what you mean? I'm not sure why it would have worked before but not now, but one thing to keep in mind is {money-5} is never going to change the value of the money variable. It's just going to print out 5 less than whatever money is set to. |