Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/gps/item

GPS component subtype. Only gps/item's can be used to open the UI.

Vars

stateUI state of GPS, altering when it can be used.

Procs

interactCalled on COMSIG_ITEM_ATTACK_SELF
on_AltClickCalls toggletracking
on_emp_actCalled on COMSIG_ATOM_EMP_ACT
on_examineCalled on COMSIG_ATOM_EXAMINE
rebootRestarts the GPS after getting turned off by an EMP.
toggletrackingToggles the tracking for the gps

Var Details

state

UI state of GPS, altering when it can be used.

Proc Details

interact

Called on COMSIG_ITEM_ATTACK_SELF

on_AltClick

Calls toggletracking

on_emp_act

Called on COMSIG_ATOM_EMP_ACT

on_examine

Called on COMSIG_ATOM_EXAMINE

reboot

Restarts the GPS after getting turned off by an EMP.

toggletracking

Toggles the tracking for the gps