home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d190 / nethack.lha / NetHack / een.zoo / onames.h < prev    next >
Text File  |  1988-07-26  |  9KB  |  329 lines

  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    SLICE_OF_PIZZA    8
  10. #define    CREAM_PIE    9
  11. #define    TIN    10
  12. #define    K_RATION    11
  13. #define    C_RATION    12
  14. #define    ORANGE    13
  15. #define    APPLE    14
  16. #define    PEAR    15
  17. #define    MELON    16
  18. #define    BANANA    17
  19. #define    CANDY_BAR    18
  20. #define    EGG    19
  21. #define    CLOVE_OF_GARLIC    20
  22. #define    LUMP_OF_ROYAL_JELLY    21
  23. #define    DEAD_HUMAN    22
  24. #define    DEAD_GIANT_ANT    23
  25. #define    DEAD_GIANT_BAT    24
  26. #define    DEAD_CENTAUR    25
  27. #define    DEAD_DRAGON    26
  28. #define    DEAD_FLOATING_EYE    27
  29. #define    DEAD_FREEZING_SPHERE    28
  30. #define    DEAD_GNOME    29
  31. #define    DEAD_HOBGOBLIN    30
  32. #define    DEAD_STALKER    31
  33. #define    DEAD_JACKAL    32
  34. #define    DEAD_KOBOLD    33
  35. #define    DEAD_LEPRECHAUN    34
  36. #define    DEAD_MIMIC    35
  37. #define    DEAD_NYMPH    36
  38. #define    DEAD_ORC    37
  39. #define    DEAD_PURPLE_WORM    38
  40. #define    DEAD_QUANTUM_MECHANIC    39
  41. #define    DEAD_RUST_MONSTER    40
  42. #define    DEAD_SNAKE    41
  43. #define    DEAD_TROLL    42
  44. #define    DEAD_UMBER_HULK    43
  45. #define    DEAD_VAMPIRE    44
  46. #define    DEAD_WRAITH    45
  47. #define    DEAD_XORN    46
  48. #define    DEAD_YETI    47
  49. #define    DEAD_ZOMBIE    48
  50. #define    DEAD_ACID_BLOB    49
  51. #define    DEAD_GIANT_BEETLE    50
  52. #define    DEAD_COCKATRICE    51
  53. #define    DEAD_DOG    52
  54. #define    DEAD_ETTIN    53
  55. #define    DEAD_FOG_CLOUD    54
  56. #define    DEAD_GELATINOUS_CUBE    55
  57. #define    DEAD_HOMUNCULUS    56
  58. #define    DEAD_IMP    57
  59. #define    DEAD_JAGUAR    58
  60. #define    DEAD_KILLER_BEE    59
  61. #define    DEAD_LEOCROTTA    60
  62. #define    DEAD_MINOTAUR    61
  63. #define    DEAD_NURSE    62
  64. #define    DEAD_OWLBEAR    63
  65. #define    DEAD_PIERCER    64
  66. #define    DEAD_QUIVERING_BLOB    65
  67. #define    DEAD_GIANT_RAT    66
  68. #define    DEAD_GIANT_SCORPION    67
  69. #define    DEAD_TENGU    68
  70. #define    DEAD_UNICORN    69
  71. #define    DEAD_VIOLET_FUNGUS    70
  72. #define    DEAD_LONG_WORM    71
  73. #define    DEAD_XAN    72
  74. #define    DEAD_YELLOW_LIGHT    73
  75. #define    DEAD_ZRUTY    74
  76. #define    DEAD_SOLDIER    75
  77. #define    DEAD_GIANT    76
  78. #define    DEAD_DEMON    77
  79. #define    ARROW    78
  80. #define    SLING_BULLET    79
  81. #define    CROSSBOW_BOLT    80
  82. #define    DART    81
  83. #define    SHURIKEN    82
  84. #define    ROCK    83
  85. #define    BOOMERANG    84
  86. #define    MACE    85
  87. #define    AXE    86
  88. #define    FLAIL    87
  89. #define    LONG_SWORD    88
  90. #define    TWO_HANDED_SWORD    89
  91. #define    DAGGER    90
  92. #define    WORM_TOOTH    91
  93. #define    CRYSKNIFE    92
  94. #define    AKLYS    93
  95. #define    BARDICHE    94
  96. #define    BEC_DE_CORBIN    95
  97. #define    BILL_GUISARME    96
  98. #define    CLUB    97
  99. #define    FAUCHARD    98
  100. #define    GLAIVE    99
  101. #define    GUISARME    100
  102. #define    HALBERD    101
  103. #define    LUCERN_HAMMER    102
  104. #define    JAVELIN    103
  105. #define    KATANA    104
  106. #define    LANCE    105
  107. #define    MORNING_STAR    106
  108. #define    PARTISAN    107
  109. #define    RANSEUR    108
  110. #define    SCIMITAR    109
  111. #define    SPETUM    110
  112. #define    BROAD_SWORD    111
  113. #define    SHORT_SWORD    112
  114. #define    TRIDENT    113
  115. #define    VOULGE    114
  116. #define    SPEAR    115
  117. #define    BOW    116
  118. #define    SLING    117
  119. #define    CROSSBOW    118
  120. #define    WHISTLE    119
  121. #define    LEASH    120
  122. #define    MAGIC_WHISTLE    121
  123. #define    BLINDFOLD    122
  124. #define    MIRROR    123
  125. #define    EXPENSIVE_CAMERA    124
  126. #define    ICE_BOX    125
  127. #define    PICK_AXE    126
  128. #define    MAGIC_MARKER    127
  129. #define    STETHOSCOPE    128
  130. #define    CAN_OPENER    129
  131. #define    LAMP    130
  132. #define    MAGIC_LAMP    131
  133. #define    BADGE    132
  134. #define    HEAVY_IRON_BALL    133
  135. #define    IRON_CHAIN    134
  136. #define    ENORMOUS_ROCK    135
  137. #define    HELMET    136
  138. #define    PLATE_MAIL    137
  139. #define    SPLINT_MAIL    138
  140. #define    BANDED_MAIL    139
  141. #define    CHAIN_MAIL    140
  142. #define    SCALE_MAIL    141
  143. #define    RING_MAIL    142
  144. #define    STUDDED_LEATHER_ARMOR    143
  145. #define    ELFIN_CHAIN_MAIL    144
  146. #define    BRONZE_PLATE_MAIL    145
  147. #define    CRYSTAL_PLATE_MAIL    146
  148. #define    LEATHER_ARMOR    147
  149. #define    ELVEN_CLOAK    148
  150. #define    SHIELD    149
  151. #define    HAWAIIAN_SHIRT    150
  152. #define    PAIR_OF_GLOVES    151
  153. #define    POT_RESTORE_STRENGTH    152
  154. #define    POT_GAIN_ENERGY    153
  155. #define    POT_BOOZE    154
  156. #define    POT_INVISIBILITY    155
  157. #define    POT_FRUIT_JUICE    156
  158. #define    POT_HEALING    157
  159. #define    POT_PARALYSIS    158
  160. #define    POT_MONSTER_DETECTION    159
  161. #define    POT_OBJECT_DETECTION    160
  162. #define    POT_SICKNESS    161
  163. #define    POT_CONFUSION    162
  164. #define    POT_GAIN_STRENGTH    163
  165. #define    POT_SPEED    164
  166. #define    POT_BLINDNESS    165
  167. #define    POT_GAIN_LEVEL    166
  168. #define    POT_EXTRA_HEALING    167
  169. #define    POT_LEVITATION    168
  170. #define    POT_HALLUCINATION    169
  171. #define    POT_HOLY_WATER    170
  172. #define    SCR_MAIL    173
  173. #define    SCR_ENCHANT_ARMOR    174
  174. #define    SCR_DESTROY_ARMOR    175
  175. #define    SCR_CONFUSE_MONSTER    176
  176. #define    SCR_SCARE_MONSTER    177
  177. #define    SCR_BLANK_PAPER    178
  178. #define    SCR_REMOVE_CURSE    179
  179. #define    SCR_ENCHANT_WEAPON    180
  180. #define    SCR_DAMAGE_WEAPON    181
  181. #define    SCR_CREATE_MONSTER    182
  182. #define    SCR_TAMING    183
  183. #define    SCR_GENOCIDE    184
  184. #define    SCR_LIGHT    185
  185. #define    SCR_TELEPORTATION    186
  186. #define    SCR_GOLD_DETECTION    187
  187. #define    SCR_FOOD_DETECTION    188
  188. #define    SCR_IDENTIFY    189
  189. #define    SCR_MAGIC_MAPPING    190
  190. #define    SCR_AMNESIA    191
  191. #define    SCR_FIRE    192
  192. #define    SCR_PUNISHMENT    193
  193. #define    WAN_LIGHT    198
  194. #define    WAN_SECRET_DOOR_DETECTION    199
  195. #define    WAN_CREATE_MONSTER    200
  196. #define    WAN_WISHING    201
  197. #define    WAN_STRIKING    202
  198. #define    WAN_NOTHING    203
  199. #define    WAN_SLOW_MONSTER    204
  200. #define    WAN_SPEED_MONSTER    205
  201. #define    WAN_UNDEAD_TURNING    206
  202. #define    WAN_POLYMORPH    207
  203. #define    WAN_CANCELLATION    208
  204. #define    WAN_TELEPORTATION    209
  205. #define    WAN_MAKE_INVISIBLE    210
  206. #define    WAN_PROBING    211
  207. #define    WAN_DIGGING    212
  208. #define    WAN_MAGIC_MISSILE    213
  209. #define    WAN_FIRE    214
  210. #define    WAN_SLEEP    215
  211. #define    WAN_COLD    216
  212. #define    WAN_DEATH    217
  213. #define    WAN_LIGHTNING    218
  214. #define    SPE_MAGIC_MISSILE    220
  215. #define    SPE_FIREBALL    221
  216. #define    SPE_SLEEP    222
  217. #define    SPE_CONE_OF_COLD    223
  218. #define    SPE_FINGER_OF_DEATH    224
  219. #define    SPE_HEALING    225
  220. #define    SPE_DETECT_MONSTERS    226
  221. #define    SPE_FORCE_BOLT    227
  222. #define    SPE_LIGHT    228
  223. #define    SPE_CONFUSE_MONSTER    229
  224. #define    SPE_CURE_BLINDNESS    230
  225. #define    SPE_SLOW_MONSTER    231
  226. #define    SPE_CREATE_MONSTER    232
  227. #define    SPE_DETECT_FOOD    233
  228. #define    SPE_HASTE_SELF    234
  229. #define    SPE_CAUSE_FEAR    235
  230. #define    SPE_CURE_SICKNESS    236
  231. #define    SPE_DETECT_UNSEEN    237
  232. #define    SPE_EXTRA_HEALING    238
  233. #define    SPE_CHARM_MONSTER    239
  234. #define    SPE_LEVITATION    240
  235. #define    SPE_RESTORE_STRENGTH    241
  236. #define    SPE_INVISIBILITY    242
  237. #define    SPE_DETECT_TREASURE    243
  238. #define    SPE_DIG    244
  239. #define    SPE_REMOVE_CURSE    245
  240. #define    SPE_MAGIC_MAPPING    246
  241. #define    SPE_IDENTIFY    247
  242. #define    SPE_TURN_UNDEAD    248
  243. #define    SPE_POLYMORPH    249
  244. #define    SPE_CREATE_FAMILIAR    250
  245. #define    SPE_TELEPORT_AWAY    251
  246. #define    SPE_CANCELLATION    252
  247. #define    SPE_GENOCIDE    253
  248. #define    Adornment    u.uprops[0].p_flgs
  249. #define    RIN_ADORNMENT    258
  250. #define    HTeleportation    u.uprops[1].p_flgs
  251. #define    Teleportation    ((HTeleportation) || index("LNt", u.usym))
  252. #define    RIN_TELEPORTATION    259
  253. #define    HRegeneration    u.uprops[2].p_flgs
  254. #define    Regeneration    ((HRegeneration) || index("TVi", u.usym))
  255. #define    RIN_REGENERATION    260
  256. #define    Searching    u.uprops[3].p_flgs
  257. #define    RIN_SEARCHING    261
  258. #define    HSee_invisible    u.uprops[4].p_flgs
  259. #define    See_invisible    ((HSee_invisible) || index("I", u.usym))
  260. #define    RIN_SEE_INVISIBLE    262
  261. #define    Stealth    u.uprops[5].p_flgs
  262. #define    RIN_STEALTH    263
  263. #define    Levitation    u.uprops[6].p_flgs
  264. #define    RIN_LEVITATION    264
  265. #define    HPoison_resistance    u.uprops[7].p_flgs
  266. #define    Poison_resistance    ((HPoison_resistance) || index("abcghikqsuvxyADFQSVWXZ&", u.usym))
  267. #define    RIN_POISON_RESISTANCE    265
  268. #define    Aggravate_monster    u.uprops[8].p_flgs
  269. #define    RIN_AGGRAVATE_MONSTER    266
  270. #define    Hunger    u.uprops[9].p_flgs
  271. #define    RIN_HUNGER    267
  272. #define    HFire_resistance    u.uprops[10].p_flgs
  273. #define    Fire_resistance    ((HFire_resistance) || index("gD&", u.usym))
  274. #define    RIN_FIRE_RESISTANCE    268
  275. #define    HCold_resistance    u.uprops[11].p_flgs
  276. #define    Cold_resistance    ((HCold_resistance) || index("gFY", u.usym))
  277. #define    RIN_COLD_RESISTANCE    269
  278. #define    Protection_from_shape_changers    u.uprops[12].p_flgs
  279. #define    RIN_PROTECTION_FROM_SHAPE_CHAN    270
  280. #define    Conflict    u.uprops[13].p_flgs
  281. #define    RIN_CONFLICT    271
  282. #define    Gain_strength    u.uprops[14].p_flgs
  283. #define    RIN_GAIN_STRENGTH    272
  284. #define    Increase_damage    u.uprops[15].p_flgs
  285. #define    RIN_INCREASE_DAMAGE    273
  286. #define    Protection    u.uprops[16].p_flgs
  287. #define    RIN_PROTECTION    274
  288. #define    Warning    u.uprops[17].p_flgs
  289. #define    RIN_WARNING    275
  290. #define    HTeleport_control    u.uprops[18].p_flgs
  291. #define    Teleport_control    ((HTeleport_control) || index("t", u.usym))
  292. #define    RIN_TELEPORT_CONTROL    276
  293. #define    Polymorph    u.uprops[19].p_flgs
  294. #define    RIN_POLYMORPH    277
  295. #define    Polymorph_control    u.uprops[20].p_flgs
  296. #define    RIN_POLYMORPH_CONTROL    278
  297. #define    HShock_resistance    u.uprops[21].p_flgs
  298. #define    Shock_resistance    ((HShock_resistance) || index("g;", u.usym))
  299. #define    RIN_SHOCK_RESISTANCE    279
  300. #define    DILITHIUM_CRYSTAL    281
  301. #define    DIAMOND    282
  302. #define    RUBY    283
  303. #define    SAPPHIRE    284
  304. #define    EMERALD    285
  305. #define    TURQUOISE    286
  306. #define    AQUAMARINE    287
  307. #define    AMBER    288
  308. #define    TOPAZ    289
  309. #define    OPAL    290
  310. #define    GARNET    291
  311. #define    AMETHYST    292
  312. #define    JASPER    293
  313. #define    FLUORITE    294
  314. #define    JADE    295
  315. /* #define    WORTHLESS_PIECE_OF_WHITE_GLASS    296 */
  316. /* #define    WORTHLESS_PIECE_OF_BLUE_GLASS    297 */
  317. /* #define    WORTHLESS_PIECE_OF_RED_GLASS    298 */
  318. /* #define    WORTHLESS_PIECE_OF_YELLOWISH_BROWN_GLAS    299 */
  319. /* #define    WORTHLESS_PIECE_OF_GREEN_GLASS    300 */
  320.  
  321. #define CORPSE                  DEAD_HUMAN
  322. #define DEAD_KOP                DEAD_KOBOLD
  323. #define DEAD_GIANT_SPIDER       DEAD_GIANT_SCORPION
  324. #define DEAD_ROCKMOLE           DEAD_GIANT_RAT
  325. #define LAST_GEM        (JADE+1)
  326. #define LAST_RING       22
  327. #define MAXSPELL        35
  328. #define NROFOBJECTS     300
  329.