Validate Ground Zero safe spawn area
This commit is contained in:
@@ -164,6 +164,15 @@ and cold damage after shelter protection. This lets future generated tiles add
|
||||
biome, slope, elevation, hydrology, and coastal modifiers without changing the
|
||||
core survival calculation.
|
||||
|
||||
The safe Ground Zero spawn is selected by `Scripts/setup_ground_zero_demo_map.py`
|
||||
from declared candidate coordinates and a known safe fallback coordinate. The
|
||||
setup validates the selected player start against terrain elevation, terrain
|
||||
slope, a minimum above-terrain Z offset, freshwater spacing, and resource-cluster
|
||||
spacing before saving the map. `Scripts/verify_ground_zero_safe_spawn.py`
|
||||
rechecks the placed `AGR_DemoPlayerStart` against the same constraints so future
|
||||
map, resource, water, or terrain changes cannot silently move the player below
|
||||
sea level, into steep terrain, into water, or into a dense resource cluster.
|
||||
|
||||
First-pass sky and lighting use `AAgrarianSkyLightingController`. The controller
|
||||
owns movable sun, skylight, and exponential-height-fog components and reads the
|
||||
replicated `AAgrarianGameState` time, active tile sunrise/sunset, weather state,
|
||||
|
||||
Reference in New Issue
Block a user