Source:NetHack 3.4.3/dat/Ranger.des

From NetHackWiki
Jump to: navigation, search

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

This file describes the layout of the ranger quest.

License[edit]

1.    #	SCCS Id: @(#)Ranger.des	3.4	2001/02/01
2.    #	Copyright (c) 1989 by Jean-Christophe Collet
3.    #	Copyright (c) 1991 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[edit]

5.    #
6.    #	The "start" level for the quest.
7.    #
8.    #	Here you meet your (besieged) class leader, Orion,
9.    #	and receive your quest assignment.
10.   #
11.   MAZE: "Ran-strt",'.'
12.   FLAGS: noteleport,hardfloor,arboreal
13.   INIT_MAP:'.','.',true,true,lit,false
14.   GEOMETRY:left,center
15.   #1234567890123456789012345678901234567890123456789012345678901234567890
16.   MAP
17.                                          ..
18.      ...................................  .
19.     ..                                 ..  
20.    ..  ...............F...............  .. 
21.    .  ..             .F.             ..  . 
22.    . ..  .............F.............  .. . 
23.    . .  ..                         ..  . . 
24.    . . ..  .......................  .. ... 
25.    . . .  ..                     ..  .     
26.    ... . ..  .|..................... ......
27.    FFF . .  ..S..................          
28.    ... . ..  .|.................  .... ... 
29.    . . .  ..                     ..  . . . 
30.    . . ..  .......................  .. . . 
31.    . .  ..                         ..  . . 
32.    . ..  .............F.............  .. . 
33.    .  ..             .F.             ..  . 
34.    ..  ...............F...............  .. 
35.     ..                                 ..  
36.      ...................................  .
37.                                          ..
38.   ENDMAP
39.   # Dungeon Description
40.   REGION:(00,00,40,20),lit,"ordinary"
41.   # Stairs
42.   STAIR:(10,10),down
43.   # Portal arrival point; just about anywhere on the right hand side of the map
44.   BRANCH:levregion(51,2,77,18),(0,0,40,20)
45.   # Orion
46.   MONSTER:'@',"Orion",(20,10)
47.   # The treasure of Orion
48.   OBJECT:'(',"chest",(20,10)
49.   # Guards for the audience chamber
50.   MONSTER:'@',"hunter",(19,09)
51.   MONSTER:'@',"hunter",(20,09)
52.   MONSTER:'@',"hunter",(21,09)
53.   MONSTER:'@',"hunter",(19,10)
54.   MONSTER:'@',"hunter",(21,10)
55.   MONSTER:'@',"hunter",(19,11)
56.   MONSTER:'@',"hunter",(20,11)
57.   MONSTER:'@',"hunter",(21,11)
58.   # Non diggable walls
59.   NON_DIGGABLE:(00,00,40,20)
60.   # Traps
61.   TRAP:"arrow",(30,09)
62.   TRAP:"arrow",(30,10)
63.   TRAP:"pit",(40,09)
64.   TRAP:"spiked pit",random
65.   TRAP:"bear",random
66.   TRAP:"bear",random
67.   # Monsters on siege duty.
68.   MONSTER: 'H',"minotaur",(33,09),hostile,asleep
69.   MONSTER: 'C',"forest centaur",(19,03),hostile
70.   MONSTER: 'C',"forest centaur",(19,04),hostile
71.   MONSTER: 'C',"forest centaur",(19,05),hostile
72.   MONSTER: 'C',"forest centaur",(21,03),hostile
73.   MONSTER: 'C',"forest centaur",(21,04),hostile
74.   MONSTER: 'C',"forest centaur",(21,05),hostile
75.   MONSTER: 'C',"forest centaur",(01,09),hostile
76.   MONSTER: 'C',"forest centaur",(02,09),hostile
77.   MONSTER: 'C',"forest centaur",(03,09),hostile
78.   MONSTER: 'C',"forest centaur",(01,11),hostile
79.   MONSTER: 'C',"forest centaur",(02,11),hostile
80.   MONSTER: 'C',"forest centaur",(03,11),hostile
81.   MONSTER: 'C',"forest centaur",(19,15),hostile
82.   MONSTER: 'C',"forest centaur",(19,16),hostile
83.   MONSTER: 'C',"forest centaur",(19,17),hostile
84.   MONSTER: 'C',"forest centaur",(21,15),hostile
85.   MONSTER: 'C',"forest centaur",(21,16),hostile
86.   MONSTER: 'C',"forest centaur",(21,17),hostile
87.   MONSTER: 'C',"plains centaur",random,hostile
88.   MONSTER: 'C',"plains centaur",random,hostile
89.   MONSTER: 'C',"plains centaur",random,hostile
90.   MONSTER: 'C',"plains centaur",random,hostile
91.   MONSTER: 'C',"plains centaur",random,hostile
92.   MONSTER: 'C',"plains centaur",random,hostile
93.   MONSTER: 's',"scorpion",random,hostile
94.   MONSTER: 's',"scorpion",random,hostile
95.   
96.   

Locate level[edit]

97.   #
98.   #	The "locate" level for the quest.
99.   #
100.  #	Here you have to infiltrate the Cave of the Wumpus to go
101.  #	further towards your assigned quest.
102.  #
103.  
104.  MAZE: "Ran-loca",' '
105.  FLAGS: hardfloor
106.  GEOMETRY:center,center
107.  #1234567890123456789012345678901234567890123456789012345678901234567890
108.  MAP
109.                .......  .........  .......              
110.       ...................       ...................     
111.    ....        .......             .......        ....  
112.  ...    .....     .       .....       .     .....    ...
113.  .   .......... .....  ...........  ..... ..........   .
114.  .  ..  ..... ..........  .....  .......... .....  ..  .
115.  .  .     .     .....       .       .....     .     .  .
116.  .  .   .....         .............         .....   .  .
117.  .  .  ................  .......  ................  .  .
118.  .  .   .....            .......            .....   .  .
119.  .  .     .    ......               ......    .     .  .
120.  .  .     ...........   .........   ...........     .  .
121.  .  .          ..........       ..........          .  .
122.  .  ..  .....     .       .....       .     .....  ..  .
123.  .   .......... .....  ...........  ..... ..........   .
124.  .      ..... ..........  .....  .......... .....      .
125.  .        .     .....       .       .....     .        .
126.  ...   .......           .......           .......   ...
127.    ..............     .............     ..............  
128.        .......  .......  .......  .......  .......      
129.  ENDMAP
130.  # Dungeon Description
131.  REGION:(00,00,54,19),lit,"ordinary"
132.  # Stairs
133.  STAIR:(25,05),up
134.  STAIR:(27,18),down
135.  # Non diggable walls
136.  NON_DIGGABLE:(00,00,54,19)
137.  # Objects
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.  # Random traps
147.  TRAP:"spiked pit",random
148.  TRAP:"spiked pit",random
149.  TRAP:"teleport",random
150.  TRAP:"teleport",random
151.  TRAP:"arrow",random
152.  TRAP:"arrow",random
153.  # Random monsters.
154.  MONSTER:'q',"wumpus",(27,18),hostile,asleep
155.  MONSTER:'B',"giant bat",random,hostile
156.  MONSTER:'B',"giant bat",random,hostile
157.  MONSTER:'B',"giant bat",random,hostile
158.  MONSTER:'B',"giant bat",random,hostile
159.  MONSTER:'C',"forest centaur",random,hostile
160.  MONSTER:'C',"forest centaur",random,hostile
161.  MONSTER:'C',"forest centaur",random,hostile
162.  MONSTER:'C',"forest centaur",random,hostile
163.  MONSTER:'C',"mountain centaur",random,hostile
164.  MONSTER:'C',"mountain centaur",random,hostile
165.  MONSTER:'C',"mountain centaur",random,hostile
166.  MONSTER:'C',"mountain centaur",random,hostile
167.  MONSTER:'C',"mountain centaur",random,hostile
168.  MONSTER:'C',"mountain centaur",random,hostile
169.  MONSTER:'C',"mountain centaur",random,hostile
170.  MONSTER:'C',"mountain centaur",random,hostile
171.  MONSTER:'s',"scorpion",random,hostile
172.  MONSTER:'s',"scorpion",random,hostile
173.  MONSTER:'s',"scorpion",random,hostile
174.  MONSTER:'s',"scorpion",random,hostile
175.  MONSTER:'s',random,random,hostile
176.  MONSTER:'s',random,random,hostile
177.  
178.  

Goal level[edit]

179.  #
180.  #	The "goal" level for the quest.
181.  #
182.  #	Here you meet Scorpius, your nemesis monster.  You have to
183.  #	defeat Scorpius in combat to gain the artifact you have
184.  #	been assigned to retrieve.
185.  #
186.  
187.  MAZE: "Ran-goal", ' '
188.  GEOMETRY:center,center
189.  MAP
190.                                                                              
191.    ...                                                                  ...  
192.   .......................................................................... 
193.    ...                                +                                 ...  
194.     .     ............     .......    .                   .......        .   
195.     .  .............................  .       ........   .........S..    .   
196.     .   ............    .  ......     .       .      .    .......   ..   .   
197.     .     .........     .   ....      +       . ...  .               ..  .   
198.     .        S          .         .........   .S.    .S...............   .   
199.     .  ...   .     ...  .         .........          .                   .   
200.     . ........    .....S.+.......+....\....+........+.                   .   
201.     .  ...         ...    S       .........           ..      .....      .   
202.     .                    ..       .........            ..      ......    .   
203.     .      .......     ...            +       ....    ....    .......... .   
204.     . ..............  ..              .      ......  ..  .............   .   
205.     .     .............               .     ..........          ......   .   
206.    ...                                +                                 ...  
207.   .......................................................................... 
208.    ...                                                                  ...  
209.                                                                              
210.  ENDMAP
211.  # Dungeon Description
212.  REGION:(00,00,75,19),lit,"ordinary"
213.  # Stairs
214.  STAIR:(19,10),up
215.  # Non diggable walls
216.  NON_DIGGABLE:(00,00,75,19)
217.  # Objects
218.  OBJECT:')',"bow",(37,10),blessed,0,"The Longbow of Diana"
219.  OBJECT:'(',"chest",(37,10)
220.  OBJECT:random,random,(36,09)
221.  OBJECT:random,random,(36,10)
222.  OBJECT:random,random,(36,11)
223.  OBJECT:random,random,(37,09)
224.  OBJECT:random,random,(37,11)
225.  OBJECT:random,random,(38,09)
226.  OBJECT:random,random,(38,10)
227.  OBJECT:random,random,(38,11)
228.  OBJECT:random,random,random
229.  OBJECT:random,random,random
230.  OBJECT:random,random,random
231.  OBJECT:random,random,random
232.  OBJECT:random,random,random
233.  # Random traps
234.  TRAP:random,random
235.  TRAP:random,random
236.  TRAP:random,random
237.  TRAP:random,random
238.  TRAP:random,random
239.  TRAP:random,random
240.  # doors
241.  DOOR:locked,(12,08)
242.  DOOR:closed,(22,10)
243.  DOOR:locked,(24,10)
244.  DOOR:closed,(25,11)
245.  DOOR:closed,(32,10)
246.  DOOR:closed,(37,03)
247.  DOOR:closed,(37,07)
248.  DOOR:closed,(37,13)
249.  DOOR:closed,(37,16)
250.  DOOR:closed,(42,10)
251.  DOOR:locked,(46,08)
252.  DOOR:closed,(51,10)
253.  DOOR:locked,(53,08)
254.  DOOR:closed,(65,05)
255.  # Random monsters.
256.  MONSTER:'s',"Scorpius",(37,10),hostile
257.  MONSTER:'C',"forest centaur",(36,09),hostile
258.  MONSTER:'C',"forest centaur",(36,10),hostile
259.  MONSTER:'C',"forest centaur",(36,11),hostile
260.  MONSTER:'C',"forest centaur",(37,09),hostile
261.  MONSTER:'C',"forest centaur",(37,11),hostile
262.  MONSTER:'C',"forest centaur",(38,09),hostile
263.  MONSTER:'C',"mountain centaur",(38,10),hostile
264.  MONSTER:'C',"mountain centaur",(38,11),hostile
265.  MONSTER:'C',"mountain centaur",(02,02),hostile
266.  MONSTER:'C',"mountain centaur",(71,02),hostile
267.  MONSTER:'C',"mountain centaur",(02,16),hostile
268.  MONSTER:'C',"mountain centaur",(71,16),hostile
269.  MONSTER:'C',"forest centaur",random,hostile
270.  MONSTER:'C',"forest centaur",random,hostile
271.  MONSTER:'C',"mountain centaur",random,hostile
272.  MONSTER:'C',"mountain centaur",random,hostile
273.  MONSTER:'C',random,random,hostile
274.  MONSTER:'C',random,random,hostile
275.  MONSTER:'s',"scorpion",(03,02),hostile
276.  MONSTER:'s',"scorpion",(72,02),hostile
277.  MONSTER:'s',"scorpion",(03,17),hostile
278.  MONSTER:'s',"scorpion",(72,17),hostile
279.  MONSTER:'s',"scorpion",(41,10),hostile
280.  MONSTER:'s',"scorpion",(33,09),hostile
281.  MONSTER:'s',"scorpion",random,hostile
282.  MONSTER:'s',"scorpion",random,hostile
283.  MONSTER:'s',random,random,hostile
284.  
285.  WALLIFY
286.  
287.  #
288.  #	The "fill" levels for the quest.
289.  #
290.  #	These levels are used to fill out any levels not occupied by specific
291.  #	levels as defined above. "fila" is the upper filler, between the
292.  #	start and locate levels, and "filb" the lower between the locate
293.  #	and goal levels.
294.  #
295.  
296.  MAZE: "Ran-fila" , ' '
297.  INIT_MAP: '.' , 'T', true, true, random, true
298.  NOMAP
299.  #
300.  STAIR: random, up
301.  STAIR: random, down
302.  #
303.  OBJECT: random, random, random
304.  OBJECT: random, random, random
305.  OBJECT: random, random, random
306.  OBJECT: random, random, random
307.  OBJECT: random, random, random
308.  OBJECT: random, random, random
309.  OBJECT: random, random, random
310.  #
311.  TRAP: random, random
312.  TRAP: random, random
313.  TRAP: random, random
314.  TRAP: random, random
315.  #
316.  MONSTER: 'C', "mountain centaur", random, hostile
317.  MONSTER: 'C', "mountain centaur", random, hostile
318.  MONSTER: 'C', "forest centaur", random, hostile
319.  MONSTER: 'C', "forest centaur", random, hostile
320.  MONSTER: 'C', "forest centaur", random, hostile
321.  MONSTER: 'C', random, random, hostile
322.  MONSTER: 's', "scorpion", random, hostile
323.  
324.  MAZE: "Ran-filb" , ' '
325.  INIT_MAP: '.' , ' ', true, true, random, true
326.  NOMAP
327.  #
328.  STAIR: random, up
329.  STAIR: random, down
330.  #
331.  OBJECT: random, random, random
332.  OBJECT: random, random, random
333.  OBJECT: random, random, random
334.  OBJECT: random, random, random
335.  OBJECT: random, random, random
336.  OBJECT: random, random, random
337.  OBJECT: random, random, random
338.  OBJECT: random, random, random
339.  OBJECT: random, random, random
340.  OBJECT: random, random, random
341.  OBJECT: random, random, random
342.  #
343.  TRAP: random, random
344.  TRAP: random, random
345.  TRAP: random, random
346.  TRAP: random, random
347.  #
348.  MONSTER: 'C', "mountain centaur", random, hostile
349.  MONSTER: 'C', "mountain centaur", random, hostile
350.  MONSTER: 'C', "mountain centaur", random, hostile
351.  MONSTER: 'C', "mountain centaur", random, hostile
352.  MONSTER: 'C', random, random, hostile
353.  MONSTER: 's', "scorpion", random, hostile
354.  MONSTER: 's', "scorpion", random, hostile
355.  

References[edit]