MZ Plugin question while trying to make a Resource Manager + RPG

The project I want to undertake is a Mayor-type Resource Management game combined with an RPG. I have a general idea of how it will play out, and with my (super limited) knowledge of the RPGM system, can work out most of it with the events(I think).

I also, for context, have both VX Ace and MZ, and as to which will help me achieve what I'm trying to do, I hope someone will have an answer.


I am looking for 3 plugins to go with the project, and am having an immensely frustrating time finding them anywhere.

1. First is a Day/Night cycle plugin or more streamlined way to have a day pass in segments and go through the week. Eg, Morning, Afternoon, Evening, Night

2. A reputation and relationship plugin so I can have events play out according to choices made Eg. Listen to Advisor over Guard Captain, Advisor relationship +1 and Captain -1, or Give Town Faction better Infrastructure and have the Gold received at the end of the week be x*Reputation level

3. A room darkening plugin like this but not for MV (since thats not what I have)


I am functionally an idiot when it comes to learning new things. That is, until I get things explained in a way I understand and things suddenly all fall into place, which is kind of the help I'm currently looking for. Apologies in advance for the autism.
Well, if you're functionally an idiot, then stay with eventing, since everything in your list is perfectly eventable except maybe the overlay one, for which @Eliaquim has this: https://forums.rpgmakerweb.com/index.php?threads/eli-map-reveal-reveal-the-map-as-you-walk.129597/

For anyone to explain in further detail, we would require more details on how each thing is supposed to work exactly.

The relationships can easily be handled with a variable per npc. Whenever something good happens, increase that npcs variable by however much and vice versa. Then use that variable as a condition for specific stuff to happen whenever relationship is good enough.
First is a Day/Night cycle plugin or more streamlined way to have a day pass in segments and go through the week. Eg, Morning, Afternoon, Evening, Night
This can be evented.
You'd just have a parallel event incrementing a variable, and at certain values, you can either turn on a switch or increment a different variable to indicate time-of-day (morning, noon, evening, night).

Full implementation would come down to what you want to do; such as whether it should be a continuous 24 hour (or however many hours) clock, or if it stops at 00:00 until the player sleeps.

2. A reputation and relationship plugin so I can have events play out according to choices made Eg. Listen to Advisor over Guard Captain, Advisor relationship +1 and Captain -1, or Give Town Faction better Infrastructure and have the Gold received at the end of the week be x*Reputation level
Again, this is just a matter of using variables, and implementation comes down how you want to handle it. But in short, you would increment a variable whenever talking to a person. Use that variable in a formula to determine the gold received.

I also, for context, have both VX Ace and MZ, and as to which will help me achieve what I'm trying to do, I hope someone will have an answer.
Use MZ.
For a relationship system in MZ, you could try this plugin.

I think there are likely several plugins that create a day-night cycle. I even made one myself, though it's buggy and not really releasable right now (for example, the day-night cycle currently breaks while in battle).

When it comes to the region tint, you might find the MV plugin will work in MZ – it can't hurt to try it. It may not, but MV and MZ are very similar so some plugins made for MV do work in MZ.
Thank you for all the input. The only thing I've really done with rpgm so far is just make super standard RPG stuff in my spare time, so I have no idea what I am doing regarding plugins or touching javascript. I tend to just brute force event triggers, so if I seem lost, I apologize.

1. I see now about the Day/Night cycle. Best I can explain is that i will have to copy and tint or shade maps to correspond to the time of day and when the time switch occurs, switch maps. Is that the essence of it?

Also, now I instead have lighting issues (Can barely see character at night). Is that something the Community Lighting plugin I'm reading about would do?

2. The reputation/relationship thing makes sense now in this regard. I might look into the plugin posted just to see how it works... make two test games to try out the systems, but I think I can see how to pull it off.

3. I also found this one as well. I think my issue is that the "How" isn't very clear to me on these pages... do these systems work by me basically taking an image of the map and overlaying it and then, using regions, they clear as the character enters?
I see now about the Day/Night cycle. Best I can explain is that i will have to copy and tint or shade maps to correspond to the time of day and when the time switch occurs, switch maps. Is that the essence of it?
No, you'd put it all in a parallel common event.
Just have a variable called something like "Time" then in the parallel common event have it +1 that variable on each loop. Set a wait frame at the bottom of the common event for however long you want an hour or minute to last in game.
Then you set conditionals that check the value of "Time". for example:
If Time >= 12
do stuff, such as tinting

It's in these conditionals that you would also assign time-of-day values, such as morning, evening, etc.
You can either make this a "magic number" (as in a value represents that time of day) or you can use the variable script input and insert a string such as
Code:
'morning'
then have the conditional check for that exact string
Code:
$gameVariables.value(YourTimeVariableID) === 'morning'

You'd need to keep in mind that the clock will infinitely tick up, which is why I mentioned earlier you need to consider how you want the player to interact with the clock. In some farming/life sim games, they stop the clock at 00:00 and expect you to go to sleep. Other games, will have the clock work continuously.

If you want the clock the wait for the player to sleep before rolling over to the new day, you'd put a loop that is waiting for the Time variable to be reset (and then the bed would likely need to reset that variable when you interact with it).

If you want it to be continuous, then instead at 24 (or whatever time indicates 00:00 o'clock) you'd have a conditional branch set the time variable back to 0.
No, you'd put it all in a parallel common event.
Just have a variable called something like "Time" then in the parallel common event have it +1 that variable on each loop. Set a wait frame at the bottom of the common event for however long you want an hour or minute to last in game.
Then you set conditionals that check the value of "Time". for example:
If Time >= 12
do stuff, such as tinting

It's in these conditionals that you would also assign time-of-day values, such as morning, evening, etc.
You can either make this a "magic number" (as in a value represents that time of day) or you can use the variable script input and insert a string such as
Code:
'morning'
then have the conditional check for that exact string
Code:
$gameVariables.value(YourTimeVariableID) === 'morning'

You'd need to keep in mind that the clock will infinitely tick up, which is why I mentioned earlier you need to consider how you want the player to interact with the clock. In some farming/life sim games, they stop the clock at 00:00 and expect you to go to sleep. Other games, will have the clock work continuously.

If you want the clock the wait for the player to sleep before rolling over to the new day, you'd put a loop that is waiting for the Time variable to be reset (and then the bed would likely need to reset that variable when you interact with it).

If you want it to be continuous, then instead at 24 (or whatever time indicates 00:00 o'clock) you'd have a conditional branch set the time variable back to 0.

What it sounds like you're describing is what I will eventually want to do.(So I'm going to make sure I keep all this info) What I'm looking at right now is a system of Action Points per time period.

It would play out something like this:

Morning - meet with 3 advisors in Hall, each presents a choice that will + a reputation or relationship and - another, but you can only choose 2 for that day, leaving 1 more AP to go out and get info, raise stats, etc, but also leaving the time for free exploration.

Once that 3rd AP is used, it becomes Afternoon, with a new set of 3 APs

Afternoon - Spending 1 AP for doing a task or spend all 3 and go explore a dungeon and get materials/raise reputation.

Eventually being able to increase AP per time period.

I think that would be an easier system for me, for the time being.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-question-while-trying-to-make-a-resource-manager-rpg.181221/