]> granicus.if.org Git - nethack/commit
segment feedback when probing long worms
authorPatR <rankin@nethack.org>
Fri, 26 Feb 2016 23:16:49 +0000 (15:16 -0800)
committerPatR <rankin@nethack.org>
Fri, 26 Feb 2016 23:16:49 +0000 (15:16 -0800)
commita00c8068f03d583fe60f6b96532c54e4b4d7d023
tree1988c11a9ae6ac03ebc016d05f56ee26ca3d42bb
parent0d7e51e88ac464c0984da206c77d47a4e8f289b5
segment feedback when probing long worms

When using a stethoscope or wand of probing on a long worm, report
the number of segments it has in the feedback given.

Some of the extra bhitpos and/or notonhead assigments may not be
necessary.  They were added when I was trying to figure out the
question of why probing of a tail segment revealed a long worm's
inventory even though the code explicitly prevents that.  (Answer:
it didn't; I had misinterpreted bz 12 to think that that was what
was being reported.  You need to use wand of probing--or "insigtful"
Magicbane hit--on the head in order to see its inventory or be told
"not carrying anything".)
doc/fixes36.1
include/extern.h
src/apply.c
src/pline.c
src/worm.c
src/zap.c