Files
nethack/include
nethack.rankin 669c2ab560 container_impact_dmg
A post-3.4.3 change made the contents of thrown (or dropped while
levitating) containers subject to breakage, but it had sequence issues.
When something was thrown from outside a shop (or from its doorway or
entry spot) and arrived inside, the shopkeeper was taking possession too
soon, charging the hero for any broken contents, and then going ballistic
(summoning kops and attacking) because the hero was outside the shop while
owing money.  We need to break contents before shk claims ownership, which
turned out to be trickier than it sounds since it has to occur after any
item-hits-floor message if such feedback is given.

    Also, clear the container's contents-known flag when contents break.
Conceivably it should stay set when there is only one item, since hearing
something break could only be that item, but this resets container->cknown
unconditionally if anything inside breaks.
2012-05-05 23:26:26 +00:00
..
2012-01-24 04:26:33 +00:00
2009-05-06 10:45:32 +00:00
2012-01-10 17:47:45 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2002-01-05 21:05:47 +00:00
2012-01-10 17:47:45 +00:00
2009-05-06 10:45:32 +00:00
2011-05-23 03:27:10 +00:00
2012-01-27 20:15:31 +00:00
2012-01-10 17:47:45 +00:00
2012-01-10 17:47:45 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2012-04-14 08:31:05 +00:00
2009-05-06 10:45:32 +00:00
2012-05-05 23:26:26 +00:00
2012-04-09 02:56:37 +00:00
2009-05-06 10:45:32 +00:00
2002-01-05 21:05:47 +00:00
2012-01-29 03:00:17 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2002-01-05 21:05:47 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2012-02-15 01:55:34 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2012-01-10 17:47:45 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2012-04-14 08:31:05 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2011-10-01 00:25:57 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2012-01-24 04:26:33 +00:00
2002-01-05 21:05:48 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2012-02-16 23:06:00 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2012-01-27 20:15:31 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2011-09-01 01:47:00 +00:00
2009-05-06 10:45:32 +00:00
2012-01-24 04:26:33 +00:00
2009-05-06 10:45:32 +00:00
2012-01-23 10:45:31 +00:00
2012-01-23 10:45:31 +00:00
2009-05-06 10:45:32 +00:00
2012-01-24 04:26:33 +00:00
2009-05-06 10:45:32 +00:00
2009-05-06 10:45:32 +00:00
2012-04-14 08:31:05 +00:00