more quieting of Qt6 build warnings
[NetHack.git] / dat / Tou-goal.lua
blobf0f3ca8ef122e9dec0b2a450e4ffd62a6e8efa6b
1 -- NetHack Tourist Tou-goal.lua $NHDT-Date: 1652196015 2022/05/10 15:20:15 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.4 $
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 des.level_init({ style = "solidfill", fg = " " });
8 des.level_flags("mazelevel");
10 des.map([[
11 ----------------------------------------------------------------------------
12 |.........|.........|..........|..| |.................|........|........|..|
13 |.........|.........|..........|..| |....--------.....|........|........|..|
14 |------S--|--+-----------+------..| |....|......|.....|........|........|..|
15 |.........|.......................| |....|......+.....--+-------------+--..|
16 |.........|.......................| |....|......|..........................|
17 |-S-----S-|......----------.......| |....|......|..........................|
18 |..|..|...|......|........|.......| |....-----------.........----..........|
19 |..+..+...|......|........|.......| |....|.........|.........|}}|..........|
20 |..|..|...|......+........|.......| |....|.........+.........|}}|..........|
21 |..|..|...|......|........|.......S.S....|.........|.........----..........|
22 |---..----|......|........|.......| |....|.........|.......................|
23 |.........+......|+F-+F-+F|.......| |....-----------.......................|
24 |---..----|......|..|..|..|.......| |......................--------------..|
25 |..|..|...|......--F-F--F--.......| |......................+............|..|
26 |..+..+...|.......................| |--.---...-----+-----..|............|..|
27 |--|..----|--+-----------+------..| |.....|...|.........|..|------------|..|
28 |..+..+...|.........|..........|..| |.....|...|.........|..+............|..|
29 |..|..|...|.........|..........|..| |.....|...|.........|..|............|..|
30 ----------------------------------------------------------------------------
31 ]]);
32 -- Dungeon Description
33 des.region(selection.area(00,00,75,19), "lit")
34 -- The Inn
35 des.region(selection.area(01,01,09,02), "lit")
36 des.region({ region = {01,04,09,05}, lit=1, type = "barracks", filled = 1 })
37 des.region(selection.area(01,07,02,10), "unlit")
38 des.region(selection.area(07,07,09,10), "unlit")
39 des.region(selection.area(01,14,02,15), "unlit")
40 des.region(selection.area(07,14,09,15), "unlit")
41 des.region(selection.area(01,17,02,18), "unlit")
42 des.region(selection.area(07,17,09,18), "unlit")
44 des.region({ region = {11,01,19,02}, lit = 0, type = "barracks", filled = 1 })
45 des.region(selection.area(21,01,30,02), "unlit")
46 des.region({ region = {11,17,19,18}, lit = 0, type = "barracks", filled = 1 })
47 des.region(selection.area(21,17,30,18), "unlit")
48 -- Police Station
49 des.region(selection.area(18,07,25,11), "lit")
50 des.region(selection.area(18,13,19,13), "unlit")
51 des.region(selection.area(21,13,22,13), "unlit")
52 des.region(selection.area(24,13,25,13), "unlit")
53 -- The town itself
54 des.region(selection.area(42,03,47,06), "unlit")
55 des.region(selection.area(42,08,50,11), "unlit")
56 des.region({ region = {37,16,41,18}, lit = 0, type = "morgue", filled = 1 })
57 des.region(selection.area(47,16,55,18), "unlit")
58 des.region(selection.area(55,01,62,03), "unlit")
59 des.region(selection.area(64,01,71,03), "unlit")
60 des.region({ region = {60,14,71,15}, lit = 1, type = "shop", filled = 1 })
61 des.region({ region = {60,17,71,18}, lit = 1, type = "shop", filled = 1 })
62 -- Non diggable walls
63 des.non_diggable(selection.area(00,00,75,19))
64 -- Stairs
65 des.stair("up", 70,08)
66 -- Doors
67 des.door("locked",07,03)
68 des.door("locked",02,06)
69 des.door("locked",08,06)
70 des.door("closed",03,08)
71 des.door("closed",06,08)
72 des.door("open",10,12)
73 des.door("closed",03,15)
74 des.door("closed",06,15)
75 des.door("closed",03,17)
76 des.door("closed",06,17)
77 des.door("closed",13,03)
78 des.door("random",25,03)
79 des.door("closed",13,16)
80 des.door("random",25,16)
81 des.door("locked",17,09)
82 des.door("locked",18,12)
83 des.door("locked",21,12)
84 des.door("locked",24,12)
85 des.door("locked",34,10)
86 des.door("locked",36,10)
87 des.door("random",48,04)
88 des.door("random",56,04)
89 des.door("random",70,04)
90 des.door("random",51,09)
91 des.door("random",51,15)
92 des.door("open",59,14)
93 des.door("open",59,17)
94 -- Objects
95 des.object({ id = "credit card", x=04, y=01, buc="blessed", spe=0, name="The Platinum Yendorian Express Card" })
96 des.object()
97 des.object()
98 des.object()
99 des.object()
100 des.object()
101 des.object()
102 des.object()
103 des.object()
104 des.object()
105 des.object()
106 des.object()
107 des.object()
108 des.object()
109 des.object()
110 -- Random traps - must avoid the 2 shops
111 local validtraps = selection.area(00,00,75,19):filter_mapchar('.')
112 validtraps = validtraps - selection.area(60,14,71,18)
113 for i=1,6 do
114 des.trap(validtraps:rndcoord(1))
116 -- Random monsters.
117 des.monster({ id = "Master of Thieves", x=04, y=01, peaceful = 0 })
118 des.monster("giant spider")
119 des.monster("giant spider")
120 des.monster("giant spider")
121 des.monster("giant spider")
122 des.monster("giant spider")
123 des.monster("giant spider")
124 des.monster("giant spider")
125 des.monster("giant spider")
126 des.monster("giant spider")
127 des.monster("giant spider")
128 des.monster("giant spider")
129 des.monster("giant spider")
130 des.monster("giant spider")
131 des.monster("giant spider")
132 des.monster("giant spider")
133 des.monster("giant spider")
134 des.monster("s")
135 des.monster("s")
136 -- ladies of the evening
137 des.monster("succubus", 02, 08)
138 des.monster("succubus", 08, 08)
139 des.monster("incubus", 02, 14)
140 des.monster("incubus", 08, 14)
141 des.monster("incubus", 02, 17)
142 des.monster("incubus", 08, 17)
143 -- Police station (with drunken prisoners)
144 des.monster({ id = "Kop Kaptain", x=24, y=09, peaceful = 0 })
145 des.monster({ id = "Kop Lieutenant", x=20, y=09, peaceful = 0 })
146 des.monster({ id = "Kop Lieutenant", x=22, y=11, peaceful = 0 })
147 des.monster({ id = "Kop Lieutenant", x=22, y=07, peaceful = 0 })
148 des.monster({ id = "Keystone Kop", x=19, y=07, peaceful = 0 })
149 des.monster({ id = "Keystone Kop", x=19, y=08, peaceful = 0 })
150 des.monster({ id = "Keystone Kop", x=22, y=09, peaceful = 0 })
151 des.monster({ id = "Keystone Kop", x=24, y=11, peaceful = 0 })
152 des.monster({ id = "Keystone Kop", x=19, y=11, peaceful = 0 })
153 des.monster("prisoner", 19, 13)
154 des.monster("prisoner", 21, 13)
155 des.monster("prisoner", 24, 13)
157 des.monster({ id = "watchman", x=33, y=10, peaceful = 0 })
159 des.wallify()