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

constrict

Vars

base_coil_delayThe base time it takes for us to constrict a mob.
tailThe tail we use to constrict mobs with. Nullable, if inactive.

Procs

can_coil_targetReturns TRUE if the target can be constricted, FALSE otherwise. If silent is TRUE, sends no feedback messages.
create_tailIf we have no tail, sets our tail to a new tail instance.
do_constrictionActually constricts the mob, by setting constricted to this mob and spawning a tail if needed.
set_tailSetter proc for tail. Handles signals.
tail_qdeletingSignal handler for COMSIG_QDELETING. Sets our tail to null.

Var Details

base_coil_delay

The base time it takes for us to constrict a mob.

tail

The tail we use to constrict mobs with. Nullable, if inactive.

Proc Details

can_coil_target

Returns TRUE if the target can be constricted, FALSE otherwise. If silent is TRUE, sends no feedback messages.

create_tail

If we have no tail, sets our tail to a new tail instance.

do_constriction

Actually constricts the mob, by setting constricted to this mob and spawning a tail if needed.

set_tail

Setter proc for tail. Handles signals.

tail_qdeleting

Signal handler for COMSIG_QDELETING. Sets our tail to null.