]> granicus.if.org Git - nethack/commit
shop credit feedback (trunk only)
authornethack.rankin <nethack.rankin>
Sat, 23 Jul 2011 03:53:09 +0000 (03:53 +0000)
committernethack.rankin <nethack.rankin>
Sat, 23 Jul 2011 03:53:09 +0000 (03:53 +0000)
commit236c3524d2183a9accac68ec8d37a7a33fb90a95
tree5456501e9fe1f07ece3ed0ff9db5760eae527a20
parentddabaab3857f3a72daa93bb7d79aec6efcfc972b
shop credit feedback (trunk only)

     Fix the first of a couple of minor things I noticed when viewing
that guy's ttyrec about a hidden inventory item which turned out to be
scrolls of scare monster on the used-up items section of his shop bill.

     Be more precise when a shopkeeper gives the hero credit for dropped
gold.  Instead of just displaying
  N zorkmids are added to your credit.
show either
  You have established N zorkmids credit.
when you had no previous credit, or
  N zorkmids added to your credit; total is now X zorkmids.
when adding to existing credit.
src/shk.c