Source:NetHack 3.4.3/dat/yendor.des

From NetHackWiki
Jump to: navigation, search

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

This file describes the layout of the Wizard's Tower.

License

1.    #	SCCS Id: @(#)yendor.des	3.4	1996/10/20
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.

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.

Top level

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.   MAZEWALK:(28,05),east
34.   LADDER:(06,05),down
35.   # Non diggable walls
36.   # Walls inside the moat stay diggable
37.   NON_DIGGABLE:(00,00,11,12)
38.   NON_DIGGABLE:(11,00,21,00)
39.   NON_DIGGABLE:(11,10,27,12)
40.   NON_DIGGABLE:(21,00,27,10)
41.   # Non passable walls
42.   NON_PASSWALL:(00,00,11,12)
43.   NON_PASSWALL:(11,00,21,00)
44.   NON_PASSWALL:(11,10,27,12)
45.   NON_PASSWALL:(21,00,27,10)
46.   # The wizard and his guards
47.   MONSTER:'@',"Wizard of Yendor",(16,05),asleep
48.   MONSTER:'d',"hell hound",(15,05)
49.   MONSTER:'V',"vampire lord",(17,05)
50.   # The local treasure
51.   OBJECT:'+',"Book of the Dead",(16,05)
52.   # Surrounding terror
53.   MONSTER:';',"kraken",(14,02)
54.   MONSTER:';',"giant eel",(17,02)
55.   MONSTER:';',"kraken",(13,04)
56.   MONSTER:';',"giant eel",(13,06)
57.   MONSTER:';',"kraken",(19,04)
58.   MONSTER:';',"giant eel",(19,06)
59.   MONSTER:';',"kraken",(15,08)
60.   MONSTER:';',"giant eel",(17,08)
61.   MONSTER:';',"piranha",(15,02)
62.   MONSTER:';',"piranha",(19,08)
63.   # Random monsters
64.   MONSTER:'D',random,random
65.   MONSTER:'H',random,random
66.   MONSTER:'&',random,random
67.   MONSTER:'&',random,random
68.   MONSTER:'&',random,random
69.   MONSTER:'&',random,random
70.   # And to make things a little harder.
71.   TRAP:"board",(16,04)
72.   TRAP:"board",(16,06)
73.   TRAP:"board",(15,05)
74.   TRAP:"board",(17,05)
75.   # Random traps.
76.   TRAP:"spiked pit",random
77.   TRAP:"sleep gas",random
78.   TRAP:"anti magic",random
79.   TRAP:"magic",random
80.   # Some random loot.
81.   OBJECT:'*',"ruby",random
82.   OBJECT:'!',random,random
83.   OBJECT:'!',random,random
84.   OBJECT:'?',random,random
85.   OBJECT:'?',random,random
86.   OBJECT:'+',random,random
87.   OBJECT:'+',random,random
88.   OBJECT:'+',random,random
89.   
90.   

Middle level

91.   # The middle wizard level.
92.   MAZE:"wizard2",random
93.   FLAGS:noteleport,hardfloor
94.   GEOMETRY:center,center
95.   MAP
96.   ----------------------------.
97.   |.....|.S....|.............|.
98.   |.....|.-------S--------S--|.
99.   |.....|.|.........|........|.
100.  |..-S--S|.........|........|.
101.  |..|....|.........|------S-|.
102.  |..|....|.........|.....|..|.
103.  |-S-----|.........|.....|..|.
104.  |.......|.........|S--S--..|.
105.  |.......|.........|.|......|.
106.  |-----S----S-------.|......|.
107.  |............|....S.|......|.
108.  ----------------------------.
109.  ENDMAP
110.  STAIR:levregion(01,00,79,20),(0,0,28,12),up
111.  STAIR:levregion(01,00,79,20),(0,0,28,12),down
112.  BRANCH:levregion(01,00,79,20),(0,0,28,12)
113.  TELEPORT_REGION:levregion(01,00,79,20),(0,0,27,12)
114.  REGION:(09,03,17,09),unlit,"zoo"
115.  DOOR:closed,(15,02)
116.  DOOR:closed,(11,10)
117.  MAZEWALK:(28,05),east
118.  LADDER:(12,01),up
119.  LADDER:(14,11),down
120.  # Non diggable walls everywhere
121.  NON_DIGGABLE:(00,00,27,12)
122.  #
123.  NON_PASSWALL:(00,00,06,12)
124.  NON_PASSWALL:(06,00,27,02)
125.  NON_PASSWALL:(16,02,27,12)
126.  NON_PASSWALL:(06,12,16,12)
127.  # Random traps.
128.  TRAP:"spiked pit",random
129.  TRAP:"sleep gas",random
130.  TRAP:"anti magic",random
131.  TRAP:"magic",random
132.  # Some random loot.
133.  OBJECT:'!',random,random
134.  OBJECT:'!',random,random
135.  OBJECT:'?',random,random
136.  OBJECT:'?',random,random
137.  OBJECT:'+',random,random
138.  # treasures
139.  OBJECT:'"',random,(04,06)
140.  
141.  

Bottom level

142.  # The bottom wizard level.
143.  # Memorialize the fakewiz setup.
144.  MAZE:"wizard3",random
145.  FLAGS:noteleport,hardfloor
146.  GEOMETRY:center,center
147.  MAP
148.  ----------------------------.
149.  |..|............S..........|.
150.  |..|..------------------S--|.
151.  |..|..|.........|..........|.
152.  |..S..|.}}}}}}}.|..........|.
153.  |..|..|.}}---}}.|-S--------|.
154.  |..|..|.}--.--}.|..|.......|.
155.  |..|..|.}|...|}.|..|.......|.
156.  |..---|.}--.--}.|..|.......|.
157.  |.....|.}}---}}.|..|.......|.
158.  |.....S.}}}}}}}.|..|.......|.
159.  |.....|.........|..S.......|.
160.  ----------------------------.
161.  ENDMAP
162.  STAIR:levregion(01,00,79,20),(0,0,28,12),up
163.  STAIR:levregion(01,00,79,20),(0,0,28,12),down
164.  BRANCH:levregion(01,00,79,20),(0,0,28,12)
165.  TELEPORT_REGION:levregion(01,00,79,20),(0,0,27,12)
166.  PORTAL:(25,11,25,11),(0,0,0,0),"fakewiz1"
167.  MAZEWALK:(28,09),east
168.  REGION:(07,03,15,11),unlit,"morgue",unfilled
169.  REGION:(17,06,18,11),unlit,"beehive"
170.  # make the entry chamber a real room; it affects monster arrival;
171.  # `unfilled' is a kludge to force an ordinary room to remain a room
172.  REGION:(20,06,26,11),unlit,"ordinary",unfilled
173.  DOOR:closed,(18,05)
174.  DOOR:closed,(19,11)
175.  LADDER:(11,07),up
176.  # Non diggable walls
177.  # Walls inside the moat stay diggable
178.  NON_DIGGABLE:(00,00,06,12)
179.  NON_DIGGABLE:(06,00,27,02)
180.  NON_DIGGABLE:(16,02,27,12)
181.  NON_DIGGABLE:(06,12,16,12)
182.  #
183.  NON_PASSWALL:(00,00,06,12)
184.  NON_PASSWALL:(06,00,27,02)
185.  NON_PASSWALL:(16,02,27,12)
186.  NON_PASSWALL:(06,12,16,12)
187.  #
188.  MONSTER:'L',random,(10,07)
189.  MONSTER:'V',"vampire lord",(12,07)
190.  # Some surrounding horrors
191.  MONSTER:';',"kraken",(08,05)
192.  MONSTER:';',"giant eel",(08,08)
193.  MONSTER:';',"kraken",(14,05)
194.  MONSTER:';',"giant eel",(14,08)
195.  # Other monsters
196.  MONSTER:'L',random,random
197.  MONSTER:'D',random,random
198.  MONSTER:'D',random,(26,09)
199.  MONSTER:'&',random,random
200.  MONSTER:'&',random,random
201.  MONSTER:'&',random,random
202.  # And to make things a little harder.
203.  TRAP:"board",(10,07)
204.  TRAP:"board",(12,07)
205.  TRAP:"board",(11,06)
206.  TRAP:"board",(11,08)
207.  # Some loot
208.  OBJECT:')',random,random
209.  OBJECT:'!',random,random
210.  OBJECT:'?',random,random
211.  OBJECT:'?',random,random
212.  OBJECT:'(',random,random
213.  # treasures
214.  OBJECT:'"',random,(11,07)
215.  
216.  

Fake tower 1

217.  # The former decoy wizard levels.
218.  # There are two of these, and we need to
219.  # distinguish between them for the portal.
220.  MAZE:"fakewiz1",random
221.  GEOMETRY:center,center
222.  MAP
223.  .........
224.  .}}}}}}}.
225.  .}}---}}.
226.  .}--.--}.
227.  .}|...|}.
228.  .}--.--}.
229.  .}}---}}.
230.  .}}}}}}}.
231.  ENDMAP
232.  STAIR:levregion(01,00,79,20),(0,0,8,7),up
233.  STAIR:levregion(01,00,79,20),(0,0,8,7),down
234.  BRANCH:levregion(01,00,79,20),(0,0,8,7)
235.  TELEPORT_REGION:levregion(01,00,79,20),(2,2,6,6)
236.  PORTAL:(4,4,4,4),(0,0,0,0),"wizard3"
237.  MAZEWALK:(08,05),east
238.  REGION:(04,03,06,06),unlit,"ordinary",unfilled,true
239.  MONSTER:'L',random,(04,04)
240.  MONSTER:'V',"vampire lord",(03,04)
241.  MONSTER:';',"kraken",(06,06)
242.  # And to make things a little harder.
243.  TRAP:"board",(04,03)
244.  TRAP:"board",(04,05)
245.  TRAP:"board",(03,04)
246.  TRAP:"board",(05,04)
247.  
248.  

Fake tower 2

249.  MAZE:"fakewiz2",random
250.  GEOMETRY:center,center
251.  MAP
252.  .........
253.  .}}}}}}}.
254.  .}}---}}.
255.  .}--.--}.
256.  .}|...|}.
257.  .}--.--}.
258.  .}}---}}.
259.  .}}}}}}}.
260.  ENDMAP
261.  STAIR:levregion(01,00,79,20),(0,0,8,7),up
262.  STAIR:levregion(01,00,79,20),(0,0,8,7),down
263.  BRANCH:levregion(01,00,79,20),(0,0,8,7)
264.  TELEPORT_REGION:levregion(01,00,79,20),(2,2,6,6)
265.  MAZEWALK:(08,05),east
266.  REGION:(04,03,06,06),unlit,"ordinary",unfilled,true
267.  MONSTER:'L',random,(04,04)
268.  MONSTER:'V',"vampire lord",(03,04)
269.  MONSTER:';',"kraken",(06,06)
270.  # And to make things a little harder.
271.  TRAP:"board",(04,03)
272.  TRAP:"board",(04,05)
273.  TRAP:"board",(03,04)
274.  TRAP:"board",(05,04)
275.  # treasures
276.  OBJECT:'"',random,(04,04)

References