#define MS_ORC MS_GRUNT
#define MR_FIRE 0x01
#define MR_COLD 0x02
#define MR_SLEEP 0x04
#define MR_DISINT 0x08
#define MR_ELEC 0x10
#define MR_POISON 0x20
#define MR_ACID 0x40
#define MR_STONE 0x80
#define MR2_SEE_INVIS 0x0100
#define MR2_LEVITATE 0x0200
#define MR2_WATERWALK 0x0400
#define MR2_MAGBREATH 0x0800
#define MR2_DISPLACED 0x1000
#define MR2_STRENGTH 0x2000
#define MR2_FUMBLING 0x4000
#define M1_FLY 0x00000001L
#define M1_SWIM 0x00000002L
#define M1_AMORPHOUS 0x00000004L
#define M1_WALLWALK 0x00000008L
#define M1_CLING 0x00000010L
#define M1_TUNNEL 0x00000020L
#define M1_NEEDPICK 0x00000040L
#define M1_CONCEAL 0x00000080L
#define M1_HIDE 0x00000100L
#define M1_AMPHIBIOUS 0x00000200L
#define M1_BREATHLESS 0x00000400L
#define M1_NOTAKE 0x00000800L
#define M1_NOEYES 0x00001000L
#define M1_NOHANDS 0x00002000L
#define M1_NOLIMBS 0x00006000L
#define M1_NOHEAD 0x00008000L
#define M1_MINDLESS 0x00010000L
#define M1_HUMANOID 0x00020000L
#define M1_ANIMAL 0x00040000L
#define M1_SLITHY 0x00080000L
#define M1_UNSOLID 0x00100000L
#define M1_THICK_HIDE 0x00200000L
#define M1_OVIPAROUS 0x00400000L
#define M1_REGEN 0x00800000L
#define M1_SEE_INVIS 0x01000000L
#define M1_TPORT 0x02000000L
#define M1_TPORT_CNTRL 0x04000000L
#define M1_ACID 0x08000000L
#define M1_POIS 0x10000000L
#define M1_CARNIVORE 0x20000000L
#define M1_HERBIVORE 0x40000000L
#define M1_OMNIVORE 0x60000000L
#define M1_METALLIVORE 0x80000000L
#define M2_NOPOLY 0x00000001L
#define M2_UNDEAD 0x00000002L
#define M2_WERE 0x00000004L
#define M2_HUMAN 0x00000008L
#define M2_ELF 0x00000010L
#define M2_DWARF 0x00000020L
#define M2_GNOME 0x00000040L
#define M2_ORC 0x00000080L
#define M2_DEMON 0x00000100L
#define M2_MERC 0x00000200L
#define M2_LORD 0x00000400L
#define M2_PRINCE 0x00000800L
#define M2_MINION 0x00001000L
#define M2_GIANT 0x00002000L
#define M2_MALE 0x00010000L
#define M2_FEMALE 0x00020000L
#define M2_NEUTER 0x00040000L
#define M2_PNAME 0x00080000L
#define M2_HOSTILE 0x00100000L
#define M2_PEACEFUL 0x00200000L
#define M2_DOMESTIC 0x00400000L
#define M2_WANDER 0x00800000L
#define M2_STALK 0x01000000L
#define M2_NASTY 0x02000000L
#define M2_STRONG 0x04000000L
#define M2_ROCKTHROW 0x08000000L
#define M2_GREEDY 0x10000000L
#define M2_JEWELS 0x20000000L
#define M2_COLLECT 0x40000000L
#define M2_MAGIC 0x80000000L
#define M3_WANTSAMUL 0x0001
#define M3_WANTSBELL 0x0002
#define M3_WANTSBOOK 0x0004
#define M3_WANTSCAND 0x0008
#define M3_WANTSARTI 0x0010
#define M3_WANTSALL 0x001f
#define M3_WAITFORU 0x0040
#define M3_CLOSE 0x0080
#define M3_COVETOUS 0x001f
#define M3_WAITMASK 0x00c0
#define M3_INFRAVISION 0x0100
#define M3_INFRAVISIBLE 0x0200
#define MZ_HUMAN MZ_MEDIUM
#define MH_HUMAN M2_HUMAN
#define MH_ELF M2_ELF
#define MH_DWARF M2_DWARF
#define MH_GNOME M2_GNOME
#define MH_ORC M2_ORC
#define G_UNIQ 0x1000
#define G_NOHELL 0x0800
#define G_HELL 0x0400
#define G_NOGEN 0x0200
#define G_SGROUP 0x0080
#define G_LGROUP 0x0040
#define G_GENO 0x0020
#define G_NOCORPSE 0x0010
#define G_FREQ 0x0007
#define G_KNOWN 0x0004
#define G_GENOD 0x0002
#define G_EXTINCT 0x0001
#define MV_KNOWS_EGG 0x0008