]> granicus.if.org Git - nethack/commitdiff
Hellfill: Random temples to Moloch
authorPasi Kallinen <paxed@alt.org>
Sun, 22 Jan 2023 18:07:38 +0000 (20:07 +0200)
committerPasi Kallinen <paxed@alt.org>
Sun, 22 Jan 2023 18:09:26 +0000 (20:09 +0200)
dat/hellfill.lua

index 646939e067e9f99b893d4c0a2b438beed08208ad..b804970ec88357237a018b045acc2349fdabc1c5 100644 (file)
@@ -153,6 +153,19 @@ x.....x
 .......
 x.....x]], contents = function() end  });
    end,
+   function ()
+      des.map({ halign = rnd_halign(), valign = rnd_valign(), map = [[
+BBBBBBB
+B.....B
+B.....B
+B.....B
+B.....B
+B.....B
+BBBBBBB]], contents = function()
+   des.region({ region={2,2, 2,2}, type="temple", filled=1, irregular=1 });
+   des.altar({ x=3, y=3, align="noalign", type=percent(75) and "altar" or "shrine" });
+      end  });
+   end,
 };
 
 function rnd_hell_prefab()