From NetHackWiki
Jump to navigation Jump to search

Mysterious "extra" hunger

I almost always see 0.1%-5% more hunger than expected. I've been recording when I get hungry and what I eat because of certain conducts. I am not wearing any rings or amulets, have hungerless casting, do not jump, and only get burdened one or two turns to name a corpse "zombie", "old" etc. Is there anything else I could be overlooking? -Tjr 15:59, 16 June 2009 (UTC)

  • I assume you're not invoking teleportitis either, and that you're measuring time by turns, not moves (when you're fast, your movement rate is somewhat erratic). Have you considered compiling a version with debug messages whenever you lose nutrition? --Darth l33t 01:48, 17 June 2009 (UTC)
Right, this is early game before I get any equipment, teleportitis etc, and I'm using the game's "display time" option. Right now, compiling Nethack tiles for OS X is beyond me, let alone adding debug messages. If I run into more problems of this type, I will give it a shot, though. -Tjr 13:39, 17 June 2009 (UTC)
Answering my own question, I guess it was these "bleech - rotten food" cases. -Tjr 20:16, 3 August 2009 (UTC)
It turns out interrupting meals loses a little bit of nutrition, see Source:Eat.c#line2076. Also, if the corpse is gone after the blecch-message, (almost?) no nutrition is gained. Tjr 13:40, May 30, 2010 (UTC)
Same case. With full moon, almost everything I eat (starting inventory apples, carrots, rations and some found lichens and rations) give me the "bleech, rotten food". Sudden fainting just some moves away of eating. In previous play, I suddenly found myself weak after having no hunger at all. I ported some rings but they were removed (not put). I guess it was the rotten food combined with luck? ——Gargarismo (talk) 09:24, 27 June 2021 (UTC)

Nutrition and speed

How does speed affect the rate in which nutrition is burned? If polymorphed into a warhorse, which has double normal speed and needs to eat, do you burn food at twice the normal rate (Assume indefinte polymorph, but no amulet of unchanging or any other sources of additional lost nutrition and no intrinsic speed)? Will polymorphing into a monster with a speed of 6 result in half the nutrition burned to match the half movement speed? Or do you still lose a point for the turn you never get? -- Qazmlpok 23:14, June 5, 2010 (UTC)

It seems that speed doesn't have any effect, at least with regards to the turn counter. That is, if you eat a food ration after becoming hungry on turn 1000, it is around turn 1800 that you become hungry, with small adjustments for rings, time eating the ration, etc. At least, it's true in SLASH'EM, with a warhorse eating candy bars. -Ion frigate 07:17, June 6, 2010 (UTC)
Also true in vanilla. Specifically, I did exact nutrition bookkeeping for a long series of multiconduct games, and intrinsic speed did not make a difference. Tjr 10:21, June 6, 2010 (UTC)
Thanks. I'll mention it in the article. -- Qazmlpok 12:36, June 6, 2010 (UTC)

Death from choking

Am I the only one who thinks that the devs simply misplaced a "!" in the code for choking? If the condition were (!Strangled && rn2(20)), that would mean you'd have a 19/20 chance of vomiting and a 1/20 chance of choking. That strikes me as both more realistic (you are far more likely to make yourself sick from overeating than to choke to death), and more tactically interesting - eating while potentially oversatiated would be risky, but possibly worthwhile in the case of wraith corpses, whereas now it is simply not worth the risk, given the near-certainty of choking if you are oversatiated. -Ion frigate 22:37, 21 May 2011 (UTC)

Good thinking. --Tjr 22:44, 21 May 2011 (UTC)

resetting the satiated-before-eating status

You choke if you were satiated before your meal and are oversatiated after it. What resets this satiated-before-meal status? Eating something else in between definitely does, being interrupted by a monster watching you seems not to. I don't understand the source code, though. --Tjr 16:41, 11 July 2011 (UTC)