Module screeps::constants::portal

source ·
Expand description

Re-export of all constants related to StructurePortal behavior.

Constants

  • Ticks that a portal that has reached the end of its stable lifetime will remain before decaying.
  • Maximum time after a portal decays in a center room that a new portal will appear, in milliseconds.
  • Minimum time after a portal decays in a center room that a new portal will appear, in milliseconds.
  • The amount of time after spawning, in milliseconds, that random center room portals will become unstable and begin to decay, disappearing PORTAL_DECAY ticks later.