NetHack 2.3e/rip.c