fix #H5486 - artifact naming vs illiterate
authorPatR <rankin@nethack.org>
Mon, 22 May 2017 23:02:50 +0000 (16:02 -0700)
committerPatR <rankin@nethack.org>
Mon, 22 May 2017 23:02:50 +0000 (16:02 -0700)
commit28fb9857577068c2f8b955e1a4b1f0400f4b246b
tree0f132a3442382ed3ff22df4d3891b13940e506b3
parentead698fd029255581a89aa86b4b9f157d2d6db7a
fix #H5486 - artifact naming vs illiterate

Attempting to name the relevant type of item with an artifact's name
(such as a runesword with "Stormbringer") fails with "your hand
slips" in order to prevent turning the item into an aritfact.  Since
that only happens when the name is valid, it indicates that the hero
is literate so violate illiterate conduct.

(Naming items in general doesn't affect [il]literacy so that player
can assign names to inventory or stash items to maintain notes.)
doc/fixes36.1
src/do_name.c