xref: /csrg-svn/games/hack/hack.monst.c (revision 41248)
1*41248Sbostic /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2*41248Sbostic /* hack.monst.c - version 1.0.2 */
3*41248Sbostic 
4*41248Sbostic #include "hack.h"
5*41248Sbostic #include "def.eshk.h"
6*41248Sbostic extern char plname[PL_NSIZ];
7*41248Sbostic 
8*41248Sbostic struct permonst mons[CMNUM+2] = {
9*41248Sbostic 	{ "bat",		'B',1,22,8,1,4,0 },
10*41248Sbostic 	{ "gnome",		'G',1,6,5,1,6,0 },
11*41248Sbostic 	{ "hobgoblin",		'H',1,9,5,1,8,0 },
12*41248Sbostic 	{ "jackal",		'J',0,12,7,1,2,0 },
13*41248Sbostic 	{ "kobold",		'K',1,6,7,1,4,0 },
14*41248Sbostic 	{ "leprechaun",		'L',5,15,8,1,2,0 },
15*41248Sbostic 	{ "giant rat",		'r',0,12,7,1,3,0 },
16*41248Sbostic 	{ "acid blob",		'a',2,3,8,0,0,0 },
17*41248Sbostic 	{ "floating eye",	'E',2,1,9,0,0,0 },
18*41248Sbostic 	{ "homunculus",		'h',2,6,6,1,3,0 },
19*41248Sbostic 	{ "imp",		'i',2,6,2,1,4,0 },
20*41248Sbostic 	{ "orc",		'O',2,9,6,1,8,0 },
21*41248Sbostic 	{ "yellow light",	'y',3,15,0,0,0,0 },
22*41248Sbostic 	{ "zombie",		'Z',2,6,8,1,8,0 },
23*41248Sbostic 	{ "giant ant",		'A',3,18,3,1,6,0 },
24*41248Sbostic 	{ "fog cloud",		'f',3,1,0,1,6,0 },
25*41248Sbostic 	{ "nymph",		'N',6,12,9,1,2,0 },
26*41248Sbostic 	{ "piercer",		'p',3,1,3,2,6,0 },
27*41248Sbostic 	{ "quasit",		'Q',3,15,3,1,4,0 },
28*41248Sbostic 	{ "quivering blob",	'q',3,1,8,1,8,0 },
29*41248Sbostic 	{ "violet fungi",	'v',3,1,7,1,4,0 },
30*41248Sbostic 	{ "giant beetle",	'b',4,6,4,3,4,0 },
31*41248Sbostic 	{ "centaur",		'C',4,18,4,1,6,0 },
32*41248Sbostic 	{ "cockatrice",		'c',4,6,6,1,3,0 },
33*41248Sbostic 	{ "gelatinous cube",	'g',4,6,8,2,4,0 },
34*41248Sbostic 	{ "jaguar",		'j',4,15,6,1,8,0 },
35*41248Sbostic 	{ "killer bee",		'k',4,14,4,2,4,0 },
36*41248Sbostic 	{ "snake",		'S',4,15,3,1,6,0 },
37*41248Sbostic 	{ "freezing sphere",	'F',2,13,4,0,0,0 },
38*41248Sbostic 	{ "owlbear",		'o',5,12,5,2,6,0 },
39*41248Sbostic 	{ "rust monster",	'R',10,18,3,0,0,0 },
40*41248Sbostic 	{ "scorpion",		's',5,15,3,1,4,0 },
41*41248Sbostic 	{ "tengu",		't',5,13,5,1,7,0 },
42*41248Sbostic 	{ "wraith",		'W',5,12,5,1,6,0 },
43*41248Sbostic #ifdef NOWORM
44*41248Sbostic 	{ "wumpus",		'w',8,3,2,3,6,0 },
45*41248Sbostic #else
46*41248Sbostic 	{ "long worm",		'w',8,3,5,1,4,0 },
47*41248Sbostic #endif NOWORM
48*41248Sbostic 	{ "large dog",		'd',6,15,4,2,4,0 },
49*41248Sbostic 	{ "leocrotta",		'l',6,18,4,3,6,0 },
50*41248Sbostic 	{ "mimic",		'M',7,3,7,3,4,0 },
51*41248Sbostic 	{ "troll",		'T',7,12,4,2,7,0 },
52*41248Sbostic 	{ "unicorn",		'u',8,24,5,1,10,0 },
53*41248Sbostic 	{ "yeti",		'Y',5,15,6,1,6,0 },
54*41248Sbostic 	{ "stalker",		'I',8,12,3,4,4,0 },
55*41248Sbostic 	{ "umber hulk",		'U',9,6,2,2,10,0 },
56*41248Sbostic 	{ "vampire",		'V',8,12,1,1,6,0 },
57*41248Sbostic 	{ "xorn",		'X',8,9,-2,4,6,0 },
58*41248Sbostic 	{ "xan",		'x',7,18,-2,2,4,0 },
59*41248Sbostic 	{ "zruty",		'z',9,8,3,3,6,0 },
60*41248Sbostic 	{ "chameleon",		':',6,5,6,4,2,0 },
61*41248Sbostic 	{ "dragon",		'D',10,9,-1,3,8,0 },
62*41248Sbostic 	{ "ettin",		'e',10,12,3,2,8,0 },
63*41248Sbostic 	{ "lurker above",	'\'',10,3,3,0,0,0 },
64*41248Sbostic 	{ "nurse",		'n',11,6,0,1,3,0 },
65*41248Sbostic 	{ "trapper",		',',12,3,3,0,0,0 },
66*41248Sbostic 	{ "purple worm",	'P',15,9,6,2,8,0 },
67*41248Sbostic 	{ "demon",		'&',10,12,-4,1,4,0 },
68*41248Sbostic 	{ "minotaur",		'm',15,15,6,4,10,0 },
69*41248Sbostic 	{ "shopkeeper", 	'@', 12, 18, 0, 4, 8, sizeof(struct eshk) }
70*41248Sbostic };
71*41248Sbostic 
72*41248Sbostic struct permonst pm_ghost = { "ghost", ' ', 10, 3, -5, 1, 1, sizeof(plname) };
73*41248Sbostic struct permonst pm_wizard = {
74*41248Sbostic 	"wizard of Yendor", '1', 15, 12, -2, 1, 12, 0
75*41248Sbostic };
76*41248Sbostic #ifdef MAIL
77*41248Sbostic struct permonst pm_mail_daemon = { "mail daemon", '2', 100, 1, 10, 0, 0, 0 };
78*41248Sbostic #endif MAIL
79*41248Sbostic struct permonst pm_eel = { "giant eel", ';', 15, 6, -3, 3, 6, 0 };
80