File: onames.h

package info (click to toggle)
gnomehack 1.0.5-1.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 10,256 kB
  • ctags: 12,966
  • sloc: ansic: 119,783; yacc: 2,002; sh: 610; lex: 417; makefile: 397
file content (428 lines) | stat: -rw-r--r-- 11,066 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
/*	SCCS Id: @(#)onames.h	3.2	94/09/10 */

/* This source file is generated by 'makedefs'.  Do not edit. */
#ifndef ONAMES_H
#define ONAMES_H

#define	STRANGE_OBJECT	0
#define	ARROW	1
#define	ELVEN_ARROW	2
#define	ORCISH_ARROW	3
#define	SILVER_ARROW	4
#define	YA	5
#define	CROSSBOW_BOLT	6
#define	DART	7
#define	SHURIKEN	8
#define	BOOMERANG	9
#define	SPEAR	10
#define	ELVEN_SPEAR	11
#define	ORCISH_SPEAR	12
#define	DWARVISH_SPEAR	13
#define	JAVELIN	14
#define	TRIDENT	15
#define	DAGGER	16
#define	ELVEN_DAGGER	17
#define	ORCISH_DAGGER	18
#define	ATHAME	19
#define	SCALPEL	20
#define	KNIFE	21
#define	STILETTO	22
#define	WORM_TOOTH	23
#define	CRYSKNIFE	24
#define	AXE	25
#define	BATTLE_AXE	26
#define	SHORT_SWORD	27
#define	ELVEN_SHORT_SWORD	28
#define	ORCISH_SHORT_SWORD	29
#define	DWARVISH_SHORT_SWORD	30
#define	SCIMITAR	31
#define	SILVER_SABER	32
#define	BROADSWORD	33
#define	ELVEN_BROADSWORD	34
#define	LONG_SWORD	35
#define	TWO_HANDED_SWORD	36
#define	KATANA	37
#define	TSURUGI	38
#define	RUNESWORD	39
#define	PARTISAN	40
#define	RANSEUR	41
#define	SPETUM	42
#define	GLAIVE	43
#define	LANCE	44
#define	HALBERD	45
#define	BARDICHE	46
#define	VOULGE	47
#define	DWARVISH_MATTOCK	48
#define	FAUCHARD	49
#define	GUISARME	50
#define	BILL_GUISARME	51
#define	LUCERN_HAMMER	52
#define	BEC_DE_CORBIN	53
#define	MACE	54
#define	MORNING_STAR	55
#define	WAR_HAMMER	56
#define	CLUB	57
#define	RUBBER_HOSE	58
#define	QUARTERSTAFF	59
#define	AKLYS	60
#define	FLAIL	61
#define	BULLWHIP	62
#define	BOW	63
#define	ELVEN_BOW	64
#define	ORCISH_BOW	65
#define	YUMI	66
#define	SLING	67
#define	CROSSBOW	68
#define	ELVEN_LEATHER_HELM	69
#define	ORCISH_HELM	70
#define	DWARVISH_IRON_HELM	71
#define	FEDORA	72
#define	CORNUTHAUM	73
#define	DUNCE_CAP	74
#define	DENTED_POT	75
#define	HELMET	76
#define	HELM_OF_BRILLIANCE	77
#define	HELM_OF_OPPOSITE_ALIGNMENT	78
#define	HELM_OF_TELEPATHY	79
#define	GRAY_DRAGON_SCALE_MAIL	80
#define	RED_DRAGON_SCALE_MAIL	81
#define	WHITE_DRAGON_SCALE_MAIL	82
#define	ORANGE_DRAGON_SCALE_MAIL	83
#define	BLACK_DRAGON_SCALE_MAIL	84
#define	BLUE_DRAGON_SCALE_MAIL	85
#define	GREEN_DRAGON_SCALE_MAIL	86
#define	YELLOW_DRAGON_SCALE_MAIL	87
#define	GRAY_DRAGON_SCALES	88
#define	RED_DRAGON_SCALES	89
#define	WHITE_DRAGON_SCALES	90
#define	ORANGE_DRAGON_SCALES	91
#define	BLACK_DRAGON_SCALES	92
#define	BLUE_DRAGON_SCALES	93
#define	GREEN_DRAGON_SCALES	94
#define	YELLOW_DRAGON_SCALES	95
#define	PLATE_MAIL	96
#define	CRYSTAL_PLATE_MAIL	97
#define	BRONZE_PLATE_MAIL	98
#define	SPLINT_MAIL	99
#define	BANDED_MAIL	100
#define	DWARVISH_MITHRIL_COAT	101
#define	ELVEN_MITHRIL_COAT	102
#define	CHAIN_MAIL	103
#define	ORCISH_CHAIN_MAIL	104
#define	SCALE_MAIL	105
#define	STUDDED_LEATHER_ARMOR	106
#define	RING_MAIL	107
#define	ORCISH_RING_MAIL	108
#define	LEATHER_ARMOR	109
#define	LEATHER_JACKET	110
#define	HAWAIIAN_SHIRT	111
#define	T_SHIRT	112
#define	MUMMY_WRAPPING	113
#define	ELVEN_CLOAK	114
#define	ORCISH_CLOAK	115
#define	DWARVISH_CLOAK	116
#define	OILSKIN_CLOAK	117
#define	CLOAK_OF_PROTECTION	118
#define	CLOAK_OF_INVISIBILITY	119
#define	CLOAK_OF_MAGIC_RESISTANCE	120
#define	CLOAK_OF_DISPLACEMENT	121
#define	SMALL_SHIELD	122
#define	ELVEN_SHIELD	123
#define	URUK_HAI_SHIELD	124
#define	ORCISH_SHIELD	125
#define	LARGE_SHIELD	126
#define	DWARVISH_ROUNDSHIELD	127
#define	SHIELD_OF_REFLECTION	128
#define	LEATHER_GLOVES	129
#define	GAUNTLETS_OF_FUMBLING	130
#define	GAUNTLETS_OF_POWER	131
#define	GAUNTLETS_OF_DEXTERITY	132
#define	LOW_BOOTS	133
#define	IRON_SHOES	134
#define	HIGH_BOOTS	135
#define	SPEED_BOOTS	136
#define	WATER_WALKING_BOOTS	137
#define	JUMPING_BOOTS	138
#define	ELVEN_BOOTS	139
#define	FUMBLE_BOOTS	140
#define	LEVITATION_BOOTS	141
#define	RIN_ADORNMENT	142
#define	RIN_GAIN_STRENGTH	143
#define	RIN_INCREASE_DAMAGE	144
#define	RIN_PROTECTION	145
#define	RIN_REGENERATION	146
#define	RIN_SEARCHING	147
#define	RIN_STEALTH	148
#define	RIN_LEVITATION	149
#define	RIN_HUNGER	150
#define	RIN_AGGRAVATE_MONSTER	151
#define	RIN_CONFLICT	152
#define	RIN_WARNING	153
#define	RIN_POISON_RESISTANCE	154
#define	RIN_FIRE_RESISTANCE	155
#define	RIN_COLD_RESISTANCE	156
#define	RIN_SHOCK_RESISTANCE	157
#define	RIN_TELEPORTATION	158
#define	RIN_TELEPORT_CONTROL	159
#define	RIN_POLYMORPH	160
#define	RIN_POLYMORPH_CONTROL	161
#define	RIN_INVISIBILITY	162
#define	RIN_SEE_INVISIBLE	163
#define	RIN_PROTECTION_FROM_SHAPE_CHAN	164
#define	AMULET_OF_ESP	165
#define	AMULET_OF_LIFE_SAVING	166
#define	AMULET_OF_STRANGULATION	167
#define	AMULET_OF_RESTFUL_SLEEP	168
#define	AMULET_VERSUS_POISON	169
#define	AMULET_OF_CHANGE	170
#define	AMULET_OF_REFLECTION	171
#define	AMULET_OF_MAGICAL_BREATHING	172
#define	FAKE_AMULET_OF_YENDOR	173
#define	AMULET_OF_YENDOR	174
#define	LARGE_BOX	175
#define	CHEST	176
#define	ICE_BOX	177
#define	SACK	178
#define	OILSKIN_SACK	179
#define	BAG_OF_HOLDING	180
#define	BAG_OF_TRICKS	181
#define	SKELETON_KEY	182
#define	LOCK_PICK	183
#define	CREDIT_CARD	184
#define	TALLOW_CANDLE	185
#define	WAX_CANDLE	186
#define	BRASS_LANTERN	187
#define	OIL_LAMP	188
#define	MAGIC_LAMP	189
#define	EXPENSIVE_CAMERA	190
#define	MIRROR	191
#define	CRYSTAL_BALL	192
#define	BLINDFOLD	193
#define	TOWEL	194
#define	LEASH	195
#define	STETHOSCOPE	196
#define	TINNING_KIT	197
#define	TIN_OPENER	198
#define	CAN_OF_GREASE	199
#define	FIGURINE	200
#define	MAGIC_MARKER	201
#define	LAND_MINE	202
#define	BEARTRAP	203
#define	TIN_WHISTLE	204
#define	MAGIC_WHISTLE	205
#define	WOODEN_FLUTE	206
#define	MAGIC_FLUTE	207
#define	TOOLED_HORN	208
#define	FROST_HORN	209
#define	FIRE_HORN	210
#define	HORN_OF_PLENTY	211
#define	WOODEN_HARP	212
#define	MAGIC_HARP	213
#define	BELL	214
#define	BUGLE	215
#define	LEATHER_DRUM	216
#define	DRUM_OF_EARTHQUAKE	217
#define	PICK_AXE	218
#define	UNICORN_HORN	219
#define	CANDELABRUM_OF_INVOCATION	220
#define	BELL_OF_OPENING	221
#define	TRIPE_RATION	222
#define	CORPSE	223
#define	EGG	224
#define	APPLE	225
#define	ORANGE	226
#define	PEAR	227
#define	MELON	228
#define	BANANA	229
#define	CARROT	230
#define	SPRIG_OF_WOLFSBANE	231
#define	CLOVE_OF_GARLIC	232
#define	SLIME_MOLD	233
#define	LUMP_OF_ROYAL_JELLY	234
#define	CREAM_PIE	235
#define	CANDY_BAR	236
#define	FORTUNE_COOKIE	237
#define	PANCAKE	238
#define	LEMBAS_WAFER	239
#define	CRAM_RATION	240
#define	FOOD_RATION	241
#define	K_RATION	242
#define	C_RATION	243
#define	TIN	244
#define	POT_GAIN_ABILITY	245
#define	POT_RESTORE_ABILITY	246
#define	POT_CONFUSION	247
#define	POT_BLINDNESS	248
#define	POT_PARALYSIS	249
#define	POT_SPEED	250
#define	POT_LEVITATION	251
#define	POT_HALLUCINATION	252
#define	POT_INVISIBILITY	253
#define	POT_SEE_INVISIBLE	254
#define	POT_HEALING	255
#define	POT_EXTRA_HEALING	256
#define	POT_GAIN_LEVEL	257
#define	POT_ENLIGHTENMENT	258
#define	POT_MONSTER_DETECTION	259
#define	POT_OBJECT_DETECTION	260
#define	POT_GAIN_ENERGY	261
#define	POT_BOOZE	262
#define	POT_SICKNESS	263
#define	POT_FRUIT_JUICE	264
#define	POT_OIL	265
#define	POT_WATER	266
#define	SCR_ENCHANT_ARMOR	267
#define	SCR_DESTROY_ARMOR	268
#define	SCR_CONFUSE_MONSTER	269
#define	SCR_SCARE_MONSTER	270
#define	SCR_REMOVE_CURSE	271
#define	SCR_ENCHANT_WEAPON	272
#define	SCR_CREATE_MONSTER	273
#define	SCR_TAMING	274
#define	SCR_GENOCIDE	275
#define	SCR_LIGHT	276
#define	SCR_TELEPORTATION	277
#define	SCR_GOLD_DETECTION	278
#define	SCR_FOOD_DETECTION	279
#define	SCR_IDENTIFY	280
#define	SCR_MAGIC_MAPPING	281
#define	SCR_AMNESIA	282
#define	SCR_FIRE	283
#define	SCR_PUNISHMENT	284
#define	SCR_CHARGING	285
#define	SCR_MAIL	292
#define	SCR_BLANK_PAPER	293
#define	SPE_DIG	294
#define	SPE_MAGIC_MISSILE	295
#define	SPE_FIREBALL	296
#define	SPE_CONE_OF_COLD	297
#define	SPE_SLEEP	298
#define	SPE_FINGER_OF_DEATH	299
#define	SPE_LIGHT	300
#define	SPE_DETECT_MONSTERS	301
#define	SPE_HEALING	302
#define	SPE_KNOCK	303
#define	SPE_FORCE_BOLT	304
#define	SPE_CONFUSE_MONSTER	305
#define	SPE_CURE_BLINDNESS	306
#define	SPE_SLOW_MONSTER	307
#define	SPE_WIZARD_LOCK	308
#define	SPE_CREATE_MONSTER	309
#define	SPE_DETECT_FOOD	310
#define	SPE_CAUSE_FEAR	311
#define	SPE_CLAIRVOYANCE	312
#define	SPE_CURE_SICKNESS	313
#define	SPE_CHARM_MONSTER	314
#define	SPE_HASTE_SELF	315
#define	SPE_DETECT_UNSEEN	316
#define	SPE_LEVITATION	317
#define	SPE_EXTRA_HEALING	318
#define	SPE_RESTORE_ABILITY	319
#define	SPE_INVISIBILITY	320
#define	SPE_DETECT_TREASURE	321
#define	SPE_REMOVE_CURSE	322
#define	SPE_MAGIC_MAPPING	323
#define	SPE_IDENTIFY	324
#define	SPE_TURN_UNDEAD	325
#define	SPE_POLYMORPH	326
#define	SPE_TELEPORT_AWAY	327
#define	SPE_CREATE_FAMILIAR	328
#define	SPE_CANCELLATION	329
#define	SPE_BLANK_PAPER	333
#define	SPE_BOOK_OF_THE_DEAD	334
#define	WAN_LIGHT	335
#define	WAN_SECRET_DOOR_DETECTION	336
#define	WAN_CREATE_MONSTER	337
#define	WAN_WISHING	338
#define	WAN_NOTHING	339
#define	WAN_STRIKING	340
#define	WAN_MAKE_INVISIBLE	341
#define	WAN_SLOW_MONSTER	342
#define	WAN_SPEED_MONSTER	343
#define	WAN_UNDEAD_TURNING	344
#define	WAN_POLYMORPH	345
#define	WAN_CANCELLATION	346
#define	WAN_TELEPORTATION	347
#define	WAN_OPENING	348
#define	WAN_LOCKING	349
#define	WAN_PROBING	350
#define	WAN_DIGGING	351
#define	WAN_MAGIC_MISSILE	352
#define	WAN_FIRE	353
#define	WAN_COLD	354
#define	WAN_SLEEP	355
#define	WAN_DEATH	356
#define	WAN_LIGHTNING	357
#define	GOLD_PIECE	361
#define	DILITHIUM_CRYSTAL	362
#define	DIAMOND	363
#define	RUBY	364
#define	SAPPHIRE	365
#define	EMERALD	366
#define	TURQUOISE	367
#define	AQUAMARINE	368
#define	AMBER	369
#define	TOPAZ	370
#define	OPAL	371
#define	GARNET	372
#define	AMETHYST	373
#define	JASPER	374
#define	FLUORITE	375
#define	JADE	376
/* #define	WORTHLESS_PIECE_OF_WHITE_GLASS	377 */
/* #define	WORTHLESS_PIECE_OF_BLUE_GLASS	378 */
/* #define	WORTHLESS_PIECE_OF_RED_GLASS	379 */
/* #define	WORTHLESS_PIECE_OF_YELLOWISH_BROWN_GLASS	380 */
/* #define	WORTHLESS_PIECE_OF_GREEN_GLASS	381 */
/* #define	WORTHLESS_PIECE_OF_VIOLET_GLASS	382 */
#define	LUCKSTONE	383
#define	LOADSTONE	384
#define	FLINT	385
#define	ROCK	386
#define	BOULDER	387
#define	STATUE	388
#define	HEAVY_IRON_BALL	389
#define	IRON_CHAIN	390
#define	BLINDING_VENOM	391
#define	ACID_VENOM	392
#define	LAST_GEM	(JADE)
#define	MAXSPELL	39
#define	NUM_OBJECTS	393

/* Artifacts (unique objects) */

#define	ART_EXCALIBUR	1
#define	ART_STORMBRINGER	2
#define	ART_MJOLLNIR	3
#define	ART_CLEAVER	4
#define	ART_GRIMTOOTH	5
#define	ART_ORCRIST	6
#define	ART_STING	7
#define	ART_MAGICBANE	8
#define	ART_FROST_BRAND	9
#define	ART_FIRE_BRAND	10
#define	ART_DRAGONBANE	11
#define	ART_DEMONBANE	12
#define	ART_WEREBANE	13
#define	ART_GRAYSWANDIR	14
#define	ART_GIANTSLAYER	15
#define	ART_OGRESMASHER	16
#define	ART_TROLLSBANE	17
#define	ART_VORPAL_BLADE	18
#define	ART_SNICKERSNEE	19
#define	ART_SUNSWORD	20
#define	ART_ORB_OF_DETECTION	21
#define	ART_HEART_OF_AHRIMAN	22
#define	ART_SCEPTRE_OF_MIGHT	23
#define	ART_PALANTIR_OF_WESTERNESSE	24
#define	ART_STAFF_OF_AESCULAPIUS	25
#define	ART_MAGIC_MIRROR_OF_MERLIN	26
#define	ART_MITRE_OF_HOLINESS	27
#define	ART_MASTER_KEY_OF_THIEVERY	28
#define	ART_TSURUGI_OF_MURAMASA	29
#define	ART_YENDORIAN_EXPRESS_CARD	30
#define	ART_ORB_OF_FATE	31
#define	ART_EYE_OF_THE_AETHIOPICA	32
#define	NROFARTIFACTS	32

#endif /* ONAMES_H */