Back to NxLabs

NxLabs / Vintage Story

Water Weather Simulation Redux

OBy organicoil

Fully melts lakes in summer and freezes them in winter. Or disables snow and ice altogether!

Water Weather Simulation Redux

Description

Forces lakes to fully freeze/melt based on temperature, since the base game does not do a good job at it sometimes.

Freezing/melting happens during chunk load, so you might need to reload your world for the changes to apply near your current location.

 

Redux version adds a config file to change what is considered freezing/melting temperature as well as more consistent ways to calculate the temperature.

This is done to avoid lakes freezing in early november if you happen to load chunks at night time.

By default lakes will freeze in around mid-december and melt in around mid-april if you live in a temperate climate and have "Snow and ice" enabled in world settings.

 

Also fixes "Snow and ice" (aka snowAccum) option for world generation, since you cannot properly disable it in the base game. So you can completely disable ice and snow in your world now!

Note: If you are on a game version 1.21+ you will always see "Snow and ice" set to "Enabled" in the world settings in the main menu. Use "/worldconfig snowAccum" console command to check the real value. This also means that if you change any other option via the main menu settings - "Snow and ice" will be enabled (so if you want to keep it disabled - make sure to set it to "Disabled" every time you update wold config via main menu). This is something I cannot fix as main menu cannot be modded.

 

Config options (can be changed via Config lib in game or manually in water_weather_simulation_redux.json file)

  • FreezingTemperature - water freezes if temperature is lower than this value (default is -4)
  • MeltingTemperature - ice melts if temperature is higher than this value (default is +4)
  • MeasurementType - specifies how the temperature is measured; supported values:
    • daily_average - average temperature for the current day is used (default value, should be the most consistent option)
    • specific_hour - temperature during the specified hour for the current day is used (less consistent than average, but might help a little if you expirience slow chunk loads since it only required a single temperature reading)
    • now - immediate temperature during the chunk load is used (same logic as the original mod, note that it highly depends on the time of day at which the chunks are loaded)
  • AverageIntervalHours - how much hours is between each two average temperature measurements, only used if MeasurementType is set to daily_average (default is 3, so temperature is measured 8 times at 00:00, 03:00, ..., 21:00)
  • SpecificHour - at which hour the temperature is measured, only used if MeasurementType is set to specific_hour (default is 9, so temperature is measured at 09:00)
  • FixSnowAccum - whether the fix for "Snow and ice" option is applied (default is true)
  • RespectSnowAccum - whether the mod behaviour should be affected by "Snow and ice" option, meaning that disabling "Snow and ice" will also disable ice melt/freeze done by this mod (default is true)

 

Safe to turn on and off at any time. (Run "/worldconfig snowAccum true" and reload your world after disabling the mod to reset any changes the mod does to the world config)

Should generally be compatible with almost any mod, unless it alters default blocks for ice and water.

 

Credit to WarlikeCracker for the original mod

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.