/tg/ Station 13 - Modules - TypesVar Details - Proc Details

silicon

Vars

alarm_types_showIf this is a path, this gets created as an object in Initialize.
emaggedWhether we have been emagged
hackedcheckList keeping track of hacked laws to announce
ioncheckList keeping track of ion laws to announce
lawcheckList keeping track of which laws to announce
sensors_onAre our siliconHUDs on? TRUE for yes, FALSE for no.

Procs

assemble_lawsAssembles all the zeroth, inherent and supplied laws into a single list.
checklawsGives you a link-driven interface for deciding what laws the statelaws() proc will share with the crew.
do_camera_updateThe actual update - also passes our unique update buffer. This makes our static update faster than stationary cameras, helping us to avoid running out of the camera's FoV.
fully_replace_character_nameSame as the normal character name replacement, but updates the contents of the modular interface.
get_ui_accessReturns a UI status representing this silicon's capability to access the given source. Called by ui_status_silicon_has_access.
logeventRecords an IC event log entry in the cyborg's internal tablet.

Var Details

alarm_types_show

If this is a path, this gets created as an object in Initialize.

emagged

Whether we have been emagged

hackedcheck

List keeping track of hacked laws to announce

ioncheck

List keeping track of ion laws to announce

lawcheck

List keeping track of which laws to announce

sensors_on

Are our siliconHUDs on? TRUE for yes, FALSE for no.

Proc Details

assemble_laws

Assembles all the zeroth, inherent and supplied laws into a single list.

checklaws

Gives you a link-driven interface for deciding what laws the statelaws() proc will share with the crew.

do_camera_update

The actual update - also passes our unique update buffer. This makes our static update faster than stationary cameras, helping us to avoid running out of the camera's FoV.

fully_replace_character_name

Same as the normal character name replacement, but updates the contents of the modular interface.

get_ui_access

Returns a UI status representing this silicon's capability to access the given source. Called by ui_status_silicon_has_access.

logevent

Records an IC event log entry in the cyborg's internal tablet.

Creates an entry in the borglog list of the cyborg's internal tablet (if it's a borg), listing the current in-game time followed by the message given. These logs can be seen by the cyborg in their BorgUI tablet app. By design, logging fails if the cyborg is dead.

(This used to be in robot.dm. It's in here now.)

Arguments: arg1: a string containing the message to log.