From c1697c0042ebfc96ddc8e139ccb0950736b5a037 Mon Sep 17 00:00:00 2001 From: copperwater Date: Sun, 24 May 2026 15:30:46 -0400 Subject: [PATCH] Don't print "low buzzing" for bee-less trees when kicked Noticed this when testing a level with some barren trees which were set in the special level to not contain bees; the barren trees are still able to produce a low buzzing. This may convince players that they can get bees from the tree if only they kick it enough times, which will not happen. To avoid that, only print this message when the tree can release bees, augmenting the existing check for killer bees being non-extinct. --- src/dokick.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dokick.c b/src/dokick.c index a399aca03..45cc67798 100644 --- a/src/dokick.c +++ b/src/dokick.c @@ -1137,7 +1137,9 @@ kick_nondoor(coordxy x, coordxy y, int avrg_attrib) /* nothing, fruit or trouble? 75:23.5:1.5% */ if (rn2(3)) { - if (!rn2(6) && !(svm.mvitals[PM_KILLER_BEE].mvflags & G_GONE)) + if (!rn2(6) + && !(svm.mvitals[PM_KILLER_BEE].mvflags & G_GONE) + && !(gm.maploc->looted & TREE_SWARM)) You_hear("a low buzzing."); /* a warning */ kick_ouch(x, y, ""); return ECMD_TIME;