Files
2025-02-05 06:19:18 +00:00

7 lines
4.7 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/item/modular_computer/tablet/integrated - /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/modular_computer/tablet/integrated.html#var">Var Details</a> - <a href="obj/item/modular_computer/tablet/integrated.html#proc">Proc Details</a></header><main><h1>integrated <aside>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/modular_computer.html">modular_computer</a>/<a href="obj/item/modular_computer/tablet/integrated.html">tablet/integrated</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/computers/item/tablet.dm#L146"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/computers/item/tablet.dm 146"></a></h1><p>Borg Built-in tablet interface</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/item/modular_computer/tablet/integrated.html#var/borglog">borglog</a></th><td>IC log that borgs can view in their personal management app</td></tr><tr><th><a href="obj/item/modular_computer/tablet/integrated.html#var/borgo">borgo</a></th><td>Ref to the borg we're installed in. Set by the borg during our creation.</td></tr><tr><th><a href="obj/item/modular_computer/tablet/integrated.html#var/robotact">robotact</a></th><td>Ref to the RoboTact app. Important enough to borgs to deserve a ref.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/item/modular_computer/tablet/integrated.html#proc/get_robotact">get_robotact</a></th><td>Returns a ref to the RoboTact app, creating the app if need be.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/borglog"><aside class="declaration">var </aside>borglog <aside> /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/computers/item/tablet.dm#L160"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/computers/item/tablet.dm 160"></a></h3><p>IC log that borgs can view in their personal management app</p><h3 id="var/borgo"><aside class="declaration">var </aside>borgo <aside> /<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/<a href="mob/living/silicon.html">silicon</a>/<a href="mob/living/silicon/robot.html">robot</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/computers/item/tablet.dm#L156"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/computers/item/tablet.dm 156"></a></h3><p>Ref to the borg we're installed in. Set by the borg during our creation.</p><h3 id="var/robotact"><aside class="declaration">var </aside>robotact <aside> /<a href="datum.html">datum</a>/<a href="datum/computer_file/program.html">computer_file/program</a>/<a href="datum/computer_file/program/robotact.html">robotact</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/computers/item/tablet.dm#L158"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/computers/item/tablet.dm 158"></a></h3><p>Ref to the RoboTact app. Important enough to borgs to deserve a ref.</p><h2 id="proc">Proc Details</h2><h3 id="proc/get_robotact"><aside class="declaration">proc </aside>get_robotact<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/computers/item/tablet.dm#L191"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/computers/item/tablet.dm 191"></a></aside></h3><p>Returns a ref to the RoboTact app, creating the app if need be.</p>
<p>The RoboTact app is important for borgs, and so should always be available.
This proc will look for it in the tablet's robotact var, then check the
hard drive if the robotact var is unset, and finally attempt to create a new
copy if the hard drive does not contain the app. If the hard drive rejects
the new copy (such as due to lack of space), the proc will crash with an error.
RoboTact is supposed to be undeletable, so these will create runtime messages.</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>