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.
8 -- The "fill" level for the mines.
10 -- This level is used to fill out any levels not occupied by
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 })
23 for i
= 1,math
.random(2, 5) do
27 for i
= 1,math
.random(2, 4) do
31 for i
= 1,math
.random(1, 2) do
36 for i
= 1,math
.random(6, 8) do
39 des
.monster("gnome lord")
44 des
.monster(percent(50) and "h" or "G")