Fandom

Wikihack

Source:SLASH'EM 0.0.7E7F2/monsym.h

2,034pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Below is the full text to monsym.h from the source code of SLASH'EM 0.0.7E7F2. To link to a particular line, write [[SLASH'EM 0.0.7E7F2/monsym.h#line123]], for example.

The latest source code for vanilla NetHack is at Source code.


The NetHack General Public License applies to screenshots, source code and other content from NetHack.
1.    /*	SCCS Id: @(#)monsym.h	3.4	1992/10/18	*/
2.    /*	Monster symbols and creation information rev 1.0	  */
3.    /* NetHack may be freely redistributed.  See license for details. */
4.    
5.    #ifndef MONSYM_H
6.    #define MONSYM_H
7.    
8.    /*
9.     * Monster classes.  Below, are the corresponding default characters for
10.    * them.  Monster class 0 is not used or defined so we can use it as a
11.    * NULL character.
12.    */
13.   #define S_ANT		1
14.   #define S_BLOB		2
15.   #define S_COCKATRICE	3
16.   #define S_DOG		4
17.   #define S_EYE		5
18.   #define S_FELINE	6
19.   #define S_GREMLIN	7
20.   #define S_HUMANOID	8
21.   #define S_IMP		9
22.   #define S_JELLY		10
23.   #define S_KOBOLD	11
24.   #define S_LEPRECHAUN	12
25.   #define S_MIMIC		13
26.   #define S_NYMPH		14
27.   #define S_ORC		15
28.   #define S_PIERCER	16
29.   #define S_QUADRUPED	17
30.   #define S_RODENT	18
31.   #define S_SPIDER	19
32.   #define S_TRAPPER	20
33.   #define S_UNICORN	21
34.   #define S_VORTEX	22
35.   #define S_WORM		23
36.   #define S_XAN		24
37.   #define S_LIGHT		25
38.   #define S_ZRUTY		26
39.   #define S_ZOUTHERN	26	/* KMH */
40.   #define S_ANGEL		27
41.   #define S_BAT		28
42.   #define S_CENTAUR	29
43.   #define S_DRAGON	30
44.   #define S_ELEMENTAL	31
45.   #define S_FUNGUS	32
46.   #define S_GNOME		33
47.   #define S_GIANT		34
48.   #define S_JABBERWOCK	36
49.   #define S_KOP		37
50.   #define S_LICH		38
51.   #define S_MUMMY		39
52.   #define S_NAGA		40
53.   #define S_OGRE		41
54.   #define S_PUDDING	42
55.   #define S_QUANTMECH	43
56.   #define S_RUSTMONST	44
57.   #define S_SNAKE		45
58.   #define S_TROLL		46
59.   #define S_UMBER		47
60.   #define S_VAMPIRE	48
61.   #define S_WRAITH	49
62.   #define S_XORN		50
63.   #define S_YETI		51
64.   #define S_ZOMBIE	52
65.   #define S_HUMAN		53
66.   #define S_GHOST		54
67.   #define S_GOLEM		55
68.   #define S_DEMON		56
69.   #define S_EEL		57
70.   #define S_LIZARD	58
71.   #define S_BAD_FOOD      59
72.   #define S_BAD_COINS     60
73.   
74.   #define S_WORM_TAIL     61
75.   #define S_MIMIC_DEF     62
76.                           
77.   #define MAXMCLASSES 63  /* number of monster classes */
78.   #define MISCMCLASSES 2  /* currently only wormtail and mimicdef*/
79.   
80.   #if 0	/* moved to decl.h so that makedefs.c won't see them */
81.   extern const char def_monsyms[MAXMCLASSES];	/* default class symbols */
82.   extern uchar monsyms[MAXMCLASSES];		/* current class symbols */
83.   #endif
84.   
85.   /*
86.    * Default characters for monsters.  These correspond to the monster classes
87.    * above.
88.    */
89.   #define DEF_ANT		'a'
90.   #define DEF_BLOB	'b'
91.   #define DEF_COCKATRICE	'c'
92.   #define DEF_DOG		'd'
93.   #define DEF_EYE		'e'
94.   #define DEF_FELINE	'f'
95.   #define DEF_GREMLIN	'g'
96.   #define DEF_HUMANOID	'h'
97.   #define DEF_IMP		'i'
98.   #define DEF_JELLY	'j'
99.   #define DEF_KOBOLD	'k'
100.  #define DEF_LEPRECHAUN	'l'
101.  #define DEF_MIMIC	'm'
102.  #define DEF_NYMPH	'n'
103.  #define DEF_ORC		'o'
104.  #define DEF_PIERCER	'p'
105.  #define DEF_QUADRUPED	'q'
106.  #define DEF_RODENT	'r'
107.  #define DEF_SPIDER	's'
108.  #define DEF_TRAPPER	't'
109.  #define DEF_UNICORN	'u'
110.  #define DEF_VORTEX	'v'
111.  #define DEF_WORM	'w'
112.  #define DEF_XAN		'x'
113.  #define DEF_LIGHT	'y'
114.  #define DEF_ZRUTY	'z'
115.  #define DEF_ANGEL	'A'
116.  #define DEF_BAT		'B'
117.  #define DEF_CENTAUR	'C'
118.  #define DEF_DRAGON	'D'
119.  #define DEF_ELEMENTAL	'E'
120.  #define DEF_FUNGUS	'F'
121.  #define DEF_GNOME	'G'
122.  #define DEF_GIANT	'H'
123.  #define DEF_JABBERWOCK	'J'
124.  #define DEF_KOP		'K'
125.  #define DEF_LICH	'L'
126.  #define DEF_MUMMY	'M'
127.  #define DEF_NAGA	'N'
128.  #define DEF_OGRE	'O'
129.  #define DEF_PUDDING	'P'
130.  #define DEF_QUANTMECH	'Q'
131.  #define DEF_RUSTMONST	'R'
132.  #define DEF_SNAKE	'S'
133.  #define DEF_TROLL	'T'
134.  #define DEF_UMBER	'U'
135.  #define DEF_VAMPIRE	'V'
136.  #define DEF_WRAITH	'W'
137.  #define DEF_XORN	'X'
138.  #define DEF_YETI	'Y'
139.  #define DEF_ZOMBIE	'Z'
140.  #define DEF_HUMAN	'@'
141.  #define DEF_GHOST	' '
142.  #define DEF_GOLEM	'\
143.  #define DEF_DEMON	'&'
144.  #define DEF_EEL		';'
145.  #define DEF_LIZARD	':'
146.  #define DEF_BAD_FOOD    '%'
147.  #define DEF_BAD_COINS   '$'
148.  
149.  #define DEF_INVISIBLE	'I'
150.  #define DEF_WORM_TAIL	'~'
151.  #define DEF_MIMIC_DEF	']'
152.  
153.  #endif /* MONSYM_H */
154.  

Also on Fandom

Random Wiki