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

7 lines
6.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/research/explosive_compressor - /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/research/explosive_compressor.html#var">Var Details</a> - <a href="obj/machinery/research/explosive_compressor.html#proc">Proc Details</a></header><main><h1>Explosive compressor machines <aside>/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/<a href="obj/machinery/research/explosive_compressor.html">research/explosive_compressor</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/research/anomaly/explosive_compressor.dm#L10"><img src="git.png" width="16" height="16" title="code/modules/research/anomaly/explosive_compressor.dm 10"></a></h1><p>The explosive compressor machine used in anomaly core production.</p>
<p>Uses the standard toxins/tank explosion scaling to compress raw anomaly cores into completed ones. The required explosion radius increases as more cores of that type are created.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/machinery/research/explosive_compressor.html#var/inserted_bomb">inserted_bomb</a></th><td>The TTV inserted in the machine.</td></tr><tr><th><a href="obj/machinery/research/explosive_compressor.html#var/inserted_core">inserted_core</a></th><td>The raw core inserted in the machine.</td></tr><tr><th><a href="obj/machinery/research/explosive_compressor.html#var/last_requirements_say">last_requirements_say</a></th><td>The last time we did say_requirements(), because someone will inevitably click spam this.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/machinery/research/explosive_compressor.html#proc/do_implosion">do_implosion</a></th><td>The &quot;&quot;explosion&quot;&quot; proc.</td></tr><tr><th><a href="obj/machinery/research/explosive_compressor.html#proc/get_required_radius">get_required_radius</a></th><td>Determines how much explosive power (last value, so light impact theoretical radius) is required to make a certain anomaly type.</td></tr><tr><th><a href="obj/machinery/research/explosive_compressor.html#proc/say_requirements">say_requirements</a></th><td>Says (no, literally) the data of required explosive power for a certain anomaly type.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/inserted_bomb"><aside class="declaration">var </aside>inserted_bomb <aside> /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/transfer_valve.html">transfer_valve</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/research/anomaly/explosive_compressor.dm#L21"><img src="git.png" width="16" height="16" title="code/modules/research/anomaly/explosive_compressor.dm 21"></a></h3><p>The TTV inserted in the machine.</p><h3 id="var/inserted_core"><aside class="declaration">var </aside>inserted_core <aside> /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/raw_anomaly_core.html">raw_anomaly_core</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/research/anomaly/explosive_compressor.dm#L19"><img src="git.png" width="16" height="16" title="code/modules/research/anomaly/explosive_compressor.dm 19"></a></h3><p>The raw core inserted in the machine.</p><h3 id="var/last_requirements_say"><aside class="declaration">var </aside>last_requirements_say <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/research/anomaly/explosive_compressor.dm#L23"><img src="git.png" width="16" height="16" title="code/modules/research/anomaly/explosive_compressor.dm 23"></a></h3><p>The last time we did say_requirements(), because someone will inevitably click spam this.</p><h2 id="proc">Proc Details</h2><h3 id="proc/do_implosion"><aside class="declaration">proc </aside>do_implosion<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/research/anomaly/explosive_compressor.dm#L121"><img src="git.png" width="16" height="16" title="code/modules/research/anomaly/explosive_compressor.dm 121"></a></aside></h3><p>The &quot;&quot;explosion&quot;&quot; proc.</p><h3 id="proc/get_required_radius"><aside class="declaration">proc </aside>get_required_radius<aside>(anomaly_type) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/research/anomaly/explosive_compressor.dm#L72"><img src="git.png" width="16" height="16" title="code/modules/research/anomaly/explosive_compressor.dm 72"></a></aside></h3><p>Determines how much explosive power (last value, so light impact theoretical radius) is required to make a certain anomaly type.</p>
<p>Returns null if the max amount has already been reached.</p>
<p>Arguments:</p>
<ul>
<li>anomaly_type - anomaly type define</li>
</ul><h3 id="proc/say_requirements"><aside class="declaration">proc </aside>say_requirements<aside>(/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/raw_anomaly_core.html">raw_anomaly_core</a>/C) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/research/anomaly/explosive_compressor.dm#L57"><img src="git.png" width="16" height="16" title="code/modules/research/anomaly/explosive_compressor.dm 57"></a></aside></h3><p>Says (no, literally) the data of required explosive power for a certain anomaly type.</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>