From 392295d770f00fe53f485cc885cbcee328ed039f Mon Sep 17 00:00:00 2001 From: Michael Meyer Date: Tue, 7 Nov 2023 20:00:56 -0500 Subject: [PATCH] Require min body weight for step to wake zombies A newt or something probably isn't disturbing anything buried 6 feet below the ground. WT_ELF/2 is the size of a dingo or goblin. --- src/hack.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hack.c b/src/hack.c index 5e44d2867..9eb1aa791 100644 --- a/src/hack.c +++ b/src/hack.c @@ -2618,7 +2618,9 @@ domove_core(void) nomul(0); } - if (!Levitation && !Flying && !Stealth) + /* your tread on the ground may disturb the slumber of nearby zombies */ + if (!Levitation && !Flying && !Stealth + && gy.youmonst.data->cwt >= (WT_ELF / 2)) disturb_buried_zombies(u.ux, u.uy); if (hides_under(gy.youmonst.data) || gy.youmonst.data->mlet == S_EEL