]> granicus.if.org Git - nethack/commit
Clean up lava messages a little.
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Thu, 19 Feb 2015 04:24:41 +0000 (23:24 -0500)
committerPasi Kallinen <paxed@alt.org>
Tue, 17 Mar 2015 16:44:57 +0000 (18:44 +0200)
commit38964dc56cadb89c7755bbeb625f16eb35207275
tree540060dbf437cff59b091f1e92b6ce4049f21647
parentc6628bcbff1255757074aa16fbc47408a68ef7cb
Clean up lava messages a little.

This change has two parts.

First, the Book of the Dead now has a special message in lava. This was
originally added by Steve Melenchuk (aka Grunt) as a precaution against the Book
burning up. While I'm pretty sure that the Book can't burn up in the current
codepath, the message is a nice touch and it doesn't help to add a safety check.

Second, always print the inventory destruction messages. The reason for this is
fairly subtle, but relates to the timing. By not printing the messages when
dying, the visible effect to the player is that if they have lifesaving, the
items burn up before they die, but if they do not, they burn up after they
die---the fact that they do burn up is visible in the dump or bonesfile.
src/trap.c