1  -    =   * 100 +     -   #
2  -   -       -  ~
3  -      -  ~
4  -      -  ~
5  -      -  ~
6  -      -  ~
7  -      -  ~
8  -      -  ~
9  -  ,      -  ~
10  -       -  ~
11  -    
            1)   -   
                 -   
            2)   
            3)   
            4) ,    
12  -    
            1)  
            2)     
            3) ,  
            4)   
13  -   
            1) ,    
            2)   (    )
            3)   (     )
14  -   
            1)  
            2) 
            3) ,   
15  -    
            1-4     
16  -    
            1) 
            2) 
            3)    
            4)     

 
 E
  1  -   -   ~
  2  -  -   ~
 A
  1  -  
             1)  
             2)  
 T
  1  - 
             1)    
#100
  ~
  ~
  ~
  ~
  ~
  ~
  ~
     .~
~
0 100 100 0
1 0 -1 1
0 0 0
19 0 a
8 0 0 0
1 3 1 1

   17/05/2000

/*  - 12   1 */
#define SEX_NEUTRAL         0
#define SEX_MALE            1
#define SEX_FEMALE          2
#define SEX_POLY            3

/*   - 14   1 */
#define ITEM_LIGHT      1		
#define ITEM_SCROLL     2		/* Item is a scroll		*/
#define ITEM_WAND       3		/* Item is a wand		*/
#define ITEM_STAFF      4		/* Item is a staff		*/
#define ITEM_WEAPON     5		/* Item is a weapon		*/
#define ITEM_FIREWEAPON 6		/* Unimplemented		*/
#define ITEM_MISSILE    7		/* Unimplemented		*/
#define ITEM_TREASURE   8		/* Item is a treasure, not gold	*/
#define ITEM_ARMOR      9		/* Item is armor		*/
#define ITEM_POTION    10 		/* Item is a potion		*/
#define ITEM_WORN      11		/* Unimplemented		*/
#define ITEM_OTHER     12		/* Misc object			*/
#define ITEM_TRASH     13		/* Trash - shopkeeps won't buy	*/
#define ITEM_TRAP      14		/* Unimplemented		*/
#define ITEM_CONTAINER 15		/* Item is a container		*/
#define ITEM_NOTE      16		/* Item is note 		*/
#define ITEM_DRINKCON  17		/* Item is a drink container	*/
#define ITEM_KEY       18		/* Item is a key		*/
#define ITEM_FOOD      19		/* Item is food			*/
#define ITEM_MONEY     20		/* Item is money (gold)		*/
#define ITEM_PEN       21		/* Item is a pen		*/
#define ITEM_BOAT      22		/* Item is a boat		*/
#define ITEM_FOUNTAIN  23		/* Item is a fountain		*/
#define ITEM_BOOK      24       /**** Item is book */
#define ITEM_INGRADIENT 25      /**** Item is magical ingradient */


/*    - 14   3 */

#define ITEM_WEAR_TAKE		a0  /* Item can be takes		*/
#define ITEM_WEAR_FINGER	b0  /* Can be worn on finger	*/
#define ITEM_WEAR_NECK		c0  /* Can be worn around neck 	*/
#define ITEM_WEAR_BODY		d0  /* Can be worn on body 	*/
#define ITEM_WEAR_HEAD		e0  /* Can be worn on head 	*/
#define ITEM_WEAR_LEGS		f0  /* Can be worn on legs	*/
#define ITEM_WEAR_FEET		g0  /* Can be worn on feet	*/
#define ITEM_WEAR_HANDS		h0  /* Can be worn on hands	*/
#define ITEM_WEAR_ARMS		i0  /* Can be worn on arms	*/
#define ITEM_WEAR_SHIELD	j0  /* Can be used as a shield	*/
#define ITEM_WEAR_ABOUT		k0  /* Can be worn about body 	*/
#define ITEM_WEAR_WAIST 	l0  /* Can be worn around waist 	*/
#define ITEM_WEAR_WRIST		m0  /* Can be worn on wrist 	*/
#define ITEM_WEAR_WIELD		n0  /* Can be wielded		*/
#define ITEM_WEAR_HOLD		o0  /* Can be held		*/
#define ITEM_WEAR_BOTHS         p0  /* Can be put to hands */


/* Extra object flags - 14   2 */
#define ITEM_GLOW          a0	/* Item is glowing		*/
#define ITEM_HUM           b0	/* Item is humming		*/
#define ITEM_NORENT        c0	/* Item cannot be rented	*/
#define ITEM_NODONATE      d0	/* Item cannot be donated	*/
#define ITEM_NOINVIS	   e0	/* Item cannot be made invis	*/
#define ITEM_INVISIBLE     f0	/* Item is invisible		*/
#define ITEM_MAGIC         g0	/* Item is magical		*/
#define ITEM_NODROP        h0	/* Item is cursed: can't drop	*/
#define ITEM_BLESS         i0	/* Item is blessed		*/
#define ITEM_NOSELL        j0	/* Not usable by good people	*/
#define ITEM_DECAY         k0	/* Not usable by evil people	*/
#define ITEM_ZONEDECAY     l0	/* Not usable by neutral people	*/
#define ITEM_NODISARM      m0	/* Not usable by mages		*/
#define ITEM_NODECAY       n0
#define ITEM_POISONED      p0
#define ITEM_SHARPEN       q0
#define ITEM_ARMORED       r0

/* No item flags - 13   2 */
#define ITEM_NO_GOOD       a0
#define ITEM_NO_EVIL       b0
#define ITEM_NO_NEUTRAL    c0
#define ITEM_NO_MAGIC      d0
#define ITEM_NO_CLERIC     e0
#define ITEM_NO_THIEF      f0
#define ITEM_NO_WARRIOR    g0
#define ITEM_NO_ASSASINE   h0
#define ITEM_NO_GUARD      i0
#define ITEM_NO_PALADINE   j0
#define ITEM_NO_RANGER     k0

/* Anti item flags -  13   3 */
#define ITEM_AN_GOOD       a0
#define ITEM_AN_EVIL       b0
#define ITEM_AN_NEUTRAL    c0
#define ITEM_AN_MAGIC      d0
#define ITEM_AN_CLERIC     e0
#define ITEM_AN_THIEF      f0
#define ITEM_AN_WARRIOR    g0
#define ITEM_AN_ASSASINE   h0
#define ITEM_AN_GUARD      i0
#define ITEM_AN_PALADINE   j0
#define ITEM_AN_RANGER     k0


/* Modifier constants used with obj affects ('A' fields) */
#define APPLY_NONE              0	/* No effect			*/
#define APPLY_STR               1	/* Apply to strength		*/
#define APPLY_DEX               2	/* Apply to dexterity		*/
#define APPLY_INT               3	/* Apply to constitution	*/
#define APPLY_WIS               4	/* Apply to wisdom		*/
#define APPLY_CON               5	/* Apply to constitution	*/
#define APPLY_CHA		        6	/* Apply to charisma		*/
#define APPLY_CLASS             7	/* Reserved			*/
#define APPLY_LEVEL             8	/* Reserved			*/
#define APPLY_AGE               9	/* Apply to age			*/
#define APPLY_CHAR_WEIGHT      10	/* Apply to weight		*/
#define APPLY_CHAR_HEIGHT      11	/* Apply to height		*/
#define APPLY_MANA             12	/* Apply to max mana		*/
#define APPLY_HIT              13	/* Apply to max hit points	*/
#define APPLY_MOVE             14	/* Apply to max move points	*/
#define APPLY_GOLD             15	/* Reserved			*/
#define APPLY_EXP              16	/* Reserved			*/
#define APPLY_AC               17	/* Apply to Armor Class		*/
#define APPLY_HITROLL          18	/* Apply to hitroll		*/
#define APPLY_DAMROLL          19	/* Apply to damage roll		*/
#define APPLY_SAVING_PARA      20	/* Apply to save throw: paralz	*/
#define APPLY_SAVING_ROD       21	/* Apply to save throw: rods	*/
#define APPLY_SAVING_PETRI     22	/* Apply to save throw: petrif	*/
#define APPLY_SAVING_BREATH    23	/* Apply to save throw: breath	*/
#define APPLY_SAVING_SPELL     24	/* Apply to save throw: spells	*/
#define APPLY_HITREG           25
#define APPLY_MOVEREG          26
#define APPLY_C1               27
#define APPLY_C2               28
#define APPLY_C3               29
#define APPLY_C4               30
#define APPLY_C5               31
#define APPLY_C6               32
#define APPLY_C7               33
#define APPLY_C8               34
#define APPLY_C9               35
#define APPLY_SIZE             36
#define APPLY_ARMOUR           37
#define APPLY_POISON           38
#define APPLY_SAVING_BASIC     39
#define APPLY_CAST_SUCCESS     40
#define APPLY_MORALE           41

/* Material flags - 11   4 */
#define MAT_NONE               0
#define MAT_BULAT              1 
#define MAT_BRONZE             2
#define MAT_IRON               3
#define MAT_STEEL              4
#define MAT_SWORDSSTEEL        5
#define MAT_COLOR              6
#define MAT_CRYSTALL           7
#define MAT_WOOD               8
#define MAT_SUPERWOOD          9
#define MAT_FARFOR             10
#define MAT_GLASS              11
#define MAT_ROCK               12
#define MAT_BONE               13
#define MAT_MATERIA            14
#define MAT_SKIN               15
#define MAT_ORGANIC            16
#define MAT_PAPER              17
#define MAT_DIAMOND            18


/* Container flags - value[1] */
#define CONT_CLOSEABLE      (1 << 0)	/* Container can be closed	*/
#define CONT_PICKPROOF      (1 << 1)	/* Container is pickproof	*/
#define CONT_CLOSED         (1 << 2)	/* Container is closed		*/
#define CONT_LOCKED         (1 << 3)	/* Container is locked		*/


/* Some different kind of liquids for use in values of drink containers */
#define LIQ_WATER      0
#define LIQ_BEER       1
#define LIQ_WINE       2
#define LIQ_ALE        3
#define LIQ_QUAS       4
#define LIQ_BRANDY     5
#define LIQ_MORSE      6
#define LIQ_VODKA      7
#define LIQ_BRAGA      8
#define LIQ_MED        9
#define LIQ_MILK       10
#define LIQ_TEA        11
#define LIQ_COFFE      12
#define LIQ_BLOOD      13
#define LIQ_SALTWATER  14
#define LIQ_CLEARWATER 15



/* Affects, set by item - 13   1 */
a0 AFF_BLIND          	
b0 AFF_INVISIBLE      	
c0 AFF_DETECT_ALIGN  		
d0 AFF_DETECT_INVIS		
e0 AFF_DETECT_MAGIC		
f0 AFF_SENSE_LIFE			
g0 AFF_WATERWALK			
h0 AFF_SANCTUARY			
i0 AFF_CURSE				
j0 AFF_INFRAVISION		
k0 AFF_POISON			
l0 AFF_PROTECT_EVIL		
m0 AFF_PROTECT_GOOD		
n0 AFF_SLEEP				
o0 AFF_NOTRACK			
p0 AFF_BLESS			
q0 AFF_SNEAK			
r0 AFF_HIDE				
s0 AFF_HOLD				
t0 AFF_FLY				
u0 AFF_SIELENCE			
v0 AFF_AWARNESS			
w0 AFF_BLINK				
x0 AFF_NOFLEE				
y0 AFF_SINGLELIGHT       
z0 AFF_HOLYLIGHT			
A0 AFF_HOLYDARK			
B0 AFF_DETECT_POISON 		

(,      30  -  a-zA-D,
      )

/*      */
 11   1
a0 - 
b0 -   
c0 -     
d0 -      
e0 -     

 15   1
 a0 -  1
 b0 -  2
 c0 -  4
 d0 -  8
 e0 -  16
 f0 -  32
 g0 -  64
 h0 -  128
 i0 -  1
 j0 -  2
 k0 -  4
 l0 -  8
 m0 -  16

 15   2
   (  - -      
)

 15   3
  

 15   4
       (  )
