]> granicus.if.org Git - nethack/commit
shktalk patch - speech by polymorphed shopkeepers (trunk only)
authornethack.rankin <nethack.rankin>
Sun, 21 May 2006 04:22:09 +0000 (04:22 +0000)
committernethack.rankin <nethack.rankin>
Sun, 21 May 2006 04:22:09 +0000 (04:22 +0000)
commit1c66428a26022a6f79dadcd12823c8dad9107363
tree060b3e5766c162ddae76c363fecc266bd1cc7e4d
parentd736570d0122daa6c03cd4c06ca0d0751856ecb4
shktalk patch - speech by polymorphed shopkeepers (trunk only)

     Add a patch attached to one of the bug reports sent by <email deleted>
which prevents shopkeepers who have been polymorphed into animals from
speaking.  Some messages are altered so that the player gets informed about
shop interactions without it seeming to be spoken by the shk, other messages
are suppressed outright.  I cleaned it up a bit (mostly formatting, but the
``getcad'' section seemed to have a logic error--using goto to jump into
the middle of an if-then-else is evil...) and implemented a TODO comment he
added (to use mbodypart() when second shopkeeper at end of game shakes his
head; also, skip that phrase if shk is in headless form--futility while
attempting to test this led to discovery of the misplaced parenthesis bug).
doc/fixes35.0
src/shk.c