Source:NetHack 3.6.0/dat/Rogue.des

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

Below is the full text to Rogue.des from the source code of NetHack 3.6.0. To link to a particular line, write [[Source:NetHack 3.6.0/dat/Rogue.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	Rogue.des	$NHDT-Date: 1432512784 2015/05/25 00:13:04 $  $NHDT-Branch: master $:$NHDT-Revision: 1.11 $
  2. #	Copyright (c) 1992 by Dean Luick
  3. # NetHack may be freely redistributed.  See license for details.
  4. #
  5. #	The "start" level for the quest.
  6. #
  7. #	Here you meet your (besieged) class leader, Master of Thieves
  8. #	and receive your quest assignment.
  9. #
  10. MAZE: "Rog-strt",' '
  11. FLAGS: noteleport, hardfloor, nommap
  12. GEOMETRY:center,center
  13. #         1         2         3         4         5         6         7
  14. #123456789012345678901234567890123456789012345678901234567890123456789012345
  15. MAP
  16. ---------------------------------.------------------------------------------
  17. |.....|.||..........|....|......|.|.........|.......+............---.......|
  18. |.....|..+..........+....---....S.|...-S-----.-----.|............+.+.......|
  19. |.....+.||........---......|....|.|...|.....|.|...|.---.....------.--------|
  20. |-----|.-------|..|........------.-----.....|.--..|...-------..............|
  21. |.....|........------+------..........+.....|..--S---.........------.-----..
  22. |.....|.------...............-----.}}.--------.|....-------.---....|.+...--|
  23. |..-+--.|....|-----.--------.|...|.....+.....|.|....|.....+.+......|.--....|
  24. |..|....|....|....+.|......|.|...-----.|.....|.--...|.....|.|......|..|....|
  25. |..|.-----S----...|.+....-----...|...|.----..|..|.---....--.---S-----.|----|
  26. |..|.|........|...------.|.S.....|...|....-----.+.|......|..|.......|.|....|
  27. |---.-------..|...|....|.|.|.....|...----.|...|.|---.....|.|-.......|.---..|
  28. ...........|..S...|....---.----S----..|...|...+.|..-------.---+-....|...--+|
  29. |---------.---------...|......|....S..|.---...|.|..|...........----.---....|
  30. |........|.........|...+.------....|---.---...|.--+-.----.----....|.+...--+|
  31. |........|.---+---.|----.--........|......-----......|..|..|.--+-.|.-S-.|..|
  32. |........|.|.....|........----------.----.......---.--..|-.|....|.-----.|..|
  33. |----....+.|.....----+---............|..|--------.+.|...SS.|....|.......|..|
  34. |...--+-----.....|......|.------------............---...||.------+--+----..|
  35. |..........S.....|......|.|..........S............|.....||...|.....|....|..|
  36. -------------------------.--------------------------------------------------
  37. ENDMAP
  38. # Dungeon Description
  39. #REGION:(00,00,75,20),lit,"ordinary"
  40.  
  41. $streets = selection: floodfill(0,12)
  42.  
  43.  
  44. # The down stairs is at one of the 4 "exits".  The others are mimics,
  45. # mimicing stairwells.
  46. $place = { (33,0), (0,12), (25,20), (75,05) }
  47. SHUFFLE: $place
  48.  
  49. STAIR:$place[0],down
  50. MONSTER:('m',"giant mimic"), $place[1], m_feature "staircase down"
  51. MONSTER:('m',"large mimic"), $place[2], m_feature "staircase down"
  52. MONSTER:('m',"small mimic"), $place[3], m_feature "staircase down"
  53. # Portal arrival point
  54. BRANCH:(19,09,19,09),(0,0,0,0)
  55. # Doors (secret)
  56. #DOOR:locked|closed|open,(xx,yy)
  57. DOOR: locked, (32, 2)
  58. DOOR: locked, (63, 9)
  59. DOOR: locked, (27,10)
  60. DOOR: locked, (31,12)
  61. DOOR: locked, (35,13)
  62. DOOR: locked, (69,15)
  63. DOOR: locked, (56,17)
  64. DOOR: locked, (57,17)
  65. DOOR: locked, (11,19)
  66. DOOR: locked, (37,19)
  67. DOOR: locked, (39, 2)
  68. DOOR: locked, (49, 5)
  69. DOOR: locked, (10, 9)
  70. DOOR: locked, (14,12)
  71. # Doors (regular)
  72. DOOR: closed, (52, 1)
  73. DOOR: closed, ( 9, 2)
  74. DOOR: closed, (20, 2)
  75. DOOR: closed, (65, 2)
  76. DOOR: closed, (67, 2)
  77. DOOR: closed, ( 6, 3)
  78. DOOR: closed, (21, 5)
  79. DOOR: closed, (38, 5)
  80. DOOR: closed, (69, 6)
  81. DOOR: closed, ( 4, 7)
  82. DOOR: closed, (39, 7)
  83. DOOR: closed, (58, 7)
  84. DOOR: closed, (60, 7)
  85. DOOR: closed, (18, 8)
  86. DOOR: closed, (20, 9)
  87. DOOR: closed, (48,10)
  88. DOOR: closed, (46,12)
  89. DOOR: closed, (62,12)
  90. DOOR: closed, (74,12)
  91. DOOR: closed, (23,14)
  92. DOOR: closed, (23,14)
  93. DOOR: closed, (50,14)
  94. DOOR: closed, (68,14)
  95. DOOR: closed, (74,14)
  96. DOOR: closed, (14,15)
  97. DOOR: closed, (63,15)
  98. DOOR: closed, ( 9,17)
  99. DOOR: closed, (21,17)
  100. DOOR: closed, (50,17)
  101. DOOR: closed, ( 6,18)
  102. DOOR: closed, (65,18)
  103. DOOR: closed, (68,18)
  104. # Master of Thieves
  105. MONSTER:('@',"Master of Thieves"),(36,11)
  106. # The treasure of Master of Thieves
  107. OBJECT:('(',"chest"),(36,11)
  108. # thug guards, room #1
  109. MONSTER:('@',"thug"),(28,10)
  110. MONSTER:('@',"thug"),(29,11)
  111. MONSTER:('@',"thug"),(30,09)
  112. MONSTER:('@',"thug"),(31,07)
  113. # thug guards, room #2
  114. MONSTER:('@',"thug"),(31,13)
  115. MONSTER:('@',"thug"),(33,14)
  116. MONSTER:('@',"thug"),(30,15)
  117. #thug guards, room #3
  118. MONSTER:('@',"thug"),(35,09)
  119. MONSTER:('@',"thug"),(36,13)
  120. # Non diggable walls
  121. NON_DIGGABLE:(00,00,75,20)
  122. # Random traps
  123. TRAP:random,random
  124. TRAP:random,random
  125. TRAP:random,random
  126. TRAP:random,random
  127. TRAP:random,random
  128. TRAP:random,random
  129. TRAP:random,random
  130. TRAP:random,random
  131. TRAP:random,random
  132. TRAP:random,random
  133. TRAP:random,random
  134. TRAP:random,random
  135. TRAP:random,random
  136. TRAP:random,random
  137. TRAP:random,random
  138. TRAP:random,random
  139. #
  140. # Monsters to get in the way.
  141. #
  142. # West exit
  143. MONSTER: ('l',"leprechaun"),(01,12),hostile
  144. MONSTER: ('n',"water nymph"),(02,12),hostile
  145. # North exit
  146. MONSTER: ('n',"water nymph"),(33,01),hostile
  147. MONSTER: ('l',"leprechaun"),(33,02),hostile
  148. # East exit
  149. MONSTER: ('n',"water nymph"),(74,05),hostile
  150. MONSTER: ('l',"leprechaun"),(74,04),hostile
  151. # South exit
  152. MONSTER: ('l',"leprechaun"),(25,19),hostile
  153. MONSTER: ('n',"water nymph"),(25,18),hostile
  154. # Wandering the streets.
  155. LOOP [ 4 + 1d3 ] {
  156. MONSTER: ('n',"water nymph"),rndcoord($streets),hostile
  157. MONSTER: ('l',"leprechaun"),rndcoord($streets),hostile
  158. }
  159. LOOP [ 7 + 1d3 ] {
  160. MONSTER: (':',"chameleon"),rndcoord($streets),hostile
  161. }
  162.  
  163. #
  164. #	The "locate" level for the quest.
  165. #
  166. #	Here you have to find the entrance to the Assassins' Guild to go
  167. #	further towards your assigned quest.
  168. #
  169.  
  170. MAZE: "Rog-loca",' '
  171. GEOMETRY:center,center
  172. #         1         2         3         4         5         6         7
  173. #123456789012345678901234567890123456789012345678901234567890123456789012345
  174. MAP
  175. ----------------------------------------------------   --------
  176. ---.................................................-    --.....|
  177. ---...--------........-------.......................---     ---...|
  178. ---.....-      ---......-     ---..................----         --.--
  179. ---.....----       --------       --..................--         --..|
  180. ---...-----                       ----.----.....----.....---      --..||
  181. ----..----                       -----..---  |...---  |.......---   --...|
  182. |...---                       ----....---    |.---    |.........-- --...||
  183. |...-                      ----.....---     ----      |..........---....|
  184. |...----                ----......---       |         |...|.......-....||
  185. |......-----          ---.........-         |     -----...|............|
  186. |..........-----   ----...........---       -------......||...........||
  187. |..............-----................---     |............|||..........|
  188. |------...............................---   |...........|| |.........||
  189. |.....|..............------.............-----..........||  ||........|
  190. |.....|.............--    ---.........................||    |.......||
  191. |.....|.............-       ---.....................--|     ||......|
  192. |-S----------.......----      --.................----        |.....||
  193. |...........|..........--------..............-----           ||....|
  194. |...........|............................-----                |....|
  195. ------------------------------------------                    ------
  196. ENDMAP
  197. # Dungeon Description
  198. REGION:(00,00,75,20),lit,"ordinary"
  199. # Doors
  200. #DOOR:locked|closed|open,(xx,yy)
  201. # Stairs
  202. STAIR:random,up
  203. STAIR:random,down
  204. # Non diggable walls
  205. NON_DIGGABLE:(00,00,75,20)
  206. # Objects
  207. OBJECT:('?',"teleportation"),(11,18),cursed,0
  208. OBJECT:random,random
  209. OBJECT:random,random
  210. OBJECT:random,random
  211. OBJECT:random,random
  212. OBJECT:random,random
  213. OBJECT:random,random
  214. OBJECT:random,random
  215. OBJECT:random,random
  216. OBJECT:random,random
  217. OBJECT:random,random
  218. OBJECT:random,random
  219. OBJECT:random,random
  220. OBJECT:random,random
  221. OBJECT:random,random
  222. # Random traps
  223. TRAP:random,random
  224. TRAP:random,random
  225. TRAP:random,random
  226. TRAP:random,random
  227. TRAP:random,random
  228. TRAP:random,random
  229. # Random monsters.
  230. MONSTER:('l',"leprechaun"),random,hostile
  231. MONSTER:('l',"leprechaun"),random,hostile
  232. MONSTER:('l',"leprechaun"),random,hostile
  233. MONSTER:('l',"leprechaun"),random,hostile
  234. MONSTER:('l',"leprechaun"),random,hostile
  235. MONSTER:('l',"leprechaun"),random,hostile
  236. MONSTER:('l',"leprechaun"),random,hostile
  237. MONSTER:('l',"leprechaun"),random,hostile
  238. MONSTER:('l',"leprechaun"),random,hostile
  239. MONSTER:('l',"leprechaun"),random,hostile
  240. MONSTER:('l',"leprechaun"),random,hostile
  241. MONSTER:('l',"leprechaun"),random,hostile
  242. MONSTER:('l',"leprechaun"),random,hostile
  243. MONSTER:('l',"leprechaun"),random,hostile
  244. MONSTER:('l',"leprechaun"),random,hostile
  245. MONSTER:('l',"leprechaun"),random,hostile
  246. MONSTER:('l',"leprechaun"),random,hostile
  247. MONSTER:'l',random,hostile
  248. MONSTER:('N',"guardian naga"),random,hostile
  249. MONSTER:('N',"guardian naga"),random,hostile
  250. MONSTER:('N',"guardian naga"),random,hostile
  251. MONSTER:('N',"guardian naga"),random,hostile
  252. MONSTER:('N',"guardian naga"),random,hostile
  253. MONSTER:('N',"guardian naga"),random,hostile
  254. MONSTER:('N',"guardian naga"),random,hostile
  255. MONSTER:'N',random,hostile
  256. MONSTER:'N',random,hostile
  257. MONSTER:'N',random,hostile
  258. MONSTER: (':',"chameleon"),random,hostile
  259. MONSTER: (':',"chameleon"),random,hostile
  260. MONSTER: (':',"chameleon"),random,hostile
  261. MONSTER: (':',"chameleon"),random,hostile
  262. MONSTER: (':',"chameleon"),random,hostile
  263.  
  264. #
  265. #	The "goal" level for the quest.  Teleportation and digging are
  266. #	disallowed.
  267. #
  268. #	You have to reach The Master Assassin via some means other than
  269. #	simple searching or digging since there is no path between your
  270. #	arrival point and his location.
  271. #
  272. MAZE: "Rog-goal", ' '
  273. FLAGS: noteleport
  274. GEOMETRY:center,center
  275. #         1         2         3         4         5         6         7
  276. #123456789012345678901234567890123456789012345678901234567890123456789012345
  277. MAP
  278. -----      -------.......................................|-----------------|
  279. |...|  -----.....|.......................................|.................|
  280. |...----...|.....|.......................................|....---------....|
  281. |.---......---..--.................................------------.......|....|
  282. |...............|..................................|..|...|...----........-|
  283. |.....-----....--.................................|-..--..-|.....----S----|
  284. |--S---...|....|.................................|-........-|....|........|
  285. |.........---------.............................|-....}}....-|...|...|....|
  286. |....|.....S......|............................|-.....}}.....-|..--.------|
  287. |-----.....--.....|...........................|-...}}}}}}}}...-|....|.....--
  288. |...........--....------S-----...............|-....}}}}}}}}....-|..........|
  289. |............--........|...| |..............--.....}}.}}........----------S-
  290. |.............|........|...| |..............|......}}}}}}}}......|...|.....|
  291. |S-.---.---.---.---.---|...| ------------...--........}}.}}.....--..---....|
  292. |.---.---.---.---.-S-..----- |....|.....|....|-....}}}}}}}}....---..S.|--..|
  293. |...|.......|..........|...---....---...S.....|-...}}}}}}}}...-|.S..|...|..|
  294. |...|..|....|..........|............|..--..----|-.....}}.....-|..----...-S--
  295. |...|---....----.......|----- ......|...---|    |-....}}....-|...|..--.--..|
  296. -----.....---.....--.---....--...--------..|     |-........-|....|.........|
  297. |.............|..........|.............S...   |S-------|.....|..-----..|
  298. ----------------------------------------  ......       ----------   ----
  299. ENDMAP
  300. # Dungeon Description
  301. REGION:(00,00,75,20),lit,"ordinary"
  302. # Stairs
  303. STAIR:levregion(01,00,15,20),(01,18,04,20),up
  304. # Doors
  305. # Non diggable walls
  306. NON_DIGGABLE:(00,00,75,20)
  307. # One trap to keep the gnomes at bay.
  308. TRAP:"spiked pit",(37,07)
  309. # Objects
  310. OBJECT:('(',"skeleton key"),(38,10),blessed,0,name:"The Master Key of Thievery"
  311. OBJECT:('%',"tin"),(26,12),montype:"chameleon"
  312. OBJECT:random,random
  313. OBJECT:random,random
  314. OBJECT:random,random
  315. OBJECT:random,random
  316. OBJECT:random,random
  317. OBJECT:random,random
  318. OBJECT:random,random
  319. OBJECT:random,random
  320. OBJECT:random,random
  321. OBJECT:random,random
  322. OBJECT:random,random
  323. OBJECT:random,random
  324. OBJECT:random,random
  325. # Random traps
  326. TRAP:random,random
  327. TRAP:random,random
  328. TRAP:random,random
  329. TRAP:random,random
  330. TRAP:random,random
  331. TRAP:random,random
  332. TRAP:random,random
  333. TRAP:random,random
  334. TRAP:random,random
  335. TRAP:random,random
  336. TRAP:random,random
  337. # Random monsters.
  338. MONSTER:('@',"Master Assassin"),(38,10),hostile
  339. MONSTER:('l',"leprechaun"),random,hostile
  340. MONSTER:('l',"leprechaun"),random,hostile
  341. MONSTER:('l',"leprechaun"),random,hostile
  342. MONSTER:('l',"leprechaun"),random,hostile
  343. MONSTER:('l',"leprechaun"),random,hostile
  344. MONSTER:('l',"leprechaun"),random,hostile
  345. MONSTER:('l',"leprechaun"),random,hostile
  346. MONSTER:('l',"leprechaun"),random,hostile
  347. MONSTER:('l',"leprechaun"),random,hostile
  348. MONSTER:('l',"leprechaun"),random,hostile
  349. MONSTER:('l',"leprechaun"),random,hostile
  350. MONSTER:('l',"leprechaun"),random,hostile
  351. MONSTER:('l',"leprechaun"),random,hostile
  352. MONSTER:('l',"leprechaun"),random,hostile
  353. MONSTER:('l',"leprechaun"),random,hostile
  354. MONSTER:('l',"leprechaun"),random,hostile
  355. MONSTER:'l',random,hostile
  356. MONSTER:'l',random,hostile
  357. MONSTER:('N',"guardian naga"),random,hostile
  358. MONSTER:('N',"guardian naga"),random,hostile
  359. MONSTER:('N',"guardian naga"),random,hostile
  360. MONSTER:('N',"guardian naga"),random,hostile
  361. MONSTER:('N',"guardian naga"),random,hostile
  362. MONSTER:('N',"guardian naga"),random,hostile
  363. MONSTER:('N',"guardian naga"),random,hostile
  364. MONSTER:('N',"guardian naga"),random,hostile
  365. MONSTER:'N',random,hostile
  366. MONSTER:'N',random,hostile
  367. MONSTER:'N',random,hostile
  368. MONSTER: (':',"chameleon"),random,hostile
  369. MONSTER: (':',"chameleon"),random,hostile
  370. MONSTER: (':',"chameleon"),random,hostile
  371. MONSTER: (':',"chameleon"),random,hostile
  372. MONSTER: (':',"chameleon"),random,hostile
  373. MONSTER:(';',"shark"),(51,14),hostile
  374. MONSTER:(';',"shark"),(53,09),hostile
  375. MONSTER:(';',"shark"),(55,15),hostile
  376. MONSTER:(';',"shark"),(58,10),hostile
  377.  
  378. #
  379. #	The "fill" level for the quest.
  380. #
  381. #	This level is used to fill out any levels not occupied by specific
  382. #	levels as defined above.
  383. #
  384. LEVEL: "Rog-fila"
  385. #
  386. ROOM: "ordinary" , random, random, random, random {
  387. STAIR: random, up
  388. OBJECT: random,random
  389. MONSTER: ('l', "leprechaun"), random, hostile
  390. }
  391.  
  392. ROOM: "ordinary" , random, random, random, random {
  393. OBJECT: random, random
  394. OBJECT: random,random
  395. MONSTER: ('l', "leprechaun"), random, hostile
  396. MONSTER: ('N', "guardian naga"), random, hostile
  397. }
  398.  
  399. ROOM: "ordinary" , random, random, random, random {
  400. OBJECT: random, random
  401. TRAP: random, random
  402. TRAP: random, random
  403. OBJECT: random,random
  404. MONSTER: ('n', "water nymph"), random, hostile
  405. }
  406.  
  407. ROOM: "ordinary" , random, random, random, random {
  408. STAIR: random, down
  409. OBJECT: random, random
  410. TRAP: random, random
  411. TRAP: random, random
  412. MONSTER: 'l', random, hostile
  413. MONSTER: ('N', "guardian naga"), random, hostile
  414. }
  415.  
  416. ROOM: "ordinary" , random, random, random, random {
  417. OBJECT: random, random
  418. OBJECT: random, random
  419. TRAP: random, random
  420. TRAP: random, random
  421. MONSTER: ('l', "leprechaun"), random, hostile
  422. }
  423.  
  424. ROOM: "ordinary" , random, random, random, random {
  425. OBJECT: random, random
  426. TRAP: random, random
  427. TRAP: random, random
  428. MONSTER: ('l', "leprechaun"), random, hostile
  429. MONSTER: ('n', "water nymph"), random, hostile
  430. }
  431.  
  432. RANDOM_CORRIDORS
  433.  
  434. #
  435. # currently a & b are the same.
  436. #
  437. LEVEL: "Rog-filb"
  438. #
  439. ROOM: "ordinary" , random, random, random, random {
  440. STAIR: random, up
  441. OBJECT: random,random
  442. MONSTER: ('l', "leprechaun"), random, hostile
  443. }
  444.  
  445. ROOM: "ordinary" , random, random, random, random {
  446. OBJECT: random, random
  447. OBJECT: random,random
  448. MONSTER: ('l', "leprechaun"), random, hostile
  449. MONSTER: ('N', "guardian naga"), random, hostile
  450. }
  451.  
  452. ROOM: "ordinary" , random, random, random, random {
  453. OBJECT: random, random
  454. TRAP: random, random
  455. TRAP: random, random
  456. OBJECT: random,random
  457. MONSTER: ('n', "water nymph"), random, hostile
  458. }
  459.  
  460. ROOM: "ordinary" , random, random, random, random {
  461. STAIR: random, down
  462. OBJECT: random, random
  463. TRAP: random, random
  464. TRAP: random, random
  465. MONSTER: 'l', random, hostile
  466. MONSTER: ('N', "guardian naga"), random, hostile
  467. }
  468.  
  469. ROOM: "ordinary" , random, random, random, random {
  470. OBJECT: random, random
  471. OBJECT: random, random
  472. TRAP: random, random
  473. TRAP: random, random
  474. MONSTER: ('l', "leprechaun"), random, hostile
  475. }
  476.  
  477. ROOM: "ordinary" , random, random, random, random {
  478. OBJECT: random, random
  479. TRAP: random, random
  480. TRAP: random, random
  481. MONSTER: ('l', "leprechaun"), random, hostile
  482. MONSTER: ('n', "water nymph"), random, hostile
  483. }
  484.  
  485. RANDOM_CORRIDORS