Files
GS13NG/obj/machinery.html
2025-02-05 06:19:18 +00:00

3 lines
3.0 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/machinery - /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.html#var">Var Details</a> - <a href="obj/machinery.html#proc">Proc Details</a></header><main><h1>machinery <aside>/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/machinery/_machinery.dm#L86"><img src="git.png" width="16" height="16" title="code/game/machinery/_machinery.dm 86"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/machinery.html#var/atmos_processing">atmos_processing</a></th><td>Boolean on whether this machines interact with atmos</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/machinery.html#proc/AI_notify_hack">AI_notify_hack</a></th><td>Alerts the AI that a hack is in progress.</td></tr><tr><th><a href="obj/machinery.html#proc/set_machine_stat">set_machine_stat</a></th><td>Called when we want to change the value of the stat variable. Holds bitflags.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/atmos_processing"><aside class="declaration">var </aside>atmos_processing <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/machinery/_machinery.dm#L143"><img src="git.png" width="16" height="16" title="code/game/machinery/_machinery.dm 143"></a></h3><p>Boolean on whether this machines interact with atmos</p><h2 id="proc">Proc Details</h2><h3 id="proc/AI_notify_hack"><aside class="declaration">proc </aside>AI_notify_hack<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/machinery/_machinery.dm#L670"><img src="git.png" width="16" height="16" title="code/game/machinery/_machinery.dm 670"></a></aside></h3><p>Alerts the AI that a hack is in progress.</p>
<p>Sends all AIs a message that a hack is occurring. Specifically used for space ninja tampering as this proc was originally in the ninja files.
However, the proc may also be used elsewhere.</p><h3 id="proc/set_machine_stat"><aside class="declaration">proc </aside>set_machine_stat<aside>(new_value) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/machinery/_machinery.dm#L193"><img src="git.png" width="16" height="16" title="code/game/machinery/_machinery.dm 193"></a></aside></h3><p>Called when we want to change the value of the stat variable. Holds bitflags.</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>