]> granicus.if.org Git - nethack/commit
shop feedback ("gold piecess") (trunk only)
authornethack.rankin <nethack.rankin>
Thu, 27 Oct 2011 02:24:54 +0000 (02:24 +0000)
committernethack.rankin <nethack.rankin>
Thu, 27 Oct 2011 02:24:54 +0000 (02:24 +0000)
commit3337f05af8045e2104600948e5bc2e9652420803
tree20f04d35b7809de4d66e664306e1f7dd74969db6
parent98cb2eda549b8fe7fcb762c79e6a4114e7282a23
shop feedback ("gold piecess") (trunk only)

     From a bug report, dropping and selling a container that had some things owned
by the hero and some already owned by the shop, you could get "You sold
some items inside <a container> for N gold piecess."  Shop handing for
containers has been changed significantly since 3.4.3, but the typo
"pieces" that then optionally gets plural "s" appended was still there.

     While testing the trivial fix, I noticed suboptional feedback in the
prompt about selling.  For a container owned by the shop, it said "items"
even when there was just one hero owned item inside.  Fortunately this
potentinal can of worns only seemed to have one tiny weeny worm in it....

     The revised version of count_buc() that I've had laying around for
a while is also included.

     The fixes entry is for "piecess", not escaped/captured/exterminated
worms, and goes into fixes34.4 despite this patch being labeled "trunk
only".  Separate patch for trunk to follow.
doc/fixes34.4
include/extern.h
src/invent.c
src/objnam.c
src/shk.c