Crossfire Server, Trunk  R20513
Macros
What monsters apply

How monsters should handle some items they have or things on the ground. More...

Macros

#define WILL_APPLY_DOOR   0x8
 Open non-locked doors. More...
 
#define WILL_APPLY_EARTHWALL   0x4
 Destroy earthwalls. More...
 
#define WILL_APPLY_FOOD   0x10
 Eat food (not drinks). More...
 
#define WILL_APPLY_HANDLE   0x1
 Apply handles and triggers. More...
 
#define WILL_APPLY_TREASURE   0x2
 Open chests. More...
 

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

Open non-locked doors.

Definition at line 55 of file object.h.

Referenced by move_ob().

#define WILL_APPLY_EARTHWALL   0x4

Destroy earthwalls.

Definition at line 54 of file object.h.

Referenced by move_ob().

#define WILL_APPLY_FOOD   0x10

Eat food (not drinks).

Definition at line 56 of file object.h.

Referenced by monster_check_apply().

#define WILL_APPLY_HANDLE   0x1

Apply handles and triggers.

Definition at line 52 of file object.h.

Referenced by monster_apply_below().

#define WILL_APPLY_TREASURE   0x2

Open chests.

Definition at line 53 of file object.h.

Referenced by monster_apply_below(), and monster_check_apply().