Add deterministic weather fallback

This commit is contained in:
2026-05-16 00:01:20 -07:00
parent ff6fc61af3
commit 3740eb32bf
5 changed files with 141 additions and 2 deletions
+9
View File
@@ -190,6 +190,15 @@ fills those fields directly where available; NOAA/NWS fills them from grid data
where available and derives provisional visibility/weather-state values until a
deeper provider-specific mapping pass is added.
Deterministic fallback weather keeps the game playable when external providers
are disabled, unreachable, or return unusable data. The fallback snapshot is
derived from tile ID and Agrarian day, then mapped through the same
`FAgrarianMappedWeatherInputs` path as live providers. It produces seasonal
daily low/high temperatures, current temperature, cloud cover, humidity, wind,
pressure, precipitation, visibility, and the collapsed Agrarian weather state.
Fallback snapshots use provider `deterministic-fallback` and are cached
server-side with the normal weather cache TTL.
## Terrain And Tile Delivery
### MVP Tile