farlook when underwater
commit81471c27cac339783bcd1cc6cd47dfac581a720f
authorPatR <rankin@nethack.org>
Sat, 14 May 2016 11:02:07 +0000 (14 04:02 -0700)
committerPatR <rankin@nethack.org>
Sat, 14 May 2016 11:02:07 +0000 (14 04:02 -0700)
tree5bb645a3e6ea9471fed86945bdbddac35acbadd1
parent0bd13a7a8c7e6ec702ff79f4c0bcd7aedde1a902
farlook when underwater

Replace "dark part of a room" with something more sensible when
examining the map while underwater where water/lava/ice within the
3x3 grid centered on the hero is all that can be seen.  Adjacent
non-water, non-lava, non-ice spots are now described as "land".
(Note: this stuff doesn't apply on the Plane of Water where being
underwater gets handled differently.)  Spots outside that 3x3 grid
are now described as "unreconnoitered", which sounds a bit odd but
I couldn't come up with anything better.  "Not visible" is accurate
when the hero can see but needs adjusting when he can't, bringing
us right back to the current conundrum.  I suppose "not accessible"
might be viable but nitpickers would consider it to be inaccurate
if hero has teleport capability.  (There are a couple of references
to "unknown" from earlier versions of this revision.  I think
"a ghost or unexplored or unknown or land or air (land)" is the only
place left where the player might see it, and it seems reasonable
there, although perhaps it ought to be changed to "unreconnoitered".)

Also fix farlook while swallowed and blind, where blindness was
overriding swallower Id even though it doesn't do so for mon_nam()
and things which use that like combat feedback.
doc/fixes36.1
src/pager.c