Files
nethack/src
Michael Meyer d3d5f7f88b Fix: force-fight 'unknown obstacle' descriptions
This is intended to address a couple quirks with force-fighting an
unoccupied spot that I noticed:

 * Now that furniture is considered 'solid', an object is much more
   likely to be sitting on the square, obscuring the terrain glyph.  As
   a result, the current glyph is no longer sufficient to accurately
   describe the contents of the spot -- e.g., an altar with a corpse on
   top of it was being described as "an unknown obstacle", even when the
   hero knew exactly what furniture was there.

 * When blind and attacking an unexplored 'solid' square, the attacked
   position would always be described as 'the stone', even something
   like a fountain or sink which didn't seem likely to be confused with
   a stone wall.

 * The feedback for attacking stone was previously changed from 'solid
   rock' to 'stone' in order to be consistent with the feedback for
   attacking an unseen wall, but they still weren't quite the same
   ("stone" vs "the stone").

 * The 'stone' feedback for all STONE/SCORR spots was incorrect on
   levels flagged as arboreal, where stone is rendered and described as
   trees.

This relies on back_to_glyph for positions where the hero is aware of
the terrain and certain other spots (like stone, walls, etc) for which
back_to_glyph produces good results even if they're unseen, and falls
back to the generic "unknown terrain" in other cases.

Pretty long commit message for such a small commit, but oh well...
2022-04-28 01:10:46 -07:00
..
2022-02-04 09:41:30 -05:00
2022-04-09 15:55:21 -07:00
2022-03-17 18:10:38 -04:00
2022-04-02 00:28:48 -07:00
2022-03-21 12:32:07 -07:00
2022-03-22 10:48:23 -07:00
2022-04-24 13:03:47 +03:00
2022-04-21 02:39:54 -07:00
2022-02-20 13:47:31 -08:00
2022-03-18 10:19:04 +02:00
2022-04-25 12:53:04 +03:00
2022-04-24 13:03:47 +03:00
2022-03-17 18:10:38 -04:00
2022-04-25 09:45:10 -04:00
2022-04-24 13:03:47 +03:00
2022-04-25 12:53:04 +03:00
2022-04-24 13:03:47 +03:00
2022-04-23 02:12:21 -07:00
2021-08-10 13:35:25 -04:00
2022-04-04 10:20:28 -07:00
2022-04-01 05:22:20 -07:00
2022-03-21 12:32:07 -07:00
2021-01-26 21:06:16 -05:00
2022-03-16 18:18:52 -04:00
2022-04-24 13:03:47 +03:00
2022-03-19 20:49:00 -04:00
2022-04-25 01:31:34 -07:00
2022-04-25 01:31:34 -07:00
2022-02-23 20:28:55 +02:00
2022-03-07 02:06:55 -08:00
2022-04-21 03:31:32 -07:00
2022-02-23 12:53:09 +02:00
2022-02-20 21:18:03 +02:00
2022-03-18 10:19:04 +02:00
2022-03-21 12:32:07 -07:00
2022-04-27 11:22:12 -07:00
2021-12-16 15:56:52 -08:00
2022-04-15 18:52:49 +03:00
2022-03-16 18:18:52 -04:00
2022-04-24 14:44:40 -07:00
2022-02-02 21:26:01 -05:00
2022-03-16 18:18:52 -04:00
2022-03-18 10:19:04 +02:00
2022-03-07 13:21:17 -08:00
2022-03-15 18:24:49 +02:00
2022-03-22 09:16:19 +02:00
2022-03-17 16:56:25 -04:00
2022-04-09 11:45:43 -07:00
2022-04-24 00:26:50 -07:00
2022-04-17 13:36:38 -07:00
2022-03-02 13:09:42 -08:00
2022-04-17 01:39:34 -07:00
2022-04-08 14:48:55 -07:00
2022-03-18 10:19:04 +02:00
2022-03-18 10:19:04 +02:00
2022-01-05 17:35:33 +02:00
2022-04-09 15:55:21 -07:00
2022-01-29 11:13:01 -08:00
2022-04-24 14:22:05 -07:00
2021-12-16 15:56:52 -08:00
2022-02-20 17:29:37 +02:00
2022-03-22 10:48:23 -07:00
2022-03-18 10:19:04 +02:00
2022-02-09 22:49:25 +02:00
2022-04-24 13:03:47 +03:00
2021-01-26 21:06:16 -05:00
2022-04-27 11:22:12 -07:00
2022-02-23 20:28:55 +02:00
2022-03-16 18:18:52 -04:00
2022-02-23 12:53:09 +02:00
2022-03-18 10:19:04 +02:00
2022-04-25 01:31:34 -07:00
2022-03-18 10:19:04 +02:00
2021-12-07 15:54:46 -08:00
2022-02-09 22:49:25 +02:00
2022-04-25 18:11:32 +03:00