mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-14 01:33:28 +01:00
5ddf26c41b
* Slimes are smarter about opportunistic snacks * Prevent calling for help against non-mob targets * Ater's fix
10 lines
408 B
Plaintext
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
|