doors break instead of absorbing the blast of a broken wand of striking
avoid "Something's in the way" message with unidentified wand of locking
better handling for Fort Ludios and endgame in wizard mode's `^V ?' menu
+no free lunch for gelatinous cubes including scrolls of mail
Platform- and/or Interface-Specific Fixes
useupf(otmp, otmp->quan);
return;
}
+#ifdef MAIL
+ if (otmp->otyp == SCR_MAIL) {
+ /* no nutrition */
+ pline("This junk mail is less than satisfying.");
+ }
+#endif
if (otmp->oclass == POTION_CLASS) {
otmp->quan++; /* dopotion() does a useup() */
(void)dopotion(otmp);
{
register struct obj *otmp;
int basenutrit; /* nutrition of full item */
- boolean dont_start = FALSE;
+ boolean dont_start = FALSE, nodelicious = FALSE;
if (Strangled) {
pline("If you can't breathe air, how can you consume solids?");
basenutrit = weight(otmp);
/* oc_nutrition is usually weight anyway */
else basenutrit = objects[otmp->otyp].oc_nutrition;
+#ifdef MAIL
+ if (otmp->otyp == SCR_MAIL) {
+ basenutrit = 0;
+ nodelicious = TRUE;
+ }
+#endif
context.victual.nmod = basenutrit;
context.victual.eating = TRUE; /* needed for lesshungry() */
losehp(rnd(15), xname(otmp), KILLED_BY_AN);
} else
You("seem unaffected by the poison.");
- } else if (!otmp->cursed)
+ } else if (!otmp->cursed && !nodelicious)
pline("%s%s is delicious!",
(obj_is_pname(otmp) &&
(otmp->oartifact < ART_ORB_OF_DETECTION)) ? "" : "This ",