SS1984 - Modules - TypesDefine Details

code/__DEFINES/cooldowns.dm

COOLDOWN_BORG_SELF_REPAIRCOOLDOWN SYSTEMS
TIMER_COOLDOWN_RUNNINGChecks if a timer based cooldown is NOT finished.
TIMER_COOLDOWN_FINISHEDChecks if a timer based cooldown is finished.
COOLDOWN_DECLARECooldown system based on storing world.time on a variable, plus the cooldown time. Better performance over timer cooldowns, lower control. Same functionality.

Define Details

COOLDOWN_BORG_SELF_REPAIR

COOLDOWN SYSTEMS

COOLDOWN_DECLARE

Cooldown system based on storing world.time on a variable, plus the cooldown time. Better performance over timer cooldowns, lower control. Same functionality.

TIMER_COOLDOWN_FINISHED

Checks if a timer based cooldown is finished.

TIMER_COOLDOWN_RUNNING

Checks if a timer based cooldown is NOT finished.