Goonstation 13 - Modules - TypesVar Details - Proc Details

computer

Vars

glow_in_dark_screendoes it have a glow in the dark screen? see computer_screens.dmi
tgui_input_history(Keyed by CKEY) A list of strings representing the terminal's command execution history. New history is appended as commands are executed
tgui_input_index(Keyed by CKEY) An index pointing to the position in tgui_input_history to update tgui_last_accessed with
tgui_last_accessed(Keyed by CKEY) The most recently accessed command from the console

Procs

get_historyGet the history entry at a certain index. Returns null if the index is out of bounds or the ckey is null. Will return an empty string for length+1
traverse_historyTraverse the current history by some amount. Returns true if different history was accessed, false otherwise (usually if new index OOB)

Var Details

glow_in_dark_screen

does it have a glow in the dark screen? see computer_screens.dmi

tgui_input_history

(Keyed by CKEY) A list of strings representing the terminal's command execution history. New history is appended as commands are executed

tgui_input_index

(Keyed by CKEY) An index pointing to the position in tgui_input_history to update tgui_last_accessed with

tgui_last_accessed

(Keyed by CKEY) The most recently accessed command from the console

Proc Details

get_history

Get the history entry at a certain index. Returns null if the index is out of bounds or the ckey is null. Will return an empty string for length+1

traverse_history

Traverse the current history by some amount. Returns true if different history was accessed, false otherwise (usually if new index OOB)