Source:NetHack 3.6.0/dat/dungeon.def

From NetHackWiki
(Redirected from Dungeon.def)
Jump to: navigation, search

Below is the full text to dungeon.def from the source code of NetHack 3.6.0. To link to a particular line, write [[Source:NetHack 3.6.0/dat/dungeon.def#line123]], for example.

The NetHack General Public License applies to screenshots, source code and other content from NetHack.

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.

  1.  # NetHack 3.6	dungeon.def	$NHDT-Date: 1432512783 2015/05/25 00:13:03 $  $NHDT-Branch: master $:$NHDT-Revision: 1.13 $
  2.  #	Copyright (c) 1990-95 by M. Stephenson
  3.  # NetHack may be freely redistributed.  See license for details.
  4.  #
  5.  #	The dungeon description file for the "standard" 3.1 NetHack.
  6.  #
  7.  #	Note:	The order of the definition of dungeons in this file
  8.  #		reflects in their order of creation in the real dungeon.
  9.  #		The "Main" branch must *always* be first.
  10.  #		Also note that the order of the dungeons in this file
  11.  #		determines the order in which branch levels are assigned.
  12.  #		If two dungeons have overlapping ranges for their entry
  13.  #		points, then you should list the dungeon with the _least_
  14.  #		number of choices for its branch level _first_.
  15.  #
  16.  
  17.  DUNGEON:	"The Dungeons of Doom" "D" (25, 5)
  18.  ALIGNMENT:	unaligned
  19.  BRANCH:		"The Gnomish Mines" @ (2, 3)
  20.  LEVEL:		"rogue" "R" @ (15, 4)
  21.  LEVELDESC:	roguelike
  22.  LEVEL:		"oracle" "O" @ (5, 5)
  23.  LEVALIGN:	neutral
  24.  CHAINBRANCH:	"Sokoban" "oracle" + (1, 0) up
  25.  RNDLEVEL:	"bigrm" "B" @ (10, 3) 40 10
  26.  CHAINBRANCH:	"The Quest" "oracle" + (6, 2) portal
  27.  BRANCH:		"Fort Ludios" @ (18, 4) portal
  28.  RNDLEVEL:	"medusa" "none" @ (-5, 4) 4
  29.  LEVALIGN:	chaotic
  30.  LEVEL:		"castle" "none" @ (-1, 0)
  31.  CHAINBRANCH:	"Gehennom" "castle" + (0, 0) no_down
  32.  BRANCH:		"The Elemental Planes" @ (1, 0) no_down up
  33.  
  34.  #
  35.  #	Gehennom
  36.  #
  37.  #	Now re-worked for 3.1, hell is hopefully going to be a little
  38.  #	less boring.  Also, in 3.1, the tower is not considered as a
  39.  #	part of hell, but is set up as a separate dungeon.
  40.  #
  41.  #	Gehennom is no longer considered "hellish" as a complete dungeon.
  42.  #	That is, fire resistance is no longer a condition for survival in
  43.  #	it.  However, Gehennom, and the special levels in it in particular,
  44.  #	is abundant with fire traps.  As a result, fire resistance is still
  45.  #	a prudent survival strategy in Gehennom.
  46.  #
  47.  #	Note:	Gehennom *must* be the second dungeon defined so that
  48.  #		monsters can properly migrate here under certain
  49.  #		circumstances.
  50.  #
  51.  DUNGEON:	"Gehennom" "G" (20, 5)
  52.  DESCRIPTION:	mazelike
  53.  DESCRIPTION:	hellish
  54.  ALIGNMENT:	noalign
  55.  BRANCH:		"Vlad's Tower" @ (9, 5) up
  56.  LEVEL:		"valley" "V" @ (1, 0)
  57.  LEVEL:		"sanctum" "none" @ (-1, 0)
  58.  LEVEL:		"juiblex" "J" @ (4, 4)
  59.  LEVEL:		"baalz" "B" @ (6, 4)
  60.  LEVEL:		"asmodeus" "A" @ (2, 6)
  61.  LEVEL:		"wizard1" "none" @ (11, 6)
  62.  CHAINLEVEL:	"wizard2" "X" "wizard1" + (1, 0)
  63.  CHAINLEVEL:	"wizard3" "Y" "wizard1" + (2, 0)
  64.  LEVEL:		"orcus" "O" @ (10, 6)
  65.  LEVEL:		"fakewiz1" "F" @ (-6,4)
  66.  LEVEL:		"fakewiz2" "G" @ (-6,4)
  67.  
  68.  #
  69.  #	The Mines of the Gnomes of Zurich.
  70.  #
  71.  DUNGEON:	"The Gnomish Mines" "M" (8, 2)
  72.  ALIGNMENT:	lawful
  73.  DESCRIPTION:	mazelike
  74.  RNDLEVEL:	"minetn" "T" @ (3, 2) 7
  75.  LEVELDESC:	town
  76.  RNDLEVEL:	"minend" "E" @ (-1, 0) 3
  77.  
  78.  #
  79.  #	The Questdungeon
  80.  #
  81.  #	This is a proto-dungeon.  The level file names will be prepended with
  82.  #	three letter role abbreviation during initialization, replacing "x".
  83.  #	A special "x-fill" level must be defined in the levels description
  84.  #	file.  It will be used for all levels not defined explicitly below.
  85.  #
  86.  DUNGEON:	"The Quest" "Q" (5, 2)
  87.  LEVEL:	"x-strt" "none" @ (1, 1)
  88.  LEVEL:	"x-loca" "L" @ (3, 1)
  89.  LEVEL:	"x-goal" "none" @ (-1, 0)
  90.  
  91.  #
  92.  # Sokoban
  93.  #
  94.  DUNGEON:		"Sokoban" "none" (4, 0)
  95.  DESCRIPTION:    mazelike
  96.  ALIGNMENT:      neutral
  97.  ENTRY:          -1
  98.  RNDLEVEL:		"soko1" "none" @ (1, 0) 2
  99.  RNDLEVEL:		"soko2" "none" @ (2, 0) 2
  100.  RNDLEVEL:		"soko3" "none" @ (3, 0) 2
  101.  RNDLEVEL:		"soko4" "none" @ (4, 0) 2
  102.  
  103.  #
  104.  #	The Central Vault of Croesus.
  105.  #
  106.  DUNGEON:	"Fort Ludios" "K" (1, 0)
  107.  DESCRIPTION:	mazelike
  108.  ALIGNMENT:	unaligned
  109.  LEVEL:		"knox" "K" @ (-1, 0)
  110.  #
  111.  #	Vlad's Tower
  112.  #
  113.  #	It has been removed from Gehennom, and it is surrounded by stone.
  114.  #	Must not allow bones files for its top level.
  115.  #
  116.  DUNGEON:	"Vlad's Tower" "T" (3, 0)
  117.  PROTOFILE:	"tower"
  118.  DESCRIPTION:	mazelike
  119.  ALIGNMENT:	chaotic
  120.  ENTRY:		-1
  121.  LEVEL:		"tower1" "none" @ (1, 0)
  122.  
  123.  #
  124.  #	The Endgame levels
  125.  #
  126.  #	Enter on 2nd level from bottom; 1st (from bottom) is a
  127.  #	placeholder for surface level, and should be unreachable.
  128.  #	[Note: the name "dummy" is checked for in init_dungeons().]
  129.  #
  130.  DUNGEON:	"The Elemental Planes" "E" (6, 0)
  131.  DESCRIPTION:	mazelike
  132.  ALIGNMENT:	unaligned
  133.  ENTRY:		-2
  134.  LEVEL:		"astral" "none" @ (1, 0)
  135.  LEVEL:		"water"  "none" @ (2, 0)
  136.  LEVEL:		"fire"   "none" @ (3, 0)
  137.  LEVEL:		"air"    "none" @ (4, 0)
  138.  LEVEL:		"earth"  "none" @ (5, 0)
  139.  LEVEL:		"dummy"  "none" @ (6, 0)