Files

1 line
5.1 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/move_loop/has_target/ventcrawl - 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/move_loop/has_target/ventcrawl.html#var">Var Details</a> - <a href="datum/move_loop/has_target/ventcrawl.html#proc">Proc Details</a></header><main><h1>ventcrawl <aside>/<a href="datum.html">datum</a>/<a href="datum/move_loop.html">move_loop</a>/<a href="datum/move_loop/has_target.html">has_target</a>/<a href="datum/move_loop/has_target/ventcrawl.html">ventcrawl</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/movement_types.dm#L1045"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/movement_types.dm 1045"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/move_loop/has_target/ventcrawl.html#var/is_pathing">is_pathing</a></th><td>Bool used to determine if we're already making a path in JPS. this prevents us from re-pathing while we're already busy.</td></tr><tr><th><a href="datum/move_loop/has_target/ventcrawl.html#var/movement_path">movement_path</a></th><td>A list for the path we're currently following</td></tr><tr><th><a href="datum/move_loop/has_target/ventcrawl.html#var/repath_cooldown">repath_cooldown</a></th><td>Cooldown for repathing, prevents spam</td></tr><tr><th><a href="datum/move_loop/has_target/ventcrawl.html#var/skip_first">skip_first</a></th><td>Should we skip the first step? This is the tile we're currently on, which breaks some things</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/move_loop/has_target/ventcrawl.html#proc/on_finish_pathing">on_finish_pathing</a></th><td>Called when a path has finished being created</td></tr><tr><th><a href="datum/move_loop/has_target/ventcrawl.html#proc/recalculate_path">recalculate_path</a></th><td>Tries to calculate a new path for this moveloop.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/is_pathing"><aside class="declaration">var </aside>is_pathing <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/movement_types.dm#L1052"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/movement_types.dm 1052"></a></h3><p>Bool used to determine if we're already making a path in JPS. this prevents us from re-pathing while we're already busy.</p><h3 id="var/movement_path"><aside class="declaration">var </aside>movement_path <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/movement_types.dm#L1048"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/movement_types.dm 1048"></a></h3><p>A list for the path we're currently following</p><h3 id="var/repath_cooldown"><aside class="declaration">var </aside>repath_cooldown <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/movement_types.dm#L1050"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/movement_types.dm 1050"></a></h3><p>Cooldown for repathing, prevents spam</p><h3 id="var/skip_first"><aside class="declaration">var </aside>skip_first <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/movement_types.dm#L1054"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/movement_types.dm 1054"></a></h3><p>Should we skip the first step? This is the tile we're currently on, which breaks some things</p><h2 id="proc">Proc Details</h2><h3 id="proc/on_finish_pathing"><aside class="declaration">proc </aside>on_finish_pathing<aside>(/list/path) <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/movement_types.dm#L1080"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/movement_types.dm 1080"></a></aside></h3><p>Called when a path has finished being created</p><h3 id="proc/recalculate_path"><aside class="declaration">proc </aside>recalculate_path<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/movement_types.dm#L1072"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/movement_types.dm 1072"></a></aside></h3><p>Tries to calculate a new path for this moveloop.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/edee60476d21ee840643bd1abe7f6003a8c65773">edee604</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>