NetHack 2.3e/pri.c