Crossfire Server, Trunk  R20513
Macros
Pickup modes

Definitions for detailed pickup descriptions. More...

Macros

#define PU_ARMOUR   0x00000800
 
#define PU_ARROW   0x00000100
 
#define PU_BOOTS   0x00001000
 
#define PU_BOW   0x00000080
 
#define PU_CLOAK   0x00004000
 
#define PU_CONTAINER   0x08000000
 
#define PU_DEBUG   0x10000000
 
#define PU_DRINK   0x00000020
 
#define PU_FLESH   0x04000000
 
#define PU_FOOD   0x00000010
 
#define PU_GLOVES   0x00002000
 
#define PU_HELMET   0x00000200
 
#define PU_INHIBIT   0x20000000
 
#define PU_JEWELS   0x02000000
 
#define PU_KEY   0x00008000
 
#define PU_MAGIC_DEVICE   0x00800000
 
#define PU_MAGICAL   0x00040000
 
#define PU_MELEEWEAPON   0x00020000
 
#define PU_MISSILEWEAPON   0x00010000
 
#define PU_NEWMODE   0x80000000
 
#define PU_NOT_CURSED   0x01000000
 
#define PU_NOTHING   0x00000000
 
#define PU_POTION   0x00080000
 
#define PU_RATIO   0x0000000F
 
#define PU_READABLES   0x00400000
 
#define PU_SHIELD   0x00000400
 
#define PU_SKILLSCROLL   0x00200000
 
#define PU_SPELLBOOK   0x00100000
 
#define PU_STOP   0x40000000
 
#define PU_VALUABLES   0x00000040
 

Detailed Description

Definitions for detailed pickup descriptions.

The objective is to define intelligent groups of items that the user can pick up or leave as he likes.

Macro Definition Documentation

#define PU_ARMOUR   0x00000800

Definition at line 123 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_ARROW   0x00000100

Definition at line 120 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_BOOTS   0x00001000

Definition at line 125 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_BOW   0x00000080

Definition at line 118 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_CLOAK   0x00004000

Definition at line 127 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_CONTAINER   0x08000000

Definition at line 143 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_DEBUG   0x10000000

Definition at line 108 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_DRINK   0x00000020

Definition at line 116 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_FLESH   0x04000000

Definition at line 142 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_FOOD   0x00000010

Definition at line 115 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_GLOVES   0x00002000

Definition at line 126 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_HELMET   0x00000200

Definition at line 121 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_INHIBIT   0x20000000

Definition at line 109 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_JEWELS   0x02000000

Definition at line 141 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_KEY   0x00008000

Definition at line 128 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_MAGIC_DEVICE   0x00800000

Definition at line 138 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_MAGICAL   0x00040000

Definition at line 132 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_MELEEWEAPON   0x00020000

Definition at line 131 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_MISSILEWEAPON   0x00010000

Definition at line 130 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_NEWMODE   0x80000000

Definition at line 111 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_NOT_CURSED   0x01000000

Definition at line 140 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_NOTHING   0x00000000

Definition at line 106 of file define.h.

Referenced by check_pick().

#define PU_POTION   0x00080000

Definition at line 133 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_RATIO   0x0000000F

Definition at line 113 of file define.h.

Referenced by check_pick(), and display_new_pickup().

#define PU_READABLES   0x00400000

Definition at line 137 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_SHIELD   0x00000400

Definition at line 122 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_SKILLSCROLL   0x00200000

Definition at line 136 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_SPELLBOOK   0x00100000

Definition at line 135 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_STOP   0x40000000

Definition at line 110 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().

#define PU_VALUABLES   0x00000040

Definition at line 117 of file define.h.

Referenced by check_pick(), command_pickup(), and display_new_pickup().