MCPcopy Create free account
hub / github.com/NetHack/NetHack / morehungry

Function morehungry

src/eat.c:3280–3285  ·  view source on GitHub ↗

called after vomiting and after performing feats of magic */

Source from the content-addressed store, hash-verified

3278
3279/* called after vomiting and after performing feats of magic */
3280void
3281morehungry(int num)
3282{
3283 u.uhunger -= num;
3284 newuhs(TRUE);
3285}
3286
3287/* called after eating (and after drinking fruit juice) */
3288void

Callers 11

lay_an_eggFunction · 0.85
mhitm_ad_famnFunction · 0.85
doteleFunction · 0.85
still_chewingFunction · 0.85
vomiting_dialogueFunction · 0.85
chokeFunction · 0.85
eat_brainsFunction · 0.85
spelleffects_checkFunction · 0.85
jumpFunction · 0.85
drinkfountainFunction · 0.85
drinksinkFunction · 0.85

Calls 1

newuhsFunction · 0.85

Tested by

no test coverage detected