Files
2025-02-05 06:19:18 +00:00

1 line
4.7 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/effect/mapping_helpers/network_builder/atmos_pipe - /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/effect/mapping_helpers/network_builder/atmos_pipe.html#var">Var Details</a> - <a href="obj/effect/mapping_helpers/network_builder/atmos_pipe.html#proc">Proc Details</a></header><main><h1>atmos_pipe <aside>/<a href="obj.html">obj</a>/<a href="obj/effect/mapping_helpers/network_builder.html">effect/mapping_helpers/network_builder</a>/<a href="obj/effect/mapping_helpers/network_builder/atmos_pipe.html">atmos_pipe</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mapping/mapping_helpers/network_builder/atmos_pipe.dm#L4"><img src="git.png" width="16" height="16" title="code/modules/mapping/mapping_helpers/network_builder/atmos_pipe.dm 4"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/effect/mapping_helpers/network_builder/atmos_pipe.html#var/pipe_color">pipe_color</a></th><td>Color to set our pipes to</td></tr><tr><th><a href="obj/effect/mapping_helpers/network_builder/atmos_pipe.html#var/pipe_layer">pipe_layer</a></th><td>Layer to put our pipes on</td></tr><tr><th><a href="obj/effect/mapping_helpers/network_builder/atmos_pipe.html#var/visible_pipes">visible_pipes</a></th><td>Whether or not pipes we make are visible</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/effect/mapping_helpers/network_builder/atmos_pipe.html#proc/build_network">build_network</a></th><td>Directions should only ever have cardinals.</td></tr><tr><th><a href="obj/effect/mapping_helpers/network_builder/atmos_pipe.html#proc/scan_directions">scan_directions</a></th><td>Scans directions, sets network_directions to have every direction that we can link to. If there's another power cable builder detected, make sure they know we're here by adding us to their cable directions list before we're deleted.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/pipe_color"><aside class="declaration">var </aside>pipe_color <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mapping/mapping_helpers/network_builder/atmos_pipe.dm#L12"><img src="git.png" width="16" height="16" title="code/modules/mapping/mapping_helpers/network_builder/atmos_pipe.dm 12"></a></h3><p>Color to set our pipes to</p><h3 id="var/pipe_layer"><aside class="declaration">var </aside>pipe_layer <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mapping/mapping_helpers/network_builder/atmos_pipe.dm#L9"><img src="git.png" width="16" height="16" title="code/modules/mapping/mapping_helpers/network_builder/atmos_pipe.dm 9"></a></h3><p>Layer to put our pipes on</p><h3 id="var/visible_pipes"><aside class="declaration">var </aside>visible_pipes <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mapping/mapping_helpers/network_builder/atmos_pipe.dm#L15"><img src="git.png" width="16" height="16" title="code/modules/mapping/mapping_helpers/network_builder/atmos_pipe.dm 15"></a></h3><p>Whether or not pipes we make are visible</p><h2 id="proc">Proc Details</h2><h3 id="proc/build_network">build_network<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mapping/mapping_helpers/network_builder/atmos_pipe.dm#L57"><img src="git.png" width="16" height="16" title="code/modules/mapping/mapping_helpers/network_builder/atmos_pipe.dm 57"></a></aside></h3><p>Directions should only ever have cardinals.</p><h3 id="proc/scan_directions">scan_directions<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mapping/mapping_helpers/network_builder/atmos_pipe.dm#L33"><img src="git.png" width="16" height="16" title="code/modules/mapping/mapping_helpers/network_builder/atmos_pipe.dm 33"></a></aside></h3><p>Scans directions, sets network_directions to have every direction that we can link to. If there's another power cable builder detected, make sure they know we're here by adding us to their cable directions list before we're deleted.</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>