eye message formatting (trunk only)

Noticed while making the Unaware changes; redo several eye/eyes
messages to use vtense() instead of doing their own verb handling.
This commit is contained in:
nethack.rankin
2006-09-02 04:09:50 +00:00
parent 06e9fa91de
commit 7ba02dda00
4 changed files with 34 additions and 39 deletions

View File

@@ -442,12 +442,10 @@ decurse:
break;
case TROUBLE_BLIND:
{
int num_eyes = eyecount(youmonst.data);
const char *eye = body_part(EYE);
const char *eyes = body_part(EYE);
Your("%s feel%s better.",
(num_eyes == 1) ? eye : makeplural(eye),
(num_eyes == 1) ? "s" : "");
if (eyecount(youmonst.data) != 1) eyes = makeplural(eyes);
Your("%s %s better.", eyes, vtense(eyes, "feel"));
u.ucreamed = 0;
make_blinded(0L,FALSE);
break;