Storm nerf (#1107)

* weather lightning nerf

* port storm weather to gamerule events

* fix
This commit is contained in:
Ed
2025-03-31 23:46:21 +03:00
committed by GitHub
parent 05de87e9e9
commit edc67dd280
14 changed files with 225 additions and 97 deletions

View File

@@ -29,6 +29,9 @@ public sealed class CP14WeatherControllerSystem : EntitySystem
if (_timing.CurTime <= weather.NextWeatherTime)
continue;
if (!weather.Enabled)
continue;
var weatherData = _random.Pick(weather.Entries);
if (!_proto.TryIndex(weatherData.Visuals, out var weatherVisualsIndexed))