mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 14:07:51 +01:00
2 lines
6.7 KiB
HTML
2 lines
6.7 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/item/assembly - 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="obj/item/assembly.html#proc">Proc Details</a></header><main><h1>assembly <aside>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/assembly.html">assembly</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/assembly/assembly.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/assembly/assembly.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/item/assembly.html#proc/activate">activate</a></th><td>What the device does when turned on</td></tr><tr><th><a href="obj/item/assembly.html#proc/attach_assembly">attach_assembly</a></th><td>Called when an assembly is attacked by another</td></tr><tr><th><a href="obj/item/assembly.html#proc/holder_movement">holder_movement</a></th><td>Called when the holder is moved</td></tr><tr><th><a href="obj/item/assembly.html#proc/interact">interact</a></th><td>Called when activate_self is called</td></tr><tr><th><a href="obj/item/assembly.html#proc/on_attach">on_attach</a></th><td>on_attach: Called when attached to a holder, wiring datum, or other special assembly</td></tr><tr><th><a href="obj/item/assembly.html#proc/on_detach">on_detach</a></th><td>on_detach: Called when removed from an assembly holder or wiring datum</td></tr><tr><th><a href="obj/item/assembly.html#proc/process_cooldown">process_cooldown</a></th><td>Called to constantly step down the countdown/cooldown</td></tr><tr><th><a href="obj/item/assembly.html#proc/pulse">pulse</a></th><td>Called when this device attempts to act on another device, var/radio determines if it was sent via radio or direct</td></tr><tr><th><a href="obj/item/assembly.html#proc/pulsed">pulsed</a></th><td>Called when another assembly acts on this one, var/radio will determine where it came from for wire calcs</td></tr><tr><th><a href="obj/item/assembly.html#proc/toggle_secure">toggle_secure</a></th><td>Happens when the assembly is (un)secured</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/activate"><aside class="declaration">proc </aside>activate<aside>(radio) <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/assembly/assembly.dm#L88"><img src="git.png" width="16" height="16" title="code/modules/assembly/assembly.dm 88"></a></aside></h3><p>What the device does when turned on</p><h3 id="proc/attach_assembly"><aside class="declaration">proc </aside>attach_assembly<aside>(/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/assembly.html">assembly</a>/A, /<a href="mob.html">mob</a>/user) <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/assembly/assembly.dm#L127"><img src="git.png" width="16" height="16" title="code/modules/assembly/assembly.dm 127"></a></aside></h3><p>Called when an assembly is attacked by another</p><h3 id="proc/holder_movement"><aside class="declaration">proc </aside>holder_movement<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/assembly/assembly.dm#L35"><img src="git.png" width="16" height="16" title="code/modules/assembly/assembly.dm 35"></a></aside></h3><p>Called when the holder is moved</p><h3 id="proc/interact">interact<aside>(/<a href="mob.html">mob</a>/user) <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/assembly/assembly.dm#L39"><img src="git.png" width="16" height="16" title="code/modules/assembly/assembly.dm 39"></a></aside></h3><p>Called when activate_self is called</p><h3 id="proc/on_attach"><aside class="declaration">proc </aside>on_attach<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/assembly/assembly.dm#L108"><img src="git.png" width="16" height="16" title="code/modules/assembly/assembly.dm 108"></a></aside></h3><p>on_attach: Called when attached to a holder, wiring datum, or other special assembly</p>
|
|
<p>Will also be called if the assembly holder is attached to a plasma (internals) tank or welding fuel (dispenser) tank.</p><h3 id="proc/on_detach"><aside class="declaration">proc </aside>on_detach<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/assembly/assembly.dm#L117"><img src="git.png" width="16" height="16" title="code/modules/assembly/assembly.dm 117"></a></aside></h3><p>on_detach: Called when removed from an assembly holder or wiring datum</p><h3 id="proc/process_cooldown"><aside class="declaration">proc </aside>process_cooldown<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/assembly/assembly.dm#L47"><img src="git.png" width="16" height="16" title="code/modules/assembly/assembly.dm 47"></a></aside></h3><p>Called to constantly step down the countdown/cooldown</p><h3 id="proc/pulse"><aside class="declaration">proc </aside>pulse<aside>(radio) <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/assembly/assembly.dm#L73"><img src="git.png" width="16" height="16" title="code/modules/assembly/assembly.dm 73"></a></aside></h3><p>Called when this device attempts to act on another device, var/radio determines if it was sent via radio or direct</p><h3 id="proc/pulsed"><aside class="declaration">proc </aside>pulsed<aside>(radio) <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/assembly/assembly.dm#L65"><img src="git.png" width="16" height="16" title="code/modules/assembly/assembly.dm 65"></a></aside></h3><p>Called when another assembly acts on this one, var/radio will determine where it came from for wire calcs</p><h3 id="proc/toggle_secure"><aside class="declaration">proc </aside>toggle_secure<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/assembly/assembly.dm#L98"><img src="git.png" width="16" height="16" title="code/modules/assembly/assembly.dm 98"></a></aside></h3><p>Happens when the assembly is (un)secured</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> |