Add regional temperature curve

This commit is contained in:
2026-05-15 21:53:10 -07:00
parent 8ee1f83b16
commit ca2c3ee3db
5 changed files with 172 additions and 5 deletions
+10
View File
@@ -137,6 +137,16 @@ conservative Pacifica coastal profile; later regional expansion should replace
or enrich these overrides with authoritative zone, climate, and temperature
datasets.
Temperature is authoritative on `AAgrarianGameState`. The MVP curve uses the
active tile's sunrise and solar noon to place the daily low near sunrise and the
daily high after solar noon, then applies weather modifiers for rain, cold wind,
and storms. Regional daily low/high values provide the deterministic fallback.
When a server-side weather adapter is available, it should set observed regional
temperature and blend weight through the game-state hook rather than allowing
clients to call public weather APIs directly. This keeps real-world temperature
and weather tied to the represented map tile while preserving a deterministic
fallback if an external provider is unavailable.
## Terrain And Tile Delivery
### MVP Tile