Module source

Source
Expand description

Re-export of all constants related to Source behavior.

Constantsยง

ENERGY_DECAY
The total amount of a resource that must be accumulated in a dropped Resource for one unit of that resource to decay each tick, rounded up.
ENERGY_REGEN_TIME
Ticks to source regen after first Creep::harvest since last regen.
INVADERS_ENERGY_GOAL
Base value for calculating the energy harvest amount that will trigger invader spawns.
SOURCE_ENERGY_CAPACITY
Source energy capacity immediately after regeneration in owned and reserved rooms.
SOURCE_ENERGY_KEEPER_CAPACITY
Source energy capacity immediately after regeneration in source keeper (sector center) rooms.
SOURCE_ENERGY_NEUTRAL_CAPACITY
Source energy capacity immediately after regeneration in neutral rooms.