Source:NetHack 3.6.0/dat/yendor.des

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

Below is the full text to yendor.des from the source code of NetHack 3.6.0. To link to a particular line, write [[Source:NetHack 3.6.0/dat/yendor.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	yendor.des	$NHDT-Date: 1432512783 2015/05/25 00:13:03 $  $NHDT-Branch: master $:$NHDT-Revision: 1.10 $
  2. #	Copyright (c) 1989 by Jean-Christophe Collet
  3. #	Copyright (c) 1992 by M. Stephenson and Izchak Miller
  4. # NetHack may be freely redistributed.  See license for details.
  5. #
  6. # The top (real) wizard level.
  7. # Keeping the Moat for old-time's sake
  8. MAZE:"wizard1",random
  9. FLAGS:noteleport,hardfloor
  10. GEOMETRY:center,center
  11. MAP
  12. ----------------------------.
  13. |.......|..|.........|.....|.
  14. |.......S..|.}}}}}}}.|.....|.
  15. |..--S--|..|.}}---}}.|---S-|.
  16. |..|....|..|.}--.--}.|..|..|.
  17. |..|....|..|.}|...|}.|..|..|.
  18. |..--------|.}--.--}.|..|..|.
  19. |..|.......|.}}---}}.|..|..|.
  20. |..S.......|.}}}}}}}.|..|..|.
  21. |..|.......|.........|..|..|.
  22. |..|.......|-----------S-S-|.
  23. |..|.......S...............|.
  24. ----------------------------.
  25. ENDMAP
  26. STAIR:levregion(01,00,79,20),(0,0,28,12),up
  27. STAIR:levregion(01,00,79,20),(0,0,28,12),down
  28. BRANCH:levregion(01,00,79,20),(0,0,28,12)
  29. TELEPORT_REGION:levregion(01,00,79,20),(0,0,27,12)
  30. # Make it a morgue for rm id in mkmaze.c
  31. # for the purpose of random sdoor placement
  32. REGION:(12,01,20,09),unlit,"morgue",unfilled
  33. # another region to constrain monster arrival
  34. REGION:(01,01,10,11),unlit,"ordinary",unfilled
  35. MAZEWALK:(28,05),east
  36. LADDER:(06,05),down
  37. # Non diggable walls
  38. # Walls inside the moat stay diggable
  39. NON_DIGGABLE:(00,00,11,12)
  40. NON_DIGGABLE:(11,00,21,00)
  41. NON_DIGGABLE:(11,10,27,12)
  42. NON_DIGGABLE:(21,00,27,10)
  43. # Non passable walls
  44. NON_PASSWALL:(00,00,11,12)
  45. NON_PASSWALL:(11,00,21,00)
  46. NON_PASSWALL:(11,10,27,12)
  47. NON_PASSWALL:(21,00,27,10)
  48. # The wizard and his guards
  49. MONSTER:('@',"Wizard of Yendor"),(16,05),asleep
  50. MONSTER:('d',"hell hound"),(15,05)
  51. MONSTER:('V',"vampire lord"),(17,05)
  52. # The local treasure
  53. OBJECT:('+',"Book of the Dead"),(16,05)
  54. # Surrounding terror
  55. MONSTER:(';',"kraken"),(14,02)
  56. MONSTER:(';',"giant eel"),(17,02)
  57. MONSTER:(';',"kraken"),(13,04)
  58. MONSTER:(';',"giant eel"),(13,06)
  59. MONSTER:(';',"kraken"),(19,04)
  60. MONSTER:(';',"giant eel"),(19,06)
  61. MONSTER:(';',"kraken"),(15,08)
  62. MONSTER:(';',"giant eel"),(17,08)
  63. MONSTER:(';',"piranha"),(15,02)
  64. MONSTER:(';',"piranha"),(19,08)
  65. # Random monsters
  66. MONSTER:'D',random
  67. MONSTER:'H',random
  68. MONSTER:'&',random
  69. MONSTER:'&',random
  70. MONSTER:'&',random
  71. MONSTER:'&',random
  72. # And to make things a little harder.
  73. TRAP:"board",(16,04)
  74. TRAP:"board",(16,06)
  75. TRAP:"board",(15,05)
  76. TRAP:"board",(17,05)
  77. # Random traps.
  78. TRAP:"spiked pit",random
  79. TRAP:"sleep gas",random
  80. TRAP:"anti magic",random
  81. TRAP:"magic",random
  82. # Some random loot.
  83. OBJECT:('*',"ruby"),random
  84. OBJECT:'!',random
  85. OBJECT:'!',random
  86. OBJECT:'?',random
  87. OBJECT:'?',random
  88. OBJECT:'+',random
  89. OBJECT:'+',random
  90. OBJECT:'+',random
  91.  
  92.  
  93. # The middle wizard level.
  94. MAZE:"wizard2",random
  95. FLAGS:noteleport,hardfloor
  96. GEOMETRY:center,center
  97. MAP
  98. ----------------------------.
  99. |.....|.S....|.............|.
  100. |.....|.-------S--------S--|.
  101. |.....|.|.........|........|.
  102. |..-S--S|.........|........|.
  103. |..|....|.........|------S-|.
  104. |..|....|.........|.....|..|.
  105. |-S-----|.........|.....|..|.
  106. |.......|.........|S--S--..|.
  107. |.......|.........|.|......|.
  108. |-----S----S-------.|......|.
  109. |............|....S.|......|.
  110. ----------------------------.
  111. ENDMAP
  112. STAIR:levregion(01,00,79,20),(0,0,28,12),up
  113. STAIR:levregion(01,00,79,20),(0,0,28,12),down
  114. BRANCH:levregion(01,00,79,20),(0,0,28,12)
  115. TELEPORT_REGION:levregion(01,00,79,20),(0,0,27,12)
  116. # entire tower in a region, constrains monster migration
  117. REGION:(01,01,26,11),unlit,"ordinary",unfilled
  118. REGION:(09,03,17,09),unlit,"zoo"
  119. DOOR:closed,(15,02)
  120. DOOR:closed,(11,10)
  121. MAZEWALK:(28,05),east
  122. LADDER:(12,01),up
  123. LADDER:(14,11),down
  124. # Non diggable walls everywhere
  125. NON_DIGGABLE:(00,00,27,12)
  126. #
  127. NON_PASSWALL:(00,00,06,12)
  128. NON_PASSWALL:(06,00,27,02)
  129. NON_PASSWALL:(16,02,27,12)
  130. NON_PASSWALL:(06,12,16,12)
  131. # Random traps.
  132. TRAP:"spiked pit",random
  133. TRAP:"sleep gas",random
  134. TRAP:"anti magic",random
  135. TRAP:"magic",random
  136. # Some random loot.
  137. OBJECT:'!',random
  138. OBJECT:'!',random
  139. OBJECT:'?',random
  140. OBJECT:'?',random
  141. OBJECT:'+',random
  142. # treasures
  143. OBJECT:'"',(04,06)
  144.  
  145.  
  146. # The bottom wizard level.
  147. # Memorialize the fakewiz setup.
  148. MAZE:"wizard3",random
  149. FLAGS:noteleport,hardfloor
  150. GEOMETRY:center,center
  151. MAP
  152. ----------------------------.
  153. |..|............S..........|.
  154. |..|..------------------S--|.
  155. |..|..|.........|..........|.
  156. |..S..|.}}}}}}}.|..........|.
  157. |..|..|.}}---}}.|-S--------|.
  158. |..|..|.}--.--}.|..|.......|.
  159. |..|..|.}|...|}.|..|.......|.
  160. |..---|.}--.--}.|..|.......|.
  161. |.....|.}}---}}.|..|.......|.
  162. |.....S.}}}}}}}.|..|.......|.
  163. |.....|.........|..|.......|.
  164. ----------------------------.
  165. ENDMAP
  166. STAIR:levregion(01,00,79,20),(0,0,28,12),up
  167. STAIR:levregion(01,00,79,20),(0,0,28,12),down
  168. BRANCH:levregion(01,00,79,20),(0,0,28,12)
  169. TELEPORT_REGION:levregion(01,00,79,20),(0,0,27,12)
  170. PORTAL:(25,11,25,11),(0,0,0,0),"fakewiz1"
  171. MAZEWALK:(28,09),east
  172. REGION:(07,03,15,11),unlit,"morgue",unfilled
  173. REGION:(17,06,18,11),unlit,"beehive"
  174. # make the entry chamber a real room; it affects monster arrival;
  175. # `unfilled' is a kludge to force an ordinary room to remain a room
  176. REGION:(20,06,26,11),unlit,"ordinary",unfilled {
  177. ROOMDOOR:true, closed, north|west, random
  178. }
  179. DOOR:closed,(18,05)
  180. LADDER:(11,07),up
  181. # Non diggable walls
  182. # Walls inside the moat stay diggable
  183. NON_DIGGABLE:(00,00,06,12)
  184. NON_DIGGABLE:(06,00,27,02)
  185. NON_DIGGABLE:(16,02,27,12)
  186. NON_DIGGABLE:(06,12,16,12)
  187. #
  188. NON_PASSWALL:(00,00,06,12)
  189. NON_PASSWALL:(06,00,27,02)
  190. NON_PASSWALL:(16,02,27,12)
  191. NON_PASSWALL:(06,12,16,12)
  192. #
  193. MONSTER:'L',(10,07)
  194. MONSTER:('V',"vampire lord"),(12,07)
  195. # Some surrounding horrors
  196. MONSTER:(';',"kraken"),(08,05)
  197. MONSTER:(';',"giant eel"),(08,08)
  198. MONSTER:(';',"kraken"),(14,05)
  199. MONSTER:(';',"giant eel"),(14,08)
  200. # Other monsters
  201. MONSTER:'L',random
  202. MONSTER:'D',random
  203. MONSTER:'D',(26,09)
  204. MONSTER:'&',random
  205. MONSTER:'&',random
  206. MONSTER:'&',random
  207. # And to make things a little harder.
  208. TRAP:"board",(10,07)
  209. TRAP:"board",(12,07)
  210. TRAP:"board",(11,06)
  211. TRAP:"board",(11,08)
  212. # Some loot
  213. OBJECT:')',random
  214. OBJECT:'!',random
  215. OBJECT:'?',random
  216. OBJECT:'?',random
  217. OBJECT:'(',random
  218. # treasures
  219. OBJECT:'"',(11,07)
  220.  
  221.  
  222. # The former decoy wizard levels.
  223. # There are two of these, and we need to
  224. # distinguish between them for the portal.
  225. MAZE:"fakewiz1",random
  226. GEOMETRY:center,center
  227. MAP
  228. .........
  229. .}}}}}}}.
  230. .}}---}}.
  231. .}--.--}.
  232. .}|...|}.
  233. .}--.--}.
  234. .}}---}}.
  235. .}}}}}}}.
  236. ENDMAP
  237. STAIR:levregion(01,00,79,20),(0,0,8,7),up
  238. STAIR:levregion(01,00,79,20),(0,0,8,7),down
  239. BRANCH:levregion(01,00,79,20),(0,0,8,7)
  240. TELEPORT_REGION:levregion(01,00,79,20),(2,2,6,6)
  241. PORTAL:(4,4,4,4),(0,0,0,0),"wizard3"
  242. MAZEWALK:(08,05),east
  243. REGION:(04,03,06,06),unlit,"ordinary",unfilled,irregular
  244. MONSTER:'L',(04,04)
  245. MONSTER:('V',"vampire lord"),(03,04)
  246. MONSTER:(';',"kraken"),(06,06)
  247. # And to make things a little harder.
  248. TRAP:"board",(04,03)
  249. TRAP:"board",(04,05)
  250. TRAP:"board",(03,04)
  251. TRAP:"board",(05,04)
  252.  
  253.  
  254. MAZE:"fakewiz2",random
  255. GEOMETRY:center,center
  256. MAP
  257. .........
  258. .}}}}}}}.
  259. .}}---}}.
  260. .}--.--}.
  261. .}|...|}.
  262. .}--.--}.
  263. .}}---}}.
  264. .}}}}}}}.
  265. ENDMAP
  266. STAIR:levregion(01,00,79,20),(0,0,8,7),up
  267. STAIR:levregion(01,00,79,20),(0,0,8,7),down
  268. BRANCH:levregion(01,00,79,20),(0,0,8,7)
  269. TELEPORT_REGION:levregion(01,00,79,20),(2,2,6,6)
  270. MAZEWALK:(08,05),east
  271. REGION:(04,03,06,06),unlit,"ordinary",unfilled,irregular
  272. MONSTER:'L',(04,04)
  273. MONSTER:('V',"vampire lord"),(03,04)
  274. MONSTER:(';',"kraken"),(06,06)
  275. # And to make things a little harder.
  276. TRAP:"board",(04,03)
  277. TRAP:"board",(04,05)
  278. TRAP:"board",(03,04)
  279. TRAP:"board",(05,04)
  280. # treasures
  281. OBJECT:'"',(04,04)