NetHack 1.3d/wield.c