Files
Polaris/code/__defines/movement.dm
Ava 5ddf26c41b Slimes are smarter about opportunistic snacks (#9149)
* Slimes are smarter about opportunistic snacks

* Prevent calling for help against non-mob targets

* Ater's fix
2023-07-23 15:08:29 -08:00

10 lines
408 B
Plaintext

// Defines used for movement state evaluation.
#define MOVEMENT_INTENT_WALKING 1
#define MOVEMENT_INTENT_RUNNING 2
#define IS_WALKING(X) (X?.move_intent?.flags & MOVEMENT_INTENT_WALKING)
#define IS_RUNNING(X) (X?.move_intent?.flags & MOVEMENT_INTENT_RUNNING)
// Causes AStar paths to be blocked by windows that can't be passed through; usually, they go straight through.
#define ASTAR_BLOCKED_BY_WINDOWS 1