Expand description
Re-export of all constants related to StructureSpawn
operations.
Re-exports§
pub use super::extra::SPAWN_NAME_MAX_LENGTH;
Constants§
- CREEP_
SPAWN_ TIME - Ticks taken to spawn each creep body part, before power creep effects.
- ENERGY_
REGEN_ TIME - Ticks to source regen after first
Creep::harvest
since last regen. - MAX_
CREEP_ SIZE - Maximum body parts per creep.
- SPAWN_
ENERGY_ CAPACITY - Maximum energy capacity of spawn structures.
- SPAWN_
ENERGY_ START - Initial energy for spawn structures when built.
- SPAWN_
RENEW_ RATIO - Additional TTL bonus, and reduction in energy cost, when renewing a creep compared to spawning.
Functions§
- extension_
energy_ capacity - Translates the
EXTENSION_ENERGY_CAPACITY
constant, the energy capacity of each source structure at a given room control level.