Files

1 line
24 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/item/mod/module - /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="obj/item/mod/module.html#var">Var Details</a> - <a href="obj/item/mod/module.html#proc">Proc Details</a></header><main><h1>module <aside>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/mod/module.html">mod/module</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/item/mod/module.html#var/active">active</a></th><td>Is the module active</td></tr><tr><th><a href="obj/item/mod/module.html#var/active_power_cost">active_power_cost</a></th><td>Power use when active</td></tr><tr><th><a href="obj/item/mod/module.html#var/allowed_in_phaseout">allowed_in_phaseout</a></th><td>If we're allowed to use this module while phased out.</td></tr><tr><th><a href="obj/item/mod/module.html#var/allowed_inactive">allowed_inactive</a></th><td>If we're allowed to use this module while the suit is disabled.</td></tr><tr><th><a href="obj/item/mod/module.html#var/complexity">complexity</a></th><td>How much space it takes up in the MOD</td></tr><tr><th><a href="obj/item/mod/module.html#var/cooldown_time">cooldown_time</a></th><td>Cooldown after use</td></tr><tr><th><a href="obj/item/mod/module.html#var/cooldown_timer">cooldown_timer</a></th><td>Timer for the cooldown</td></tr><tr><th><a href="obj/item/mod/module.html#var/device">device</a></th><td>If we're an active module, what item are we?</td></tr><tr><th><a href="obj/item/mod/module.html#var/idle_power_cost">idle_power_cost</a></th><td>Power use when idle</td></tr><tr><th><a href="obj/item/mod/module.html#var/incompatible_modules">incompatible_modules</a></th><td>What modules are we incompatible with?</td></tr><tr><th><a href="obj/item/mod/module.html#var/mod">mod</a></th><td>Linked MODsuit</td></tr><tr><th><a href="obj/item/mod/module.html#var/module_type">module_type</a></th><td>If it's passive, togglable, usable or active</td></tr><tr><th><a href="obj/item/mod/module.html#var/overlay_icon_file">overlay_icon_file</a></th><td>Icon file for the overlay.</td></tr><tr><th><a href="obj/item/mod/module.html#var/overlay_state_active">overlay_state_active</a></th><td>Overlay given to the user when the module is active</td></tr><tr><th><a href="obj/item/mod/module.html#var/overlay_state_inactive">overlay_state_inactive</a></th><td>Overlay given to the user when the module is inactive</td></tr><tr><th><a href="obj/item/mod/module.html#var/overlay_state_use">overlay_state_use</a></th><td>Overlay given to the user when the module is used, lasts until cooldown finishes</td></tr><tr><th><a href="obj/item/mod/module.html#var/removable">removable</a></th><td>If it can be removed</td></tr><tr><th><a href="obj/item/mod/module.html#var/tgui_id">tgui_id</a></th><td>ID used by their TGUI</td></tr><tr><th><a href="obj/item/mod/module.html#var/use_mod_colors">use_mod_colors</a></th><td>Does the overlay use the control unit's colors?</td></tr><tr><th><a href="obj/item/mod/module.html#var/use_power_cost">use_power_cost</a></th><td>Power use when used, we call it manually</td></tr><tr><th><a href="obj/item/mod/module.html#var/used_signal">used_signal</a></th><td>The mouse button needed to use this module</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/item/mod/module.html#proc/add_ui_configuration">add_ui_configuration</a></th><td>Generates an element of the get_configuration list with a display name, type and value</td></tr><tr><th><a href="obj/item/mod/module.html#proc/add_ui_data">add_ui_data</a></th><td>Adds additional things to the MODsuit ui_data()</td></tr><tr><th><a href="obj/item/mod/module.html#proc/configure_edit">configure_edit</a></th><td>Receives configure edits from the TGUI and edits the vars</td></tr><tr><th><a href="obj/item/mod/module.html#proc/drain_power">drain_power</a></th><td>Drains power from the suit cell</td></tr><tr><th><a href="obj/item/mod/module.html#proc/generate_worn_overlay">generate_worn_overlay</a></th><td>Generates an icon to be used for the suit's worn overlays</td></tr><tr><th><a href="obj/item/mod/module.html#proc/get_configuration">get_configuration</a></th><td>Creates a list of configuring options for this module</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_activation">on_activation</a></th><td>Called when the module is activated</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_active_process">on_active_process</a></th><td>Called on the MODsuit's process if it is an active module</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_deactivation">on_deactivation</a></th><td>Called when the module is deactivated</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_device_deletion">on_device_deletion</a></th><td>Called when the device gets deleted on active modules</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_equip">on_equip</a></th><td>Called when the MODsuit is equipped</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_exit">on_exit</a></th><td>Called when the device moves to a different place on active modules</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_install">on_install</a></th><td>Called from MODsuit's install() proc, so when the module is installed.</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_process">on_process</a></th><td>Called on the MODsuit's process</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_select">on_select</a></th><td>Called when the module is selected from the TGUI</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_select_use">on_select_use</a></th><td>Called when an activated module without a device is used</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_special_click">on_special_click</a></th><td>Called when an activated module without a device is active and the user alt/middle-clicks</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_suit_activation">on_suit_activation</a></th><td>Called when the MODsuit is activated</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_suit_deactivation">on_suit_deactivation</a></th><td>Called when the MODsuit is deactivated</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_unequip">on_unequip</a></th><td>Called when the MODsuit is unequipped</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_uninstall">on_uninstall</a></th><td>Called from MODsuit's uninstall() proc, so when the module is uninstalled.</td></tr><tr><th><a href="obj/item/mod/module.html#proc/on_use">on_use</a></th><td>Called when the module is used</td></tr><tr><th><a href="obj/item/mod/module.html#proc/update_signal">update_signal</a></th><td>Updates the signal used by active modules to be activated</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/active"><aside class="declaration">var </aside>active <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L10"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 10"></a></h3><p>Is the module active</p><h3 id="var/active_power_cost"><aside class="declaration">var </aside>active_power_cost <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L16"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 16"></a></h3><p>Power use when active</p><h3 id="var/allowed_in_phaseout"><aside class="declaration">var </aside>allowed_in_phaseout <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L42"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 42"></a></h3><p>If we're allowed to use this module while phased out.</p><h3 id="var/allowed_inactive"><aside class="declaration">var </aside>allowed_inactive <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L44"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 44"></a></h3><p>If we're allowed to use this module while the suit is disabled.</p><h3 id="var/complexity"><aside class="declaration">var </aside>complexity <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L12"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 12"></a></h3><p>How much space it takes up in the MOD</p><h3 id="var/cooldown_time"><aside class="declaration">var </aside>cooldown_time <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L38"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 38"></a></h3><p>Cooldown after use</p><h3 id="var/cooldown_timer"><aside class="declaration">var </aside>cooldown_timer <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L46"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 46"></a></h3><p>Timer for the cooldown</p><h3 id="var/device"><aside class="declaration">var </aside>device <aside> /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L24"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 24"></a></h3><p>If we're an active module, what item are we?</p><h3 id="var/idle_power_cost"><aside class="declaration">var </aside>idle_power_cost <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L14"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 14"></a></h3><p>Power use when idle</p><h3 id="var/incompatible_modules"><aside class="declaration">var </aside>incompatible_modules <aside> /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L36"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 36"></a></h3><p>What modules are we incompatible with?</p><h3 id="var/mod"><aside class="declaration">var </aside>mod <aside> /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/mod/control.html">mod/control</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L22"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 22"></a></h3><p>Linked MODsuit</p><h3 id="var/module_type"><aside class="declaration">var </aside>module_type <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L8"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 8"></a></h3><p>If it's passive, togglable, usable or active</p><h3 id="var/overlay_icon_file"><aside class="declaration">var </aside>overlay_icon_file <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L32"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 32"></a></h3><p>Icon file for the overlay.</p><h3 id="var/overlay_state_active"><aside class="declaration">var </aside>overlay_state_active <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L28"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 28"></a></h3><p>Overlay given to the user when the module is active</p><h3 id="var/overlay_state_inactive"><aside class="declaration">var </aside>overlay_state_inactive <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L26"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 26"></a></h3><p>Overlay given to the user when the module is inactive</p><h3 id="var/overlay_state_use"><aside class="declaration">var </aside>overlay_state_use <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L30"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 30"></a></h3><p>Overlay given to the user when the module is used, lasts until cooldown finishes</p><h3 id="var/removable"><aside class="declaration">var </aside>removable <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L6"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 6"></a></h3><p>If it can be removed</p><h3 id="var/tgui_id"><aside class="declaration">var </aside>tgui_id <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L20"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 20"></a></h3><p>ID used by their TGUI</p><h3 id="var/use_mod_colors"><aside class="declaration">var </aside>use_mod_colors <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L34"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 34"></a></h3><p>Does the overlay use the control unit's colors?</p><h3 id="var/use_power_cost"><aside class="declaration">var </aside>use_power_cost <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L18"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 18"></a></h3><p>Power use when used, we call it manually</p><h3 id="var/used_signal"><aside class="declaration">var </aside>used_signal <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L40"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 40"></a></h3><p>The mouse button needed to use this module</p><h2 id="proc">Proc Details</h2><h3 id="proc/add_ui_configuration"><aside class="declaration">proc </aside>add_ui_configuration<aside>(display_name, type, value, /list/values) <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L221"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 221"></a></aside></h3><p>Generates an element of the get_configuration list with a display name, type and value</p><h3 id="proc/add_ui_data"><aside class="declaration">proc </aside>add_ui_data<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L213"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 213"></a></aside></h3><p>Adds additional things to the MODsuit ui_data()</p><h3 id="proc/configure_edit"><aside class="declaration">proc </aside>configure_edit<aside>(key, value) <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L225"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 225"></a></aside></h3><p>Receives configure edits from the TGUI and edits the vars</p><h3 id="proc/drain_power"><aside class="declaration">proc </aside>drain_power<aside>(amount) <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L201"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 201"></a></aside></h3><p>Drains power from the suit cell</p><h3 id="proc/generate_worn_overlay"><aside class="declaration">proc </aside>generate_worn_overlay<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L250"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 250"></a></aside></h3><p>Generates an icon to be used for the suit's worn overlays</p><h3 id="proc/get_configuration"><aside class="declaration">proc </aside>get_configuration<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L217"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 217"></a></aside></h3><p>Creates a list of configuring options for this module</p><h3 id="proc/on_activation"><aside class="declaration">proc </aside>on_activation<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L110"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 110"></a></aside></h3><p>Called when the module is activated</p><h3 id="proc/on_active_process"><aside class="declaration">proc </aside>on_active_process<aside>(delta_time) <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L197"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 197"></a></aside></h3><p>Called on the MODsuit's process if it is an active module</p><h3 id="proc/on_deactivation"><aside class="declaration">proc </aside>on_deactivation<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L140"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 140"></a></aside></h3><p>Called when the module is deactivated</p><h3 id="proc/on_device_deletion"><aside class="declaration">proc </aside>on_device_deletion<aside>(/<a href="datum.html">datum</a>/source) <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L242"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 242"></a></aside></h3><p>Called when the device gets deleted on active modules</p><h3 id="proc/on_equip"><aside class="declaration">proc </aside>on_equip<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L87"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 87"></a></aside></h3><p>Called when the MODsuit is equipped</p><h3 id="proc/on_exit"><aside class="declaration">proc </aside>on_exit<aside>(/<a href="datum.html">datum</a>/source, /<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/part, direction) <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L229"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 229"></a></aside></h3><p>Called when the device moves to a different place on active modules</p><h3 id="proc/on_install"><aside class="declaration">proc </aside>on_install<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L71"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 71"></a></aside></h3><p>Called from MODsuit's install() proc, so when the module is installed.</p><h3 id="proc/on_process"><aside class="declaration">proc </aside>on_process<aside>(delta_time) <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L186"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 186"></a></aside></h3><p>Called on the MODsuit's process</p><h3 id="proc/on_select"><aside class="declaration">proc </aside>on_select<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L95"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 95"></a></aside></h3><p>Called when the module is selected from the TGUI</p><h3 id="proc/on_select_use"><aside class="declaration">proc </aside>on_select_use<aside>(/<a href="atom.html">atom</a>/target) <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L171"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 171"></a></aside></h3><p>Called when an activated module without a device is used</p><h3 id="proc/on_special_click"><aside class="declaration">proc </aside>on_special_click<aside>(/<a href="mob.html">mob</a>/source, /<a href="atom.html">atom</a>/target) <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L180"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 180"></a></aside></h3><p>Called when an activated module without a device is active and the user alt/middle-clicks</p><h3 id="proc/on_suit_activation"><aside class="declaration">proc </aside>on_suit_activation<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L79"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 79"></a></aside></h3><p>Called when the MODsuit is activated</p><h3 id="proc/on_suit_deactivation"><aside class="declaration">proc </aside>on_suit_deactivation<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L83"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 83"></a></aside></h3><p>Called when the MODsuit is deactivated</p><h3 id="proc/on_unequip"><aside class="declaration">proc </aside>on_unequip<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L91"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 91"></a></aside></h3><p>Called when the MODsuit is unequipped</p><h3 id="proc/on_uninstall"><aside class="declaration">proc </aside>on_uninstall<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L75"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 75"></a></aside></h3><p>Called from MODsuit's uninstall() proc, so when the module is uninstalled.</p><h3 id="proc/on_use"><aside class="declaration">proc </aside>on_use<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L156"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 156"></a></aside></h3><p>Called when the module is used</p><h3 id="proc/update_signal"><aside class="declaration">proc </aside>update_signal<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed/code/modules/mod/modules/_module.dm#L269"><img src="git.png" width="16" height="16" title="code/modules/mod/modules/_module.dm 269"></a></aside></h3><p>Updates the signal used by active modules to be activated</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/26e2b96b19428762e9aa55b5eca88d72c6c6b7ed">26e2b96</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html>