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