/tg/ Station 13 - Modules - Types — Var Details - Proc Details

science

Vars

lock_accessAccess needed to lock/unlock the console
lockedDetermines if the console is locked, and consequently if actions can be performed with it
sent_static_keysThe static data key we last sent each viewer, by REF(), so we know to resend it when the catalogue or experiments change
stored_researchReference to global science techweb

Procs

get_static_keyReturns everything this program's static data depends on, see /datum/techweb/proc/get_ui_static_key
update_static_data_if_outdatedSends the user a full update first if their static data is out of date (older catalogue build, other techweb or new experiments)

Var Details

lock_access

Access needed to lock/unlock the console

locked

Determines if the console is locked, and consequently if actions can be performed with it

sent_static_keys

The static data key we last sent each viewer, by REF(), so we know to resend it when the catalogue or experiments change

stored_research

Reference to global science techweb

Proc Details

get_static_key

Returns everything this program's static data depends on, see /datum/techweb/proc/get_ui_static_key

update_static_data_if_outdated

Sends the user a full update first if their static data is out of date (older catalogue build, other techweb or new experiments)