Connect campfires to weather

This commit is contained in:
2026-05-17 19:21:26 -07:00
parent 7291c4844b
commit 879a4805c5
5 changed files with 117 additions and 4 deletions
+6
View File
@@ -308,6 +308,12 @@ to write lit state, remaining fuel, cooking enabled state, required cook time,
and cooking progress into numeric save state, then restores those values before
reapplying the fire visual state on load.
Campfires now read the replicated `AAgrarianGameState::Weather` value while
burning. Rain and storms increase fuel drain through tunable multipliers, and
wet weather can deterministically extinguish a low-fuel fire so weather affects
fire reliability without adding random outcomes to save/load or multiplayer
state.
The first real-weather adapter is `UAgrarianWeatherProviderSubsystem`. It uses
Open-Meteo forecast requests keyed by tile center latitude/longitude, parses the
current temperature, daily low/high, precipitation, wind, humidity, cloud cover,