mrov.WeatherRegistry 0.8.8

dotnet add package mrov.WeatherRegistry --version 0.8.8
                    
NuGet\Install-Package mrov.WeatherRegistry -Version 0.8.8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="mrov.WeatherRegistry" Version="0.8.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="mrov.WeatherRegistry" Version="0.8.8" />
                    
Directory.Packages.props
<PackageReference Include="mrov.WeatherRegistry" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add mrov.WeatherRegistry --version 0.8.8
                    
#r "nuget: mrov.WeatherRegistry, 0.8.8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package mrov.WeatherRegistry@0.8.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=mrov.WeatherRegistry&version=0.8.8
                    
Install as a Cake Addin
#tool nuget:?package=mrov.WeatherRegistry&version=0.8.8
                    
Install as a Cake Tool

WeatherRegistry

<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px;"> <img src="https://img.shields.io/codefactor/grade/github/andreymrovol/LethalWeatherRegistry?style=flat&logo=codefactor&logoColor=white&color=83E6FB&cacheSeconds=1200" alt="CodeFactor Grade"> <img src="https://img.shields.io/thunderstore/dt/mrov/WeatherRegistry?style=flat&logo=thunderstore&logoColor=white&color=83E6FB&cacheSeconds=1200" alt="Thunderstore Downloads"> <img src="https://img.shields.io/github/actions/workflow/status/AndreyMrovol/LethalWeatherRegistry/build.yml?branch=main&style=flat&logo=github&logoColor=white&color=83E6FB&cacheSeconds=1200" alt="GitHub Workflow Status"> <img src="https://img.shields.io/github/v/release/AndreyMrovol/LethalWeatherRegistry?style=flat&logo=github&logoColor=white&color=83E6FB&cacheSeconds=1200" alt="GitHub Release Version">

</div> <br><br>

A mod for Lethal Company allowing you to control the game's weather system.

Features

  • A system for registering custom weathers and weather effects
  • Weight-based weather selection system
  • Weather-to-weather transition weights for creating weather progression patterns
  • Level-based weather filtering system
  • Scrap value/amount multipliers based on active weather
  • Editor support for creating new weathers
  • Multiple weather selection algorithms (Registry weighted, Vanilla, and Hybrid)
  • Hot-reloadable configuration system that applies changes after completing the current day
  • Terminal commands for forecasting and changing weather conditions
  • and many more!

Editor components

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 creation
  • ImprovedWeatherEffect: Create custom weather effects with WeatherRegistry
  • EffectOverride: Design custom weather effect overrides directly in the Unity Editor
  • Visual tools for configuring weather properties, effects, and transitions

Terminal Commands

WeatherRegistry supports terminal commands for managing and debugging weathers:

  • weather forecast <moon> for viewing probabilites of weathers
  • weather change <weather> for changing the current weather (host only)

Weight-based weather selection system

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):

  1. Level-specific weight: Weight assigned to a specific moon (e.g., "Experimentation@200")
  2. Weather-to-weather weight: Weight based on the previous day's weather (e.g., if yesterday was Foggy, today's Rainy weather uses its "after Foggy" weight)
  3. Default weight: Fallback weight used when no specific conditions match

Example: If you want Rainy weather to be:

  • Common on Experimentation (weight: 200)
  • Very likely after Foggy weather (weight: 150)
  • Rare otherwise (default weight: 25)

The algorithm automatically uses the most specific applicable weight during selection.

For developers

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).

License

This project is licensed under GNU Lesser General Public License v3.0.

Credits

Thank you to everyone who contributed to this project, reported bugs and suggestions! Special thanks to:

  • Generic and s1ckboy for helping me test editor addons and providing feedback
  • XuXiaolan for helping me test the mod on various occasions
  • Beanie, Monty, Kenji, Autumnis for helping me playtest the mod a lot of times
  • Zigzag for sending me multiple detailed bug reports

and to everyone submitting their bug reports and testing the releases!

<br>

Code used in this project is based on the following works:

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on mrov.WeatherRegistry:

Package Downloads
Imperium

A powerful all-in-one debugging and admin tool to test and explore game mechanics and functionality in Lethal Company.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.8 104 4/15/2026
0.8.7 276 4/2/2026
0.8.5 156 2/11/2026
0.8.4 118 2/11/2026
0.8.3 102 2/9/2026
0.8.2 107 2/9/2026
0.8.1 112 2/9/2026
0.8.0 332 2/8/2026
0.7.5 452 11/6/2025
0.7.4 314 9/3/2025
0.7.3 221 9/2/2025
0.7.2 223 8/21/2025
0.7.1 544 8/20/2025
0.7.0 300 8/6/2025
0.6.1 467 6/12/2025
0.6.0 180 6/6/2025
0.5.7 285 4/1/2025
0.5.6 219 4/1/2025
0.5.5 256 3/22/2025
0.5.4 318 3/4/2025
Loading failed