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

leash

Keeps the parent within the distance of its owner as naturally as possible, but teleporting if necessary.

Vars

distanceThe maximum distance you can move from your owner
enabledwhether the leash is enabled or not
force_teleport_in_effectThe object type to create on the new turf when forcibly teleporting out
force_teleport_out_effectThe object type to create on the old turf when forcibly teleporting out
ownerThe owner of the leash. If this is qdeleted, the leash is as well.

Procs

disable_leashStop listening for any signals
enable_leashStart listening for signals again
toggle_leashEnables or disables the leash, allowing or forbidding the PAI from leaving a specified range

Var Details

distance

The maximum distance you can move from your owner

enabled

whether the leash is enabled or not

force_teleport_in_effect

The object type to create on the new turf when forcibly teleporting out

force_teleport_out_effect

The object type to create on the old turf when forcibly teleporting out

owner

The owner of the leash. If this is qdeleted, the leash is as well.

Proc Details

disable_leash

Stop listening for any signals

enable_leash

Start listening for signals again

toggle_leash

Enables or disables the leash, allowing or forbidding the PAI from leaving a specified range