mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
3 lines
15 KiB
HTML
3 lines
15 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__DEFINES/emotes_defines.dm - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="code/__DEFINES/emotes_defines.html#define">Define Details</a></header><main><h1>code/__DEFINES/emotes_defines.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_VISIBLE">EMOTE_VISIBLE</a></th><td>General defines used for emotes
|
|
Emote is visible. These emotes will be runechatted.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_AUDIBLE">EMOTE_AUDIBLE</a></th><td>Emote is audible (in character).</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_FORCE_NO_RUNECHAT">EMOTE_FORCE_NO_RUNECHAT</a></th><td>Regardless of its existing flags, an emote with this flag will not be sent to runechat.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_MOUTH">EMOTE_MOUTH</a></th><td>This emote uses the mouth, and so should be blocked if the user is muzzled or can't breathe (for humans).</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_READY">EMOTE_READY</a></th><td>The user is not on emote cooldown, and is ready to emote whenever.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_INFINITE">EMOTE_INFINITE</a></th><td>The user can spam emotes to their heart's content.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_ADMIN_BLOCKED">EMOTE_ADMIN_BLOCKED</a></th><td>The user cannot emote as they have been blocked by an admin.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_ON_COOLDOWN">EMOTE_ON_COOLDOWN</a></th><td>The user cannot emote until their cooldown expires.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_PARAM_SEPARATOR">EMOTE_PARAM_SEPARATOR</a></th><td>Marker to separate an emote key from its parameters in user input.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/DEFAULT_EMOTE_COOLDOWN">DEFAULT_EMOTE_COOLDOWN</a></th><td>Default cooldown for normal (non-audio) emotes.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/AUDIO_EMOTE_COOLDOWN">AUDIO_EMOTE_COOLDOWN</a></th><td>Default cooldown for emote-emitted audio.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/AUDIO_EMOTE_UNINTENTIONAL_COOLDOWN">AUDIO_EMOTE_UNINTENTIONAL_COOLDOWN</a></th><td>Cooldown for emotes that are emitted unintentionally, to prevent them from getting audibly spammy.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_TARGET_BHVR_MUST_MATCH">EMOTE_TARGET_BHVR_MUST_MATCH</a></th><td>If this is set and a valid target is not found, the emote will not execute.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_TARGET_BHVR_DEFAULT_TO_BASE">EMOTE_TARGET_BHVR_DEFAULT_TO_BASE</a></th><td>If this is set and a valid target is not found, the emote will just ignore the parameter entirely.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_TARGET_BHVR_USE_PARAMS_ANYWAY">EMOTE_TARGET_BHVR_USE_PARAMS_ANYWAY</a></th><td>If this is set and a valid target is not found, the emote will work with the params that it has.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_TARGET_BHVR_RAW">EMOTE_TARGET_BHVR_RAW</a></th><td>No matching/processing will be performed, and the target will be purely what's passed in.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_TARGET_BHVR_NUM">EMOTE_TARGET_BHVR_NUM</a></th><td>The emote target should be just a number. Anything else will be rejected.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_TARGET_BHVR_IGNORE">EMOTE_TARGET_BHVR_IGNORE</a></th><td>The emote target is used elsewhere, and processing should be skipped.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_TARGET_MOB">EMOTE_TARGET_MOB</a></th><td>The target will check all nearby living mobs.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_TARGET_OBJ">EMOTE_TARGET_OBJ</a></th><td>The target will check all objects nearby.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_TARGET_ANY">EMOTE_TARGET_ANY</a></th><td>The target will check nearby mobs and objects.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_PARAM_USE_POSTFIX">EMOTE_PARAM_USE_POSTFIX</a></th><td>If passed as message_param, will default to using the message's postfix.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/EMOTE_ACT_STOP_EXECUTION">EMOTE_ACT_STOP_EXECUTION</a></th><td>If returned from act_on_target(), emote execution will stop.</td></tr><tr><th><a href="code/__DEFINES/emotes_defines.html#define/USABLE_DEAD_EMOTES">USABLE_DEAD_EMOTES</a></th><td>List of emotes useable by ghosties</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/AUDIO_EMOTE_COOLDOWN"><aside class="declaration">#define </aside>AUDIO_EMOTE_COOLDOWN <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L39"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 39"></a></h3><p>Default cooldown for emote-emitted audio.</p><h3 id="define/AUDIO_EMOTE_UNINTENTIONAL_COOLDOWN"><aside class="declaration">#define </aside>AUDIO_EMOTE_UNINTENTIONAL_COOLDOWN <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L42"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 42"></a></h3><p>Cooldown for emotes that are emitted unintentionally, to prevent them from getting audibly spammy.</p><h3 id="define/DEFAULT_EMOTE_COOLDOWN"><aside class="declaration">#define </aside>DEFAULT_EMOTE_COOLDOWN <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L34"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 34"></a></h3><p>Default cooldown for normal (non-audio) emotes.</p><h3 id="define/EMOTE_ACT_STOP_EXECUTION"><aside class="declaration">#define </aside>EMOTE_ACT_STOP_EXECUTION <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L76"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 76"></a></h3><p>If returned from act_on_target(), emote execution will stop.</p><h3 id="define/EMOTE_ADMIN_BLOCKED"><aside class="declaration">#define </aside>EMOTE_ADMIN_BLOCKED <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L26"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 26"></a></h3><p>The user cannot emote as they have been blocked by an admin.</p><h3 id="define/EMOTE_AUDIBLE"><aside class="declaration">#define </aside>EMOTE_AUDIBLE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L12"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 12"></a></h3><p>Emote is audible (in character).</p><h3 id="define/EMOTE_FORCE_NO_RUNECHAT"><aside class="declaration">#define </aside>EMOTE_FORCE_NO_RUNECHAT <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L14"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 14"></a></h3><p>Regardless of its existing flags, an emote with this flag will not be sent to runechat.</p><h3 id="define/EMOTE_INFINITE"><aside class="declaration">#define </aside>EMOTE_INFINITE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L24"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 24"></a></h3><p>The user can spam emotes to their heart's content.</p><h3 id="define/EMOTE_MOUTH"><aside class="declaration">#define </aside>EMOTE_MOUTH <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L16"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 16"></a></h3><p>This emote uses the mouth, and so should be blocked if the user is muzzled or can't breathe (for humans).</p><h3 id="define/EMOTE_ON_COOLDOWN"><aside class="declaration">#define </aside>EMOTE_ON_COOLDOWN <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L28"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 28"></a></h3><p>The user cannot emote until their cooldown expires.</p><h3 id="define/EMOTE_PARAM_SEPARATOR"><aside class="declaration">#define </aside>EMOTE_PARAM_SEPARATOR <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L31"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 31"></a></h3><p>Marker to separate an emote key from its parameters in user input.</p><h3 id="define/EMOTE_PARAM_USE_POSTFIX"><aside class="declaration">#define </aside>EMOTE_PARAM_USE_POSTFIX <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L73"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 73"></a></h3><p>If passed as message_param, will default to using the message's postfix.</p><h3 id="define/EMOTE_READY"><aside class="declaration">#define </aside>EMOTE_READY <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L22"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 22"></a></h3><p>The user is not on emote cooldown, and is ready to emote whenever.</p><h3 id="define/EMOTE_TARGET_ANY"><aside class="declaration">#define </aside>EMOTE_TARGET_ANY <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L70"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 70"></a></h3><p>The target will check nearby mobs and objects.</p><h3 id="define/EMOTE_TARGET_BHVR_DEFAULT_TO_BASE"><aside class="declaration">#define </aside>EMOTE_TARGET_BHVR_DEFAULT_TO_BASE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L53"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 53"></a></h3><p>If this is set and a valid target is not found, the emote will just ignore the parameter entirely.</p><h3 id="define/EMOTE_TARGET_BHVR_IGNORE"><aside class="declaration">#define </aside>EMOTE_TARGET_BHVR_IGNORE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L61"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 61"></a></h3><p>The emote target is used elsewhere, and processing should be skipped.</p><h3 id="define/EMOTE_TARGET_BHVR_MUST_MATCH"><aside class="declaration">#define </aside>EMOTE_TARGET_BHVR_MUST_MATCH <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L51"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 51"></a></h3><p>If this is set and a valid target is not found, the emote will not execute.</p><h3 id="define/EMOTE_TARGET_BHVR_NUM"><aside class="declaration">#define </aside>EMOTE_TARGET_BHVR_NUM <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L59"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 59"></a></h3><p>The emote target should be just a number. Anything else will be rejected.</p><h3 id="define/EMOTE_TARGET_BHVR_RAW"><aside class="declaration">#define </aside>EMOTE_TARGET_BHVR_RAW <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L57"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 57"></a></h3><p>No matching/processing will be performed, and the target will be purely what's passed in.</p><h3 id="define/EMOTE_TARGET_BHVR_USE_PARAMS_ANYWAY"><aside class="declaration">#define </aside>EMOTE_TARGET_BHVR_USE_PARAMS_ANYWAY <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L55"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 55"></a></h3><p>If this is set and a valid target is not found, the emote will work with the params that it has.</p><h3 id="define/EMOTE_TARGET_MOB"><aside class="declaration">#define </aside>EMOTE_TARGET_MOB <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L66"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 66"></a></h3><p>The target will check all nearby living mobs.</p><h3 id="define/EMOTE_TARGET_OBJ"><aside class="declaration">#define </aside>EMOTE_TARGET_OBJ <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L68"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 68"></a></h3><p>The target will check all objects nearby.</p><h3 id="define/EMOTE_VISIBLE"><aside class="declaration">#define </aside>EMOTE_VISIBLE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L10"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 10"></a></h3><p>General defines used for emotes
|
|
Emote is visible. These emotes will be runechatted.</p><h3 id="define/USABLE_DEAD_EMOTES"><aside class="declaration">#define </aside>USABLE_DEAD_EMOTES <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/emotes_defines.dm#L79"><img src="git.png" width="16" height="16" title="code/__DEFINES/emotes_defines.dm 79"></a></h3><p>List of emotes useable by ghosties</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |