getobj() magic marker candidate items

When applying a magic marker, only list known blank scrolls and known
blank spellbooks as likely candidates to write on.  Accepts any scroll
or book (but non-blank ones will get rejected by the writing code).
Attempting to choose some other class of item yields "that is a silly
thing to write on", same as before.

This was requested during beta testing and I'd swear that I checked it
in a long time ago, but it wasn't here.
This commit is contained in:
PatR
2016-01-12 17:50:32 -08:00
parent a34d327159
commit 7e01237dce
2 changed files with 10 additions and 0 deletions

View File

@@ -109,6 +109,8 @@ don't create globs of ooze/slime/pudding with bknown flag set so pre-known to
do allow globs with same curse/bless state to merge even when that state is
known for one and unknown for the other; result will have bknown clear
fix pile mark after killing a monster carrying a potion which is destroyed
only list known blank scrolls and known blank spellbooks as likely candidates
when choosing an item to write on for applied magic marker
Platform- and/or Interface-Specific Fixes