12 lines
23 KiB
HTML
12 lines
23 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/item/mod/control - /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/control.html#var">Var Details</a> - <a href="obj/item/mod/control.html#proc">Proc Details</a></header><main><h1>control <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/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L11"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 11"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/item/mod/control.html#var/activating">activating</a></th><td>If the suit is currently activating/deactivating.</td></tr><tr><th><a href="obj/item/mod/control.html#var/activation_step_time">activation_step_time</a></th><td>How long this MOD takes each part to seal.</td></tr><tr><th><a href="obj/item/mod/control.html#var/active">active</a></th><td>If the suit is deployed and turned on.</td></tr><tr><th><a href="obj/item/mod/control.html#var/ai">ai</a></th><td>AI/pAI mob inhabiting the MOD.</td></tr><tr><th><a href="obj/item/mod/control.html#var/boots">boots</a></th><td>MOD boots.</td></tr><tr><th><a href="obj/item/mod/control.html#var/cell">cell</a></th><td>MOD cell.</td></tr><tr><th><a href="obj/item/mod/control.html#var/cell_drain">cell_drain</a></th><td>Power usage of the MOD.</td></tr><tr><th><a href="obj/item/mod/control.html#var/chestplate">chestplate</a></th><td>MOD chestplate.</td></tr><tr><th><a href="obj/item/mod/control.html#var/complexity">complexity</a></th><td>How much module complexity this MOD is carrying.</td></tr><tr><th><a href="obj/item/mod/control.html#var/complexity_max">complexity_max</a></th><td>How much module complexity can this MOD carry.</td></tr><tr><th><a href="obj/item/mod/control.html#var/cooldown_mod_move">cooldown_mod_move</a></th><td>Cooldown for AI moves.</td></tr><tr><th><a href="obj/item/mod/control.html#var/extended_desc">extended_desc</a></th><td>Extended description of the theme.</td></tr><tr><th><a href="obj/item/mod/control.html#var/gauntlets">gauntlets</a></th><td>MOD gauntlets.</td></tr><tr><th><a href="obj/item/mod/control.html#var/helmet">helmet</a></th><td>MOD helmet.</td></tr><tr><th><a href="obj/item/mod/control.html#var/initial_modules">initial_modules</a></th><td>Modules the MOD should spawn with.</td></tr><tr><th><a href="obj/item/mod/control.html#var/interface_break">interface_break</a></th><td>If the suit interface is broken.</td></tr><tr><th><a href="obj/item/mod/control.html#var/malfunctioning">malfunctioning</a></th><td>If the suit is malfunctioning.</td></tr><tr><th><a href="obj/item/mod/control.html#var/mod_parts">mod_parts</a></th><td>List of parts (helmet, chestplate, gauntlets, boots).</td></tr><tr><th><a href="obj/item/mod/control.html#var/modules">modules</a></th><td>Modules the MOD currently possesses.</td></tr><tr><th><a href="obj/item/mod/control.html#var/movedelay">movedelay</a></th><td>Delay between moves as AI.</td></tr><tr><th><a href="obj/item/mod/control.html#var/open">open</a></th><td>If the suit wire/module hatch is open.</td></tr><tr><th><a href="obj/item/mod/control.html#var/seconds_electrified">seconds_electrified</a></th><td>How long the MOD is electrified for.</td></tr><tr><th><a href="obj/item/mod/control.html#var/selected_module">selected_module</a></th><td>Currently used module.</td></tr><tr><th><a href="obj/item/mod/control.html#var/skin">skin</a></th><td>Looks of the MOD.</td></tr><tr><th><a href="obj/item/mod/control.html#var/slowdown_active">slowdown_active</a></th><td>Slowdown of the MOD when active.</td></tr><tr><th><a href="obj/item/mod/control.html#var/slowdown_inactive">slowdown_inactive</a></th><td>Slowdown of the MOD when not active.</td></tr><tr><th><a href="obj/item/mod/control.html#var/theme">theme</a></th><td>The MOD's theme, decides on some stuff like armor and statistics.</td></tr><tr><th><a href="obj/item/mod/control.html#var/ui_theme">ui_theme</a></th><td>Theme of the MOD TGUI</td></tr><tr><th><a href="obj/item/mod/control.html#var/wearer">wearer</a></th><td>Person wearing the MODsuit.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/item/mod/control.html#proc/choose_deploy">choose_deploy</a></th><td>Creates a radial menu from which the user chooses parts of the suit to deploy/retract. Repeats until all parts are extended or retracted.</td></tr><tr><th><a href="obj/item/mod/control.html#proc/conceal">conceal</a></th><td>Retract a part of the suit from the user</td></tr><tr><th><a href="obj/item/mod/control.html#proc/deploy">deploy</a></th><td>Deploys a part of the suit onto the user.</td></tr><tr><th><a href="obj/item/mod/control.html#proc/extract_pai">extract_pai</a></th><td>Simple proc to extract the pAI from the MODsuit. It's the proc to call if you want to take it out,
|
||
remove_pai() is there so atom_destruction() doesn't have any risk of sleeping.</td></tr><tr><th><a href="obj/item/mod/control.html#proc/finish_activation">finish_activation</a></th><td>Finishes the suit's activation, starts processing</td></tr><tr><th><a href="obj/item/mod/control.html#proc/insert_pai">insert_pai</a></th><td>Simple proc to insert the pAI into the MODsuit.</td></tr><tr><th><a href="obj/item/mod/control.html#proc/quick_activation">quick_activation</a></th><td>Quickly deploys all the suit parts and if successful, seals them and turns on the suit. Intended mostly for outfits.</td></tr><tr><th><a href="obj/item/mod/control.html#proc/remove_pai">remove_pai</a></th><td>Simple proc that handles the safe removal of the pAI from a MOD control unit.</td></tr><tr><th><a href="obj/item/mod/control.html#proc/seal_part">seal_part</a></th><td>Seals or unseals the given part</td></tr><tr><th><a href="obj/item/mod/control.html#proc/toggle_activate">toggle_activate</a></th><td>Starts the activation sequence, where parts of the suit activate one by one until the whole suit is on</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/activating"><aside class="declaration">var </aside>activating <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L49"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 49"></a></h3><p>If the suit is currently activating/deactivating.</p><h3 id="var/activation_step_time"><aside class="declaration">var </aside>activation_step_time <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L67"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 67"></a></h3><p>How long this MOD takes each part to seal.</p><h3 id="var/active"><aside class="declaration">var </aside>active <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L43"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 43"></a></h3><p>If the suit is deployed and turned on.</p><h3 id="var/ai"><aside class="declaration">var </aside>ai <aside>– /<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/<a href="mob/living/silicon.html">silicon</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L87"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 87"></a></h3><p>AI/pAI mob inhabiting the MOD.</p><h3 id="var/boots"><aside class="declaration">var </aside>boots <aside>– /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/clothing.html">clothing</a>/<a href="obj/item/clothing/shoes.html">shoes</a>/<a href="obj/item/clothing/shoes/mod.html">mod</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L77"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 77"></a></h3><p>MOD boots.</p><h3 id="var/cell"><aside class="declaration">var </aside>cell <aside>– /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/stock_parts/cell.html">stock_parts/cell</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L69"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 69"></a></h3><p>MOD cell.</p><h3 id="var/cell_drain"><aside class="declaration">var </aside>cell_drain <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L59"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 59"></a></h3><p>Power usage of the MOD.</p><h3 id="var/chestplate"><aside class="declaration">var </aside>chestplate <aside>– /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/clothing.html">clothing</a>/suit/mod</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L73"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 73"></a></h3><p>MOD chestplate.</p><h3 id="var/complexity"><aside class="declaration">var </aside>complexity <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L57"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 57"></a></h3><p>How much module complexity this MOD is carrying.</p><h3 id="var/complexity_max"><aside class="declaration">var </aside>complexity_max <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L55"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 55"></a></h3><p>How much module complexity can this MOD carry.</p><h3 id="var/cooldown_mod_move"><aside class="declaration">var </aside>cooldown_mod_move <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L91"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 91"></a></h3><p>Cooldown for AI moves.</p><h3 id="var/extended_desc"><aside class="declaration">var </aside>extended_desc <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L65"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 65"></a></h3><p>Extended description of the theme.</p><h3 id="var/gauntlets"><aside class="declaration">var </aside>gauntlets <aside>– /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/clothing.html">clothing</a>/<a href="obj/item/clothing/gloves/mod.html">gloves/mod</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L75"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 75"></a></h3><p>MOD gauntlets.</p><h3 id="var/helmet"><aside class="declaration">var </aside>helmet <aside>– /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/clothing.html">clothing</a>/<a href="obj/item/clothing/head.html">head</a>/mod</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L71"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 71"></a></h3><p>MOD helmet.</p><h3 id="var/initial_modules"><aside class="declaration">var </aside>initial_modules <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L81"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 81"></a></h3><p>Modules the MOD should spawn with.</p><h3 id="var/interface_break"><aside class="declaration">var </aside>interface_break <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L53"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 53"></a></h3><p>If the suit interface is broken.</p><h3 id="var/malfunctioning"><aside class="declaration">var </aside>malfunctioning <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L47"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 47"></a></h3><p>If the suit is malfunctioning.</p><h3 id="var/mod_parts"><aside class="declaration">var </aside>mod_parts <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L79"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 79"></a></h3><p>List of parts (helmet, chestplate, gauntlets, boots).</p><h3 id="var/modules"><aside class="declaration">var </aside>modules <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L83"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 83"></a></h3><p>Modules the MOD currently possesses.</p><h3 id="var/movedelay"><aside class="declaration">var </aside>movedelay <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L89"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 89"></a></h3><p>Delay between moves as AI.</p><h3 id="var/open"><aside class="declaration">var </aside>open <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L45"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 45"></a></h3><p>If the suit wire/module hatch is open.</p><h3 id="var/seconds_electrified"><aside class="declaration">var </aside>seconds_electrified <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L51"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 51"></a></h3><p>How long the MOD is electrified for.</p><h3 id="var/selected_module"><aside class="declaration">var </aside>selected_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/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L85"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 85"></a></h3><p>Currently used module.</p><h3 id="var/skin"><aside class="declaration">var </aside>skin <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L39"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 39"></a></h3><p>Looks of the MOD.</p><h3 id="var/slowdown_active"><aside class="declaration">var </aside>slowdown_active <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L63"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 63"></a></h3><p>Slowdown of the MOD when active.</p><h3 id="var/slowdown_inactive"><aside class="declaration">var </aside>slowdown_inactive <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L61"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 61"></a></h3><p>Slowdown of the MOD when not active.</p><h3 id="var/theme"><aside class="declaration">var </aside>theme <aside>– /<a href="datum.html">datum</a>/<a href="datum/mod_theme.html">mod_theme</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L37"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 37"></a></h3><p>The MOD's theme, decides on some stuff like armor and statistics.</p><h3 id="var/ui_theme"><aside class="declaration">var </aside>ui_theme <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L41"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 41"></a></h3><p>Theme of the MOD TGUI</p><h3 id="var/wearer"><aside class="declaration">var </aside>wearer <aside>– /<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/<a href="mob/living/carbon.html">carbon</a>/<a href="mob/living/carbon/human.html">human</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_control.dm#L95"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_control.dm 95"></a></h3><p>Person wearing the MODsuit.</p><h2 id="proc">Proc Details</h2><h3 id="proc/choose_deploy"><aside class="declaration">proc </aside>choose_deploy<aside>(/<a href="mob.html">mob</a>/user) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_activation.dm#L4"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_activation.dm 4"></a></aside></h3><p>Creates a radial menu from which the user chooses parts of the suit to deploy/retract. Repeats until all parts are extended or retracted.</p><h3 id="proc/conceal"><aside class="declaration">proc </aside>conceal<aside>(/<a href="mob.html">mob</a>/user, part) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_activation.dm#L71"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_activation.dm 71"></a></aside></h3><p>Retract a part of the suit from the user</p><h3 id="proc/deploy"><aside class="declaration">proc </aside>deploy<aside>(/<a href="mob.html">mob</a>/user, part) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_activation.dm#L41"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_activation.dm 41"></a></aside></h3><p>Deploys a part of the suit onto the user.</p><h3 id="proc/extract_pai"><aside class="declaration">proc </aside>extract_pai<aside>(/<a href="mob.html">mob</a>/user, forced, feedback) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_ai.dm#L111"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_ai.dm 111"></a></aside></h3><p>Simple proc to extract the pAI from the MODsuit. It's the proc to call if you want to take it out,
|
||
remove_pai() is there so atom_destruction() doesn't have any risk of sleeping.</p>
|
||
<p>user - The person trying to take out the pAI from the MODsuit.
|
||
forced - Whether or not we skip the checks and just eject the pAI. Defaults to FALSE.
|
||
feedback - Whether to give feedback via balloon alerts or not. Defaults to TRUE.</p><h3 id="proc/finish_activation"><aside class="declaration">proc </aside>finish_activation<aside>(on) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_activation.dm#L219"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_activation.dm 219"></a></aside></h3><p>Finishes the suit's activation, starts processing</p><h3 id="proc/insert_pai"><aside class="declaration">proc </aside>insert_pai<aside>(/<a href="mob.html">mob</a>/user, /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/paicard/card) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_ai.dm#L80"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_ai.dm 80"></a></aside></h3><p>Simple proc to insert the pAI into the MODsuit.</p>
|
||
<p>user - The person trying to put the pAI into the MODsuit.
|
||
card - The pAI card we're slotting in the MODsuit.</p><h3 id="proc/quick_activation"><aside class="declaration">proc </aside>quick_activation<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_activation.dm#L238"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_activation.dm 238"></a></aside></h3><p>Quickly deploys all the suit parts and if successful, seals them and turns on the suit. Intended mostly for outfits.</p><h3 id="proc/remove_pai"><aside class="declaration">proc </aside>remove_pai<aside>(feedback) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_ai.dm#L141"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_ai.dm 141"></a></aside></h3><p>Simple proc that handles the safe removal of the pAI from a MOD control unit.</p>
|
||
<p>Arguments:</p>
|
||
<ul>
|
||
<li>feedback - Whether or not we want to give balloon alert feedback to the ai. Defaults to FALSE.</li>
|
||
</ul><h3 id="proc/seal_part"><aside class="declaration">proc </aside>seal_part<aside>(/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/clothing.html">clothing</a>/part, seal) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_activation.dm#L187"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_activation.dm 187"></a></aside></h3><p>Seals or unseals the given part</p><h3 id="proc/toggle_activate"><aside class="declaration">proc </aside>toggle_activate<aside>(/<a href="mob.html">mob</a>/user, force_deactivate) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_activation.dm#L88"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_activation.dm 88"></a></aside></h3><p>Starts the activation sequence, where parts of the suit activate one by one until the whole suit is on</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> |