functions related to NetHack engravings