NetHack 2.3e/search.c