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_move | The last world time the parent moved. |
---|---|
last_secured_location | The last secure location the parent was at. |
min_pop_limit | Living population must be above this amount for security checks to apply. |
secured_callback | callback for the parent being secure |
unsecured_callback | callback for the parent being unsecured |
Procs | |
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 |
Var Details
last_move
The last world time the parent moved.
last_secured_location
The last secure location the parent was at.
min_pop_limit
Living population must be above this amount for security checks to apply.
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