Files

1 line
5.3 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>/datum/controller/subsystem/machines - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="datum/controller/subsystem/machines.html#var">Var Details</a> - <a href="datum/controller/subsystem/machines.html#proc">Proc Details</a></header><main><h1>machines <aside>/<a href="datum.html">datum</a>/<a href="datum/controller.html">controller</a>/<a href="datum/controller/subsystem.html">subsystem</a>/<a href="datum/controller/subsystem/machines.html">machines</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSmachinery.dm#L5"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSmachinery.dm 5"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/controller/subsystem/machines.html#var/all_machines">all_machines</a></th><td>All machines, not just those that are processing.</td></tr><tr><th><a href="datum/controller/subsystem/machines.html#var/machines_by_type">machines_by_type</a></th><td>Associative list of all machines that exist.</td></tr><tr><th><a href="datum/controller/subsystem/machines.html#var/powernets">powernets</a></th><td>All regional powernets (/datum/regional_powernet) in the world</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/controller/subsystem/machines.html#proc/get_by_type">get_by_type</a></th><td>Gets a list of all machines that are either the passed type or a subtype.</td></tr><tr><th><a href="datum/controller/subsystem/machines.html#proc/register_machine">register_machine</a></th><td>Registers a machine with the machine subsystem; should only be called by the machine itself during its creation.</td></tr><tr><th><a href="datum/controller/subsystem/machines.html#proc/unregister_machine">unregister_machine</a></th><td>Removes a machine from the machine subsystem; should only be called by the machine itself inside Destroy.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/all_machines"><aside class="declaration">var </aside>all_machines <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSmachinery.dm#L16"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSmachinery.dm 16"></a></h3><p>All machines, not just those that are processing.</p><h3 id="var/machines_by_type"><aside class="declaration">var </aside>machines_by_type <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSmachinery.dm#L13"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSmachinery.dm 13"></a></h3><p>Associative list of all machines that exist.</p><h3 id="var/powernets"><aside class="declaration">var </aside>powernets <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSmachinery.dm#L21"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSmachinery.dm 21"></a></h3><p>All regional powernets (/datum/regional_powernet) in the world</p><h2 id="proc">Proc Details</h2><h3 id="proc/get_by_type"><aside class="declaration">proc </aside>get_by_type<aside>(/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/machine_type, subtypes) <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSmachinery.dm#L44"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSmachinery.dm 44"></a></aside></h3><p>Gets a list of all machines that are either the passed type or a subtype.</p><h3 id="proc/register_machine"><aside class="declaration">proc </aside>register_machine<aside>(/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/machine) <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSmachinery.dm#L31"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSmachinery.dm 31"></a></aside></h3><p>Registers a machine with the machine subsystem; should only be called by the machine itself during its creation.</p><h3 id="proc/unregister_machine"><aside class="declaration">proc </aside>unregister_machine<aside>(/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/machine) <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSmachinery.dm#L36"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSmachinery.dm 36"></a></aside></h3><p>Removes a machine from the machine subsystem; should only be called by the machine itself inside Destroy.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/776b9861f70566b1e6a0763a465ef22f7920a3d6">776b986</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>