NetHack 3.1.0/pickup.c