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

terror_handler

Terror handlers, aka datums which determine current fear behaviors. Separated into two groups, fear sources and fear effects, latter processing after all former are finished

Vars

bespokeIs this handler bespoke, and always requires a new instance upon adding even when one is already present?
componentComponent which "houses" this handler
defaultIs this a "default" handler? If so, it will be added to any fearful component unless its initialized with add_defaults = FALSE
handler_typeType of this handler, determines if it should run in the first or second batch
overridesOther effects which should be disabled while this one is running
ownerOwner of this fear handler

Procs

on_hugAdditional effects when we're hugged by a mob, returns fear adjustment per hug. Should only be positive.
tickSingle tick of terror handler, returns adjustment to terror buildup

Var Details

bespoke

Is this handler bespoke, and always requires a new instance upon adding even when one is already present?

component

Component which "houses" this handler

default

Is this a "default" handler? If so, it will be added to any fearful component unless its initialized with add_defaults = FALSE

handler_type

Type of this handler, determines if it should run in the first or second batch

overrides

Other effects which should be disabled while this one is running

owner

Owner of this fear handler

Proc Details

on_hug

Additional effects when we're hugged by a mob, returns fear adjustment per hug. Should only be positive.

tick

Single tick of terror handler, returns adjustment to terror buildup