1 line
6.0 KiB
HTML
1 line
6.0 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/machinery/computer/vaultcontroller - /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/machinery/computer/vaultcontroller.html#proc">Proc Details</a></header><main><h1>vaultcontroller <aside>/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/<a href="obj/machinery/computer/vaultcontroller.html">computer/vaultcontroller</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/ruins/spaceruin_code/TheDerelict.dm#L21"><img src="git.png" width="16" height="16" title="code/modules/ruins/spaceruin_code/TheDerelict.dm 21"></a></h1><p>Vault controller for use on the derelict/KS13.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/machinery/computer/vaultcontroller.html#proc/activate_lock">activate_lock</a></th><td>Attempts to lock/unlock vault doors, if machine is charged.</td></tr><tr><th><a href="obj/machinery/computer/vaultcontroller.html#proc/attempt_siphon">attempt_siphon</a></th><td>Tries to charge from powernet excess, no upper limit except max charge.</td></tr><tr><th><a href="obj/machinery/computer/vaultcontroller.html#proc/cycle_close">cycle_close</a></th><td>Handles the doors closing</td></tr><tr><th><a href="obj/machinery/computer/vaultcontroller.html#proc/cycle_open">cycle_open</a></th><td>Handles the doors opening</td></tr><tr><th><a href="obj/machinery/computer/vaultcontroller.html#proc/find_airlocks">find_airlocks</a></th><td>Initializes airlock links.</td></tr><tr><th><a href="obj/machinery/computer/vaultcontroller.html#proc/lock_vault">lock_vault</a></th><td>Attempts to lock the vault doors</td></tr><tr><th><a href="obj/machinery/computer/vaultcontroller.html#proc/unlock_vault">unlock_vault</a></th><td>Attempts to unlock the vault doors</td></tr><tr><th><a href="obj/machinery/computer/vaultcontroller.html#proc/update_cable">update_cable</a></th><td>Looks for a cable connection beneath the machine.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/activate_lock"><aside class="declaration">proc </aside>activate_lock<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/ruins/spaceruin_code/TheDerelict.dm#L104"><img src="git.png" width="16" height="16" title="code/modules/ruins/spaceruin_code/TheDerelict.dm 104"></a></aside></h3><p>Attempts to lock/unlock vault doors, if machine is charged.</p><h3 id="proc/attempt_siphon"><aside class="declaration">proc </aside>attempt_siphon<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/ruins/spaceruin_code/TheDerelict.dm#L66"><img src="git.png" width="16" height="16" title="code/modules/ruins/spaceruin_code/TheDerelict.dm 66"></a></aside></h3><p>Tries to charge from powernet excess, no upper limit except max charge.</p><h3 id="proc/cycle_close"><aside class="declaration">proc </aside>cycle_close<aside>(/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/<a href="obj/machinery/door.html">door</a>/<a href="obj/machinery/door/airlock.html">airlock</a>/A) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/ruins/spaceruin_code/TheDerelict.dm#L73"><img src="git.png" width="16" height="16" title="code/modules/ruins/spaceruin_code/TheDerelict.dm 73"></a></aside></h3><p>Handles the doors closing</p><h3 id="proc/cycle_open"><aside class="declaration">proc </aside>cycle_open<aside>(/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/<a href="obj/machinery/door.html">door</a>/<a href="obj/machinery/door/airlock.html">airlock</a>/A) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/ruins/spaceruin_code/TheDerelict.dm#L80"><img src="git.png" width="16" height="16" title="code/modules/ruins/spaceruin_code/TheDerelict.dm 80"></a></aside></h3><p>Handles the doors opening</p><h3 id="proc/find_airlocks"><aside class="declaration">proc </aside>find_airlocks<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/ruins/spaceruin_code/TheDerelict.dm#L55"><img src="git.png" width="16" height="16" title="code/modules/ruins/spaceruin_code/TheDerelict.dm 55"></a></aside></h3><p>Initializes airlock links.</p><h3 id="proc/lock_vault"><aside class="declaration">proc </aside>lock_vault<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/ruins/spaceruin_code/TheDerelict.dm#L86"><img src="git.png" width="16" height="16" title="code/modules/ruins/spaceruin_code/TheDerelict.dm 86"></a></aside></h3><p>Attempts to lock the vault doors</p><h3 id="proc/unlock_vault"><aside class="declaration">proc </aside>unlock_vault<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/ruins/spaceruin_code/TheDerelict.dm#L95"><img src="git.png" width="16" height="16" title="code/modules/ruins/spaceruin_code/TheDerelict.dm 95"></a></aside></h3><p>Attempts to unlock the vault doors</p><h3 id="proc/update_cable"><aside class="declaration">proc </aside>update_cable<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/ruins/spaceruin_code/TheDerelict.dm#L50"><img src="git.png" width="16" height="16" title="code/modules/ruins/spaceruin_code/TheDerelict.dm 50"></a></aside></h3><p>Looks for a cable connection beneath the machine.</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> |