more quieting of Qt6 build warnings
[NetHack.git] / dat / Tou-strt.lua
blob5c3a0bc3244018aadb81aa5e5e987b7754d15afb
1 -- NetHack Tourist Tou-strt.lua $NHDT-Date: 1652196016 2022/05/10 15:20:16 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.3 $
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.
5 --
6 --
7 -- The "start" level for the quest.
8 --
9 -- Here you meet your (besieged) class leader, Twoflower
10 -- and receive your quest assignment.
12 des.level_init({ style = "solidfill", fg = " " });
14 des.level_flags("mazelevel", "noteleport", "hardfloor")
15 des.map([[
16 .......}}....---------..-------------------------------------------------...
17 ........}}...|.......|..|.-------------------------------------------...|...
18 .........}}..|.......|..|.|......|......|.............|......|......|...|...
19 ..........}}.|.......|..|.|......+......+.............+......+..\...|...|...
20 ...........}}}..........|.|......|......|.............|......|......|...|...
21 .............}}.........|.|----S-|--S---|S----------S-|---S--|------|...|...
22 ..............}}}.......|...............................................|...
23 ................}}}.....----S------++--S----------S----------S-----------...
24 ..................}}........... .. ...................................
25 ......-------......}}}}........}}}}..}}}}..}}}}..}}}}.......................
26 ......|.....|.......}}}}}}..}}}} .. }}}}..}}}}..}}}.....................
27 ......|.....+...........}}}}}}........................}}}..}}}}..}}}..}}}...
28 ......|.....|...........................................}}}}..}}}..}}}}.}}}}
29 ......-------...............................................................
30 ............................................................................
31 ...-------......-------.....................................................
32 ...|.....|......|.....|.....................................................
33 ...|.....+......+.....|.....................................................
34 ...|.....|......|.....|.....................................................
35 ...-------......-------.....................................................
36 ]]);
37 -- Dungeon Description
38 des.region(selection.area(00,00,75,19), "lit")
39 des.region({ region={14,01, 20,03}, lit=0, type="morgue", filled=1 })
40 des.region(selection.area(07,10,11,12), "unlit")
41 des.region(selection.area(04,16,08,18), "unlit")
42 des.region(selection.area(17,16,21,18), "unlit")
43 des.region(selection.area(27,02,32,04), "unlit")
44 des.region(selection.area(34,02,39,04), "unlit")
45 des.region(selection.area(41,02,53,04), "unlit")
46 des.region(selection.area(55,02,60,04), "unlit")
47 des.region(selection.area(62,02,67,04), "lit")
48 -- Stairs
49 des.stair("down", 66,03)
50 -- Portal arrival point
51 des.levregion({ region = {68,14,68,14}, type="branch" })
52 -- Non diggable walls
53 des.non_diggable(selection.area(00,00,75,19))
54 -- Doors
55 des.door("locked",31,05)
56 des.door("locked",36,05)
57 des.door("locked",41,05)
58 des.door("locked",52,05)
59 des.door("locked",58,05)
60 des.door("locked",28,07)
61 des.door("locked",39,07)
62 des.door("locked",50,07)
63 des.door("locked",61,07)
64 des.door("closed",33,03)
65 des.door("closed",40,03)
66 des.door("closed",54,03)
67 des.door("closed",61,03)
68 des.door("open",12,11)
69 des.door("open",09,17)
70 des.door("open",16,17)
71 des.door("locked",35,07)
72 des.door("locked",36,07)
73 -- Monsters on siege duty.
74 des.monster("giant spider")
75 des.monster("giant spider")
76 des.monster("giant spider")
77 des.monster("giant spider")
78 des.monster("giant spider")
79 des.monster("giant spider")
80 des.monster("giant spider")
81 des.monster("giant spider")
82 des.monster("giant spider")
83 des.monster("giant spider")
84 des.monster("giant spider")
85 des.monster("giant spider")
86 des.monster("s")
87 des.monster("s")
88 des.monster("forest centaur")
89 des.monster("forest centaur")
90 des.monster("forest centaur")
91 des.monster("forest centaur")
92 des.monster("forest centaur")
93 des.monster("forest centaur")
94 des.monster("forest centaur")
95 des.monster("forest centaur")
96 des.monster("C")
97 -- Twoflower
98 des.monster({ id = "Twoflower", coord = {64, 03}, inventory = function()
99 des.object({ id = "walking shoes", spe = 3 });
100 des.object({ id = "hawaiian shirt", spe = 3 });
101 end })
102 -- The treasure of Twoflower
103 des.object("chest", 64, 03)
104 -- guides for the audience chamber
105 des.monster("guide", 29, 03)
106 des.monster("guide", 32, 04)
107 des.monster("guide", 35, 02)
108 des.monster("guide", 38, 03)
109 des.monster("guide", 45, 03)
110 des.monster("guide", 48, 02)
111 des.monster("guide", 49, 04)
112 des.monster("guide", 51, 03)
113 des.monster("guide", 57, 03)
114 des.monster("guide", 62, 04)
115 des.monster("guide", 66, 04)
116 -- path guards
117 des.monster("watchman", 35, 08)
118 des.monster("watchman", 36, 08)
119 -- river monsters
120 des.monster("giant eel", 62, 12)
121 des.monster("piranha", 47, 10)
122 des.monster("piranha", 29, 11)
123 des.monster("kraken", 34, 09)
124 des.monster("kraken", 37, 09)
125 -- Random traps
126 des.trap()
127 des.trap()
128 des.trap()
129 des.trap()
130 des.trap()
131 des.trap()
132 des.trap()
133 des.trap()
134 des.trap()