mrov.WeatherRegistry 0.7.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package mrov.WeatherRegistry --version 0.7.2
                    
NuGet\Install-Package mrov.WeatherRegistry -Version 0.7.2
                    
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.7.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="mrov.WeatherRegistry" Version="0.7.2" />
                    
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.7.2
                    
#r "nuget: mrov.WeatherRegistry, 0.7.2"
                    
#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.7.2
                    
#: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.7.2
                    
Install as a Cake Addin
#tool nuget:?package=mrov.WeatherRegistry&version=0.7.2
                    
Install as a Cake Tool

WeatherRegistry

A Lethal Company mod for controlling game's weather system.

Features

  • A system for registering custom weathers and weather effects
  • Weight-based weather selection system
  • Level-based weather filtering system
  • Scrap value/amount multipliers based on active weather
  • Editor support for creating new weathers
  • Weather effect overrides for customizing existing weather visuals

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

Command support

  • Forecast command for viewing probabilites of weathers

Weight-based weather selection system

Contrary to the vanilla algorithm, this mod uses a weight-based system for selecting weathers. You can set the weights based on 3 criteria:

  1. Level weight: the weight of the weather based on specific level
  2. Weather-to-weather weight: the weight of the weather based on the previous weather
  3. Default weight: the base weight of the weather

During the weather selection process, the algorithm will try to use one of the weights in the order listed above.

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.

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

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.4 0 9/3/2025
0.7.3 34 9/2/2025
0.7.2 149 8/21/2025
0.7.1 128 8/20/2025
0.7.0 222 8/6/2025
0.6.1 382 6/12/2025
0.6.0 102 6/6/2025
0.5.7 215 4/1/2025
0.5.6 167 4/1/2025
0.5.5 191 3/22/2025
0.5.4 248 3/4/2025
0.5.3 131 2/28/2025
0.5.2 139 2/22/2025
0.5.1 125 2/21/2025
0.5.0 112 2/21/2025
0.4.3 147 2/18/2025
0.4.2 141 2/15/2025
0.4.1 146 2/9/2025
0.4.0 112 2/8/2025
0.3.16 169 1/15/2025
0.3.15 136 12/30/2024
0.3.14 108 12/30/2024
0.3.13 141 12/27/2024
0.3.12 147 12/25/2024
0.3.11 152 12/23/2024
0.3.10 129 12/23/2024
0.3.9 134 12/18/2024
0.3.8 127 12/18/2024
0.3.7 140 12/10/2024
0.3.6 137 12/7/2024
0.3.5 131 12/6/2024
0.3.4 128 12/1/2024
0.3.3 114 11/30/2024
0.3.2 117 11/29/2024
0.3.1 116 11/29/2024
0.3.0 117 11/28/2024
0.2.9 123 11/18/2024
0.2.8 119 11/16/2024
0.2.7 146 11/6/2024
0.2.6 151 11/2/2024
0.2.5 137 11/2/2024
0.2.4 137 10/28/2024
0.2.3 142 10/24/2024
0.2.2 115 10/22/2024
0.2.1 123 10/17/2024
0.2.0 134 10/14/2024
0.1.25 183 9/17/2024
0.1.24 150 9/17/2024
0.1.23 147 9/2/2024
0.1.22 132 8/28/2024
0.1.21 135 7/31/2024
0.1.20 105 7/24/2024
0.1.19 90 7/24/2024
0.1.18 136 7/17/2024
0.1.17 135 7/15/2024
0.1.16 146 7/14/2024
0.1.15 119 7/12/2024
0.1.14 128 7/9/2024
0.1.13 141 7/8/2024
0.1.12 153 7/6/2024
0.1.11 101 7/1/2024
0.1.10 96 6/28/2024
0.1.9 96 6/27/2024
0.1.8 94 6/26/2024
0.0.1 100 6/9/2024