Files
Ascent-of-Man/config/terrain_movement.yaml
T
2026-11-08 17:06:47 +01:00

37 lines
1.3 KiB
YAML

# Terrain movement rules, passability and costs configuration
# All gameplay values and parameters are fully configurable.
# Classification thresholds
water_height_threshold: 6 # Raw heightmap elevation value (< 6 is water)
mountain_rock_height_km: 2.3 # Height in km >= 2.3 is rocky mountain
snow_height_km: 3.1 # Altitude in km >= 3.1 is high peak snow
polar_snow_line_enabled: true # Whether latitude reduces snowline altitude
polar_snow_line_base_km: 2.5 # Base snowline at temperate latitudes
polar_snow_factor_start: 0.40 # Latitude distFromCenter where polar cooling starts
polar_snow_factor_end: 0.85 # Latitude distFromCenter where sea-level snowline is reached
# Movement costs per terrain type (1.0 = normal base cost, higher values = slower traversal)
movement_costs:
grasland: 1.0
bos: 2.0
steen: 2.5
sahara: 1.5
tundra: 1.5
red_canyon: 2.0
sneeuw: 3.0
water: 1.0
# Movement domains:
# - land: standard ground units (settler, builder, warrior, slinger, etc.)
# impassable_terrains: list of terrain types land units CANNOT enter or cross.
# - naval: ships and sea vessels (galley, etc.)
# passable_terrains: ships can ONLY move on these terrains (water).
domains:
land:
impassable_terrains:
- water
- sneeuw
naval:
passable_terrains:
- water