A farming system event HELP

ok so i set up a farming event where below u can see, but the question is, if i leave that map, will the parallel event keep going and notify you, or will the timer only go as you are in the map?


Btw the event is same for each berry, but the self switch is different.


also i tested it by leaving it alone it works just fine without leaving map

1.PNG

2.PNG

3.PNG

4.PNG
If you have a parallel process running on the map, it will only run on that map.  The solution would be to instead trigger a common event as a parallel process as they can run continuously on any map.
no, events won't exist unless they're on the same map as the player.


However, that endless list of waits is uselessly complex, I suggest a different way:


You'll need at minimum one plugin, one that creates self-variables for events.


1) have an event or plugin count up the time in a single variable.


2) when planting, read the current time and add the wait time to it, store the new number in the event's self-variable


3) at regular intervalls (wait 60 or so), have a parallel process check if the current time is higher than the time stored in the self-variable.


4) if yes, do whatever you want as finished growing.


That way, the event will work independently of the waits, and if the player leaves and returns the event will see the passed time on the next check.


You can even build in "rotten" if the player was away too long, as you compare fixed numbers and don't count waits.


It could be done without self-variables, but then every plant tile needs its own general variable.
no, events won't exist unless they're on the same map as the player.


However, that endless list of waits is uselessly compley, I suggest a different way:


You'll need at minimum one plugin, one that creates self-variables for events.


1) have an event or plugin count up the time in a single variable.


2) when planting, read the current time and add the wait time to it, store the new number in the event's self-variable


3) at regular intervalls (wait 60 or so), have a parallel process check if the current time is higher than the time stored in the self-variable.


4) if yes, do whatever you want as finished growing.


That way, the event will work independently of the waits, and if the player leaves and returns the event will see the passed time on the next check.


You can even build in "rotten" if the player was away too long, as you compare fixed numbers and don't count waits.


It could be done without self-variables, but then every plant tile needs its own general variable.

That is fantastic, doing a slight greenhouse thing for my game, this would really help me out. So newbie question, is there a plugin you'd recommend that creates that Self-Variables for the event? Thanks a lot!
can't recommend anything as I haven't worked much with MV (still planning stage on my project)


They exist for Ace, and I think I remember reading about their MV-equivalent, but can't give a link.
There's Yanfly's Self Switches and Variables:


http://yanfly.moe/2016/08/06/yep-113-self-switches-variables-rpg-maker-mv/


I haven't used this plugin myself, but I would recommend any Yanfly plugin 😉
@TarebearGames...


There's a modest, but effective, Farm plugin here which you may like to look at. I've tried it; it works well for small-scale Farming, but could become tedious if scaling up. Crops can be on different Maps, they are fully independent...










Hope this helps.
I have a Farming System Tutorial showing how I made the farming system without a plugin specifically for it.


Farming System Video Tutorial:

@Driftwood Gaming Thank you so much for that Tutorial! I really love how the system doesn't need a plug in and it would be good with events. As well as the different plants that's great. And it says we don't have the seeds. And tonic woohoo! The skill is really great too, and that it shows that you can leave maps and that it still continues. Cute house too haha. And time stopping for menu and battle screen that's perfectly fine. Do you have a tutorial on Synthesizing? 🙂  I have not done a crafting thing myself yet so any help would be super duper great. The organization is probably going to work well for me since I am very OCD with organizing. And I also like that I can use this and create "pots" in the green house.


@Dad3353 So in regards to becoming tedious would it be better to do that eventing and such with the option Driftwood provided? And honestly this would be used in the system of drying herbs and each herb provides X amount of plants per time period so it's meant to provide you with enough to do stuff. 🙂 I really like how you don't have to water, this is something that is supposed to be get up and go. And I really like that it saves the process if you save and leave.


Now when you say "Small Scale" I plan to have a TON of crop options. I don't mind using coding to make events. But I think what I'll do is 2 maps, one a green house with herbs so that is separate and then an "outdoor" area where it grows crops outside and that is separate and you can't plant herb stuff in there.


I'm going to test both of those out this week right now I am in development of gathering plugins, resources, mapping parallax! I have a "Test" game to get my title screens and plug ins tested without totally messing with my game haha!


Thank you both so much guys! I'll give both a whirl and see what suits my game best 😀  
R91KekF.gif



Yes, the best option is to create a couple of small Projects, and test each system to see which fulfils your needs in the way you like best. As far as I know, there's no 'silver bullet'; each method has its advantages and inconveniences. I'm doing a small Mini-Game inside a larger Project, so I'm not looking for all of the 'bells and whistles' that some systems offer. It's fun enough, just the trying out of these things, I find; I hope you enjoy your research, too.


Edit: I've re-run the video you posted, and that's the exact one I'm currently using. I firstly did one exactly like the video, and that's where I found that it's very important to finely tune the organisation of the various Variable and Switch names, as it's very easy to copy one plot to another, but then extremely delicate to edit the new Plot, updating all of the Variable and Switch ID's in there. One mistake and... Well, just don't make mistakes, that's all..!


I'm presently working out how to address these Variables and Switches through a temporary, place-holder set of such so as to have only a set of ID numbers to update for each Plot. It'll take up a bit of time to get this working, but will enormously 'simplify' rolling out future Plots. Once you've done three or four, you'll soon see the problem with scaling up..!


I'd like to learn how this strikes you if you go down this route, please..? In any case, 'Courage, mon brave'..! ;-)
TarebearGames



Try using Yanfly's YEP_ItemCore and YEP_X_ItemSynthesis plugins for crafting. It's simple enough to learn within a few minutes and has a wide capacity for customization.
loving this thread. Farming is on my list for my game but I am just starting out. I am being nuerotic and remaking my player character;s clothing before going very far. But farming (dating and fishing) will definately be a part of my game in addition to the usual fighting monsters and gathering / scavenging. Maybe crafting too, haven't decided.Oh but its exciting to see there are farming systems out there already. This software is still pretty new.


Anyways, like. Like. Like.
@Driftwood Gaming You crack me up! I literally was looking through Yanfly's stuff I'll get that plugin and check on that video again and pair it with the scripting. Woohoo! T.T I sadly lost my crop photos. So I'm having to gather the icons again and edit, but it's ok this is starting fresh so I guess it was a good thing.


@Dad3353 Once I have my "Area" set up I'm going to make a teeny Map and test that out with two individual types, one with the plugin one without. But as I told Driftwood, sadly my stock of crops (I had oh dear goodness about 100 at minimum go POOF). Herbs are also another thing, since crafting is to dry them and make potions.
I looked into adding this to my project too but decided against it as I am still a beginner in this stuff and want to keep it  little more basic. If I do add it, it would be a late addition. Driftwood's channel though is a massive help. 
woah so many people on this thread. Guys i don't want to use a self switch/variable. However, I feel that nakina's answer is easier... but does it really work? also i like the absurd amount of waits dont judge me lel 


edit: also sorry guys im not gonna watch driftwood's video yet. I still need to try Nakina's idea. also youtube videos tend to make absurdly long events that I cant equate in my mind, since im a noob at MV.


 
...but does it really work?...



OK then, here's the short answer: yes it does.
OK then, here's the short answer: yes it does.

I'm not on laptop so I can't see this right now but do I have to set a common event to parallel or will it just run right? Sorry I'm not on laptop
... do I have to set a common event to parallel...


...I still need to try Nakina's idea...


...The solution would be to instead trigger a common event as a parallel process as they can run continuously on any map.
oooohhhhhhhhhhhh okay 


does this work btw i haven't tested it yet so yah


plant healing berry.PNG
does this work btw i haven't tested it yet so yah



No, it won't work.


you cannot use wait-lists like that, there is a reason why I suggested other solutions above.


Or to give more details:


Common events are restarted on map change. that won't matter for a time system that handles timed ticks (one per loop) as that means only a difference of one frame per restart or per map change.


Restarting your common event will restart the waits at the beginning...


You need to switch to variable counting one way or another to prevent that.

Original thread: https://forums.rpgmakerweb.com/threads/a-farming-system-event-help.68463/