/tg/ Station 13 - Modules - TypesVar Details

hunt_target

Performs an action on a blackboard-keyed hunt target once in range. Movement to the target is handled externally via a move_to_target leaf.

Vars

always_reset_targetIf TRUE, clears target_key after every hunt regardless of success
cooldown_keyBlackboard key to record the cooldown timestamp on success; if null, no cooldown is set
hunt_async_targetTarget snapshotted in perform() for async subtypes, for perform_async() to read.
hunt_cooldownDuration of the post-hunt cooldown
target_keyBlackboard key holding the atom to hunt

Var Details

always_reset_target

If TRUE, clears target_key after every hunt regardless of success

cooldown_key

Blackboard key to record the cooldown timestamp on success; if null, no cooldown is set

hunt_async_target

Target snapshotted in perform() for async subtypes, for perform_async() to read.

hunt_cooldown

Duration of the post-hunt cooldown

target_key

Blackboard key holding the atom to hunt