Connect shelter to weather protection

This commit is contained in:
2026-05-16 01:12:41 -07:00
parent 8625583faa
commit 06508061da
6 changed files with 115 additions and 3 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ Target deliverable: A small group can join a server, spawn into one biome, gathe
- [x] Store weather source, provider timestamp, tile coordinate, and applied in-game weather state for debugging and persistence. Added tile ID/coordinate fields to mapped weather inputs, a replicated `FAgrarianWeatherDebugSnapshot` on game state, provider snapshot mapping into the debug path, and save fields for mapped inputs plus applied weather debug state.
- [x] Add weather save/load support. Added `LoadCurrentWorld` as the unified persistence load path, restored weather/time before players and world actors, updated the admin load command to use the combined path, and extended the persistence smoke test to prove provider-backed weather metadata survives save/load.
- [x] Connect weather to body temperature.
- [~] Connect shelter to weather protection.
- [x] Connect shelter to weather protection. Survival now calculates the best overlapping shelter protection volume, replicates current weather protection, reduces ambient exposure and cold damage by shelter coverage, trends care-history shelter quality toward active protection, and shows shelter protection on the dev HUD.
- [ ] Add first-pass sky and lighting.
- [ ] Add audio cues for weather.