Hi all,
I'm fairly new to RPG Maker, and I get the generals of it, but some specifics are baffling me. I was wondering if someone could help with a problem I'm up against.
Basically, in the game I'm making, you have a hunger bar that goes down incrementally and goes back up again whenever you eat food. The amount this goes up by depends on the food you eat. The bigger the meal, the more the bar increases.
To that end, you make friends with a gardener who will grow food for you if you bring him the right ingredients. To make sure I don't babble on endlessly, I'll just talk about strawberries. In order for the gardener to grow strawberries, you have to bring him two items: Compost [Item:0058] and Strawberry Runners [Item:0055]. When you give him the compost, it increases a variable [Variable:0005], and likewise with the Strawberry Runners [Variable:0006].
This then calls a common event called "Grow Strawberries", which says when Variable:0005 is equal to or greater than 1, and Variable:0006 is equal to or greater than 1, then reduce each variable by 1, wait 18,000frames (five minutes), then increase Variable:0012 (Strawberry Grown).
There is also a graphic that appears when Variable:0012 is equal to or greater than 1, so the player can then pick up the grown strawberry.
Everything works fine so long as I stay on the garden map, but I don't want the player to have to hang around for five minutes waiting for it to grow, and nor do I want them to get a grown strawberry straight away. The trouble is, if I leave the map, the event stops running and the strawberry never grows, not even if I later return to the map and hang around for five minutes.
Is there a way to keep the count going even if I'm on a different map?
Sorry if this is really obvious and I'm just being thick, and thanks in advance for any help.