working on variable/switch planting system ;; need help

hii!! im currently using rpg maker vx ace to make a game similar to a mix of harvest moon && pokemon (using pokemon resources as well as my own stuff) and i'm currently trying to get the garden to work with a series of switches and variables! i want to make it so when you first spawn onto the map there are plants readily available. you can then pick the berries and replant seeds in the same spot to grow more! this is what i have so far (in screenshots)

garden screen 1.PNGgarden screen 2.PNGgarden screen 3.PNG the first three are the event i have so far and the fourth one is an event i have running in the background to make sure the plant appears when you spawn onto the map.

i have seeds and a spraybottle as items, if that helps at all. i know i have to add in something on the second screen to take away a redberry seed every time i plant one, but that isn't the issue at hand. right now when i spawn onto the map the plant is there and i can pick the berries. then i can plant another one and water it, but once i water it it won't grow into a plant again. how can i do this successfully? thank you in advance for the help!!

garden screen 4.PNG
I am surprised you can do ANYTHING on that map. Autorun events loop by default, and take away control from the player. So that last event is going to be running continually while you're on that map. By rights, you shouldn't even be able to move or open your inventory.


Set the event to parallel process and add an Erase Event command after turning on the switch. Then it will run once, as you enter the map (before the map is visible), and not again until you leave the map and come back.


If you don't want it to run again at all, even after coming back, instead of an Erase Event command, turn on a self switch, and add a second event page conditioned by that self switch, with no other changes.


In fact, looking at the other events, I wouldn't even bother with that. Why do you have the first page conditioned by a switch at all? If you want it to be a certain way by default, just put it that way on the first page and don't have any conditions.
In fact, looking at the other events, I wouldn't even bother with that. Why do you have the first page conditioned by a switch at all? If you want it to be a certain way by default, just put it that way on the first page and don't have any conditions.
honestly, i'm so tired right now that i have no idea. thank you so much for helping me clear up some space! however, i still have the problem of watering & watering it without it growing back. any tips?
When do you set the condition for it to grow?
When do you set the condition for it to grow?
ah, i remember the point of having the switch on the first page! the point of setting it to [83: plant watered] was to have it loop back around to the first page and have it be grown. should i not do that? :x

i should also mention the fact that this is my first time making a real game and i'm about three days into it haha. i'm sorry if i sound super dumb

edit;;;;

this is what i have now!! it grows back but once i pick it the sprout comes back immediately instead of waiting for me to plant again.

event pg 1.PNGevent pg 2.PNGevent pg 3.PNGevent pg 4.PNG
Ahhhh ...


When you have an event that has more than one tab, the engine starts at the highest numbered one, and works its way back to the lowest numbered one, and stops at the first one it finds where the conditions are met. So if that switch is on and your two self switches are also on, page 3 is the one that will be active.


If you don't want pages 2 or 3 active, you simply turn off the self switches. Because the conditions on those pages won't be met anymore, it will go back to page 1. If you have no conditions on page 1, it will be active.
Ahhhh ...

When you have an event that has more than one tab, the engine starts at the highest numbered one, and works its way back to the lowest numbered one, and stops at the first one it finds where the conditions are met. So if that switch is on and your two self switches are also on, page 3 is the one that will be active.

If you don't want pages 2 or 3 active, you simply turn off the self switches. Because the conditions on those pages won't be met anymore, it will go back to page 1. If you have no conditions on page 1, it will be active.
ah, thank you !!! i got it to work 😀 i really appreciate your help !!!
This is a really interesting idea. I might adapt this for something I am doing, if that is ok with you?
This is a really interesting idea. I might adapt this for something I am doing, if that is ok with you?
absolutely!! i'd love to hear if it works out for you 🙂 ) i'm happy to share screenshots or a demo of how i got it to work for me as well if you need them !!!
absolutely!! i'd love to hear if it works out for you 🙂 ) i'm happy to share screenshots or a demo of how i got it to work for me as well if you need them !!!
A demo would be fantastical if you don't mind!

It would be interesting to figure out if there is a way to make a time based growth like you water it, then after X time, it sprouts a little bit, and then after X time again, it is fully grown and ready for another harvest...
A demo would be fantastical if you don't mind!

It would be interesting to figure out if there is a way to make a time based growth like you water it, then after X time, it sprouts a little bit, and then after X time again, it is fully grown and ready for another harvest...
hmm im gonna try but i used so many switches and variables, ugh im too lazy to c&p them all lmao

buuuut!! i'm actually currently trying to do just that using this as a base?? right now i have it set so each plant needs a different amount of water to grow && every spraybottle is one unit of water. for example, the redberries need 3 squirtbottles full of water !! i'm thinkin about setting it up so i can use the common event to track time (you can only water once every ten minutes, etc) and after thirty minutes // three squirt bottles (whichever comes last) your plant is fully grown and ready to harvest! what do you think?
hmm im gonna try but i used so many switches and variables, ugh im too lazy to c&p them all lmao

buuuut!! i'm actually currently trying to do just that using this as a base?? right now i have it set so each plant needs a different amount of water to grow && every spraybottle is one unit of water. for example, the redberries need 3 squirtbottles full of water !! i'm thinkin about setting it up so i can use the common event to track time (you can only water once every ten minutes, etc) and after thirty minutes // three squirt bottles (whichever comes last) your plant is fully grown and ready to harvest! what do you think?
A good idea. I won't be able to give more input until I try it out myself though. However, I did just come across this post regarding time and such:

http://forums.rpgmakerweb.com/index.php?/topic/45621-time-calendar-weather-event-system-help-demo-included/

It has a demo included and maybe something from that can help you with what you are doing?

Currently I am trying to figure out how to get a graphic or show picture event to somehow display like this in the game Subterranean Starfield so it looks like someone is holding a lantern when underground.

0c51a4cc28c31cd14abc13f20d565b01-ss-4.png
A good idea. I won't be able to give more input until I try it out myself though. However, I did just come across this post regarding time and such:

http://forums.rpgmakerweb.com/index.php?/topic/45621-time-calendar-weather-event-system-help-demo-included/

It has a demo included and maybe something from that can help you with what you are doing?

Currently I am trying to figure out how to get a graphic or show picture event to somehow display like this in the game Subterranean Starfield so it looks like someone is holding a lantern when underground.
i'm actually using the time and climate scripts from http://daimonioustails.weebly.com/ already, so idk if this will be of much help, but i'll definitely check it out!! thank you ♥

Original thread: https://forums.rpgmakerweb.com/threads/working-on-variable-switch-planting-system-need-help.45860/