Simple Weekdays schedule

Hello everybody


My project has a pretty simple day/night cycle:

Morning – Noon – Afternoon - Evening – Night

When the player goes to sleep on Friday November 10, a picture with “Saturday November 11” appears, and he wakes up that day.

And so on.

My problem is: I want to implement a simple calendar system for certain events to show up at certain dates.

For example: a fox appears only at night on June 6 and in the afternoon on June 11.

Of course I could use a lot of switches (Monday afternoon, Monday evening, Monday Night, Tuesday Morning, Tuesday Noon… and so on) and use these, or conditional branches. Even a newbie as myself can do that.

But I would need a lot of switches. For week 1, I would need 35 switches (7 days, each 5 switches). For a month, I would need more than 140 switches.

It’s doable, don’t get me wrong.

But before I go into full switch-modus: is there a better, more elegant solution ??

PS: I don’t need time counters, in my game time flows with certain events, so no timers in the backgrounds. And I looked at tutorials & plugins, but they couldn’t help me.

PPS: I use some of Visustellas plugins, but I didn’t find what I needed.


Thanks in advance !
<Page Conditions>
conditions
conditions
conditions
</Page Conditions>

- Used for: Map Event Page, Troop Page, and Common Event Page Comment Tags
- This allows you to create custom page conditions that utilize the
Conditional Branch event command to see if the additional page conditions
are met.

Just use this and use your existing time of day/day/month variables as the conditions. No need for individual switches.
Thanks for the answer.

Sorry to bother you, but can you give a (visual) example ? I know that your answer comes from the VisuMZ Events and Movement Core plugin (which I have installed) but for a beginner it’s not very clear.

How do I switch from Saturday evening March 5 to Sunday morning March 6 to Sunday noon March 6 (and so on) using variables & conditions ?

Because as far as I know, MZ has no built-in calendar system, so I’ll have to put all the dates somewhere.

I am not very familiar with variables.

Thanks
Ocram has an NPC schedulet that costs money

Otherwise this is doable with conditional checks on map entry but more work. You would create a blank event on each map that would run its commands on map entry then erase itself.

You store day of month in one variable, day of week in another variable, month in another, and year in yet another. You would increment the days by one every time it hit midnight or the player went to sleep.

There is a free MOGHunter Calendar system in their MV bundle. I hear it works in MZ.

Sorry for the late reply, and thanks for the answers ! I'm definitely going to check them out.
Have you looked at this thread? Not sure if it might help to give you ideas and other options.


While there seem to be plugins available for this sort of thing, I encourage you to look at how it is done with Events as well. If for no other benefit than to learn more about how MZ works and what you can do with it.

Good Luck!
Thanks 🙂
👍👍👍

Original thread: https://forums.rpgmakerweb.com/threads/simple-weekdays-schedule.164523/