Files
nethack/include
nethack.rankin d0e4d1e31b #tip command - container access
Another fix to address the complaints about two-handed weapons being
rendered useless by 3.4.1's change to require free hands in order to apply
containers.  Some players now fear to wield two-handed weapons because a
curse would make accessing their bag impossible, which is doubly nasty if
that's where they have scrolls of remove curse or potions of holy water
intended to deal with cursed items.  The same situation applies for cursed
one-handed weapon combined with cursed shield, so some are now claiming
that 3.4.1 has made two-weapon combat be even more attractive than before.

     This implements #tip, a new command that causes a container at the
current location or carried in inventory to have its contents emptied
onto the floor.  Hero's hands don't need to be free at the time but tipping
a floor container requires limbs; tipping an inventory container doesn't
need hands or even limbs.  The contained items don't pass through inventory
during the process, so don't cause objects (loadstones, crysknives, scrolls
of scare monster?) to go through their special handling unless it's part of
normally dropping to the floor.  Tipping a bag of tricks behaves the same
as applying it (one monster is released, and it only becomes empty if
that happened to be the last charge) and items tipped out of a cursed bag
of holding have their normal cursed bag chance (1/13) of being destroyed.
Tipping an inventory container while levitating or during unskilled riding
behaves similar to normal drop--from a height, so some fragile items break.

     Players have wanted this feature to get gray stones out of chests or
heavy corpses out of ice boxes but I didn't care much about that; losing
access to your bag is more significant.  I'm pretty sure that there was a
user patch to do something like this floating around at one time, but I
couldn't find it when I looked, so I implemented #tip totally from scratch.

     Bug?  Extended commands which lack meta-key shortcuts are not listed
in the help files displayed by the '?' command....
2003-04-03 10:56:46 +00:00
..
2002-01-18 02:50:06 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-02-14 01:06:08 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:47 +00:00
2003-01-04 17:37:09 +00:00
2003-02-20 00:36:14 +00:00
2002-02-04 16:06:00 +00:00
2002-09-06 00:12:44 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-03-24 00:47:03 +00:00
2002-03-31 22:56:30 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-04-03 10:56:46 +00:00
2003-03-09 15:44:50 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:47 +00:00
2003-02-20 00:36:14 +00:00
2003-02-09 05:39:32 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:47 +00:00
2002-03-20 06:33:45 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-04-07 10:43:59 +00:00
2002-02-04 16:06:00 +00:00
2002-08-20 08:05:20 +00:00
2002-03-25 08:05:27 +00:00
2003-01-09 01:20:49 +00:00
2002-02-04 16:06:00 +00:00
2002-11-28 19:13:01 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-03-09 15:44:50 +00:00
2003-03-24 02:02:08 +00:00
2002-07-08 23:25:53 +00:00
2002-02-04 16:06:00 +00:00
2003-03-31 13:19:35 +00:00
2003-02-17 02:55:46 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:48 +00:00
2002-08-31 20:14:17 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-03-17 20:02:47 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:48 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-03-02 22:43:39 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-02-21 01:51:54 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-01-09 09:18:14 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-03-17 20:02:47 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-03-11 03:40:17 +00:00
2002-02-04 16:06:00 +00:00