more quieting of Qt6 build warnings
[NetHack.git] / dat / Val-strt.lua
blob906500fcfe0ac8930d7d1874bd02e46cc3912a3c
1 -- NetHack Valkyrie Val-strt.lua $NHDT-Date: 1652196017 2022/05/10 15:20:17 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.2 $
2 -- Copyright (c) 1989 by Jean-Christophe Collet
3 -- Copyright (c) 1991-2 by M. Stephenson
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, the Norn,
10 -- and receive your quest assignment.
13 des.level_flags("mazelevel", "noteleport", "hardfloor", "icedpools")
14 des.level_init({ style = "solidfill", fg = "I" })
16 local pools = selection.new()
17 -- random locations
18 for i = 1,13 do
19 pools:set();
20 end
21 -- some bigger ones
22 pools = pools | selection.grow(selection.set(selection.new()), "west")
23 pools = pools | selection.grow(selection.set(selection.new()), "north")
24 pools = pools | selection.grow(selection.set(selection.new()), "random")
26 -- Lava pools surrounded by water
27 des.terrain(pools:clone():grow("all"), "P")
28 des.terrain(pools, "L")
30 des.map([[
31 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
32 xxxxxxxxxxxxxxxxx..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...xxxxxxxxxxxxxxxxxxxxx
33 xxxxxxxxxxxxxxxx..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx..{..xxxxxxxxxxxxxxxxxxxx
34 xxxxxxxxxxxxxxx..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.....xxxxxxxxxxxxxxxxxxx
35 xxxxxxxxxxxxxx..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxx
36 xxxxxxxxxxxxx..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxx
37 xxxxxxxxxxxx..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx..xxxxxxxxxxxxxxxxxxx
38 xxxxxxxx.....xxxxxxxxxxxxx|----------------|xxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxx
39 xxxxxxx..xxx...xxxxxxxxxxx|................|xxxxxxxxxx..xxxxxxxxxxxxxxxxxxxx
40 xxxxxx..xxxxxx......xxxxx.|................|.xxxxxxxxx.xxxxxxxxxxxxxxxxxxxxx
41 xxxxx..xxxxxxxxxxxx.......+................+...xxxxxxx.xxxxxxxxxxxxxxxxxxxxx
42 xxxx..xxxxxxxxx.....xxxxx.|................|.x...xxxxx.xxxxxxxxxxxxxxxxxxxxx
43 xxx..xxxxxxxxx..xxxxxxxxxx|................|xxxx.......xxxxxxxxxxxxxxxxxxxxx
44 xxxx..xxxxxxx..xxxxxxxxxxx|----------------|xxxxxxxxxx...xxxxxxxxxxxxxxxxxxx
45 xxxxxx..xxxx..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...xxxxxxxxxxxxxxxxx
46 xxxxxxx......xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...xxxxxxxxxxxxxxx
47 xxxxxxxxx...xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...x......xxxxxx
48 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.........xxxxx
49 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.......xxxxxx
50 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
51 ]]);
52 -- Dungeon Description
53 des.region(selection.area(00,00,75,19), "lit")
54 -- Portal arrival point
55 des.levregion({ region = {66,17,66,17}, type="branch" })
56 -- Stairs
57 des.stair("down", 18,01)
58 des.feature("fountain", 53,02)
59 -- Doors
60 des.door("locked",26,10)
61 des.door("locked",43,10)
62 -- Norn
63 des.monster({ id = "Norn", coord = {35, 10}, inventory = function()
64 des.object({ id = "banded mail", spe = 5 });
65 des.object({ id = "long sword", spe = 4 });
66 end })
67 -- The treasure of the Norn
68 des.object("chest", 36, 10)
69 -- valkyrie guards for the audience chamber
70 des.monster("warrior", 27, 08)
71 des.monster("warrior", 27, 09)
72 des.monster("warrior", 27, 11)
73 des.monster("warrior", 27, 12)
74 des.monster("warrior", 42, 08)
75 des.monster("warrior", 42, 09)
76 des.monster("warrior", 42, 11)
77 des.monster("warrior", 42, 12)
78 -- Non diggable walls
79 des.non_diggable(selection.area(26,07,43,13))
80 -- Random traps
81 des.trap("fire")
82 des.trap("fire")
83 des.trap("fire")
84 des.trap("fire")
85 des.trap("fire")
86 des.trap("fire")
87 -- Monsters on siege duty.
88 des.monster("fire ant", 04, 12)
89 des.monster("fire ant", 08, 08)
90 des.monster("fire ant", 14, 04)
91 des.monster("fire ant", 17, 11)
92 des.monster("fire ant", 24, 10)
93 des.monster("fire ant", 45, 10)
94 des.monster("fire ant", 54, 02)
95 des.monster("fire ant", 55, 07)
96 des.monster("fire ant", 58, 14)
97 des.monster("fire ant", 63, 17)
98 des.monster({ id = "fire giant", x=18, y=01, peaceful = 0 })
99 des.monster({ id = "fire giant", x=10, y=16, peaceful = 0 })