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