How several mods share the sky
Things to know
- When more than one mod sets the same property, the newest mod wins. When that mod clears its values, the one before it applies. When no mod has the property, the game’s own value comes back. The framework writes one warning to the log that names both mods when two of them set the same property.
SetandClearwork while a save is loading. They are not held back, so setting your values again fromEvents.SceneLoadedworks. (neither is gated onSaveData.Busy.)- Nothing is ever written to the save.
Limits
- Your values do not stay when a save loads or the level changes. Set them again from
Events.SceneLoadedorEvents.Loaded. (overrides are cleared when the game starts to load a save and on aLoadSceneMode.Singlescene load. Fog and ambient values belong to the scene, so on a scene change they are not written back. A skybox material is written back.)