Source:Monstr.c

Below is the full text to src/monstr.c from NetHack 3.4.3. To link to a particular line, write [[monstr.c#line123 ]], for example. 1.   /* This source file is generated by 'makedefs'. Do not edit. */

A clean distribution of NetHack does not include this file. It is generated at compile time, and stores the   array which stores the game's idea of how difficult a monster is. is used to determine which monsters can be generated by the RNG.

2.   #include "config.h"  3. 4.   const int monstr[] = { 5.    4,  5,  6,  6,  6, 12,  2,  6,  8,  7,  8,  8,  1,  1,  2,  4,  6.     3,  5,  7,  5,  6,  7,  8,  7,  9,  9, 14,  2,  3,  8,  8,  8,  7.     3,  5,  6,  7,  7,  7,  8,  8,  8, 11,  2,  4,  5,  6,  8, 13,  8.    19,  3,  3,  4,  5,  7,  7,  5,  6,  8,  1,  2,  3,  4,  4,  8,  9.     9, 11,  5,  5,  5,  1,  3,  3,  4,  5,  5,  5,  7,  4,  6,  9,  10.    4,  7,  8,  9, 13, 15, 22,  1,  2,  4,  4,  4,  4,  3,  4,  7,  11.    8, 12, 14,  6,  6,  6,  4,  7,  9,  4,  6,  7,  9,  9, 10,  9,  12.    9,  9, 17,  1,  9,  5,  7, 11, 11, 12, 19, 21, 26,  2,  3,  6,  13.    7,  6,  8,  9, 13, 13, 13, 13, 13, 13, 13, 13, 13, 20, 20, 20,  14.   20, 20, 20, 20, 20, 20,  9, 10, 10, 10, 10,  1,  2,  2,  2,  2,  15.    2,  5,  3,  4,  5,  6,  8,  8, 10, 11, 13, 19, 13, 20, 17, 18,  16.    3,  4,  5,  6, 14, 18, 21, 29,  4,  5,  6,  6,  7,  7,  8, 10,  17.    4,  4,  4,  4,  8, 10, 13, 16,  7,  9, 11,  4,  6, 12,  8,  9,  18.    8, 14,  3,  6,  7,  9,  8, 10,  9, 12, 12, 13, 16, 12, 12, 14,  19.   18,  7,  8, 17, 11,  4,  6,  7,  7,  8,  9,  1,  2,  3,  3,  4,  20.    5,  7,  9,  5, 14,  4,  4,  6,  6,  7,  8, 10, 12, 15, 18, 22,  21.    2,  3,  3,  6, 12,  6,  7,  8, 11, 11, 11, 13, 15, 14, 14, 13,  22.   15, 30,  8, 10, 12, 14,  8, 12, 25, 34, 22, 12, 14, 11,  9,  8,  23.    8, 10, 10, 11, 11, 12, 13, 14, 15, 16, 20, 26, 31, 36, 36, 40,  24.   45, 53, 57, 34, 34, 34, 26,  8, 15,  5,  6,  9,  7, 10, 22,  1,  25.    2,  3,  4,  6,  7,  7, 12,  1, 12, 12, 12, 12, 12, 12, 11, 12,  26.   12, 12, 12, 12, 12, 12, 12, 22, 22, 22, 22, 23, 30, 30, 22, 24,  27.   23, 22, 23, 23, 23, 22, 23, 23, 22, 31, 23, 17, 20, 19, 19, 20,  28.    7,  7,  7,  7,  7,  8,  8,  7,  7,  7,  7,  8,  7,  8,  29.   };  30.    31.   void NDECL(monstr_init); 32.   33.   void 34.  monstr_init 35.  {  36.       return; 37.  }  38.    39.   /*monstr.c*/