byond - Modules - TypesDefine Details

code/__DEFINES/_tick.dm

TICK_BYOND_RESERVETick limit while running normally
TICK_LIMIT_TO_RUNTick limit used to resume things in stoplag
TICK_LIMIT_MCTick limit for MC while running
TICK_LIMIT_MC_INIT_DEFAULTTick limit while initializing
TICK_USAGEfor general usage of tick_usage
TICK_USAGE_REALto be used where the result isn't checked
TICK_CHECKReturns true if tick_usage is above the limit
CHECK_TICKruns stoplag if tick_usage is above the limit
TICK_CHECK_HIGH_PRIORITYReturns true if tick usage is above 95, for high priority usage
CHECK_TICK_HIGH_PRIORITYruns stoplag if tick_usage is above 95, for high priority usage

Define Details

CHECK_TICK

runs stoplag if tick_usage is above the limit

CHECK_TICK_HIGH_PRIORITY

runs stoplag if tick_usage is above 95, for high priority usage

TICK_BYOND_RESERVE

Tick limit while running normally

TICK_CHECK

Returns true if tick_usage is above the limit

TICK_CHECK_HIGH_PRIORITY

Returns true if tick usage is above 95, for high priority usage

TICK_LIMIT_MC

Tick limit for MC while running

TICK_LIMIT_MC_INIT_DEFAULT

Tick limit while initializing

TICK_LIMIT_TO_RUN

Tick limit used to resume things in stoplag

TICK_USAGE

for general usage of tick_usage

TICK_USAGE_REAL

to be used where the result isn't checked