more quieting of Qt6 build warnings
[NetHack.git] / dat / soko2-2.lua
blob1302a1b5e1e312c7d8d622647676d4ca63f1f113
1 -- NetHack sokoban soko2-2.lua $NHDT-Date: 1652196035 2022/05/10 15:20:35 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.1 $
2 -- Copyright (c) 1998-1999 by Kevin Hugo
3 -- NetHack may be freely redistributed. See license for details.
4 --
5 des.level_init({ style = "solidfill", fg = " " });
7 des.level_flags("mazelevel", "noteleport", "premapped", "sokoban", "solidify");
9 des.map([[
10 --------
11 --|.|....|
12 |........|----------
13 |.-...-..|.|.......|
14 |...-......|.......|
15 |.-....|...|.......|
16 |....-.--.-|.......|
17 |..........|.......|
18 |.--...|...|.......|
19 |....-.|---|.......|
20 --|....|----------+|
21 |................|
22 ------------------
23 ]]);
24 des.stair("down", 06,11)
25 des.stair("up", 15,06)
26 des.door("locked",18,10)
27 des.region(selection.area(00,00,19,12), "lit");
28 des.non_diggable(selection.area(00,00,19,12));
29 des.non_passwall(selection.area(00,00,19,12));
31 -- Boulders
32 des.object("boulder",04,02)
33 des.object("boulder",04,03)
34 des.object("boulder",05,03)
35 des.object("boulder",07,03)
36 des.object("boulder",08,03)
37 des.object("boulder",02,04)
38 des.object("boulder",03,04)
39 des.object("boulder",05,05)
40 des.object("boulder",06,06)
41 des.object("boulder",09,06)
42 des.object("boulder",03,07)
43 des.object("boulder",04,07)
44 des.object("boulder",07,07)
45 des.object("boulder",06,09)
46 des.object("boulder",05,10)
47 des.object("boulder",05,11)
49 -- prevent monster generation over the (filled) holes
50 des.exclusion({ type = "monster-generation", region = { 06,11, 18,11 } });
51 -- Traps
52 des.trap("hole",07,11)
53 des.trap("hole",08,11)
54 des.trap("hole",09,11)
55 des.trap("hole",10,11)
56 des.trap("hole",11,11)
57 des.trap("hole",12,11)
58 des.trap("hole",13,11)
59 des.trap("hole",14,11)
60 des.trap("hole",15,11)
61 des.trap("hole",16,11)
62 des.trap("hole",17,11)
64 -- Random objects
65 des.object({ class = "%" });
66 des.object({ class = "%" });
67 des.object({ class = "%" });
68 des.object({ class = "%" });
69 des.object({ class = "=" });
70 des.object({ class = "/" });