leash ![code/datums/components/leash.dm 3](git.png)
Keeps the parent within the distance of its owner as naturally as possible, but teleporting if necessary.
Vars | |
distance | The maximum distance you can move from your owner |
---|---|
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. |
Var Details
distance ![code/datums/components/leash.dm 8](git.png)
The maximum distance you can move from your owner
force_teleport_in_effect ![code/datums/components/leash.dm 14](git.png)
The object type to create on the new turf when forcibly teleporting out
force_teleport_out_effect ![code/datums/components/leash.dm 11](git.png)
The object type to create on the old turf when forcibly teleporting out
owner ![code/datums/components/leash.dm 5](git.png)
The owner of the leash. If this is qdeleted, the leash is as well.