Add tile driven weather provider adapter

This commit is contained in:
2026-05-15 23:08:30 -07:00
parent ca2c3ee3db
commit a4aa2095be
8 changed files with 458 additions and 1 deletions
+1 -1
View File
@@ -425,7 +425,7 @@ Target deliverable: A small group can join a server, spawn into one biome, gathe
- [x] Add storm placeholder.
- [x] Add weather transition rules.
- [x] Add weather replication.
- [ ] Add real-world weather provider adapter for Ground Zero by latitude/longitude.
- [x] Add real-world weather provider adapter for Ground Zero by latitude/longitude. Added a tile-driven Open-Meteo adapter subsystem that can request weather for any active tile by center latitude/longitude, map provider weather codes into Agrarian weather states, apply current temperature and daily low/high to `AAgrarianGameState`, and generate a source-backed tile weather manifest so future real tiles become weather-eligible automatically.
- [ ] Use Open-Meteo as the first global MVP weather source.
- [ ] Add NOAA/NWS fallback or enrichment for US tiles where useful.
- [ ] Cache real-weather snapshots server-side so clients never call public weather APIs directly.