beeg commit
This commit is contained in:
@@ -214,5 +214,17 @@ GLOBAL_LIST_INIT(bitflags, list(
|
||||
///Turns the dir by 180 degrees
|
||||
#define DIRFLIP(d) turn(d, 180)
|
||||
|
||||
// timed_action_flags parameter for `/proc/do_after_mob`, `/proc/do_mob` and `/proc/do_after`
|
||||
/// Can do the action even if mob moves location
|
||||
#define IGNORE_USER_LOC_CHANGE (1<<0)
|
||||
/// Can do the action even if the target moves location
|
||||
#define IGNORE_TARGET_LOC_CHANGE (1<<1)
|
||||
/// Can do the action even if the item is no longer being held
|
||||
#define IGNORE_HELD_ITEM (1<<2)
|
||||
/// Can do the action even if the mob is incapacitated (ex. handcuffed)
|
||||
#define IGNORE_INCAPACITATED (1<<3)
|
||||
/// Used to prevent important slowdowns from being abused by drugs like kronkaine
|
||||
#define IGNORE_SLOWDOWNS (1<<4)
|
||||
|
||||
/// 33554431 (2^24 - 1) is the maximum value our bitflags can reach.
|
||||
#define MAX_BITFLAG_DIGITS 8
|
||||
|
||||
Reference in New Issue
Block a user