greased saddle makes it impossible to mount the steed
if an item-using monster zaps a wand of digging downward on a level that
doesn't allow holes but does allow pits, create a pit and trigger it
+no longer override the effect of a new moon by simply carring a lizard corpse
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
extern struct obj *sobj_at(int, coordxy, coordxy);
extern struct obj *nxtobj(struct obj *, int, boolean);
extern struct obj *carrying(int);
-extern boolean have_lizard(void);
extern struct obj *u_carried_gloves(void);
extern struct obj *u_have_novel(void);
extern struct obj *o_on(unsigned int, struct obj *);
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;
}
void
-mhitm_ad_ston(struct monst *magr, struct attack *mattk, struct monst *mdef,
- struct mhitm_data *mhm)
+mhitm_ad_ston(
+ struct monst *magr, struct attack *mattk,
+ struct monst *mdef, struct mhitm_data *mhm)
{
if (magr == &g.youmonst) {
/* uhitm */
if (!Deaf)
You_hear("a cough from %s!", mon_nam(magr));
} else {
- if (!Deaf)
+ if (Hallucination && !Blind) {
+ You_hear("hissing."); /* You_hear() deals with Deaf */
+ pline("%s appears to be blowing you a kiss...",
+ Monnam(magr));
+ } else if (!Deaf) {
You_hear("%s hissing!", s_suffix(mon_nam(magr)));
- if (!rn2(10)
- || (flags.moonphase == NEW_MOON && !have_lizard())) {
+ } else if (!Blind) {
+ pline("%s seems to grimace.", Monnam(magr));
+ }
+ /*
+ * 3.7: New moon is no longer overridden by carrying a
+ * lizard corpse. Having the moon's impact on terrestrial
+ * activity be affected by carrying a dead critter felt
+ * silly.
+ *
+ * That behavior dated to when there were no corpse objects
+ * yet; "dead lizard" was a distinct item. With a lizard
+ * corpse, hero can eat it to survive petrification and
+ * probably retain a partly eaten corpse for future use.
+ *
+ * Maintaining foodless conduct during a new moon might
+ * become a little harder. Clearing out cockatrice nests
+ * could become quite a bit harder.
+ */
+ if (!rn2(10) || flags.moonphase == NEW_MOON) {
if (do_stone_u(magr)) {
mhm->hitflags = MM_HIT;
mhm->done = TRUE;