neon-sprawl/docs/decomposition/modules/E4_M2_SpawnEcologyControlle...

1.4 KiB

E4.M2 — SpawnEcologyController

Summary

Field Value
Module ID E4.M2
Epic Epic 4 — World Topology
Stage target Pre-production
Status Planned (see dependency register)

Purpose

Resource and NPC spawn profiles per zone, respawn pacing, and depletion/recovery so densities stay within design bounds.

Responsibilities

  • Drive SpawnProfile / RespawnRule; maintain ZoneEcologyState; coordinate with E3.M1 and E5.M2.

Key contracts

Contract Role
SpawnProfile What spawns where and how often.
RespawnRule Timers and caps.
ZoneEcologyState Current density/depletion snapshot.

Module dependencies

  • E4.M1 — ZoneGraphAndTravelRules.
  • E3.M1 — ResourceNodeAndGatherLoop.
  • E5.M2 — NpcAiAndBehaviorProfiles.

Dependents (by design)

  • Content and live ops tuning; telemetry for spawn waves and recovery.

Epic 4 Slice 3spawn_wave, depletion/recovery markers.

Source anchors