/tg/ Station 13 - Modules - Types — Var Details - Proc Details

navmap_astar

Vars

accessA list representing what access we have and what doors we can open
max_path_lengthChebyshev distance cap from start, in tiles. 0 = unlimited
movement_pathThe path we're currently following
pathfindingThe SSpathfinder job currently producing a path.
repath_cooldownCooldown for repathing, prevents spam
repath_delayHow often we're allowed to recalculate our path
repath_pendingA target update arrived while a path was being generated or repathing was rate-limited.

Procs

DestroyReleases the mover passability profile.
cancel_pathfindingCancels the outstanding native job, if any.
compare_loopsReturns whether another request can reuse this loop.
handle_move_attempt_failureDrops a stale path after a blocked movement attempt.
loop_startedPlans an initial path when one was not supplied.
loop_stoppedReleases the path when movement stops.
moveMoves one step and replans after an obstruction.
on_finish_pathingAccepts the completed path returned by SSpathfinder.
recalculate_pathRebuilds the path when the repath cooldown permits it.
setupStores pathing options and creates the mover's passability profile.

Var Details

access

A list representing what access we have and what doors we can open

max_path_length

Chebyshev distance cap from start, in tiles. 0 = unlimited

movement_path

The path we're currently following

pathfinding

The SSpathfinder job currently producing a path.

repath_cooldown

Cooldown for repathing, prevents spam

repath_delay

How often we're allowed to recalculate our path

repath_pending

A target update arrived while a path was being generated or repathing was rate-limited.

Proc Details

Destroy

Releases the mover passability profile.

cancel_pathfinding

Cancels the outstanding native job, if any.

compare_loops

Returns whether another request can reuse this loop.

handle_move_attempt_failure

Drops a stale path after a blocked movement attempt.

loop_started

Plans an initial path when one was not supplied.

loop_stopped

Releases the path when movement stops.

move

Moves one step and replans after an obstruction.

on_finish_pathing

Accepts the completed path returned by SSpathfinder.

recalculate_path

Rebuilds the path when the repath cooldown permits it.

setup

Stores pathing options and creates the mover's passability profile.