NetHack 1.3d/rip.c