NetHack 1.4f/wield.c