]> granicus.if.org Git - nethack/commit
container groundwork
authornethack.rankin <nethack.rankin>
Thu, 3 Apr 2003 09:28:28 +0000 (09:28 +0000)
committernethack.rankin <nethack.rankin>
Thu, 3 Apr 2003 09:28:28 +0000 (09:28 +0000)
commit9ee9c9f8b352d8d46912c56b7132e453c94ee70e
tree8a4953564fb085221551df669abdd57d8e451c73
parent02fba50b34af769e91b89cb69fbafffef29c1e30
container groundwork

     Move a couple of instances of container contents manipulation into
their own routines.  Behavior for items disappearing from cursed bags of
holding isn't quite identical but is effectively the same.  I think its
use of stolen_value (or simply the behavior of the latter) is buggy, but
I haven't tried to fix that.  (Cursed bag of holding destroying a player
owned bag containing shopped owned items definitely doesn't work well.)
include/extern.h
src/apply.c
src/makemon.c
src/pickup.c