]> granicus.if.org Git - nethack/commit
wishing tweaks
authornethack.rankin <nethack.rankin>
Tue, 1 Feb 2005 05:35:34 +0000 (05:35 +0000)
committernethack.rankin <nethack.rankin>
Tue, 1 Feb 2005 05:35:34 +0000 (05:35 +0000)
commit2886b276ea0823c73827f71ed028a6fb4d76e9f8
tree6b4cd9f394c2ea953d57309a575de7976ed79e96
parent191db348ec907a72babd848bc615947734c77635
wishing tweaks

     When a wish request for "<foo> armor" fails to match anything, check
whether it matches "<foo> mail" before resorting to selecting a random piece
of armor.  Most of the suits are named "mail", and while I don't think many
people will ask for "ring armor", I do think that "crystal plate armor" and
"gray dragon scale armor" are sometimes tried.

     This also greatly simplifies the handling for spelling variant "armour"
by rewriting it to "armor".  Unfortunately "grey" vs "gray" can't be handled
the same way since both spellings are used by the program.
doc/fixes34.4
src/objnam.c