]> granicus.if.org Git - nethack/commit
touchstone again
authornethack.rankin <nethack.rankin>
Sun, 17 Mar 2002 08:19:21 +0000 (08:19 +0000)
committernethack.rankin <nethack.rankin>
Sun, 17 Mar 2002 08:19:21 +0000 (08:19 +0000)
commitfafbb60725fd818e96003a9a50f2dcd587e79cc6
tree0129f8f829e6216b7c6337b13040d0b7f2fac062
parent5811dbbcd564202871766b97ec2b026d2b07ffcb
touchstone again
     Recent patches broke rubbing gold coins on touchstones; for the
!GOLDOBJ configuration, the character's money would be lost and the
program leaked memory.  That problem was already present for rubbing
gold on other gray stones.

     This also gives a gem advantage back to archeologists:  they
can comprehend touchstone results when the stone is uncursed rather
than require it to be blessed.  (I gave gnome characters that benefit
too.  Why gnomes and not dwarves?  I don't have a reasonable answer
for that....)  To go along with that, make A's initial touchstone
start uncursed rather than blessed, so that other characters finding
them in bones won't get an immediate benefit from them for the 20%
of the time that they're not cursed when saving bones.

     Much of this is whitespace cleanup.  I reformatted use_stone()
completely.
src/apply.c
src/u_init.c