1: #define STRANGE_OBJECT 0 2: #define AMULET_OF_YENDOR 1 3: #define FOOD_RATION 2 4: #define TRIPE_RATION 3 5: #define PANCAKE 4 6: #define DEAD_LIZARD 5 7: #define FORTUNE_COOKIE 6 8: #define CARROT 7 9: #define TIN 8 10: #define ORANGE 9 11: #define APPLE 10 12: #define PEAR 11 13: #define MELON 12 14: #define BANANA 13 15: #define CANDY_BAR 14 16: #define EGG 15 17: #define CLOVE_OF_GARLIC 16 18: #define LUMP_OF_ROYAL_JELLY 17 19: #define DEAD_HUMAN 18 20: #define DEAD_GIANT_ANT 19 21: #define DEAD_GIANT_BAT 20 22: #define DEAD_CENTAUR 21 23: #define DEAD_DRAGON 22 24: #define DEAD_FLOATING_EYE 23 25: #define DEAD_FREEZING_SPHERE 24 26: #define DEAD_GNOME 25 27: #define DEAD_HOBGOBLIN 26 28: #define DEAD_STALKER 27 29: #define DEAD_JACKAL 28 30: #define DEAD_KOBOLD 29 31: #define DEAD_LEPRECHAUN 30 32: #define DEAD_MIMIC 31 33: #define DEAD_NYMPH 32 34: #define DEAD_ORC 33 35: #define DEAD_PURPLE_WORM 34 36: #define DEAD_QUASIT 35 37: #define DEAD_RUST_MONSTER 36 38: #define DEAD_SNAKE 37 39: #define DEAD_TROLL 38 40: #define DEAD_UMBER_HULK 39 41: #define DEAD_VAMPIRE 40 42: #define DEAD_WRAITH 41 43: #define DEAD_XORN 42 44: #define DEAD_YETI 43 45: #define DEAD_ZOMBIE 44 46: #define DEAD_ACID_BLOB 45 47: #define DEAD_GIANT_BEETLE 46 48: #define DEAD_COCKATRICE 47 49: #define DEAD_DOG 48 50: #define DEAD_ETTIN 49 51: #define DEAD_FOG_CLOUD 50 52: #define DEAD_GELATINOUS_CUBE 51 53: #define DEAD_HOMUNCULUS 52 54: #define DEAD_IMP 53 55: #define DEAD_JAGUAR 54 56: #define DEAD_KILLER_BEE 55 57: #define DEAD_LEOCROTTA 56 58: #define DEAD_MINOTAUR 57 59: #define DEAD_NURSE 58 60: #define DEAD_OWLBEAR 59 61: #define DEAD_PIERCER 60 62: #define DEAD_QUIVERING_BLOB 61 63: #define DEAD_GIANT_RAT 62 64: #define DEAD_GIANT_SCORPION 63 65: #define DEAD_TENGU 64 66: #define DEAD_UNICORN 65 67: #define DEAD_VIOLET_FUNGI 66 68: #define DEAD_LONG_WORM 67 69: #define DEAD_XAN 68 70: #define DEAD_YELLOW_LIGHT 69 71: #define DEAD_ZRUTY 70 72: #define ARROW 71 73: #define SLING_BULLET 72 74: #define CROSSBOW_BOLT 73 75: #define DART 74 76: #define ROCK 75 77: #define BOOMERANG 76 78: #define MACE 77 79: #define AXE 78 80: #define FLAIL 79 81: #define LONG_SWORD 80 82: #define TWO_HANDED_SWORD 81 83: #define DAGGER 82 84: #define WORM_TOOTH 83 85: #define CRYSKNIFE 84 86: #define SPEAR 85 87: #define BOW 86 88: #define SLING 87 89: #define CROSSBOW 88 90: #define WHISTLE 89 91: #define MAGIC_WHISTLE 90 92: #define EXPENSIVE_CAMERA 91 93: #define ICE_BOX 92 94: #define PICK_AXE 93 95: #define CAN_OPENER 94 96: #define HEAVY_IRON_BALL 95 97: #define IRON_CHAIN 96 98: #define ENORMOUS_ROCK 97 99: #define HELMET 98 100: #define PLATE_MAIL 99 101: #define SPLINT_MAIL 100 102: #define BANDED_MAIL 101 103: #define CHAIN_MAIL 102 104: #define SCALE_MAIL 103 105: #define RING_MAIL 104 106: #define STUDDED_LEATHER_ARMOR 105 107: #define LEATHER_ARMOR 106 108: #define ELVEN_CLOAK 107 109: #define SHIELD 108 110: #define PAIR_OF_GLOVES 109 111: #define POT_RESTORE_STRENGTH 110 112: #define POT_BOOZE 111 113: #define POT_INVISIBILITY 112 114: #define POT_FRUIT_JUICE 113 115: #define POT_HEALING 114 116: #define POT_PARALYSIS 115 117: #define POT_MONSTER_DETECTION 116 118: #define POT_OBJECT_DETECTION 117 119: #define POT_SICKNESS 118 120: #define POT_CONFUSION 119 121: #define POT_GAIN_STRENGTH 120 122: #define POT_SPEED 121 123: #define POT_BLINDNESS 122 124: #define POT_GAIN_LEVEL 123 125: #define POT_EXTRA_HEALING 124 126: #define POT_LEVITATION 125 127: #define SCR_MAIL 130 128: #define SCR_ENCHANT_ARMOR 131 129: #define SCR_DESTROY_ARMOR 132 130: #define SCR_CONFUSE_MONSTER 133 131: #define SCR_SCARE_MONSTER 134 132: #define SCR_BLANK_PAPER 135 133: #define SCR_REMOVE_CURSE 136 134: #define SCR_ENCHANT_WEAPON 137 135: #define SCR_DAMAGE_WEAPON 138 136: #define SCR_CREATE_MONSTER 139 137: #define SCR_TAMING 140 138: #define SCR_GENOCIDE 141 139: #define SCR_LIGHT 142 140: #define SCR_TELEPORTATION 143 141: #define SCR_GOLD_DETECTION 144 142: #define SCR_FOOD_DETECTION 145 143: #define SCR_IDENTIFY 146 144: #define SCR_MAGIC_MAPPING 147 145: #define SCR_AMNESIA 148 146: #define SCR_FIRE 149 147: #define SCR_PUNISHMENT 150 148: #define WAN_LIGHT 155 149: #define WAN_SECRET_DOOR_DETECTION 156 150: #define WAN_CREATE_MONSTER 157 151: #define WAN_WISHING 158 152: #define WAN_STRIKING 159 153: #define WAN_SLOW_MONSTER 160 154: #define WAN_SPEED_MONSTER 161 155: #define WAN_UNDEAD_TURNING 162 156: #define WAN_POLYMORPH 163 157: #define WAN_CANCELLATION 164 158: #define WAN_TELEPORTATION 165 159: #define WAN_MAKE_INVISIBLE 166 160: #define WAN_DIGGING 167 161: #define WAN_MAGIC_MISSILE 168 162: #define WAN_FIRE 169 163: #define WAN_SLEEP 170 164: #define WAN_COLD 171 165: #define WAN_DEATH 172 166: #define Adornment u.uprops[0].p_flgs 167: #define RIN_ADORNMENT 176 168: #define Teleportation u.uprops[1].p_flgs 169: #define RIN_TELEPORTATION 177 170: #define Regeneration u.uprops[2].p_flgs 171: #define RIN_REGENERATION 178 172: #define Searching u.uprops[3].p_flgs 173: #define RIN_SEARCHING 179 174: #define See_invisible u.uprops[4].p_flgs 175: #define RIN_SEE_INVISIBLE 180 176: #define Stealth u.uprops[5].p_flgs 177: #define RIN_STEALTH 181 178: #define Levitation u.uprops[6].p_flgs 179: #define RIN_LEVITATION 182 180: #define Poison_resistance u.uprops[7].p_flgs 181: #define RIN_POISON_RESISTANCE 183 182: #define Aggravate_monster u.uprops[8].p_flgs 183: #define RIN_AGGRAVATE_MONSTER 184 184: #define Hunger u.uprops[9].p_flgs 185: #define RIN_HUNGER 185 186: #define Fire_resistance u.uprops[10].p_flgs 187: #define RIN_FIRE_RESISTANCE 186 188: #define Cold_resistance u.uprops[11].p_flgs 189: #define RIN_COLD_RESISTANCE 187 190: #define Protection_from_shape_changers u.uprops[12].p_flgs 191: #define RIN_PROTECTION_FROM_SHAPE_CHANGERS 188 192: #define Conflict u.uprops[13].p_flgs 193: #define RIN_CONFLICT 189 194: #define Gain_strength u.uprops[14].p_flgs 195: #define RIN_GAIN_STRENGTH 190 196: #define Increase_damage u.uprops[15].p_flgs 197: #define RIN_INCREASE_DAMAGE 191 198: #define Protection u.uprops[16].p_flgs 199: #define RIN_PROTECTION 192 200: #define Warning u.uprops[17].p_flgs 201: #define RIN_WARNING 193 202: #define Teleport_control u.uprops[18].p_flgs 203: #define RIN_TELEPORT_CONTROL 194 204: #define DIAMOND 197 205: #define RUBY 198 206: #define SAPPHIRE 199 207: #define EMERALD 200 208: #define TURQUOISE 201 209: #define AQUAMARINE 202 210: #define TOURMALINE 203 211: #define TOPAZ 204 212: #define OPAL 205 213: #define GARNET 206 214: #define AMETHYST 207 215: #define AGATE 208 216: #define ONYX 209 217: #define JASPER 210 218: #define JADE 211 219: /* #define WORTHLESS_PIECE_OF_BLUE_GLASS 212 */ 220: /* #define WORTHLESS_PIECE_OF_RED_GLASS 213 */ 221: /* #define WORTHLESS_PIECE_OF_YELLOW_GLASS 214 */ 222: /* #define WORTHLESS_PIECE_OF_GREEN_GLASS 215 */ 223: 224: #define CORPSE DEAD_HUMAN 225: #define LAST_GEM (JADE+1) 226: #define LAST_RING 19 227: #define NROFOBJECTS 215