Add tile driven weather provider adapter
This commit is contained in:
@@ -147,6 +147,16 @@ 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.
|
||||
|
||||
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,
|
||||
pressure, provider timestamp, and weather code, then applies the mapped state to
|
||||
`AAgrarianGameState` on the server. It is tile-driven rather than Ground-Zero
|
||||
hard-coded: `Scripts/generate_tile_weather_manifest.py` emits every
|
||||
source-backed, generated, validated, packaged, or published tile with center
|
||||
coordinates, while placeholder/unknown tiles are skipped. Future source-backed
|
||||
tiles therefore become weather-eligible when their registry entries are added.
|
||||
|
||||
## Terrain And Tile Delivery
|
||||
|
||||
### MVP Tile
|
||||
|
||||
Reference in New Issue
Block a user