No Weather Indoor (Stop weather indoors and resume it when outdoors)

2025 update: This was my journey of learning how the RPG Maker framework worked with the help of ChatGPT. I am forever grateful for this journey, even though I no longer use ChatGPT, because it has opened up a wealth of knowledge for me. I'm not ashamed of this journey, and I hope you won't harass me for it. Thank you.

No Weather Indoor
v.1.0.0 by Sang Hendrix & AI

Description

This plugin automatically stops the weather when you step inside indoor maps and resumes the weather when you exit said indoor maps.

A simple yet perfect plugin for those who want to add some reality logic to the game without having to change the weather by event command repeatedly.

How this work
The plugin memorizes your current weather before you enter a map with the note tag <indoor>, and then it stops the weather. When you escape that indoor map, the plugin will load the setting of the previous weather.

How to use
Just put <indoor> in your indoor maps' note box.
A couple of our moderators do believe this to be more than supported by AI, and I imagine they might share their findings. However, due to this hitting the moderation queue before the forum's policy was fully agreed and published, we have found it most fair to approve this one. Any previous plugins are considered grandfathered in, but future ones will be reviewed accordingly.

Hi, me again. 👋
If you find any issues with the plugin, including when it's running on mobile devices or PC, please let me know.
v1.0.0: weatherMemory & insideIndoorMap are stored per session, not per playthrough. E.g.
  • Go indoors -> save & quit -> re-launch game -> load save -> go outdoors -> weather not restored.
  • Go indoors -> new/load game -> go outdoors -> weather is restored from first playthrough.
Usually, this kind of stuff gets initialised on new/load game (DataManager.createGameObjects) and included in save data (DataManager.makeSaveContents, DataManager.extractSaveContents). A common option is to just define your data as a property of something like Game_System, since that automatically gets initialised, saved, and loaded at appropriate times.

Also, your download link currently has the correct text, but it goes to the wrong page.
I feel like every weather plugin can already do this through plugin commands, map notetags or scripts.
@AquaEcho - even if true, that's irrelevant.
Hi, me again. 👋

v1.0.0: weatherMemory & insideIndoorMap are stored per session, not per playthrough. E.g.
  • Go indoors -> save & quit -> re-launch game -> load save -> go outdoors -> weather not restored.
  • Go indoors -> new/load game -> go outdoors -> weather is restored from first playthrough.
Usually, this kind of stuff gets initialised on new/load game (DataManager.createGameObjects) and included in save data (DataManager.makeSaveContents, DataManager.extractSaveContents). A common option is to just define your data as a property of something like Game_System, since that automatically gets initialised, saved, and loaded at appropriate times.

Also, your download link currently has the correct text, but it goes to the wrong page.
Ah, thank you! I'll adjust that.

I feel like every weather plugin can already do this through plugin commands, map notetags or scripts.
I did look for some weather plugins before I created this one but either they didn't have the feature to memorize the weather or they were kinda complicated. I thought just having <indoor> in indoor maps and letting the plugin do the rest would be way easier so I created this plugin. It's up to the user to decide which plugin suits their needs.
Really cool and extremaly useful, I always say that it should be default RM ability. Anyway, thank you.

Original thread: https://forums.rpgmakerweb.com/threads/no-weather-indoor-stop-weather-indoors-and-resume-it-when-outdoors.165005/