Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
WeatherRegistry RouteRandom Compat
A mod for controlling the game's weather system. Patched by SenilePenguin to work with RouteRandom.
| Date uploaded | 2 years ago |
| Version | 0.1.16 |
| Download link | SenileSquad-WeatherRegistry_RouteRandom_Compat-0.1.16.zip |
| Downloads | 927 |
| Dependency string | SenileSquad-WeatherRegistry_RouteRandom_Compat-0.1.16 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
WeatherRegistry - RouteRandom Compatible
This is an unofficial modification of MROV's WeatherRegistry mod. This mod cannot be used at the same time as the official! It reused the same mod identifier so it can be a drop-in replacement until the official is updated.
This version is updated to allow hiding the name and/or weather of a moon on the monitor.
Original README from MROV
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
i don't want to work on readme, i'll list it later
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:
- Level weight: the weight of the weather based on specific level
- Weather-to-weather weight: the weight of the weather based on the previous weather
- Default weight: the base weight of the weather
During the weather selection process, the algorithm will try to apply the weights in the order listed above.
to do
- [ ] Add matching via LLL tags
- [ ] Add an option for weather creators to add their configs to the Registry
- [ ] Save generated weather data to save file
- [ ] fix the bugs
License
This project is licensed under GNU Lesser General Public License v3.0.
Credits
This project uses LethalCompanyTemplate, licensed under MIT License.
This project uses code from WeatherTweaks, licensed under CC BY-NC-ND 4.0
This project uses code from LethalLib, licensed under MIT License.
This project uses code from LethalLevelLoader, licensed under MIT License.
This project uses code from LC-SimpleWeatherDisplay, licensed under MIT License.
CHANGELOG
0.1.16
- one-off patch implementing a pull request #5 to fix random moons
0.1.15
- fixed
StartOfRound.OnDisablepatch not firing correctly
0.1.14
- improved resolving planet and weather names that have spaces in them
0.1.13
- fixed
SetupFinishedevent firing correctly
0.1.12
- fixed an issue with Nuget propagating wrong LC dependency version further (thanks, giosuel)
0.1.11
- MrovLib is now a required dependency
WeatherChangedevent is now properly invoked when new weathers are picked
0.1.10
- fixed an issue with randomWeathers having multiple entries of the same modded weather (thanks, xuxiaolan)
0.1.9
- added config options to disable logging startup logs & weather selection logs
0.1.8
- optimized the weight-picking algorithm (thanks, whitespike)
- changed some logs
0.1.7
- LevelWeights and WeatherWeights config options are now functional
- redid the ConfigHandler completely (it's cursed)
- added a set of defaults for vanilla weather>weather transitions (this requires testing and feedback!)
- changed some logs
- weights are now clamped between 0 and 10000
- added new options for weather makers:
DefaultLevelWeightsandDefaultWeatherToWeatherWeights
0.1.6
- fixed an error with config strings not being resolved correctly (thanks, xuxiaolan)
- changed some logs
0.1.5
- changed the scale of weather multipliers from (0,10000) to (0,100)
0.1.4
- added ScrapAmountMultiplier, ScrapValueMultiplier config options
- added LevelWeights and WeatherWeights config options (they don't do anything yet)
- fixed an error with WeatherRegistry not disabling registered weathers' effects when leaving lobby (thanks: endoxicom, xuxiaolan, lunxara)
0.1.3
- (hopefully) fixed an error with WeatherRegistry not disabling registered weathers' effects when leaving lobby (thanks, endoxicom)
0.1.2
- fixed an error with WeatherRegistry crashing when there were more than 1 weather to register (thanks, xuxiaolan)
0.1.1
- fixed an issue with LethalLib weathers not being registered correctly on modded moons
- fixed an issue with WeatherRegistry weathers being destroyed on joining lobbies
- (hopefully) fixed a Dictionary issue with modded weathers on clients
- renamed events:
setupFinished->SetupFinished,weatherChanged->WeatherChanged - added
DisableAllWeathersevent - added
WeatherControllerfor changing weathers - changed some logs
- changed possibleWeathers table to be sorted using enum values
- changed WeatherRegistry to forcefully remove all "None" weather entries from randomWeathers
0.1.0
Please re-generate your configs!
- added a check to SunAnimator to verify if custom weather has an animator bool defined (thanks, PureFPSZac)
- added a check to SunAnimator to honor the blacklist setting (although the result should be virtually the same)
- possibleWeathers table displayed during startup is now sorted correctly
- fixed the default filtering options not having a semicolon at the end
- added an option to blacklist vanilla weathers from happening on selected moons
0.0.5
- added an check to SunAnimator to check if there are any sun animator clips (thanks, finembelli)
0.0.4
- fixed an error with WeatherRegistry keeping references to previous lobby weathers
- changed weather fields
0.0.3
- added config options for setting the default weights and level filtering
- fixed an issue with LethalLib hard dependency
- added an event system
0.0.2
- fixed an error preventing people from joining online lobbies
0.0.1
- hello! 👋