fix #H4462 - grammar in corpse eating message
"The the Wizard of Yendor corpse tastes terrible." "The" was supplied when formatting the sentence, "the" when formatting the corpse object. Same applied to several other monsters, those flagged as unique and without personal name (Oracle, Cyclops, others). This also changes the corpse eating message to not always specify the taste as "terrible" when the eater is omnivorous. It also makes corpses (and tins) of unique monsters be wishable in wizard mode. I had killed the Wizard at least half a dozen times without a corpse being left, so used wishing instead. Later retries did finally leave one--lack of corpse turned out to just be by chance.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 objnam.c $NHDT-Date: 1462067746 2016/05/01 01:55:46 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.169 $ */
|
||||
/* NetHack 3.6 objnam.c $NHDT-Date: 1470272345 2016/08/04 00:59:05 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.177 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -3448,14 +3448,14 @@ typfnd:
|
||||
otmp->spe = 0; /* No spinach */
|
||||
if (dead_species(mntmp, FALSE)) {
|
||||
otmp->corpsenm = NON_PM; /* it's empty */
|
||||
} else if (!(mons[mntmp].geno & G_UNIQ)
|
||||
} else if ((!(mons[mntmp].geno & G_UNIQ) || wizard)
|
||||
&& !(mvitals[mntmp].mvflags & G_NOCORPSE)
|
||||
&& mons[mntmp].cnutrit != 0) {
|
||||
otmp->corpsenm = mntmp;
|
||||
}
|
||||
break;
|
||||
case CORPSE:
|
||||
if (!(mons[mntmp].geno & G_UNIQ)
|
||||
if ((!(mons[mntmp].geno & G_UNIQ) || wizard)
|
||||
&& !(mvitals[mntmp].mvflags & G_NOCORPSE)) {
|
||||
if (mons[mntmp].msound == MS_GUARDIAN)
|
||||
mntmp = genus(mntmp, 1);
|
||||
|
||||
Reference in New Issue
Block a user