mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
2 lines
3.5 KiB
HTML
2 lines
3.5 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/leash - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="datum/component/leash.html#var">Var Details</a></header><main><h1>leash <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/leash.html">leash</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/leash.dm#L3"><img src="git.png" width="16" height="16" title="code/datums/components/leash.dm 3"></a></h1><p>Keeps the parent within the distance of its owner as naturally as possible,
|
||
but teleporting if necessary.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/leash.html#var/distance">distance</a></th><td>The maximum distance you can move from your owner</td></tr><tr><th><a href="datum/component/leash.html#var/force_teleport_in_effect">force_teleport_in_effect</a></th><td>The object type to create on the new turf when forcibly teleporting out</td></tr><tr><th><a href="datum/component/leash.html#var/force_teleport_out_effect">force_teleport_out_effect</a></th><td>The object type to create on the old turf when forcibly teleporting out</td></tr><tr><th><a href="datum/component/leash.html#var/owner">owner</a></th><td>The owner of the leash. If this is qdeleted, the leash is as well.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/distance"><aside class="declaration">var </aside>distance <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/leash.dm#L8"><img src="git.png" width="16" height="16" title="code/datums/components/leash.dm 8"></a></h3><p>The maximum distance you can move from your owner</p><h3 id="var/force_teleport_in_effect"><aside class="declaration">var </aside>force_teleport_in_effect <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/leash.dm#L14"><img src="git.png" width="16" height="16" title="code/datums/components/leash.dm 14"></a></h3><p>The object type to create on the new turf when forcibly teleporting out</p><h3 id="var/force_teleport_out_effect"><aside class="declaration">var </aside>force_teleport_out_effect <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/leash.dm#L11"><img src="git.png" width="16" height="16" title="code/datums/components/leash.dm 11"></a></h3><p>The object type to create on the old turf when forcibly teleporting out</p><h3 id="var/owner"><aside class="declaration">var </aside>owner <aside>– /<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/leash.dm#L5"><img src="git.png" width="16" height="16" title="code/datums/components/leash.dm 5"></a></h3><p>The owner of the leash. If this is qdeleted, the leash is as well.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |