B01001 fix: corpse grammar
<Someone> wrote: > You start bashing monsters with your 2 cockatrice corpses. > You hit the foo with the cockatrice corpse (note singular). > The foo is slowing down. The foo turns to stone. > Also: Your cockatrice corpses rots away. It appears that vtense() has a problem recognizing "corpses" as plural. This doesn't fix that, it just switches to using otense() in this particular case.
This commit is contained in:
@@ -85,6 +85,7 @@ try even harder to avoid incorrect map display while changing levels
|
||||
no "freaked" message by exploding black light, unless you really are
|
||||
sleeping monster could respond to attacks by other monsters
|
||||
sleeping shopkeeper responds to various events without waking
|
||||
rotting corpses grammar fix
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -1538,7 +1538,7 @@ long timeout; /* unused */
|
||||
char *cname = corpse_xname(obj, FALSE);
|
||||
Your("%s%s %s away%c",
|
||||
obj == uwep ? "wielded " : nul, cname,
|
||||
vtense(cname, "rot"), obj == uwep ? '!' : '.');
|
||||
otense(obj, "rot"), obj == uwep ? '!' : '.');
|
||||
}
|
||||
if (obj == uwep) {
|
||||
uwepgone(); /* now bare handed */
|
||||
|
||||
@@ -739,11 +739,13 @@ int thrown;
|
||||
#endif
|
||||
case CORPSE: /* fixed by polder@cs.vu.nl */
|
||||
if (touch_petrifies(&mons[obj->corpsenm])) {
|
||||
static const char withwhat[] = "corpse";
|
||||
tmp = 1;
|
||||
hittxt = TRUE;
|
||||
You("hit %s with %s corpse.", mon_nam(mon),
|
||||
You("hit %s with %s %s.", mon_nam(mon),
|
||||
obj->dknown ? the(mons[obj->corpsenm].mname) :
|
||||
an(mons[obj->corpsenm].mname));
|
||||
an(mons[obj->corpsenm].mname),
|
||||
(obj->quan > 1) ? makeplural(withwhat) : withwhat);
|
||||
if (!munstone(mon, TRUE))
|
||||
minstapetrify(mon, TRUE);
|
||||
if (resists_ston(mon)) break;
|
||||
|
||||
Reference in New Issue
Block a user