don't negate new moon with a lizard corpse

The only effect of a new moon was to make hearing a cockatrice's
hissing (whichs happens with 1 in 3 chance) always start the turn to
stone sequence instead just having a 1 in 10 chance to do so, but
that was negated by carrying a lizard corpse.

Keep the hiss-always-starts-petficiation part and remove the
carrying-a-lizard-corpse-negates-that part.  So the effect of a new
moon no longer gets controlled by the contents of hero's inventory.
This commit is contained in:
PatR
2022-07-31 16:12:40 -07:00
parent 2e983f354d
commit 8a9dc00cde
4 changed files with 28 additions and 17 deletions

View File

@@ -1334,17 +1334,6 @@ currency(long amount)
return res;
}
boolean
have_lizard(void)
{
register struct obj *otmp;
for (otmp = g.invent; otmp; otmp = otmp->nobj)
if (otmp->otyp == CORPSE && otmp->corpsenm == PM_LIZARD)
return TRUE;
return FALSE;
}
struct obj *
u_carried_gloves(void) {
struct obj *otmp, *gloves = (struct obj *) 0;