Daedalus Dock - Modules - TypesVar Details - Proc Details

grab

Vars

action_cdCooldown for actions
affectingThe thing being grabbed
assailantThe initiator of the grab
current_grabThe grab datum currently being used
done_struggleUsed by struggle grab datum to keep track of state.
is_currently_resolving_hitUsed to avoid stacking interactions that sleep during /decl/grab/proc/on_hit_foo() (ie. do_after() is used)
is_validSet true after grab setup. Used for debugging.
special_target_functionalIndicates if the current grab has special interactions applied to the target organ (eyes and mouth at time of writing)
target_zoneRecords a specific bodypart that was targetted by this grab.
upgrade_cdCooldown for upgrade times

Procs

DestroyApply any needed updates to the assailant Do flavor things like pixel offsets, animation, sound Spread diseases Setup the effects applied by grab Update appearance Setup signals
intercept_attack_handIntercepts attack_hand() calls on our target.
is_grab_uniqueUsed to prevent repeated effect application or early effect removal
is_grabbingPrimarily used for do_after() callbacks, checks if the grab item is still holding onto something
leave_forensic_tracesLeave forensic traces on both the assailant and victim. You really don't want to read this proc and it's type fuckery.
remove_competing_grabsRemoves any grabs applied to the affected movable that aren't src
target_or_owner_delTarget deleted, ABORT
target_thrownIf something tries to throw the target.

Var Details

action_cd

Cooldown for actions

affecting

The thing being grabbed

assailant

The initiator of the grab

current_grab

The grab datum currently being used

done_struggle

Used by struggle grab datum to keep track of state.

is_currently_resolving_hit

Used to avoid stacking interactions that sleep during /decl/grab/proc/on_hit_foo() (ie. do_after() is used)

is_valid

Set true after grab setup. Used for debugging.

special_target_functional

Indicates if the current grab has special interactions applied to the target organ (eyes and mouth at time of writing)

target_zone

Records a specific bodypart that was targetted by this grab.

upgrade_cd

Cooldown for upgrade times

Proc Details

Destroy

Apply any needed updates to the assailant Do flavor things like pixel offsets, animation, sound Spread diseases Setup the effects applied by grab Update appearance Setup signals

intercept_attack_hand

Intercepts attack_hand() calls on our target.

is_grab_unique

Used to prevent repeated effect application or early effect removal

is_grabbing

Primarily used for do_after() callbacks, checks if the grab item is still holding onto something

leave_forensic_traces

Leave forensic traces on both the assailant and victim. You really don't want to read this proc and it's type fuckery.

remove_competing_grabs

Removes any grabs applied to the affected movable that aren't src

target_or_owner_del

Target deleted, ABORT

target_thrown

If something tries to throw the target.