Source:NetHack 3.4.3/dat/Knight.des

From NetHackWiki
Jump to: navigation, search

Below is the full text to dat/Knight.des from NetHack 3.4.3. To link to a particular line, write {{sourcecode|Knight.des|123}}, for example.

This file describes the layout of the knight quest.

License

1.    #	SCCS Id: @(#)Knight.des	3.4	1995/04/16
2.    #	Copyright (c) 1989 by Jean-Christophe Collet
3.    #	Copyright (c) 1991,92 by M. Stephenson
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, King Arthur
9.    #	and receive your quest assignment.
10.   #
11.   MAZE: "Kni-strt",'.'
12.   FLAGS: noteleport,hardfloor
13.   # This is a kludge to init the level as a lit field.
14.   INIT_MAP: '.' , '.' , false , false , lit , false
15.   GEOMETRY:center,center
16.   MAP
17.   ..................................................
18.   .-----......................................-----.
19.   .|...|......................................|...|.
20.   .--|+-------------------++-------------------+|--.
21.   ...|...................+..+...................|...
22.   ...|.|-----------------|++|-----------------|.|...
23.   ...|.|.................|..|.........|.......|.|...
24.   ...|.|...\.............+..+.........|.......|.|...
25.   ...|.|.................+..+.........+.......|.|...
26.   ...|.|.................|..|.........|.......|.|...
27.   ...|.|--------------------------------------|.|...
28.   ...|..........................................|...
29.   .--|+----------------------------------------+|--.
30.   .|...|......................................|...|.
31.   .-----......................................-----.
32.   ..................................................
33.   ENDMAP
34.   # Dungeon Description
35.   REGION:(00,00,49,15),lit,"ordinary"
36.   REGION:(04,04,45,11),unlit,"ordinary"
37.   REGION:(06,06,22,09),lit,"throne" , unfilled
38.   REGION:(27,06,43,09),lit,"ordinary"
39.   # Portal arrival point
40.   BRANCH:(20,14,20,14),(0,0,0,0)
41.   # Stairs
42.   STAIR:(40,7),down
43.   # Doors
44.   # Outside Doors
45.   DOOR:locked,(24,03)
46.   DOOR:locked,(25,03)
47.   # Inside Doors
48.   DOOR:closed,(23,04)
49.   DOOR:closed,(26,04)
50.   DOOR:locked,(24,05)
51.   DOOR:locked,(25,05)
52.   DOOR:closed,(23,07)
53.   DOOR:closed,(26,07)
54.   DOOR:closed,(23,08)
55.   DOOR:closed,(26,08)
56.   DOOR:closed,(36,08)
57.   # Watchroom Doors
58.   DOOR:closed,(04,03)
59.   DOOR:closed,(45,03)
60.   DOOR:closed,(04,12)
61.   DOOR:closed,(45,12)
62.   # King Arthur
63.   MONSTER:'@',"King Arthur",(09,07)
64.   # The treasure of King Arthur
65.   OBJECT:'(',"chest",(09,07)
66.   # knight guards for the watchrooms
67.   MONSTER:'@',"knight",(04,02),peaceful
68.   MONSTER:'@',"knight",(04,13),peaceful
69.   MONSTER:'@',"knight",(45,02),peaceful
70.   MONSTER:'@',"knight",(45,13),peaceful
71.   # page guards for the audience chamber
72.   MONSTER:'@',"page",(16,06)
73.   MONSTER:'@',"page",(18,06)
74.   MONSTER:'@',"page",(20,06)
75.   MONSTER:'@',"page",(16,09)
76.   MONSTER:'@',"page",(18,09)
77.   MONSTER:'@',"page",(20,09)
78.   # Non diggable walls
79.   NON_DIGGABLE:(00,00,49,15)
80.   # Random traps
81.   TRAP:"sleep gas",(24,04)
82.   TRAP:"sleep gas",(25,04)
83.   TRAP:random,random
84.   TRAP:random,random
85.   TRAP:random,random
86.   TRAP:random,random
87.   # Monsters on siege duty.
88.   MONSTER: 'i',"quasit",(14,00),hostile
89.   MONSTER: 'i',"quasit",(16,00),hostile
90.   MONSTER: 'i',"quasit",(18,00),hostile
91.   MONSTER: 'i',"quasit",(20,00),hostile
92.   MONSTER: 'i',"quasit",(22,00),hostile
93.   MONSTER: 'i',"quasit",(24,00),hostile
94.   MONSTER: 'i',"quasit",(26,00),hostile
95.   MONSTER: 'i',"quasit",(28,00),hostile
96.   MONSTER: 'i',"quasit",(30,00),hostile
97.   MONSTER: 'i',"quasit",(32,00),hostile
98.   MONSTER: 'i',"quasit",(34,00),hostile
99.   MONSTER: 'i',"quasit",(36,00),hostile
100.  

Locate level

101.  #
102.  #	The "locate" level for the quest.
103.  #
104.  #	Here you have to find your way to the Isle of Glass to go
105.  #	further towards your assigned quest.
106.  #
107.  
108.  MAZE: "Kni-loca",' '
109.  FLAGS: hardfloor
110.  INIT_MAP: '.' , 'P' , false , true , lit , false
111.  GEOMETRY:center,center
112.  MAP
113.  ...PPP.........PPPP..............PPPP...
114.  .PPPP...........PP................PPPP..
115.  PP.................................PPP..
116.  ....................................PPP.
117.  .....................................PP.
118.  .......................................P
119.  ........................................
120.  PP...................................PPP
121.  .PPP...............................PPP..
122.  ..PP.............................PPPP...
123.  ..PPP...........................PPPPPP..
124.  ....PPPP.........PPP.........PPPP..PP...
125.  ENDMAP
126.  # Dungeon Description
127.  # The Isle of Glass is a Tor rising out of the swamps surrounding it.
128.  REGION:(00,00,39,11),lit,"ordinary"
129.  # The top area of the Tor is a holy site.
130.  REGION:(09,02,27,09),lit,"temple"
131.  # Stairs
132.  STAIR:(38,0),up
133.  STAIR:(18,05),down
134.  # The altar atop the Tor and its attendant (creating altar makes the priest).
135.  ALTAR:(17,05),neutral,shrine
136.  # Objects
137.  OBJECT:random,random,random
138.  OBJECT:random,random,random
139.  OBJECT:random,random,random
140.  OBJECT:random,random,random
141.  OBJECT:random,random,random
142.  OBJECT:random,random,random
143.  OBJECT:random,random,random
144.  OBJECT:random,random,random
145.  OBJECT:random,random,random
146.  OBJECT:random,random,random
147.  OBJECT:random,random,random
148.  OBJECT:random,random,random
149.  OBJECT:random,random,random
150.  OBJECT:random,random,random
151.  OBJECT:random,random,random
152.  # Random traps
153.  # All of the avenues are guarded by magic except for the East.
154.  # South
155.  TRAP:"magic",(08,11)
156.  TRAP:"magic",(09,11)
157.  TRAP:"magic",(10,11)
158.  TRAP:"magic",(11,11)
159.  TRAP:"magic",(12,11)
160.  TRAP:"magic",(13,11)
161.  TRAP:"magic",(14,11)
162.  TRAP:"magic",(15,11)
163.  TRAP:"magic",(16,11)
164.  TRAP:"magic",(20,11)
165.  TRAP:"magic",(21,11)
166.  TRAP:"magic",(22,11)
167.  TRAP:"magic",(23,11)
168.  TRAP:"magic",(24,11)
169.  TRAP:"magic",(25,11)
170.  TRAP:"magic",(26,11)
171.  TRAP:"magic",(27,11)
172.  TRAP:"magic",(28,11)
173.  # West
174.  TRAP:"magic",(00,03)
175.  TRAP:"magic",(00,04)
176.  TRAP:"magic",(00,05)
177.  TRAP:"magic",(00,06)
178.  # North
179.  TRAP:"magic",(06,00)
180.  TRAP:"magic",(07,00)
181.  TRAP:"magic",(08,00)
182.  TRAP:"magic",(09,00)
183.  TRAP:"magic",(10,00)
184.  TRAP:"magic",(11,00)
185.  TRAP:"magic",(12,00)
186.  TRAP:"magic",(13,00)
187.  TRAP:"magic",(14,00)
188.  TRAP:"magic",(19,00)
189.  TRAP:"magic",(20,00)
190.  TRAP:"magic",(21,00)
191.  TRAP:"magic",(22,00)
192.  TRAP:"magic",(23,00)
193.  TRAP:"magic",(24,00)
194.  TRAP:"magic",(25,00)
195.  TRAP:"magic",(26,00)
196.  TRAP:"magic",(27,00)
197.  TRAP:"magic",(28,00)
198.  TRAP:"magic",(29,00)
199.  TRAP:"magic",(30,00)
200.  TRAP:"magic",(31,00)
201.  TRAP:"magic",(32,00)
202.  # Even so, there are magic "sinkholes" around.
203.  TRAP:"anti magic",random
204.  TRAP:"anti magic",random
205.  TRAP:"anti magic",random
206.  TRAP:"anti magic",random
207.  TRAP:"anti magic",random
208.  TRAP:"anti magic",random
209.  TRAP:"anti magic",random
210.  # Random monsters.
211.  MONSTER:'i',"quasit",random,hostile
212.  MONSTER:'i',"quasit",random,hostile
213.  MONSTER:'i',"quasit",random,hostile
214.  MONSTER:'i',"quasit",random,hostile
215.  MONSTER:'i',"quasit",random,hostile
216.  MONSTER:'i',"quasit",random,hostile
217.  MONSTER:'i',"quasit",random,hostile
218.  MONSTER:'i',"quasit",random,hostile
219.  MONSTER:'i',"quasit",random,hostile
220.  MONSTER:'i',"quasit",random,hostile
221.  MONSTER:'i',"quasit",random,hostile
222.  MONSTER:'i',"quasit",random,hostile
223.  MONSTER:'i',"quasit",random,hostile
224.  MONSTER:'i',"quasit",random,hostile
225.  MONSTER:'i',"quasit",random,hostile
226.  MONSTER:'i',"quasit",random,hostile
227.  MONSTER:'i',"quasit",random,hostile
228.  MONSTER:'i',random,random,hostile
229.  MONSTER:'j',random,random,hostile
230.  MONSTER:'j',"ochre jelly",random,hostile
231.  MONSTER:'j',"ochre jelly",random,hostile
232.  MONSTER:'j',"ochre jelly",random,hostile
233.  MONSTER:'j',"ochre jelly",random,hostile
234.  MONSTER:'j',"ochre jelly",random,hostile
235.  MONSTER:'j',"ochre jelly",random,hostile
236.  MONSTER:'j',"ochre jelly",random,hostile
237.  MONSTER:'j',random,random,hostile
238.  

Goal level

239.  #
240.  #	The "goal" level for the quest.
241.  #
242.  #	Here you meet Ixoth your nemesis monster.  You have to
243.  #	defeat Ixoth in combat to gain the artifact you have
244.  #	been assigned to retrieve.
245.  #
246.  
247.  MAZE: "Kni-goal", ' '
248.  GEOMETRY:center,center
249.  MAP
250.  ....PPPP..PPP..                                                             
251.  .PPPPP...PP..     ..........     .................................          
252.  ..PPPPP...P..    ...........    ...................................         
253.  ..PPP.......   ...........    ......................................        
254.  ...PPP.......    .........     ...............   .....................      
255.  ...........    ............    ............     ......................      
256.  ............   .............      .......     .....................         
257.  ..............................            .........................         
258.  ...............................   ..................................        
259.  .............................    ....................................       
260.  .........    ......................................................         
261.  .....PP...    .....................................................         
262.  .....PPP....    ....................................................        
263.  ......PPP....   ..............   ....................................       
264.  .......PPP....  .............    .....................................      
265.  ........PP...    ............    ......................................     
266.  ...PPP........     ..........     ..................................        
267.  ..PPPPP........     ..........     ..............................           
268.  ....PPPPP......       .........     ..........................              
269.  .......PPPP...                                                              
270.  ENDMAP
271.  # Dungeon Description
272.  REGION:(00,00,14,19),lit,"ordinary"
273.  REGION:(15,00,75,19),unlit,"ordinary"
274.  # Stairs
275.  STAIR:(03,08),up
276.  # Non diggable walls
277.  NON_DIGGABLE:(00,00,75,19)
278.  # Objects
279.  OBJECT:'(',"mirror",(50,06),blessed,0,"The Magic Mirror of Merlin"
280.  OBJECT:random,random,(33,01)
281.  OBJECT:random,random,(33,02)
282.  OBJECT:random,random,(33,03)
283.  OBJECT:random,random,(33,04)
284.  OBJECT:random,random,(33,05)
285.  OBJECT:random,random,(34,01)
286.  OBJECT:random,random,(34,02)
287.  OBJECT:random,random,(34,03)
288.  OBJECT:random,random,(34,04)
289.  OBJECT:random,random,(34,05)
290.  OBJECT:random,random,(35,01)
291.  OBJECT:random,random,(35,02)
292.  OBJECT:random,random,(35,03)
293.  OBJECT:random,random,(35,04)
294.  OBJECT:random,random,(35,05)
295.  OBJECT:random,random,random
296.  OBJECT:random,random,random
297.  OBJECT:random,random,random
298.  OBJECT:random,random,random
299.  OBJECT:random,random,random
300.  OBJECT:random,random,random
301.  # Random traps
302.  TRAP:"spiked pit",(13,07)
303.  TRAP:"spiked pit",(12,08)
304.  TRAP:"spiked pit",(12,09)
305.  TRAP:random,random
306.  TRAP:random,random
307.  TRAP:random,random
308.  TRAP:random,random
309.  TRAP:random,random
310.  # Random monsters.
311.  MONSTER:'D',"Ixoth",(50,06),hostile
312.  MONSTER:'i',"quasit",random,hostile
313.  MONSTER:'i',"quasit",random,hostile
314.  MONSTER:'i',"quasit",random,hostile
315.  MONSTER:'i',"quasit",random,hostile
316.  MONSTER:'i',"quasit",random,hostile
317.  MONSTER:'i',"quasit",random,hostile
318.  MONSTER:'i',"quasit",random,hostile
319.  MONSTER:'i',"quasit",random,hostile
320.  MONSTER:'i',"quasit",random,hostile
321.  MONSTER:'i',"quasit",random,hostile
322.  MONSTER:'i',"quasit",random,hostile
323.  MONSTER:'i',"quasit",random,hostile
324.  MONSTER:'i',"quasit",random,hostile
325.  MONSTER:'i',"quasit",random,hostile
326.  MONSTER:'i',"quasit",random,hostile
327.  MONSTER:'i',"quasit",random,hostile
328.  MONSTER:'i',random,random,hostile
329.  MONSTER:'i',random,random,hostile
330.  MONSTER:'j',"ochre jelly",random,hostile
331.  MONSTER:'j',"ochre jelly",random,hostile
332.  MONSTER:'j',"ochre jelly",random,hostile
333.  MONSTER:'j',"ochre jelly",random,hostile
334.  MONSTER:'j',"ochre jelly",random,hostile
335.  MONSTER:'j',"ochre jelly",random,hostile
336.  MONSTER:'j',"ochre jelly",random,hostile
337.  MONSTER:'j',"ochre jelly",random,hostile
338.  MONSTER:'j',random,random,hostile
339.  
340.  #
341.  #	The "fill" levels for the quest.
342.  #
343.  #	These levels are used to fill out any levels not occupied by specific
344.  #	levels as defined above. "filla" is the upper filler, between the
345.  #	start and locate levels, and "fillb" the lower between the locate
346.  #	and goal levels.
347.  #
348.  
349.  MAZE: "Kni-fila" , '.'
350.  INIT_MAP: '.' , 'P' , false , true , lit , false
351.  NOMAP
352.  #
353.  STAIR: random, up
354.  STAIR: random, down
355.  #
356.  OBJECT: random, random, random
357.  OBJECT: random, random, random
358.  OBJECT: random, random, random
359.  OBJECT: random, random, random
360.  OBJECT: random, random, random
361.  OBJECT: random, random, random
362.  OBJECT: random, random, random
363.  OBJECT: random, random, random
364.  #
365.  MONSTER: 'i', "quasit", random, hostile
366.  MONSTER: 'i', "quasit", random, hostile
367.  MONSTER: 'i', "quasit", random, hostile
368.  MONSTER: 'i', "quasit", random, hostile
369.  MONSTER: 'i', random, random, hostile
370.  MONSTER: 'j', "ochre jelly", random, hostile
371.  #
372.  TRAP: random, random
373.  TRAP: random, random
374.  TRAP: random, random
375.  TRAP: random, random
376.  
377.  MAZE: "Kni-filb" , '.'
378.  INIT_MAP: '.' , 'P' , false , true , lit , false
379.  NOMAP
380.  #
381.  STAIR: random, up
382.  STAIR: random, down
383.  #
384.  OBJECT: random, random, random
385.  OBJECT: random, random, random
386.  OBJECT: random, random, random
387.  OBJECT: random, random, random
388.  OBJECT: random, random, random
389.  OBJECT: random, random, random
390.  OBJECT: random, random, random
391.  OBJECT: random, random, random
392.  OBJECT: random, random, random
393.  OBJECT: random, random, random
394.  OBJECT: random, random, random
395.  #
396.  MONSTER: 'i', "quasit", random, hostile
397.  MONSTER: 'i', "quasit", random, hostile
398.  MONSTER: 'i', "quasit", random, hostile
399.  MONSTER: 'i', "quasit", random, hostile
400.  MONSTER: 'i', random, random, hostile
401.  MONSTER: 'j', "ochre jelly", random, hostile
402.  MONSTER: 'j', "ochre jelly", random, hostile
403.  MONSTER: 'j', "ochre jelly", random, hostile
404.  #
405.  TRAP: random, random
406.  TRAP: random, random
407.  TRAP: random, random
408.  TRAP: random, random

References