]> granicus.if.org Git - nethack/commitdiff
Make the adventurer ghost asleep
authorPasi Kallinen <paxed@alt.org>
Tue, 4 Jan 2022 08:55:09 +0000 (10:55 +0200)
committerPasi Kallinen <paxed@alt.org>
Tue, 4 Jan 2022 08:55:09 +0000 (10:55 +0200)
dat/themerms.lua

index a03d05756a02262a44b1cf1b8946db702dbc7a9c..4bcda7f0e4c7f9c0734784a2cb2a8559dda268a7 100644 (file)
@@ -228,7 +228,7 @@ themerooms = {
                  contents = function(rm)
                     local px = nh.rn2(rm.width);
                     local py = nh.rn2(rm.height);
-                    des.monster({ id = "ghost", waiting = true, coord = {px,py} });
+                    des.monster({ id = "ghost", asleep = true, waiting = true, coord = {px,py} });
                     if percent(65) then
                        des.object({ id = "dagger", coord = {px,py}, buc = "not-blessed" });
                     end