]> granicus.if.org Git - nethack/commit
getobj() magic marker candidate items
authorPatR <rankin@nethack.org>
Wed, 13 Jan 2016 01:50:32 +0000 (17:50 -0800)
committerPatR <rankin@nethack.org>
Wed, 13 Jan 2016 01:50:32 +0000 (17:50 -0800)
commit7e01237dce5077651243d293d74006f7c1ede832
treed7431dfa09e209485c63cd95c479f9cf1e99d9c3
parenta34d327159717ad2c7aa9e1d97feeb5046ef723c
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.
doc/fixes36.1
src/invent.c