NetHack 2.3e/wield.c