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:30:33 +00:00
parent 91c5521009
commit aac7f717c2
12 changed files with 91 additions and 96 deletions

View File

@@ -64,11 +64,11 @@ amulet()
if(ttmp->ttyp == MAGIC_PORTAL) {
int du = distu(ttmp->tx, ttmp->ty);
if (du <= 9)
pline("%s feels hot!", The(xname(amu)));
pline("%s hot!", Tobjnam(amu, "feel"));
else if (du <= 64)
pline("%s feels very warm.", The(xname(amu)));
pline("%s very warm.", Tobjnam(amu, "feel"));
else if (du <= 144)
pline("%s feels warm.", The(xname(amu)));
pline("%s warm.", Tobjnam(amu, "feel"));
/* else, the amulet feels normal */
break;
}