]> granicus.if.org Git - nethack/commit
castle tune prayer result
authornethack.rankin <nethack.rankin>
Sun, 26 Jun 2005 05:18:25 +0000 (05:18 +0000)
committernethack.rankin <nethack.rankin>
Sun, 26 Jun 2005 05:18:25 +0000 (05:18 +0000)
commitdc25ffb83c557029da05f70bfa2bd8b7db76b1ad
treefc118d1b44fb5618fcba257ab920c8fb4b5df46e
parent7364f73ce7757e8308c5672b047f3d8d1283e8c8
castle tune prayer result

     From <Someone>, half a year or so ago:

> When you've already entered the Castle, I think your God shouldn't be
> giving you the two Castle-related messages anymore.
>
> This might be difficult to track, I realise that.

It already suppressed the tune delivery feedback if you had opened the
drawbridge with music or if that drawbridge had been destroyed.  And if
you've entered the castle by the back door or via wand of opening/spell of
knock, learning the tune could still be useful, so I didn't try to extend
dungeon tracking to the point of "entered the castle".  However, if you've
already passed beyond the valley below then you most likely no longer have
much interest in the drawbridge, so add a check for that to the prayer
feedback suppression.

     <Someone>'s real concern was probably more about the message phrasing
than the "useless" prayer boon (since it says "to enter the castle" rather
than "to open the castle drawbridge"), and that does make the god sound a
bit silly if you've already entered the building.  It would make sense to
skip the first of the two messages if you make it inside without opening or
destroying the bridge, but this patch doesn't attempt to address that.
doc/fixes34.4
src/pray.c