Space Station 13 - Modules - TypesDefine Details

code/__DEFINES/emotes_defines.dm

EMOTE_VISIBLEGeneral defines used for emotes Emote is visible. These emotes will be runechatted.
EMOTE_AUDIBLEEmote is audible (in character).
EMOTE_FORCE_NO_RUNECHATRegardless of its existing flags, an emote with this flag will not be sent to runechat.
EMOTE_MOUTHThis emote uses the mouth, and so should be blocked if the user is muzzled or can't breathe (for humans).
EMOTE_READYThe user is not on emote cooldown, and is ready to emote whenever.
EMOTE_INFINITEThe user can spam emotes to their heart's content.
EMOTE_ADMIN_BLOCKEDThe user cannot emote as they have been blocked by an admin.
EMOTE_ON_COOLDOWNThe user cannot emote until their cooldown expires.
EMOTE_PARAM_SEPARATORMarker to separate an emote key from its parameters in user input.
DEFAULT_EMOTE_COOLDOWNDefault cooldown for normal (non-audio) emotes.
AUDIO_EMOTE_COOLDOWNDefault cooldown for emote-emitted audio.
AUDIO_EMOTE_UNINTENTIONAL_COOLDOWNCooldown for emotes that are emitted unintentionally, to prevent them from getting audibly spammy.
EMOTE_TARGET_BHVR_MUST_MATCHIf this is set and a valid target is not found, the emote will not execute.
EMOTE_TARGET_BHVR_DEFAULT_TO_BASEIf this is set and a valid target is not found, the emote will just ignore the parameter entirely.
EMOTE_TARGET_BHVR_USE_PARAMS_ANYWAYIf this is set and a valid target is not found, the emote will work with the params that it has.
EMOTE_TARGET_BHVR_RAWNo matching/processing will be performed, and the target will be purely what's passed in.
EMOTE_TARGET_BHVR_NUMThe emote target should be just a number. Anything else will be rejected.
EMOTE_TARGET_BHVR_IGNOREThe emote target is used elsewhere, and processing should be skipped.
EMOTE_TARGET_MOBThe target will check all nearby living mobs.
EMOTE_TARGET_OBJThe target will check all objects nearby.
EMOTE_TARGET_ANYThe target will check nearby mobs and objects.
EMOTE_PARAM_USE_POSTFIXIf passed as message_param, will default to using the message's postfix.
EMOTE_ACT_STOP_EXECUTIONIf returned from act_on_target(), emote execution will stop.
USABLE_DEAD_EMOTESList of emotes useable by ghosties

Define Details

AUDIO_EMOTE_COOLDOWN

Default cooldown for emote-emitted audio.

AUDIO_EMOTE_UNINTENTIONAL_COOLDOWN

Cooldown for emotes that are emitted unintentionally, to prevent them from getting audibly spammy.

DEFAULT_EMOTE_COOLDOWN

Default cooldown for normal (non-audio) emotes.

EMOTE_ACT_STOP_EXECUTION

If returned from act_on_target(), emote execution will stop.

EMOTE_ADMIN_BLOCKED

The user cannot emote as they have been blocked by an admin.

EMOTE_AUDIBLE

Emote is audible (in character).

EMOTE_FORCE_NO_RUNECHAT

Regardless of its existing flags, an emote with this flag will not be sent to runechat.

EMOTE_INFINITE

The user can spam emotes to their heart's content.

EMOTE_MOUTH

This emote uses the mouth, and so should be blocked if the user is muzzled or can't breathe (for humans).

EMOTE_ON_COOLDOWN

The user cannot emote until their cooldown expires.

EMOTE_PARAM_SEPARATOR

Marker to separate an emote key from its parameters in user input.

EMOTE_PARAM_USE_POSTFIX

If passed as message_param, will default to using the message's postfix.

EMOTE_READY

The user is not on emote cooldown, and is ready to emote whenever.

EMOTE_TARGET_ANY

The target will check nearby mobs and objects.

EMOTE_TARGET_BHVR_DEFAULT_TO_BASE

If this is set and a valid target is not found, the emote will just ignore the parameter entirely.

EMOTE_TARGET_BHVR_IGNORE

The emote target is used elsewhere, and processing should be skipped.

EMOTE_TARGET_BHVR_MUST_MATCH

If this is set and a valid target is not found, the emote will not execute.

EMOTE_TARGET_BHVR_NUM

The emote target should be just a number. Anything else will be rejected.

EMOTE_TARGET_BHVR_RAW

No matching/processing will be performed, and the target will be purely what's passed in.

EMOTE_TARGET_BHVR_USE_PARAMS_ANYWAY

If this is set and a valid target is not found, the emote will work with the params that it has.

EMOTE_TARGET_MOB

The target will check all nearby living mobs.

EMOTE_TARGET_OBJ

The target will check all objects nearby.

EMOTE_VISIBLE

General defines used for emotes Emote is visible. These emotes will be runechatted.

USABLE_DEAD_EMOTES

List of emotes useable by ghosties