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

keep_me_secure

Keep Me Secure component!

Component that attaches to items, invoking a function to react when left unmoved and unsecured for too long. Used for Nuclear Authentication Disks, and whiny plushy as an example (which changes sprites depending on whether it considers itself secure.)

Vars

last_moveThe last world time the parent moved.
last_secured_locationThe last secure location the parent was at.
secured_callbackcallback for the parent being secure
unsecured_callbackcallback for the parent being unsecured

Procs

is_securedReturns whether the game is supposed to consider the parent "secure".
on_examinesignal sent when parent is examined
on_examine_moresignal sent when parent is examined more

Var Details

last_move

The last world time the parent moved.

last_secured_location

The last secure location the parent was at.

secured_callback

callback for the parent being secure

unsecured_callback

callback for the parent being unsecured

Proc Details

is_secured

Returns whether the game is supposed to consider the parent "secure".

on_examine

signal sent when parent is examined

on_examine_more

signal sent when parent is examined more