Crossfire Server, Trunk  1.75.0
What monsters apply

How monsters should handle some items they have or things on the ground. Those flags correspond to the object::will_apply field. 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

◆ WILL_APPLY_DOOR

#define WILL_APPLY_DOOR   0x8

Open non-locked doors.

Definition at line 57 of file object.h.

◆ WILL_APPLY_EARTHWALL

#define WILL_APPLY_EARTHWALL   0x4

Destroy earthwalls.

Definition at line 56 of file object.h.

◆ WILL_APPLY_FOOD

#define WILL_APPLY_FOOD   0x10

Eat food (not drinks).

Definition at line 58 of file object.h.

◆ WILL_APPLY_HANDLE

#define WILL_APPLY_HANDLE   0x1

Apply handles and triggers.

Definition at line 54 of file object.h.

◆ WILL_APPLY_TREASURE

#define WILL_APPLY_TREASURE   0x2

Open chests.

Definition at line 55 of file object.h.