can_pass_info ![code/__HELPERS/paths/path.dm 271](git.png)
Holds all information about what an atom can move through Passed into CanPathfindPass to provide context for a pathing attempt
Also used to check if using a cached path_map is safe There are some vars here that are unused. They exist to cover cases where caller_ref is used They're the properties of caller_ref used in those cases. It's kinda annoying, but there's some proc chains we can't convert to this datum
Vars | |
access | What access we have, airlocks, windoors, etc |
---|---|
anchored | Are we anchored |
buckled_info | If our mob is buckled to something, what's it like |
camera_type | Cameras have a lot of BS can_z_move overrides Let's avoid this |
can_ventcrawl | Can we ventcrawl? |
has_gravity | Do we have gravity |
incapacitated | Is our mob incapacitated |
incorporeal_move | Is our mob incorporeal |
is_bot | Are we a bot? |
is_drone | Are we a drone? |
is_flying | Are we flying? |
is_living | Are we a living mob? |
is_megafauna | Are we megafauna? |
is_movable | Are we a movable? This seems weird but some of our pathfind checks do check for this |
is_observer | Are we a ghost? (they have effectively unique pathfinding) |
mob_size | What is the size of our mob |
movement_type | What sort of movement do we have. Mirrors /atom/movable/movement_type |
no_id | If we have no id, public airlocks are walls |
pass_flags | What we can pass through. Mirrors /atom/movable/pass_flags |
pulling_info | Pass information for the object we are pulling, if any |
rider_info | If our mob has a rider, what does it look like |
thrown | Are we being thrown? |
Var Details
access ![code/__HELPERS/paths/path.dm 278](git.png)
What access we have, airlocks, windoors, etc
anchored ![code/__HELPERS/paths/path.dm 284](git.png)
Are we anchored
buckled_info ![code/__HELPERS/paths/path.dm 311](git.png)
If our mob is buckled to something, what's it like
camera_type ![code/__HELPERS/paths/path.dm 322](git.png)
Cameras have a lot of BS can_z_move overrides Let's avoid this
can_ventcrawl ![code/__HELPERS/paths/path.dm 297](git.png)
Can we ventcrawl?
has_gravity ![code/__HELPERS/paths/path.dm 316](git.png)
Do we have gravity
incapacitated ![code/__HELPERS/paths/path.dm 301](git.png)
Is our mob incapacitated
incorporeal_move ![code/__HELPERS/paths/path.dm 303](git.png)
Is our mob incorporeal
is_bot ![code/__HELPERS/paths/path.dm 291](git.png)
Are we a bot?
is_drone ![code/__HELPERS/paths/path.dm 293](git.png)
Are we a drone?
is_flying ![code/__HELPERS/paths/path.dm 305](git.png)
Are we flying?
is_living ![code/__HELPERS/paths/path.dm 289](git.png)
Are we a living mob?
is_megafauna ![code/__HELPERS/paths/path.dm 307](git.png)
Are we megafauna?
is_movable ![code/__HELPERS/paths/path.dm 295](git.png)
Are we a movable? This seems weird but some of our pathfind checks do check for this
is_observer ![code/__HELPERS/paths/path.dm 287](git.png)
Are we a ghost? (they have effectively unique pathfinding)
mob_size ![code/__HELPERS/paths/path.dm 299](git.png)
What is the size of our mob
movement_type ![code/__HELPERS/paths/path.dm 280](git.png)
What sort of movement do we have. Mirrors /atom/movable/movement_type
no_id ![code/__HELPERS/paths/path.dm 273](git.png)
If we have no id, public airlocks are walls
pass_flags ![code/__HELPERS/paths/path.dm 276](git.png)
What we can pass through. Mirrors /atom/movable/pass_flags
pulling_info ![code/__HELPERS/paths/path.dm 318](git.png)
Pass information for the object we are pulling, if any
rider_info ![code/__HELPERS/paths/path.dm 309](git.png)
If our mob has a rider, what does it look like
thrown ![code/__HELPERS/paths/path.dm 282](git.png)
Are we being thrown?