Source:NetHack 3.6.0/dat/tower.des

From NetHackWiki
(Redirected from Source:Tower.des)
Jump to: navigation, search

Below is the full text to tower.des from the source code of NetHack 3.6.0. To link to a particular line, write [[Source:NetHack 3.6.0/dat/tower.des#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	tower.des	$NHDT-Date: 1432512784 2015/05/25 00:13:04 $  $NHDT-Branch: master $:$NHDT-Revision: 1.9 $
  2. #	Copyright (c) 1989 by Jean-Christophe Collet
  3. # NetHack may be freely redistributed.  See license for details.
  4. #
  5. # Upper stage of Vlad's tower
  6. MAZE:"tower1",' '
  7. FLAGS: noteleport,hardfloor,solidify
  8. GEOMETRY:half-left,center
  9. MAP
  10. --- --- ---  
  11. |.| |.| |.|  
  12. ---S---S---S---
  13. |.......+.+...|
  14. ---+-----.-----
  15. |...\.|.+.|  
  16. ---+-----.-----
  17. |.......+.+...|
  18. ---S---S---S---
  19. |.| |.| |.|  
  20. --- --- ---  
  21. ENDMAP
  22. $niches = { (03,01), (03,09), (07,01), (07,09), (11,01), (11,09) }
  23. SHUFFLE: $niches
  24. LADDER:(11,05),down
  25. # The lord and his court
  26. MONSTER:('V',"Vlad the Impaler"),(06,05)
  27. MONSTER:'V',$niches[0]
  28. MONSTER:'V',$niches[1]
  29. MONSTER:'V',$niches[2]
  30. MONSTER:'V',$niches[3]
  31. MONSTER:'V',$niches[4]
  32. MONSTER:'V',$niches[5]
  33. # The doors
  34. DOOR:closed,(08,03)
  35. DOOR:closed,(10,03)
  36. DOOR:closed,(03,04)
  37. DOOR:locked,(10,05)
  38. DOOR:locked,(08,07)
  39. DOOR:locked,(10,07)
  40. DOOR:closed,(03,06)
  41. # treasures
  42. OBJECT:('(',"chest"),(07,05)
  43.  
  44. OBJECT:('(',"chest"),$niches[0]
  45. OBJECT:('(',"chest"),$niches[1]
  46. OBJECT:('(',"chest"),$niches[2]
  47. OBJECT:('(',"chest"),$niches[3]
  48. CONTAINER:('(',"chest"),$niches[4] {
  49. OBJECT:('(', "wax candle"), quantity:4d2
  50. }
  51. CONTAINER:('(',"chest"),$niches[5] {
  52. OBJECT:('(', "tallow candle"), quantity:4d2
  53. }
  54. # We have to protect the tower against outside attacks
  55. NON_DIGGABLE:(00,00,14,10)
  56.  
  57.  
  58. # Intermediate stage of Vlad's tower
  59. MAZE:"tower2",' '
  60. FLAGS: noteleport,hardfloor,solidify
  61. GEOMETRY:half-left,center
  62. MAP
  63. --- --- ---  
  64. |.| |.| |.|  
  65. ---S---S---S---
  66. |.S.........S.|
  67. ---.------+----
  68. |......|..|  
  69. --------.------
  70. |.S......+..S.|
  71. ---S---S---S---
  72. |.| |.| |.|  
  73. --- --- ---  
  74. ENDMAP
  75. # Random places are the 10 niches
  76. $place = { (03,01),(07,01),(11,01),(01,03),(13,03),
  77. 	   (01,07),(13,07),(03,09),(07,09),(11,09) }
  78. SHUFFLE: $place
  79. LADDER:(11,05),up
  80. LADDER:(03,07),down
  81. DOOR:locked,(10,04)
  82. DOOR:locked,(09,07)
  83. MONSTER:'&',$place[0]
  84. MONSTER:'&',$place[1]
  85. MONSTER:('d',"hell hound pup"),$place[2]
  86. MONSTER:('d',"hell hound pup"),$place[3]
  87. MONSTER:('d',"winter wolf"),$place[4]
  88. CONTAINER:('(',"chest"),$place[5] {
  89. OBJECT:('"',"amulet of life saving")
  90. }
  91. CONTAINER:('(',"chest"),$place[6] {
  92. OBJECT:('"',"amulet of strangulation")
  93. }
  94. OBJECT:('[',"water walking boots"),$place[7]
  95. OBJECT:('[',"crystal plate mail"),$place[8]
  96. OBJECT:('+',"invisibility"),$place[9]
  97. # Walls in the tower are non diggable
  98. NON_DIGGABLE:(00,00,14,10)
  99.  
  100.  
  101. # Bottom most stage of Vlad's tower
  102. MAZE:"tower3",' '
  103. FLAGS: noteleport,hardfloor,solidify
  104. GEOMETRY:half-left,center
  105. MAP
  106. --- --- ---  
  107. |.| |.| |.|    
  108. ---S---S---S---
  109. |.S.........S.|  
  110. -----.........-----
  111. |...|.........+...|
  112. |.---.........---.|
  113. |.|.S.........S.|.|
  114. |.---S---S---S---.|
  115. |...|.|.|.|.|.|...|
  116. ---.---.---.---.---
  117. |.............|  
  118. ---------------  
  119. ENDMAP
  120. # Random places are the 10 niches
  121. $place = { (05,01),(09,01),(13,01),(03,03),(15,03),
  122. 	   (03,07),(15,07),(05,09),(09,09),(13,09) }
  123. SHUFFLE: $place
  124. BRANCH:(02,05,02,05),(00,00,00,00)
  125. LADDER:(05,07),up
  126. # Entry door is, of course, locked
  127. DOOR:locked,(14,05)
  128. # Let's put a dragon behind the door, just for the fun...
  129. MONSTER:'D',(13,05)
  130. MONSTER:random,(12,04)
  131. MONSTER:random,(12,06)
  132. MONSTER:random,random
  133. MONSTER:random,random
  134. MONSTER:random,random
  135. MONSTER:random,random
  136. MONSTER:random,random
  137. MONSTER:random,random
  138. OBJECT:(')',"long sword"),$place[0]
  139. TRAP:random,$place[0]
  140. OBJECT:('(',"lock pick"),$place[1]
  141. TRAP:random,$place[1]
  142. OBJECT:('[',"elven cloak"),$place[2]
  143. TRAP:random,$place[2]
  144. OBJECT:('(',"blindfold"),$place[3]
  145. TRAP:random,$place[3]
  146. # Walls in the tower are non diggable
  147. NON_DIGGABLE:(00,00,18,12)