Farming system using yanfly's self switches and variables

Hey anybody up for helping a noob understand how to incorporate a farming system using yanfly's self switches and variables? It would be greatly appreciated. I'm using Yanfly's self switches and variables plugin as the title suggests and have already set up working berry bushes like in this video: , but I am trying to set up a farming system too like in this video:
Maybe I'm wrong, but I think it would be a lot easier to incorporate the system that is already set up for the berry bush into the system for the farming plots as well. I'm just not sure how to do this. Open to suggestions or ideas. Any help is always appreciated!
One of the first points is:
don't link to a video that tells how you were supposed to do something, but show screenshots of what you really have done (the event pages).

The first reason is that you might have modified what you were supposed to do to better fit your game (or made unintentional mistakes on following the video, happened before).
And secondly, there are several people on this forum who refuse to watch videolinks for various reasons.

You also need to tell how you want your farming system to work - there are several ways to make farming work, and we need to know which results you prefer before picking one.
One of the first points is:
don't link to a video that tells how you were supposed to do something, but show screenshots of what you really have done (the event pages).

The first reason is that you might have modified what you were supposed to do to better fit your game (or made unintentional mistakes on following the video, happened before).
And secondly, there are several people on this forum who refuse to watch videolinks for various reasons.

You also need to tell how you want your farming system to work - there are several ways to make farming work, and we need to know which results you prefer before picking one.
Ok not a problem.
To start off this is the event pages used for the berry bush I was referring to.
Berry bush.jpg

Berry bush page 2.jpg

Common Event 1.jpg

Common Event 2.jpg

Common Event 3.jpg

Common Event 4.jpg

Inn Event 1.jpg


The faming system I want to incorporate could essentially use the same Respawn cycler as the bush I think. please correct me if this is wrong. I want the system to Ask if they want to dig a hole> Check if the party has a shovel> If yes and yes then turn to page two with pic of hole> if interacted with again ask if party wants to plant some seeds> if yes check for seeds (There are multiple seeds each to plant something different)> Ask which seeds to use or say the party doesn't have any> Once the party chooses the seeds it minuses one of that type of seed from the party and changes the image from hole to a sprout> Timer thus begins> Plant remains a sprout until 3 sleep cycles have passed> Sprout changes to a fully grown plant that is able to be harvested for a random amount of which plant was planted between 2 and let's say 10> The plot is then reset to its beginning status like at the beginning of this cycle. It would be nice to have a sort of lite leveling system for farming that takes into account each thing that you've planted and increases your farming level as you do more and could increase how quickly the plants grow as your farming level goes up (to a point), but this may overcomplicate things too much. Unsure.
This is the Farming Plot event I have started:
Start of Farming Event 1.jpg

Start of Farming Event 2.jpg

I hope I covered everything.
if you have multiple berries/seeds to plant, you can look into the
following plugins:

HIME_LargeChoice (as I think you could hide choices too)
ConditionChoices by ALoeGuvner, or by HIME if you want to disable/hide choices

from there, you can set an action button when you are ON the event to place
or a plugin to check in front to place a berry/seed depending what you want.

there are some plugins that checks in front (which also could be done with
HIME_EventTriggerLabels which can come in handy.

there are other ways to accomplish what you want, but you can use the
berry bush for farming when using different variables for farming those.

the base for berrys are mostly equal 🙂
if you have multiple berries/seeds to plant, you can look into the
following plugins:

HIME_LargeChoice (as I think you could hide choices too)
ConditionChoices by ALoeGuvner, or by HIME if you want to disable/hide choices

from there, you can set an action button when you are ON the event to place
or a plugin to check in front to place a berry/seed depending what you want.

there are some plugins that checks in front (which also could be done with
HIME_EventTriggerLabels which can come in handy.

there are other ways to accomplish what you want, but you can use the
berry bush for farming when using different variables for farming those.

the base for berrys are mostly equal 🙂
Thanks those are some cool plugins for sure, but I'm still a bit unsure on the easiest way to go about everything I described.
Like I said, it can be done in multiple ways, but it depends on the exact mechanic.
some advance coders can event make it with some scriptcalls in between to make
things work, there is even a mining way without using plugin, but you can still use it.

it might give you an idea on a different approach, in this tutorial for MZ, as it does
work in MV too, require an common event and an event which can be replicated.

it depends on your needs, but the farming way of the plugin of yanfly using berries,
can be the same as the tutorial (depends what is most confortable for you.
Like I said, it can be done in multiple ways, but it depends on the exact mechanic.
some advance coders can event make it with some scriptcalls in between to make
things work, there is even a mining way without using plugin, but you can still use it.

it might give you an idea on a different approach, in this tutorial for MZ, as it does
work in MV too, require an common event and an event which can be replicated.

it depends on your needs, but the farming way of the plugin of yanfly using berries,
can be the same as the tutorial (depends what is most confortable for you.
Ok so that is a good start. I like that it's just working off of events and common events. That is what I'm most comfortable with. I just am unclear on how to incorporate everything together. I forgot that I wanted to have a watering aspect in there too. Like after the seeds are planted if the plant isn't watered within the time that it would grow then the plant would possibly show a dead plant image and have to be reset before you could plant more seeds. I'm thinking through the use of a tool like a shovel.
It's supposed to check if the plant has been watered and if it has then after 3 sleep cycles then it will be harvestable. If it hasn't been watered within 3 sleep cycles then it is suppose to go to page 7 and be un-harvestable.

Edit 2/17/23:
Ok I have gotten as far as I can without any additional help beyond what's been previously posted.
Here's what I've got:
Planting Plot Event Page 1.jpg

Planting Plot Event Page 2 1.jpg

Planting Plot Event Page 2 2.jpg

Planting Plot Event Page 3 1.jpg

Planting Plot Event Page 3 2.jpg

Planting Plot Event Page 4.jpg

Planting Plot Event Page 5.jpg
Planting Plot Event Page 6.jpg

Planting Plot Event Page 7.jpg

Planting Plot Event Page 8.jpg


I know the issue is in page 3 of this event someway somehow, but I don't know how to fix it without making a separate event. I am using Yanfly's Event Copier plugin which is why a separate event will NOT work.
As always any help is greatly appreciated!
Hey everyone sorry this has been so confusing it's been very confusing for me too. I think I finally got everything working except for one part. I'm running into a road block in getting the event to change from page 4 to page 9 without having to press the action button.

This is what it looks like:
Planting Plot Event Page 3 (New 1).jpg

Planting Plot Event Page 4 (New 1).jpg

Planting Plot Event Page 9.jpg

I showed page 3 as well because that was my attempt at getting the page to change without the action button. Please any help is greatly appreciated!
the page to 3 is most likely the parallel process that you dont want.
unless something else is controlling that page.

what will happen to page 4~8?
the page to 3 is most likely the parallel process that you dont want.
unless something else is controlling that page.

what will happen to page 4~8?
Depending on if you choose to water the plant then there are switches in place to tell the event that its been watered and can progress to the next corresponding page for which ever seed you planted.

Updated page for event below (Pictures that have the carrots, cabbage, and grapes are all a page later currently, but everything else is the same as far as I know.):

Planting Plot Event Page 4 (New 1).jpg


Planting Plot Event Page 5 new 1.jpg

Planting Plot Event Page 5.jpg

Planting Plot Event Page 6.jpg

Planting Plot Event Page 7.jpg

Planting Plot Event Page 8.jpg
the one thing that troubles me at the moment, is there are 2 pages 5,
but it also doesn't check "variable water >= 1" or 2 or whatever, which
might why your other event is missing or skipping if you only check the
day of the event.

if you control the pages more with a bit more advanced with 2-3 variables
checks, and or 3+ switches, I think you can get it to work using:
[HIME_CustomPageConditions].

that way, you aren't strictly limited to the condition on the page itself.
as I think you need to check the water as well, maybe something else
too, and with the help on with the plugin, you can pull it through, hopefully.
the one thing that troubles me at the moment, is there are 2 pages 5,
but it also doesn't check "variable water >= 1" or 2 or whatever, which
might why your other event is missing or skipping if you only check the
day of the event.

if you control the pages more with a bit more advanced with 2-3 variables
checks, and or 3+ switches, I think you can get it to work using:
[HIME_CustomPageConditions].

that way, you aren't strictly limited to the condition on the page itself.
as I think you need to check the water as well, maybe something else
too, and with the help on with the plugin, you can pull it through, hopefully.
So tried to do what you said and got most of it working. Now it only has one little bug and that's that when the plant is supposed to automatically change from 3 to page 8 that it takes an additional sleep cycle to activate (Not much of a bug). Also (the real bug) if you have more than one plant planted only one day apart then the plant planted the first day somehow triggers the second to change to page 8 after you interact with the first.

Below are the up-to-date pictures of the event (Using Plugins Yanfly's Self Switches, Yanfly's Event Copier, Hime Custom page conditions, and Aloe Conditional Choices):

Planting Plot Event Page 1.jpg
Planting Plot Event Page 2 1.jpg
Planting Plot Event Page 2 2.jpg
Planting Plot Event Page 2 3.jpg
Planting Plot Event Page 3 1.jpg
Planting Plot Event Page 3 2.jpg
Planting Plot Event Page 4 1.jpg
Planting Plot Event Page 4 2.jpg
Planting Plot Event Page 5.jpg
Planting Plot Event Page 6.jpg
Planting Plot Event Page 7.jpg
Planting Plot Event Page 8.jpg
it seems good to me, but if there is 1 day in between and the bug
shows up, its not selfSwitchVar plugin by YEP, it might be caused
by Hime_CustomPageConditions that doesn't have a "self controlled"
event parts.

which might take the others as well.

even if it works with YEP_SelfSwitchVar plugin, it might be of the
copied event part, but I cannot help you with that.

you can try to get clarification if it takes effect of the event as it is mostly
copy paste from 1 event in another map, so it might be not working correctly.
it seems good to me, but if there is 1 day in between and the bug
shows up, its not selfSwitchVar plugin by YEP, it might be caused
by Hime_CustomPageConditions that doesn't have a "self controlled"
event parts.

which might take the others as well.

even if it works with YEP_SelfSwitchVar plugin, it might be of the
copied event part, but I cannot help you with that.

you can try to get clarification if it takes effect of the event as it is mostly
copy paste from 1 event in another map, so it might be not working correctly.
No worries. I figured out a work around to get it to work now 99%, but it looks like 100% so I'm happy. Thank you very much for your help. I know this must've been difficult and for that I am sorry, but know that you are truly appreciated and will be added to the thank you credits of the game. ^_^ Is there a URL you would like to go with your name and is your username what you would like to be known by on there?
no worries, I help when I can help 🙂

but credits aren't needed, but if you want too, either
ShadowDragon (for this forum)
ShadowDragonJB (which is from my itch.io

but I leave that choice to you if you add me or not 🙂
I like to help where I can, so dont be sorry ^^

you learn from it, I learn more, other people reading this learn something 🙂

basic events can always be extended more widely or more advanced,
depending how they know eventing or coding.

if you ever need a beta tester, I see if I can help you out.
no worries, I help when I can help 🙂

but credits aren't needed, but if you want too, either
ShadowDragon (for this forum)
ShadowDragonJB (which is from my itch.io

but I leave that choice to you if you add me or not 🙂
I like to help where I can, so dont be sorry ^^

you learn from it, I learn more, other people reading this learn something 🙂

basic events can always be extended more widely or more advanced,
depending how they know eventing or coding.

if you ever need a beta tester, I see if I can help you out.
Cool I will definitely try to keep you in mind for when my game reaches that point. Thanks. ^_^
So I'm very new to RPG Maker(MV), new to any kind of scripting, everything but I love creating and this has really become a new outlet. With that in mind, may I ask what your work around to make it look like 100% was, I really want to try to implement what you did here in what I'm creating.

Thanks in advance :LZYsmile:
Necro-post notice: @amberpiet09

Original thread: https://forums.rpgmakerweb.com/threads/farming-system-using-yanflys-self-switches-and-variables.154956/