8 lines
2.2 KiB
HTML
8 lines
2.2 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/item/computer_hardware - /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/item/computer_hardware.html#proc">Proc Details</a></header><main><h1>computer_hardware <aside>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/computer_hardware.html">computer_hardware</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/hardware/_hardware.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/hardware/_hardware.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/item/computer_hardware.html#proc/try_eject">try_eject</a></th><td>Implement this when your hardware contains an object that the user can eject.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/try_eject"><aside class="declaration">proc </aside>try_eject<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/user, forced) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/hardware/_hardware.dm#L125"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/hardware/_hardware.dm 125"></a></aside></h3><p>Implement this when your hardware contains an object that the user can eject.</p>
|
|
<p>Examples include ejecting cells from battery modules, ejecting an ID card from a card reader
|
|
or ejecting an Intellicard from an AI card slot.
|
|
Arguments:</p>
|
|
<ul>
|
|
<li>user - The mob requesting the eject.</li>
|
|
<li>forced - Whether this action should be forced in some way.</li>
|
|
</ul></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> |