13 lines
3.3 KiB
HTML
13 lines
3.3 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/tgui/status_composers.dm - /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></header><main><h1>code/modules/tgui/status_composers.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/tgui/status_composers.dm0"><img src="git.png" width="16" height="16" title="code/modules/tgui/status_composers.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/default_ui_state">default_ui_state</a></th><td>The sane defaults for a UI such as a computer or a machine.</td></tr><tr><th>/proc/<a href="global.html#proc/ui_status_user_is_adjacent">ui_status_user_is_adjacent</a></th><td>Returns a UI status such that users adjacent to source will be able to interact,
|
|
far away users will be able to see, and anyone farther won't see anything.
|
|
Dead users will receive updates no matter what, though you likely want to add
|
|
a [<code>ui_status_only_living</code>] check for finer observer interactions.</td></tr><tr><th>/proc/<a href="global.html#proc/ui_status_only_living">ui_status_only_living</a></th><td>Returns a UI status such that the dead will be able to watch, but not interact.</td></tr><tr><th>/proc/<a href="global.html#proc/ui_status_user_is_abled">ui_status_user_is_abled</a></th><td>Returns a UI status such that users with debilitating conditions, such as
|
|
being dead or not having power for silicons, will not be able to interact.
|
|
Being dead will disable UI, being incapacitated will continue updating it,
|
|
and anything else will make it interactive.</td></tr><tr><th>/proc/<a href="global.html#proc/ui_status_user_has_free_hands">ui_status_user_has_free_hands</a></th><td>Returns a UI status such that those without blocked hands will be able to interact,
|
|
but everyone else can only watch.</td></tr><tr><th>/proc/<a href="global.html#proc/ui_status_user_is_advanced_tool_user">ui_status_user_is_advanced_tool_user</a></th><td>Returns a UI status such that advanced tool users will be able to interact,
|
|
but everyone else can only watch.</td></tr><tr><th>/proc/<a href="global.html#proc/ui_status_silicon_has_access">ui_status_silicon_has_access</a></th><td>Returns a UI status such that silicons will be able to interact with whatever
|
|
they would have access to if this was a machine. For example, AIs can
|
|
interact if there's cameras with wireless control is enabled.</td></tr><tr><th>/proc/<a href="global.html#proc/ui_status_user_is_conscious_and_lying_down">ui_status_user_is_conscious_and_lying_down</a></th><td>Returns UI_INTERACTIVE if the user is conscious and lying down.
|
|
Returns UI_UPDATE otherwise.</td></tr><tr><th>/proc/<a href="global.html#proc/ui_status_user_strictly_adjacent">ui_status_user_strictly_adjacent</a></th><td>Return UI_INTERACTIVE if the user is strictly adjacent to the target atom, whether they can see it or not.
|
|
Return UI_CLOSE otherwise.</td></tr></table></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> |