Environment variable
Jump to navigation
Jump to search
NetHack checks the following environment variables:
- WIZKIT - Allow wizard mode games to start with extra items.
- ROGUEOPTS - Set the ghost name in the Rogue level. For example, setting ROGUEOPTS's value to name=Foo would name the ghost to 'Foo'
- SHOPTYPE - For wizard mode debugging, forces a creation of a shop. For example, setting this to z will make a Treasure zoo on every level.
- SPLEVTYPE - For wizard mode debugging, forces NetHack to use certain layouts for the special levels that have multiple layouts. For example: bigrm-2,minetn-5 would force the 2nd bigroom variant (with the dark and light areas), and the 5th minetown variant (the grotto town).
- HOME - Your home directory.
- MAIL - On window ports that support reading mail, this should point to your mail box file.
- MAILREADER - On window ports that support reading mail, NetHack will spawn this mailreader to read your mail.
- TERM - Terminal type.
- This page is a stub. Should you wish to do so, you can contribute by expanding this page.