Source:NetHack 3.4.3/src/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.

/* 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 monstr[] array which stores the game's idea of how difficult a monster is. monstr is used to determine which monsters can be generated by the RNG.
For a human-readable version of this table, see Monsters (by difficulty).

monstr_init

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.