Files
nethack/doc
nhmall 9b4a8dfb05 mon interaction with terrain was postponed
Fix #576

Reported initially by @copperwater for polymorphed monsters:
"observe how the [polymorphed-monster] hovers placidly above the water for
several turns like Wile E. Coyote before it gets a move, realizes it's
above water, and drowns. Ditto for lava."

A comment in the GitHub issue thread by @Tomsod pointed out that a
revived corpse could do the same.

This should set things up for other terrain fallout if discovered or
implemented in the future.
   - consume an additional bit in enum mon_terrain_effects (hack.h)
   - include the additional bit in TERRAIN_FALLOUT_MASK (monst.h)
   - add detection to maybe_set_terrain_effects (mon.c)
   - add action to terrain_effects (mon.c)

Implemented by stealing some upper unused mstate bits to avoid
invalidating existing save and bones.
2026-08-23 18:51:13 -04:00
..
2024-12-25 20:23:00 -05:00
2026-06-20 20:02:31 -04:00
2026-05-06 04:53:12 -05:00
2026-01-14 09:34:50 -05:00
2026-04-28 16:59:54 -04:00
2026-07-04 19:12:00 -07:00
2026-07-04 19:12:00 -07:00
2026-04-26 11:51:02 -04:00
2026-05-06 23:19:13 -04:00
2026-04-26 10:41:11 -04:00
2026-06-20 18:55:28 -04:00
2026-06-20 18:55:28 -04:00