# Source:NetHack 3.4.3/dat/Samurai.des
Below is the full text to dat/Samurai.des from NetHack 3.4.3. To link to a particular line, write {{sourcecode|Samurai.des|123}}, for example.
This file describes the layout of the samurai quest.

Contents

1 License
2 Start level
3 Locate level
4 Goal level
5 References

License
1.    #	SCCS Id: @(#)Samurai.des	3.4	2002/04/08
2.    #	Copyright (c) 1989 by Jean-Christophe Collet
3.    #	Copyright (c) 1991-92 by M. Stephenson, P. Winner
4.    # 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.

Start level
5.    #
6.    #	The "start" level for the quest.
7.    #
8.    #	Here you meet your (besieged) class leader, Lord Sato
9.    #	and receive your quest assignment.
10.   #
11.   MAZE: "Sam-strt",' '
12.   FLAGS: noteleport,hardfloor
13.   GEOMETRY:center,center
14.   MAP
15.   ..............................................................PP............
16.   ...............................................................PP...........
17.   ..........---------------------------------------------------...PPP.........
18.   ..........|......|.........|...|..............|...|.........|....PPPPP......
19.   ......... |......|.........S...|..............|...S.........|.....PPPP......
20.   ..........|......|.........|---|..............|---|.........|.....PPP.......
21.   ..........+......|.........+...-------++-------...+.........|......PP.......
22.   ..........+......|.........|......................|.........|......PP.......
23.   ......... |......---------------------++--------------------|........PP.....
24.   ..........|.................................................|.........PP....
25.   ..........|.................................................|...........PP..
26.   ..........----------------------------------------...-------|............PP.
27.   ..........................................|.................|.............PP
28.   .............. ................. .........|.................|..............P
29.   ............. } ............... } ........|.................|...............
30.   .............. ........PP....... .........|.................|...............
31.   .....................PPP..................|.................|...............
32.   ......................PP..................-------------------...............
33.   ............................................................................
34.   ............................................................................
35.   ENDMAP
36.   # Dungeon Description
37.   REGION:(00,00,75,19),lit,"ordinary"
38.   REGION:(18,03,26,07),lit,"throne",unfilled
39.   # Portal arrival zone
40.   BRANCH:(62,12,70,17),(0,0,0,0)
41.   # Stairs
42.   STAIR:(29,04),down
43.   # Doors
44.   DOOR:locked,(10,06)
45.   DOOR:locked,(10,07)
46.   DOOR:closed,(27,04)
47.   DOOR:closed,(27,06)
48.   DOOR:closed,(38,06)
49.   DOOR:locked,(38,08)
50.   DOOR:closed,(39,06)
51.   DOOR:locked,(39,08)
52.   DOOR:closed,(50,04)
53.   DOOR:closed,(50,06)
54.   # Lord Sato
55.   MONSTER:'@',"Lord Sato",(20,04)
56.   # The treasure of Lord Sato
57.   OBJECT:'(',"chest",(20,04)
58.   # roshi guards for the audience chamber
59.   MONSTER:'@',"roshi",(18,04)
60.   MONSTER:'@',"roshi",(18,05)
61.   MONSTER:'@',"roshi",(18,06)
62.   MONSTER:'@',"roshi",(18,07)
63.   MONSTER:'@',"roshi",(26,04)
64.   MONSTER:'@',"roshi",(26,05)
65.   MONSTER:'@',"roshi",(26,06)
66.   MONSTER:'@',"roshi",(26,07)
67.   # Non diggable walls
68.   NON_DIGGABLE:(00,00,75,19)
69.   # Random traps
70.   TRAP:random,random
71.   TRAP:random,random
72.   TRAP:random,random
73.   TRAP:random,random
74.   TRAP:random,random
75.   TRAP:random,random
76.   # Monsters on siege duty.
77.   MONSTER: '@',"ninja",(64,00),hostile
78.   MONSTER: 'd',"wolf",(65,01)
79.   MONSTER: '@',"ninja",(67,02),hostile
80.   MONSTER: '@',"ninja",(69,05),hostile
81.   MONSTER: '@',"ninja",(69,06),hostile
82.   MONSTER: 'd',"wolf",(69,07)
83.   MONSTER: '@',"ninja",(70,06),hostile
84.   MONSTER: '@',"ninja",(70,07),hostile
85.   MONSTER: '@',"ninja",(72,01),hostile
86.   MONSTER: 'd',"wolf",(75,09)
87.   MONSTER: '@',"ninja",(73,05),hostile
88.   MONSTER: '@',"ninja",(68,02),hostile
89.   MONSTER:'E',"stalker",random
90.   

Locate level
91.   #
92.   #	The "locate" level for the quest.
93.   #
94.   #	Here you have to invade the Shogun's Castle to go
95.   #	further towards your assigned quest.
96.   #
97.   
98.   MAZE: "Sam-loca",' '
99.   FLAGS: hardfloor
100.  GEOMETRY:center,center
101.  MAP
102.  ............................................................................
103.  ............................................................................
104.  ........-----..................................................-----........
105.  ........|...|..................................................|...|........
106.  ........|...---..}..--+------------------------------+--..}..---...|........
107.  ........|-|...|.....|...|....|....|....|....|....|.|...|.....|...|-|........
108.  ..........|...-------...|....|....|....|....|....S.|...-------...|..........
109.  ..........|-|.........------+----+-+-------+-+--------.........|-|..........
110.  ............|..--------.|}........................}|.--------..|............
111.  ............|..+........+..........................+........+..|............
112.  ............|..+........+..........................+........+..|............
113.  ............|..--------.|}........................}|.--------..|............
114.  ..........|-|.........--------+-+-------+-+----+------.........|-|..........
115.  ..........|...-------...|.S....|....|....|....|....|...-------...|..........
116.  ........|-|...|.....|...|.|....|....|....|....|....|...|.....|...|-|........
117.  ........|...---..}..--+------------------------------+--..}..---...|........
118.  ........|...|..................................................|...|........
119.  ........-----..................................................-----........
120.  ............................................................................
121.  ............................................................................
122.  ENDMAP
123.  # Dungeon Description
124.  REGION:(00,00,75,19),lit,"ordinary"
125.  # Doors
126.  DOOR:locked,(22,04)
127.  DOOR:locked,(22,15)
128.  DOOR:locked,(53,04)
129.  DOOR:locked,(53,15)
130.  DOOR:locked,(49,06)
131.  DOOR:locked,(26,13)
132.  DOOR:locked,(28,07)
133.  DOOR:locked,(30,12)
134.  DOOR:locked,(33,07)
135.  DOOR:locked,(32,12)
136.  DOOR:locked,(35,07)
137.  DOOR:locked,(40,12)
138.  DOOR:locked,(43,07)
139.  DOOR:locked,(42,12)
140.  DOOR:locked,(45,07)
141.  DOOR:locked,(47,12)
142.  DOOR:closed,(15,09)
143.  DOOR:closed,(15,10)
144.  DOOR:closed,(24,09)
145.  DOOR:closed,(24,10)
146.  DOOR:closed,(51,09)
147.  DOOR:closed,(51,10)
148.  DOOR:closed,(60,09)
149.  DOOR:closed,(60,10)
150.  # Stairs
151.  STAIR:(10,10),up
152.  STAIR:(25,14),down
153.  # Non diggable walls
154.  NON_DIGGABLE:(00,00,75,19)
155.  # Objects
156.  OBJECT:'*',random,(25,05)
157.  OBJECT:'*',random,(26,05)
158.  OBJECT:'*',random,(27,05)
159.  OBJECT:'*',random,(28,05)
160.  OBJECT:'*',random,(25,06)
161.  OBJECT:'*',random,(26,06)
162.  OBJECT:'*',random,(27,06)
163.  OBJECT:'*',random,(28,06)
164.  #
165.  OBJECT:'[',random,(40,05)
166.  OBJECT:'[',random,(41,05)
167.  OBJECT:'[',random,(42,05)
168.  OBJECT:'[',random,(43,05)
169.  OBJECT:'[',random,(40,06)
170.  OBJECT:'[',random,(41,06)
171.  OBJECT:'[',random,(42,06)
172.  OBJECT:'[',random,(43,06)
173.  #
174.  OBJECT:')',random,(27,13)
175.  OBJECT:')',random,(28,13)
176.  OBJECT:')',random,(29,13)
177.  OBJECT:')',random,(30,13)
178.  OBJECT:')',random,(27,14)
179.  OBJECT:')',random,(28,14)
180.  OBJECT:')',random,(29,14)
181.  OBJECT:')',random,(30,14)
182.  #
183.  OBJECT:'(',random,(37,13)
184.  OBJECT:'(',random,(38,13)
185.  OBJECT:'(',random,(39,13)
186.  OBJECT:'(',random,(40,13)
187.  OBJECT:'(',random,(37,14)
188.  OBJECT:'(',random,(38,14)
189.  OBJECT:'(',random,(39,14)
190.  OBJECT:'(',random,(40,14)
191.  # Random traps
192.  TRAP:random,random
193.  TRAP:random,random
194.  TRAP:random,random
195.  TRAP:random,random
196.  TRAP:random,random
197.  TRAP:random,random
198.  # Random monsters.
199.  MONSTER:'@',"ninja",(15,05),hostile
200.  MONSTER:'@',"ninja",(16,05),hostile
201.  MONSTER:'d',"wolf",(17,05)
202.  MONSTER:'d',"wolf",(18,05)
203.  MONSTER:'@',"ninja",(19,05),hostile
204.  MONSTER:'d',"wolf",(15,14)
205.  MONSTER:'d',"wolf",(16,14)
206.  MONSTER:'@',"ninja",(17,14),hostile
207.  MONSTER:'@',"ninja",(18,14),hostile
208.  MONSTER:'d',"wolf",(56,05)
209.  MONSTER:'@',"ninja",(57,05),hostile
210.  MONSTER:'d',"wolf",(58,05)
211.  MONSTER:'d',"wolf",(59,05)
212.  MONSTER:'@',"ninja",(56,14),hostile
213.  MONSTER:'d',"wolf",(57,14)
214.  MONSTER:'@',"ninja",(58,14),hostile
215.  MONSTER:'d',random,(59,14)
216.  MONSTER:'d',"wolf",(60,14)
217.  MONSTER:'E',"stalker",random
218.  MONSTER:'E',"stalker",random
219.  MONSTER:'E',"stalker",random
220.  MONSTER:'E',"stalker",random
221.  MONSTER:'E',"stalker",random
222.  MONSTER:'E',"stalker",random
223.  MONSTER:'E',"stalker",random
224.  MONSTER:'E',"stalker",random
225.  MONSTER:'E',"stalker",random
226.  #	"guards" for the central courtyard.
227.  MONSTER:'@',"samurai",(30,05),hostile
228.  MONSTER:'@',"samurai",(31,05),hostile
229.  MONSTER:'@',"samurai",(32,05),hostile
230.  MONSTER:'@',"samurai",(32,14),hostile
231.  MONSTER:'@',"samurai",(33,14),hostile
232.  MONSTER:'@',"samurai",(34,14),hostile
233.  

Goal level
234.  #
235.  #	The "goal" level for the quest.
236.  #
237.  #	Here you meet Takauji, your nemesis monster.  You have to
238.  #	defeat him in combat to gain the artifact you have been
239.  #	assigned to retrieve.
240.  #
241.  
242.  MAZE: "Sam-goal", ' '
243.  FLAGS: noteleport
244.  GEOMETRY:center,center
245.  MAP
246.                                               
247.             .......................           
248.         ......---------.---------......       
249.      ......----.................----......    
250.     ....----.....-------------.....----....   
251.    ....--.....----...........----.....--....  
252.    ...||....---....---------....---....||...  
253.    ...|....--....---.......---....--....|...  
254.   ....|...||...---...--+--...---...||...|.... 
255.   ....|...|....|....|-...-|....|....|...|.... 
256.   ....|...|....|....+.....+....|........|.... 
257.   ....|...|....|....|-...-|....|....|...|.... 
258.   ....|...||...---...--+--...---...||...|.... 
259.    ...|....--....---.......---....--....|...  
260.    ...||....---....----.----....---....||...  
261.    ....--.....----...........----.....--....  
262.     ....----.....-------------.....----....   
263.      ......----.................----......    
264.         ......-------------------......       
265.             .......................           
266.  ENDMAP
267.  # Dungeon Description
268.  RANDOM_PLACES:(02,11),(42,09)
269.  REGION:(00,00,44,19),unlit,"ordinary"
270.  # Doors
271.  DOOR:closed,(19,10)
272.  DOOR:closed,(22,08)
273.  DOOR:closed,(22,12)
274.  DOOR:closed,(25,10)
275.  # Stairs
276.  STAIR:place[0],up
277.  # Non diggable walls
278.  NON_DIGGABLE:(00,00,44,19)
279.  # Objects
280.  OBJECT:')',"tsurugi",(22,10),blessed,0,"The Tsurugi of Muramasa"
281.  OBJECT:random,random,random
282.  OBJECT:random,random,random
283.  OBJECT:random,random,random
284.  OBJECT:random,random,random
285.  OBJECT:random,random,random
286.  OBJECT:random,random,random
287.  OBJECT:random,random,random
288.  OBJECT:random,random,random
289.  OBJECT:random,random,random
290.  OBJECT:random,random,random
291.  OBJECT:random,random,random
292.  OBJECT:random,random,random
293.  OBJECT:random,random,random
294.  OBJECT:random,random,random
295.  #
296.  TRAP:"board",(22,09)
297.  TRAP:"board",(24,10)
298.  TRAP:"board",(22,11)
299.  # Random traps
300.  TRAP:random,random
301.  TRAP:random,random
302.  TRAP:random,random
303.  TRAP:random,random
304.  TRAP:random,random
305.  TRAP:random,random
306.  # Random monsters.
307.  MONSTER:'@',"Ashikaga Takauji",(22,10)
308.  MONSTER:'@',"samurai",random,hostile
309.  MONSTER:'@',"samurai",random,hostile
310.  MONSTER:'@',"samurai",random,hostile
311.  MONSTER:'@',"samurai",random,hostile
312.  MONSTER:'@',"samurai",random,hostile
313.  MONSTER:'@',"ninja",random,hostile
314.  MONSTER:'@',"ninja",random,hostile
315.  MONSTER:'@',"ninja",random,hostile
316.  MONSTER:'@',"ninja",random,hostile
317.  MONSTER:'@',"ninja",random,hostile
318.  MONSTER:'d',"wolf",random
319.  MONSTER:'d',"wolf",random
320.  MONSTER:'d',"wolf",random
321.  MONSTER:'d',"wolf",random
322.  MONSTER:'d',random,random
323.  MONSTER:'d',random,random
324.  MONSTER:'E',"stalker",random
325.  MONSTER:'E',"stalker",random
326.  MONSTER:'E',"stalker",random
327.  MONSTER:'E',"stalker",random
328.  MONSTER:'E',"stalker",random
329.  MONSTER:'E',"stalker",random
330.  MONSTER:'E',"stalker",random
331.  MONSTER:'E',"stalker",random
332.  MONSTER:'E',"stalker",random
333.  
334.  
335.  #
336.  #	The "fill" levels for the quest.
337.  #
338.  #	These levels are used to fill out any levels not occupied by specific
339.  #	levels as defined above. "filla" is the upper filler, between the
340.  #	start and locate levels, and "fillb" the lower between the locate
341.  #	and goal levels.
342.  #
343.  
344.  MAZE: "Sam-fila", ' '
345.  INIT_MAP: '.' , 'P', true, true, random, true
346.  NOMAP
347.  #
348.  STAIR: random, up
349.  STAIR: random, down
350.  #
351.  OBJECT: random, random, random
352.  OBJECT: random, random, random
353.  OBJECT: random, random, random
354.  OBJECT: random, random, random
355.  OBJECT: random, random, random
356.  OBJECT: random, random, random
357.  OBJECT: random, random, random
358.  OBJECT: random, random, random
359.  OBJECT: random, random, random
360.  #
361.  MONSTER: 'd', random, random
362.  MONSTER: 'd', "wolf", random
363.  MONSTER: 'd', "wolf", random
364.  MONSTER: 'd', "wolf", random
365.  MONSTER: 'd', "wolf", random
366.  MONSTER: 'd', "wolf", random
367.  MONSTER: 'E', "stalker", random
368.  #
369.  TRAP: random, random
370.  TRAP: random, random
371.  TRAP: random, random
372.  TRAP: random, random
373.  
374.  MAZE: "Sam-filb", ' '
375.  GEOMETRY:center,center
376.  MAP
377.  -------------                                  -------------
378.  |...........|                                  |...........|
379.  |...-----...|----------------------------------|...-----...|
380.  |...|   |...|..................................|...|   |...|
381.  |...-----..........................................-----...|
382.  |...........|--S----------------------------S--|...........|
383.  ----...--------.|..........................|.--------...----
384.     |...|........+..........................+........|...|   
385.     |...|........+..........................+........|...|   
386.  ----...--------.|..........................|.--------...----
387.  |...........|--S----------------------------S--|...........|
388.  |...-----..........................................-----...|
389.  |...|   |...|..................................|...|   |...|
390.  |...-----...|----------------------------------|...-----...|
391.  |...........|                                  |...........|
392.  -------------                                  -------------
393.  ENDMAP
394.  REGION:(00,00,59,15),unlit,"ordinary"
395.  # Doors
396.  DOOR:closed,(16,07)
397.  DOOR:closed,(16,08)
398.  DOOR:closed,(43,07)
399.  DOOR:closed,(43,08)
400.  #
401.  STAIR: random, up
402.  STAIR: random, down
403.  #
404.  OBJECT: random, random, random
405.  OBJECT: random, random, random
406.  OBJECT: random, random, random
407.  OBJECT: random, random, random
408.  OBJECT: random, random, random
409.  OBJECT: random, random, random
410.  OBJECT: random, random, random
411.  OBJECT: random, random, random
412.  OBJECT: random, random, random
413.  #
414.  MONSTER: 'd', random, random
415.  MONSTER: 'd', "wolf", random
416.  MONSTER: 'd', "wolf", random
417.  MONSTER: 'd', "wolf", random
418.  MONSTER: 'd', "wolf", random
419.  MONSTER: 'E', "stalker", random
420.  MONSTER: 'E', "stalker", random
421.  MONSTER: 'E', "stalker", random
422.  #
423.  TRAP: random, random
424.  TRAP: random, random
425.  TRAP: random, random
426.  TRAP: random, random

References