one-shot food testing ability conferred by blessed scroll of food detection
didn't warn about globs of green slime because the relevant code was
only executed for corpses, eggs, and tins, not for globs
+worn ring of slow digestion blocks per-turn hunger but not the hunger caused
+ by wearing it; white dragon scales/mail was blocking per-turn hunger
+ and didn't cause any hunger itself; change to treat it like the ring
curses: 'msg_window' option wasn't functional for curses unless the binary
also included tty support
* +0 ring of protection might do something (enhanced "magical
* cancellation") if hero doesn't have protection from some
* other source (cloak or second ring).
+ *
+ * [If wearing duplicate rings whose effects don't stack,
+ * should they both consume nutrition, or just one of them?
+ * Two +0 rings of protection are treated as if only one,
+ * but this could apply to most rings.]
*/
switch (accessorytime) { /* note: use even cases among 0..19 only */
+ case 0:
+ /* 3.7: if not wearing a ring of slow digestion, obtaining
+ that property from worn armor (white dragon scales/mail)
+ causes the armor to burn nutrition; since it's not
+ actually a ring, we don't check for it on the ring
+ turns; because of that, wearing two (non-slow digestion)
+ rings plus the armor consumes more nutrition that one
+ non-slow digestion ring plus ring of slow digestion */
+ if (Slow_digestion
+ && (!uright || uright->otyp != RIN_SLOW_DIGESTION)
+ && (!uleft || uleft->otyp != RIN_SLOW_DIGESTION))
+ u.uhunger--;
+ break;
case 4:
if (uleft && uleft->otyp != MEAT_RING
/* more hungry if +/- is nonzero or +/- doesn't apply or