help with the day and night cycle

1. Never let it be dark inside the house when it is dark outside or when it is daytime.
2.When it's raining outside, don't let it rain at home when I come home.
3.In short, when it is raining outside or at night, these should not be indoors.

little note i am using google translate.
Basically you'll need one parallel process on your outdoor maps that checks your variables for what time and weather it is, and apply that when the map is entered.
depending on how you handle weather that parallel process should then continue to handle weather or erase itself if a common event handles weather.

then in all transfer events to other maps, you'll have to sort them into two variants.
The transfers to other outdoor maps do nothing else
The transfers to indoor maps should disable both tint and weather before transferring.
You can have an autorun on maps that call a common event that checks if the map has notetag <indoors> and if true $gameSystem.tint_screen(false); else $gameSystem.tint_screen(true);
That's for Mog Day/Night plugin. The command depends on what plugin you're using.
Alternately, just have a second common event for all of your indoor maps that cancels any tint from the time of day. Then your events when you go back outside apply it again.

It takes one more common event, but then you don't need to get into any coding.
I made a plugin project ro explain how to make a day/night system without plugins.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-the-day-and-night-cycle.157153/