Nexus Defense — Basic Tower
Nexus Defense — Basic Tower
Section titled “Nexus Defense — Basic Tower”The default defensive piece for Nexus Defense. Single-target arrow turret, modest range, modest damage. Two of these spawn on every player’s grid at match start (placement defined by the active zone in q::nexus_defense_server::zone).
❓
Nexus Defense — Basic Tower
Starter defensive tower for Nexus Defense matches. Single-target arrow turret with modest range and damage; placed on the player's hex grid at match start.
- Type: building
- Kind: nd tower basic
🏛️ Structure Stats
- Footprint: 1 × 1
- Max Health: 200 HP
- Construction Time: 0s
- Walkable: ✗ No
- Blocks Placement: ✓ Yes
Build Costs:
- gold : 60
ID:
01KQ2WOYBMSI3R6MWOUO39Q8P5 Ref:
nd-tower-basic Rendering: Layer: Foreground, PPU: 16
Game Role
Section titled “Game Role”- Starter unit — pre-placed by the server during the Prepare phase. No build cost paid on spawn; the
build_costsblock above documents the cost when the player places one mid-match from the build bar. - Auto-targeting — fires at the closest hostile inside
rangewhenevercooldown_secselapses since the last shot. - Single-shot ballistic — emits one projectile per volley travelling at
projectile_speedunits/s, expires afterprojectile_lifetimeseconds.
Tuning surface
Section titled “Tuning surface”The server pulls all combat numbers from this file at boot via MapDb::from_bytes + get_object_def_by_ref("nd-tower-basic"). Adjusting the YAML and re-running nx run astro-kbve:sync:mapdb retunes the live build without recompiling the Rust binary.
max_health→BuildingTagHP / max_HPranged_attack.range→ target acquisition radiusranged_attack.cooldown_secs→ ticks between shots (rounded againstSIM_TICK_HZ)ranged_attack.damage_per_shot→ projectile damageranged_attack.projectile_speed→ projectile velocityranged_attack.projectile_lifetime×projectile_speed→ max range before self-despawn