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