Files

1 line
11 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__DEFINES/dcs/signals/signals_mod.dm - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="code/__DEFINES/dcs/signals/signals_mod.html#define">Define Details</a></header><main><h1>code/__DEFINES/dcs/signals/signals_mod.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm0"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MOD_MODULE_SELECTED">COMSIG_MOD_MODULE_SELECTED</a></th><td>Called when a module is selected to be the active one from on_select(obj/item/mod/module/module)</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MOD_DEPLOYED">COMSIG_MOD_DEPLOYED</a></th><td>Called when a MOD deploys one or more of its parts.</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MOD_RETRACTED">COMSIG_MOD_RETRACTED</a></th><td>Called when a MOD retracts one or more of its parts.</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MOD_TOGGLED">COMSIG_MOD_TOGGLED</a></th><td>Called when a MOD is finished toggling itself.</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MOD_ACTIVATE">COMSIG_MOD_ACTIVATE</a></th><td>Called when a MOD activation is called from toggle_activate(mob/user)</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/MOD_CANCEL_ACTIVATE">MOD_CANCEL_ACTIVATE</a></th><td>Cancels the suit's activation</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MOD_MODULE_REMOVED">COMSIG_MOD_MODULE_REMOVED</a></th><td>Called when a MOD finishes having a module removed from it.</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MOD_MODULE_ADDED">COMSIG_MOD_MODULE_ADDED</a></th><td>Called when a MOD finishes having a module added to it.</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MOD_MODULE_REMOVAL">COMSIG_MOD_MODULE_REMOVAL</a></th><td>Called when a MOD is having modules removed from crowbar_act(mob/user, obj/crowbar)</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/MOD_CANCEL_REMOVAL">MOD_CANCEL_REMOVAL</a></th><td>Cancels the removal of modules</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MODULE_TRIGGERED">COMSIG_MODULE_TRIGGERED</a></th><td>Called when a module attempts to activate, however it does. At the end of checks so you can add some yourself, or work on trigger behavior (mob/user)</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/MOD_ABORT_USE">MOD_ABORT_USE</a></th><td>Cancels activation, with no message. Include feedback on your cancel.</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MODULE_ACTIVATED">COMSIG_MODULE_ACTIVATED</a></th><td>Called when a module activates, after all checks have passed and cooldown started.</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MODULE_DEACTIVATED">COMSIG_MODULE_DEACTIVATED</a></th><td>Called when a module deactivates, after all checks have passed.</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MODULE_USED">COMSIG_MODULE_USED</a></th><td>Called when a module is used, after all checks have passed and cooldown started.</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MOD_WEARER_SET">COMSIG_MOD_WEARER_SET</a></th><td>Called when the MODsuit wearer is set.</td></tr><tr><th><a href="code/__DEFINES/dcs/signals/signals_mod.html#define/COMSIG_MOD_WEARER_UNSET">COMSIG_MOD_WEARER_UNSET</a></th><td>Called when the MODsuit wearer is unset.</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/COMSIG_MODULE_ACTIVATED"><aside class="declaration">#define </aside>COMSIG_MODULE_ACTIVATED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L27"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 27"></a></h3><p>Called when a module activates, after all checks have passed and cooldown started.</p><h3 id="define/COMSIG_MODULE_DEACTIVATED"><aside class="declaration">#define </aside>COMSIG_MODULE_DEACTIVATED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L29"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 29"></a></h3><p>Called when a module deactivates, after all checks have passed.</p><h3 id="define/COMSIG_MODULE_TRIGGERED"><aside class="declaration">#define </aside>COMSIG_MODULE_TRIGGERED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L23"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 23"></a></h3><p>Called when a module attempts to activate, however it does. At the end of checks so you can add some yourself, or work on trigger behavior (mob/user)</p><h3 id="define/COMSIG_MODULE_USED"><aside class="declaration">#define </aside>COMSIG_MODULE_USED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L31"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 31"></a></h3><p>Called when a module is used, after all checks have passed and cooldown started.</p><h3 id="define/COMSIG_MOD_ACTIVATE"><aside class="declaration">#define </aside>COMSIG_MOD_ACTIVATE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L11"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 11"></a></h3><p>Called when a MOD activation is called from toggle_activate(mob/user)</p><h3 id="define/COMSIG_MOD_DEPLOYED"><aside class="declaration">#define </aside>COMSIG_MOD_DEPLOYED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L5"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 5"></a></h3><p>Called when a MOD deploys one or more of its parts.</p><h3 id="define/COMSIG_MOD_MODULE_ADDED"><aside class="declaration">#define </aside>COMSIG_MOD_MODULE_ADDED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L17"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 17"></a></h3><p>Called when a MOD finishes having a module added to it.</p><h3 id="define/COMSIG_MOD_MODULE_REMOVAL"><aside class="declaration">#define </aside>COMSIG_MOD_MODULE_REMOVAL <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L19"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 19"></a></h3><p>Called when a MOD is having modules removed from crowbar_act(mob/user, obj/crowbar)</p><h3 id="define/COMSIG_MOD_MODULE_REMOVED"><aside class="declaration">#define </aside>COMSIG_MOD_MODULE_REMOVED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L15"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 15"></a></h3><p>Called when a MOD finishes having a module removed from it.</p><h3 id="define/COMSIG_MOD_MODULE_SELECTED"><aside class="declaration">#define </aside>COMSIG_MOD_MODULE_SELECTED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L3"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 3"></a></h3><p>Called when a module is selected to be the active one from on_select(obj/item/mod/module/module)</p><h3 id="define/COMSIG_MOD_RETRACTED"><aside class="declaration">#define </aside>COMSIG_MOD_RETRACTED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L7"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 7"></a></h3><p>Called when a MOD retracts one or more of its parts.</p><h3 id="define/COMSIG_MOD_TOGGLED"><aside class="declaration">#define </aside>COMSIG_MOD_TOGGLED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L9"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 9"></a></h3><p>Called when a MOD is finished toggling itself.</p><h3 id="define/COMSIG_MOD_WEARER_SET"><aside class="declaration">#define </aside>COMSIG_MOD_WEARER_SET <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L33"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 33"></a></h3><p>Called when the MODsuit wearer is set.</p><h3 id="define/COMSIG_MOD_WEARER_UNSET"><aside class="declaration">#define </aside>COMSIG_MOD_WEARER_UNSET <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L35"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 35"></a></h3><p>Called when the MODsuit wearer is unset.</p><h3 id="define/MOD_ABORT_USE"><aside class="declaration">#define </aside>MOD_ABORT_USE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L25"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 25"></a></h3><p>Cancels activation, with no message. Include feedback on your cancel.</p><h3 id="define/MOD_CANCEL_ACTIVATE"><aside class="declaration">#define </aside>MOD_CANCEL_ACTIVATE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L13"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 13"></a></h3><p>Cancels the suit's activation</p><h3 id="define/MOD_CANCEL_REMOVAL"><aside class="declaration">#define </aside>MOD_CANCEL_REMOVAL <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/dcs/signals/signals_mod.dm#L21"><img src="git.png" width="16" height="16" title="code/__DEFINES/dcs/signals/signals_mod.dm 21"></a></h3><p>Cancels the removal of modules</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html>