rotten wraith corpse
sidestep the rotten partly eaten wraith corpse impossible() message by causing rotten wraith corpses to immediately rot away completely
This commit is contained in:
@@ -1244,8 +1244,17 @@ eatcorpse(otmp) /* called when a corpse is selected as food */
|
|||||||
otmp->orotten = TRUE;
|
otmp->orotten = TRUE;
|
||||||
(void)touchfood(otmp);
|
(void)touchfood(otmp);
|
||||||
retcode = 1;
|
retcode = 1;
|
||||||
} else
|
}
|
||||||
consume_oeaten(otmp, 2); /* oeaten >>= 2 */
|
|
||||||
|
if (!mons[otmp->corpsenm].cnutrit) {
|
||||||
|
/* no nutrution: rots away, no message if you passed out */
|
||||||
|
if (!retcode) pline_The("corpse rots away completely.");
|
||||||
|
if (carried(otmp)) useup(otmp);
|
||||||
|
else useupf(otmp, 1L);
|
||||||
|
retcode = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!retcode) consume_oeaten(otmp, 2); /* oeaten >>= 2 */
|
||||||
} else {
|
} else {
|
||||||
pline("%s%s %s!",
|
pline("%s%s %s!",
|
||||||
!uniq ? "This " : !type_is_pname(&mons[mnum]) ? "The " : "",
|
!uniq ? "This " : !type_is_pname(&mons[mnum]) ? "The " : "",
|
||||||
|
|||||||
Reference in New Issue
Block a user