From: Pasi Kallinen Date: Tue, 24 Jan 2023 16:06:16 +0000 (+0200) Subject: Hellfill: Caged monster X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09fa9a865d0811464b611bf189507c4a25cb2eba;p=nethack Hellfill: Caged monster --- diff --git a/dat/hellfill.lua b/dat/hellfill.lua index b804970ec..69cdf1465 100644 --- a/dat/hellfill.lua +++ b/dat/hellfill.lua @@ -166,6 +166,22 @@ BBBBBBB]], contents = function() des.altar({ x=3, y=3, align="noalign", type=percent(75) and "altar" or "shrine" }); end }); end, + function () + des.map({ halign = rnd_halign(), valign = rnd_valign(), map = [[ +.......... +.......... +.......... +...FFFF... +...F..F... +...F..F... +...FFFF... +.......... +.......... +..........]], contents = function() + local mons = { "D", "H", "L" }; + des.monster(mons[math.random(1, #mons)], 4,4); + end }); + end, }; function rnd_hell_prefab()