NetHack 2.2a/eat.c