

A mod for Lethal Company allowing you to control the game's weather system.
WeatherRegistry provides Unity Editor components to help mod developers create custom weather systems:
WeatherDefinition: Create new weathers without writing code, offering the same capabilities as code-based weather creationImprovedWeatherEffect: Create custom weather effects with WeatherRegistryEffectOverride: Design custom weather effect overrides directly in the Unity EditorWeatherRegistry supports terminal commands for managing and debugging weathers:
weather forecast <moon> for viewing probabilites of weathersweather change <weather> for changing the current weather (host only)WeatherRegistry uses a priority-based weight system instead of vanilla's hardcoded weather selection. Each weather can have multiple weight configurations, and the algorithm selects which one to use based on availability (checked in order):
Example: If you want Rainy weather to be:
The algorithm automatically uses the most specific applicable weight during selection.
Install the mod from Nuget:
<PackageReference Include="mrov.WeatherRegistry" Version="*-*" />
To install the mod in Unity Editor, add WeatherRegistry and MrovLib dlls to your project. To create a new weather, create a new WeatherDefinition object. For more information, check out the "Creating and bundling weathers" guide (WIP).
This project is licensed under GNU Lesser General Public License v3.0.
Thank you to everyone who contributed to this project, reported bugs and suggestions! Special thanks to:
and to everyone submitting their bug reports and testing the releases!
Code used in this project is based on the following works: