Skip to content

RandomWeatherPlugin: RandomizeInitialWeather option + more robust config validation#165

Open
C1XTZ wants to merge 4 commits into
compujuckel:masterfrom
C1XTZ:randomweatherplugin
Open

RandomWeatherPlugin: RandomizeInitialWeather option + more robust config validation#165
C1XTZ wants to merge 4 commits into
compujuckel:masterfrom
C1XTZ:randomweatherplugin

Conversation

@C1XTZ

@C1XTZ C1XTZ commented May 22, 2026

Copy link
Copy Markdown
Contributor

Adds the option to skip the very first random weather transition period from the initial weather set in server_cfg.ini

9e9d920 - Fixes RecalculateWeatherWeights never clearing _weathers before adding to it. In TransitionTable mode it's called every cycle, so the list just kept growing for as long as the server is running.
b4ee6e9 + d4a17cc - Try to make misconfigurations more difficult, and replace some runtime throws with configuration validation

@C1XTZ C1XTZ changed the title RandomWeatherPlugin: startup weather fix RandomWeatherPlugin: RandomizeInitialWeather option + more robust config validation Jun 26, 2026
@C1XTZ C1XTZ force-pushed the randomweatherplugin branch from 129f8e6 to b4ee6e9 Compare June 26, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant