more quieting of Qt6 build warnings
[NetHack.git] / dat / minefill.lua
blob2992690e654fd83086759c71d00eb4bf077b1a87
1 -- NetHack mines minefill.lua $NHDT-Date: 1652196028 2022/05/10 15:20:28 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.3 $
2 -- Copyright (c) 1989-95 by Jean-Christophe Collet
3 -- Copyright (c) 1991-95 by M. Stephenson
4 -- NetHack may be freely redistributed. See license for details.
5 --
6 --
8 -- The "fill" level for the mines.
9 --
10 -- This level is used to fill out any levels not occupied by
11 -- specific levels.
13 des.level_init({ style = "solidfill", fg = " " });
15 des.level_flags("mazelevel", "noflip");
17 des.level_init({ style="mines", fg=".", bg=" ", smoothed=true, joined=true, walled=true })
20 des.stair("up")
21 des.stair("down")
23 for i = 1,math.random(2, 5) do
24 des.object("*")
25 end
26 des.object("(")
27 for i = 1,math.random(2, 4) do
28 des.object()
29 end
30 if percent(75) then
31 for i = 1,math.random(1, 2) do
32 des.object("boulder")
33 end
34 end
36 for i = 1,math.random(6, 8) do
37 des.monster("gnome")
38 end
39 des.monster("gnome lord")
40 des.monster("dwarf")
41 des.monster("dwarf")
42 des.monster("G")
43 des.monster("G")
44 des.monster(percent(50) and "h" or "G")
46 des.trap()
47 des.trap()
48 des.trap()
49 des.trap()
50 des.trap()
51 des.trap()