fix #H2059 - writing spellbooks while blind

From a bug report, you could write a
spellbook with a magic marker while blind and were told the description
(often a color) of the resulting book.  This prevents books from being
written while blind, just as they can't be read in that situation, and
it adds an extra test when attempting to write scrolls while blind.
(When you succeed in writing a scroll while blind, you're just told that
the result is ``x - a scroll'' as it's moved to its new inventory slot.)

     This also removes a couple of overly hyper exclamations when writing
fails.  Someday somebody ought to go through the whole program and decide
which messages actually warrant exclamation points, but I doubt that
that'll ever happen.
This commit is contained in:
nethack.rankin
2009-12-14 23:46:30 +00:00
parent 00093a1c8a
commit 403dd4ef95
2 changed files with 28 additions and 8 deletions

View File

@@ -388,6 +388,7 @@ prevent "object lost" panic if/when drinking a wielded potion of polymorph
causes hero's new form to drop weapon
documentation tidbit: change Guidebook and in-game help for pickup_burden
option to match game's 'O' command ("Unencumbered", not "Unburdened")
writing while blind no longer possible for books, might fail for scrolls
Platform- and/or Interface-Specific Fixes