Files
nethack/doc
PatR dcf18b2b69 fix #K4292 - tame hider-under vs cursed object
A pet with the hides-under attribute could hide under cursed objects
if it first moved reluctantly to their location.  Also, the messages
seem contradictory:
| The cobra slithers reluctantly over a scroll labeled DUAM XNAHT.
| You see your cobra slither under a scroll labeled DUAM XNAHT.
First over, then under, but that was actually accurate; the monster
moved, then after it was on the pile it hid underneath.

Change hideunder() to not let pets hide under an object if it is
cursed or any object in its pile is cursed.  Initially I was just
going to check the top item and the item directly beneath it, but
reluctance to move there extends to the whole pile so I made hiding
do so too.

Change the first message to move reluctantly "onto" an object since
"over" suggests that it has continued past the item, unless it is
actually flying or levitating so truly "over" the pile.
2024-10-03 12:50:10 -07:00
..
2022-06-18 10:29:15 -04:00
2024-02-28 20:15:56 -08:00
2023-08-28 16:17:41 -04:00
2022-01-29 22:57:22 -05:00
2022-01-29 22:57:22 -05:00
2022-01-29 22:57:22 -05:00
2024-02-28 20:15:56 -08:00
2024-09-13 13:05:11 -04:00
2024-05-16 23:38:54 -07:00
2018-11-11 10:29:52 -05:00
2018-11-11 10:29:52 -05:00
2024-02-28 20:15:56 -08:00
2024-02-29 09:03:00 -05:00
2024-02-28 20:15:56 -08:00
2022-02-22 20:14:44 -05:00
2024-02-28 20:15:56 -08:00
2024-03-19 18:59:23 +02:00