Hi,
I'm trying add the ability to harvest herbs and stuff into my game, which are then used for alchemy.
Now here's the thing: I want these herbs to grow back after a certain time. Now I could add a timer to each event and have it flip a self-switch after the timer runs out. Problem is, this would have to run in parallel. Pages set to parallel reset when the player exits and reenters the map. Meaning to have the herbs regrow, the player would have to wait next to them.
There would be a lot of herbs, they would be all over the game - I'm talking about hundreds of events in total.
If timers are too laggy, maybe there could be a way to just check whenever the player enters a map and trigger an action once? Sort of like each herb has a self variable (found a script for that) that is set to a certain value. Whenever the player enters the map, the variable is reduced by 1. When it reaches 0, a switch is flicked and it grows back.