Files
nethack/include
PatR 7b5d7d7ae6 fix issue #1462 - objects embedded in trees
Issue reported by chappg:  on arboreal levels, when an object was
located at a stone location treated as a tree location, examining
the object would report it as embedded in stone.

The Ranger quest has arboreal levels where STONE becomes TREE, and
items that would become embedded in stone will be in trees instead.
(Sometimes kicking a tree would drop fruit onto an adjacent tree,
effectively embedding it.  For testing, it's easier just to poly
into a xorn, walk onto the tree spot, and drop something.)  The item
description code for farlook and quicklook wasn't checking for that.

The fix also corrects another bug:  an item located at a normal tree
location would just be described as itself with no mention of the
tree at all.  Attempting to walk onto it would report the terrain
and not let you move there (assuming not in xorn form), like trying
to walk into a wall.

Fixes #1462
2025-11-24 12:37:08 -08:00
..
2022-02-04 11:01:20 -05:00
2025-05-25 20:38:17 -04:00
2025-04-15 15:35:17 -04:00
2022-11-29 21:53:21 -05:00
2024-12-15 09:53:50 -05:00
2025-07-29 15:45:11 -07:00
2022-06-30 23:48:18 -04:00
2024-12-20 10:32:38 -05:00
2025-10-20 13:29:42 -07:00
2024-09-06 13:08:07 -07:00
2023-03-01 14:00:29 +02:00
2024-10-12 14:56:36 -04:00
2021-01-26 21:06:16 -05:00
2025-04-15 15:35:17 -04:00
2024-12-19 18:18:11 -08:00
2025-10-06 11:49:31 -04:00
2025-05-25 20:38:17 -04:00
2025-05-29 09:59:29 -04:00
2025-05-26 20:33:06 -04:00
2024-09-06 13:08:07 -07:00
2022-06-19 02:30:45 -07:00
2025-02-04 15:16:42 -05:00
2024-09-06 13:08:07 -07:00
2025-04-24 11:11:55 -07:00
2024-02-24 13:49:51 -08:00
2025-07-29 15:45:11 -07:00
2024-12-20 10:32:38 -05:00
2025-03-19 17:14:07 -04:00
2024-11-26 20:57:11 -08:00
2022-10-26 14:21:23 -04:00
2022-10-26 14:21:23 -04:00
2022-10-26 14:21:23 -04:00
2025-05-26 13:18:32 -04:00
2024-03-07 11:01:04 -05:00
2025-05-25 20:38:17 -04:00
2024-02-28 20:15:56 -08:00
2024-09-06 13:08:07 -07:00
2024-03-07 11:01:04 -05:00
2024-08-17 11:19:45 -07:00
2024-11-13 09:07:10 -05:00
2023-11-22 16:01:58 -05:00
2020-08-12 16:15:28 -07:00
2024-06-15 19:04:57 +03:00
2024-12-20 10:32:38 -05:00
2024-12-20 10:32:38 -05:00
2024-09-06 13:08:07 -07:00
2025-03-22 12:17:12 -04:00
2022-06-30 23:48:18 -04:00
2025-01-04 23:38:34 -05:00
2025-04-26 12:50:18 -07:00
2025-04-15 15:35:17 -04:00
2025-02-28 11:37:05 -08:00
2022-10-26 14:21:23 -04:00
2022-10-26 14:21:23 -04:00
2024-11-26 20:57:11 -08:00