Backlog ref: §37 — Automated Foundry Paper
Priority: Medium (safety valve for count-system blind spots)
Count-based spawning misses cases where a colony is energy-negative but all count targets are met.
Signal injection (add to ColonyProcess):
\\ s
colony.state.netEnergyPerTick = ept_production - ept_consumption;
if (netEnergyPerTick < 0 && storageLevel < 50_000) {
colony.hatchery.enqueue({ priority: 90, bodyTemplate: [WORK, WORK, MOVE], overlord: this });
}
\\
Not a replacement for count-based spawning — acts as a safety valve when count system misses a flow problem.
Full research context: docs/screeps_backlog.md §37
Backlog ref: §37 — Automated Foundry Paper
Priority: Medium (safety valve for count-system blind spots)
Count-based spawning misses cases where a colony is energy-negative but all count targets are met.
Signal injection (add to ColonyProcess):
\\ s
colony.state.netEnergyPerTick = ept_production - ept_consumption;
if (netEnergyPerTick < 0 && storageLevel < 50_000) {
colony.hatchery.enqueue({ priority: 90, bodyTemplate: [WORK, WORK, MOVE], overlord: this });
}
\\
Not a replacement for count-based spawning — acts as a safety valve when count system misses a flow problem.
Full research context: docs/screeps_backlog.md §37