verb agreement

add and use new APIs, Tobjnam, otense and vtense, is_plural
to determine tense/form of verbs and a few pronouns as well
This commit is contained in:
cohrs
2002-02-09 00:24:49 +00:00
parent cf37a7bac0
commit 91c5521009
17 changed files with 277 additions and 182 deletions
+7 -5
View File
@@ -785,15 +785,16 @@ doengrave()
if (!Blind)
You("wipe out the message here.");
else
Your("%s gets %s.", xname(otmp),
is_ice(u.ux,u.uy) ?
"frosty" : "dusty");
Your("%s %s %s.", xname(otmp),
otense(otmp, "get"),
is_ice(u.ux,u.uy) ?
"frosty" : "dusty");
dengr = TRUE;
} else
Your("%s can't wipe out this engraving.",
xname(otmp));
else
Your("%s gets %s.", xname(otmp),
Your("%s %s %s.", xname(otmp), otense(otmp, "get"),
is_ice(u.ux,u.uy) ? "frosty" : "dusty");
break;
default:
@@ -968,7 +969,8 @@ doengrave()
if (len == 0 || index(ebuf, '\033')) {
if (zapwand) {
if (!Blind)
pline("%s glows, then fades.", The(xname(otmp)));
pline("%s, then %s.",
Tobjnam(otmp, "glow"), otense(otmp, "fade"));
return(1);
} else {
pline(Never_mind);