SS1984 - Modules - TypesDefine Details

code/__DEFINES/callbacks.dm

CALLBACKA shorthand for the callback datum, documented here
MAKE_SPAWN_ACT_LIKE_WAITFORPer the DM reference, spawn(-1) will execute the spawned code immediately until a block is met.
ASYNCCreate a codeblock that will not block the callstack if a block is met.
VERB_CALLBACKlike CALLBACK but specifically for verb callbacks
END_OF_TICKThis is used to delay a callback until the end of the tick or later, to ensure that some arbitrary specification is met first. (i.e. spawners spawning stuff)

Define Details

ASYNC

Create a codeblock that will not block the callstack if a block is met.

CALLBACK

A shorthand for the callback datum, documented here

END_OF_TICK

This is used to delay a callback until the end of the tick or later, to ensure that some arbitrary specification is met first. (i.e. spawners spawning stuff)

MAKE_SPAWN_ACT_LIKE_WAITFOR

Per the DM reference, spawn(-1) will execute the spawned code immediately until a block is met.

VERB_CALLBACK

like CALLBACK but specifically for verb callbacks