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_SOUNDEmote makes a sound. These emotes will specifically not be runechatted.
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_MESSAGEAutomatically applies emote related spans/fonts/formatting to the message
ALWAYS_SHOW_SELF_MESSAGEBy default, self_message will respect the visual / audible component of the message. Meaning that if the message is visual, and sourced from a blind mob, they will not see it. This flag skips that behavior, and will always show the self message to the mob.
WITH_EMPHASIS_MESSAGEApplies emphasis formatting to the message.
BLOCK_SELF_HIGHLIGHT_MESSAGEBlocks chat highlighting from being applied to the message sent to the self.
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.
EMOTE_COOLDOWNDefault cooldown for normal (non-audio) emotes.
UNINTENTIONAL_EMOTE_COOLDOWNDefault cooldown for normal (non-audio) emotes, used unintentionally.
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_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
DEFAULT_MAX_STAT_ALLOWED_EMOTESentinel for emote stats. If this is set for max stat, then its value will be ignored.

Define Details

ALWAYS_SHOW_SELF_MESSAGE

By default, self_message will respect the visual / audible component of the message. Meaning that if the message is visual, and sourced from a blind mob, they will not see it. This flag skips that behavior, and will always show the self message to the mob.

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.

BLOCK_SELF_HIGHLIGHT_MESSAGE

Blocks chat highlighting from being applied to the message sent to the self.

DEFAULT_MAX_STAT_ALLOWED_EMOTE

Sentinel for emote stats. If this is set for max stat, then its value will be ignored.

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_COOLDOWN

Default cooldown for normal (non-audio) emotes.

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_MESSAGE

Automatically applies emote related spans/fonts/formatting to the message

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_SOUND

Emote makes a sound. These emotes will specifically not be runechatted.

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_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.

UNINTENTIONAL_EMOTE_COOLDOWN

Default cooldown for normal (non-audio) emotes, used unintentionally.

USABLE_DEAD_EMOTES

List of emotes useable by ghosties

WITH_EMPHASIS_MESSAGE

Applies emphasis formatting to the message.