Files
nethack/include
nethack.rankin 58137a608a bag of tricks, horn of plenty, #tip (trunk only)
<Someone> reported that he applied an unID'd bag and it became
discovered as a bag of tricks even though a spellbook appeared on the floor
next to him rather than having a monster show up (the monster was a mimic).
Suppress the bag discovery unless you can see or sense a monster appear.
(This doesn't really achieve much for most players, who'll recognize the
bag because they know that only one type of container doesn't prompt to
take things out and/or put things in, but I think it does make sense.)

     While mucking with bag of tricks I decided that to be consistent with
the behavior of other containers, the #tip command should release all the
monsters in the bag instead of just one.

     And after doing that, I realized that horn of plenty ought to behave
much the same, so #tip will operate on it now.  However, it won't be listed
as a likely candidate in the "which item?" prompt unless/until it has been
discovered.  (Attempting to empty any other type of horn yields "nothing
happens", same as for a horn of plenty with no charges left.)  Emptying a
horn of plenty in a shop can be extremely verbose, but I don't think that
qualifies as a bug and don't currently have any plans to alter it.
2006-06-18 05:20:36 +00:00
..
2002-01-18 02:50:06 +00:00
2002-01-05 21:05:47 +00:00
2005-12-11 03:09:05 +00:00
2005-11-26 02:32:49 +00:00
2005-06-18 04:38:50 +00:00
2006-05-13 04:57:52 +00:00
2002-01-05 21:05:47 +00:00
2006-06-03 17:48:22 +00:00
2002-01-05 21:05:47 +00:00
2006-04-14 16:23:56 +00:00
2005-03-13 05:29:01 +00:00
2005-10-06 03:45:20 +00:00
2006-03-12 04:43:28 +00:00
2006-05-13 04:57:52 +00:00
2006-06-03 17:48:22 +00:00
2006-01-06 05:46:03 +00:00
2002-01-05 21:05:48 +00:00
2006-02-12 06:24:25 +00:00
2005-01-02 20:55:41 +00:00
2005-01-23 19:39:01 +00:00
2005-01-09 21:40:24 +00:00
2006-03-02 05:54:04 +00:00