-NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.529 $ $NHDT-Date: 1620548001 2021/05/09 08:13:21 $
+NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.530 $ $NHDT-Date: 1620590081 2021/05/09 19:54:41 $
General Fixes and Modified Features
-----------------------------------
include an indication of monsters' health during farlook feedback (including
/M and autodescribe); also include it in death reason when killed by
a monster: "killed by {an uninjured newt,a heavily injured mumak}"
+[later: suppress the indication of monsters' health]
make DOAGAIN (^A) become unconditional; commenting it out in config.h makes
it be bound to NUL, a no-op, but allows BIND=k:repeat to set it to k
add support for a single monster species to have distinct male, female,
-/* NetHack 3.7 pager.c $NHDT-Date: 1608749031 2020/12/23 18:43:51 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.192 $ */
+/* NetHack 3.7 pager.c $NHDT-Date: 1620590081 2021/05/09 19:54:41 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.201 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Robert Patrick Rankin, 2018. */
/* NetHack may be freely redistributed. See license for details. */
return outbuf;
}
-/* format description of 'mon's health for look_at_monster(), done_in_by() */
+/* format a description of 'mon's health for look_at_monster(), done_in_by();
+ result isn't Healer-specific (not trained for arbitrary creatures) */
char *
monhealthdescr(struct monst *mon, boolean addspace, char *outbuf)
{
+#if 0 /* [disable this for the time being] */
int mhp_max = max(mon->mhpmax, 1), /* bullet proofing */
pct = (mon->mhp * 100) / mhp_max;
: "");
if (addspace)
(void) strkitten(outbuf, ' ');
+#else
+ nhUse(mon);
+ nhUse(addspace);
+ *outbuf = '\0';
+#endif
return outbuf;
}