Crossfire Server, Branches 1.12  R18729
What monsters apply

Macros

#define WILL_APPLY_DOOR   0x8
 
#define WILL_APPLY_EARTHWALL   0x4
 
#define WILL_APPLY_FOOD   0x10
 
#define WILL_APPLY_HANDLE   0x1
 
#define WILL_APPLY_TREASURE   0x2
 

Detailed Description

How monsters should handle some items they have or things on the ground. Those flags correspond to the object::will_apply field.

Macro Definition Documentation

#define WILL_APPLY_DOOR   0x8

Definition at line 81 of file object.h.

Referenced by move_ob().

#define WILL_APPLY_EARTHWALL   0x4

Definition at line 80 of file object.h.

Referenced by move_ob().

#define WILL_APPLY_FOOD   0x10

Definition at line 82 of file object.h.

Referenced by monster_check_apply().

#define WILL_APPLY_HANDLE   0x1

Definition at line 78 of file object.h.

Referenced by monster_apply_below().

#define WILL_APPLY_TREASURE   0x2

Definition at line 79 of file object.h.

Referenced by monster_apply_below(), and monster_check_apply().