Files

1 line
2.8 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/structure/dispenser - 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/structure/dispenser.html#proc">Proc Details</a></header><main><h1>dispenser <aside>/<a href="obj.html">obj</a>/<a href="obj/structure.html">structure</a>/<a href="obj/structure/dispenser.html">dispenser</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/tank_dispenser.dm#L3"><img src="git.png" width="16" height="16" title="code/game/objects/structures/tank_dispenser.dm 3"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/structure/dispenser.html#proc/try_insert_tank">try_insert_tank</a></th><td>Called when the user clicks on the dispenser with a tank. Tries to insert the tank into the dispenser, and updates the UI if successful.</td></tr><tr><th><a href="obj/structure/dispenser.html#proc/try_remove_tank">try_remove_tank</a></th><td>Called when the user clicks on the oxygen or plasma tank UI buttons, and tries to withdraw a tank.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/try_insert_tank"><aside class="declaration">proc </aside>try_insert_tank<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/user, /list/tank_list, /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/tank/T) <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/tank_dispenser.dm#L134"><img src="git.png" width="16" height="16" title="code/game/objects/structures/tank_dispenser.dm 134"></a></aside></h3><p>Called when the user clicks on the dispenser with a tank. Tries to insert the tank into the dispenser, and updates the UI if successful.</p><h3 id="proc/try_remove_tank"><aside class="declaration">proc </aside>try_remove_tank<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/user, /list/tank_list) <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/tank_dispenser.dm#L120"><img src="git.png" width="16" height="16" title="code/game/objects/structures/tank_dispenser.dm 120"></a></aside></h3><p>Called when the user clicks on the oxygen or plasma tank UI buttons, and tries to withdraw a tank.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>