Model several Creep roles at once, including body size, desired count, travel time, safety buffer, normal or CLAIM lifetime, available Spawns, and optional OPERATE_SPAWN.
INPUTS
Spawn capacity and role profiles
BOUNDARIES
Average capacity is not an exact queue
The planner uses three base spawn ticks per body part, a 1,500-tick normal lifetime, and a 600-tick CLAIM lifetime. OPERATE_SPAWN is applied as a planning reduction and rounded up so the result does not underestimate the queue.
Real production can still fail because replacement deadlines cluster, room Energy is not ready, a Spawn is disrupted, spawn directions are blocked, or queue priorities change.