]> granicus.if.org Git - nethack/commit
fix #H7226 - vault guard should have whistle
authorPatR <rankin@nethack.org>
Fri, 15 Jun 2018 23:24:02 +0000 (16:24 -0700)
committerPatR <rankin@nethack.org>
Fri, 15 Jun 2018 23:24:02 +0000 (16:24 -0700)
commitf81818e85dcd17c3ef0f956bc2ac9e759df6f683
tree30177605da03d8b29cb850cc99efe489c51cdf8f
parent3eb452ad946fe7e759f2a7e25bbc3145a1f878f1
fix #H7226 - vault guard should have whistle

Implement the suggestion that since teleporting away from the vault
while being confronted by the guard results in a shrill whistling
sound, the vault guard ought to have a tin whistle in his inventory.

I also added a check that he does have the whistle and to give an
alternate message if not, but after half a dozen tries to have a
squad of beefed up monkeys steal the whistle, they never accomplished
that.  At least three times they took everything except the whistle
but I never succeeded in verifying the alternate message.
doc/fixes36.2
src/makemon.c
src/vault.c