Connect shelter to weather protection
This commit is contained in:
@@ -147,6 +147,14 @@ 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.
|
||||
|
||||
Primitive shelters expose a replicated protection volume and
|
||||
`WeatherProtection` rating. Server-side survival ticks calculate the best
|
||||
overlapping shelter protection for each character, replicate the current
|
||||
protection value, reduce ambient weather exposure and cold damage by that
|
||||
percentage, and trend the care-history shelter quality field toward the active
|
||||
protection level. The dev HUD shows current shelter protection so weather
|
||||
pressure can be tuned during MVP tests.
|
||||
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user