Files
nethack/src
Alex Smith 86c29f5b47 Allow identifying stackable items by comparison to identical items
NetHack has historically had problems (both in terms of interface
and in terms of gameplay exploits) caused by unidentified items
not stacking with identified items.  The 3.7 change to cause items
picked up by monsters to become unidentified has exacerbated this,
e.g. there's an undesirable strategy in which players give
ammunition to hostile monsters in order to unidentify it, allowing
it to stack with other unidentified ammunition so that the whole
stack can be enchanted with a single scroll.

This commit makes it possible to stack items with different
identification statuses (unles Blind), in effect causing the
unidentified items to be identified by comparing them to the
identified items (this is consistent with the mechanic via which
two stacks of unidentified items can be determined to be the same
as each other).  The hope is that this will prevent any gain from
exploits involving intentionally unidentifying (or intentionally
failing to identify) items, that it will prevent interface clutter
caused by (e.g.) a Ranger's main projectiles becoming partially
unidentified as a nymph picks them up and subsequently failing to
stack, and that it will reduce the incentive to backtrack to an
altar to merge, e.g., a stack of formally-known-uncursed and a
stack of informally-known-uncursed food rations to stack.
2023-11-19 01:21:53 +00:00
..
2022-02-04 09:41:30 -05:00
2023-02-08 17:17:43 -05:00
2023-06-21 03:31:41 -07:00
2023-11-13 19:28:19 -05:00
2023-11-13 19:28:19 -05:00
2023-11-17 09:47:39 -05:00
2023-11-18 11:57:30 -08:00
2023-11-17 09:47:39 -05:00
2023-11-13 19:28:19 -05:00
2023-11-13 20:31:02 -05:00
2023-11-13 19:28:19 -05:00
2023-11-14 17:51:27 -08:00
2023-11-17 00:43:06 -08:00
2023-11-11 19:49:38 -05:00
2023-11-17 09:47:39 -05:00
2023-11-13 20:31:02 -05:00
2023-03-16 22:27:01 -04:00
2022-11-29 21:53:21 -05:00
2023-11-13 20:31:02 -05:00
2023-11-11 19:49:38 -05:00
2023-11-13 19:28:19 -05:00
2023-03-16 22:27:01 -04:00
2022-09-19 17:32:42 -04:00
2023-11-10 15:43:02 -08:00
2023-11-13 20:31:02 -05:00
2023-10-02 20:25:58 +03:00
2022-11-29 21:53:21 -05:00
2023-11-11 19:49:38 -05:00
2023-11-13 20:31:02 -05:00
2023-04-22 16:10:37 -07:00
2023-11-13 19:28:19 -05:00
2023-11-11 19:49:38 -05:00
2023-05-06 23:12:59 +03:00
2023-11-13 20:31:02 -05:00
2023-11-13 20:31:02 -05:00
2023-11-13 20:31:02 -05:00
2023-11-13 20:31:02 -05:00
2023-11-12 10:26:59 -08:00
2023-11-17 14:22:40 -05:00
2023-11-14 17:51:27 -08:00
2023-11-13 19:40:49 -05:00
2023-10-29 21:02:47 -04:00
2023-11-11 19:49:38 -05:00
2023-11-09 21:58:58 -08:00
2023-11-10 15:43:02 -08:00
2023-03-16 22:27:01 -04:00
2023-11-13 20:31:02 -05:00
2022-11-29 21:53:21 -05:00
2023-11-13 20:31:02 -05:00
2023-04-15 14:25:52 +03:00
2023-10-16 09:11:05 -04:00
2023-05-15 23:14:26 -04:00
2023-11-13 20:31:02 -05:00
2023-11-01 02:08:39 -07:00
2023-11-13 19:28:19 -05:00
2023-11-13 20:31:02 -05:00
2023-03-11 15:12:02 -05:00
2023-11-13 20:31:02 -05:00
2023-04-27 14:53:28 -07:00
2023-11-12 10:21:51 -08:00
2023-05-04 06:02:23 -07:00
2023-02-06 19:23:42 +02:00
2023-11-11 19:49:38 -05:00
2023-10-03 10:57:29 +03:00
2023-03-16 22:27:01 -04:00
2023-11-11 19:49:38 -05:00