Rogue (player monster)
A rogue is a player monster corresponding to the rogue role. Like other player monsters, rogues are never randomly generated and are thus rarely seen. A peaceful rogue named Pug appears on the final level of the Wizard quest. Other than that, no rogues are normally found outside the Astral Plane, where they may appear among the hostile player monsters generated there.
Reading a cursed scroll of genocide as a rogue while confused will summon a number of rogue monsters, although they won't have their usual equipment. Using undead turning on the corpse or stone to flesh on the statue of a dead rogue left on a bones level will revive the corpse or statue as a player monster. Rogue corpses will also be found in the Valley of the Dead, and a statue of a rogue may appear on Medusa's Island.
Most rogues encountered in the main dungeon will turn out to be doppelgangers, which may temporarily assume the form of a rogue.
A rogue on the Astral Plane will carry either a short sword (25%), an orcish dagger (25%), a long sword (25%) or a randomly chosen melee weapon (25%). The weapon's enchantment will be random between +4 and +8, and it will be either erodeproof or greased (but not both) with 33.3% probability each. There is a 50% chance that the weapon will be made into an artifact of the same type, if possible. There are no artifact short swords in the game, but plenty of artifact long swords, and a rogue's orcish dagger may turn out to be Grimtooth, if that artifact has not been generated yet.
Like other player monsters on the Astral Plane, rogues will also be equipped with 1d3 random offensive items, 1d3 random defensive items and 1d3 random miscellaneous items, as well as a randomly generated ascension kit containing dragon scale mail and various other pieces of armor (as well as a cheap plastic imitation of the Amulet of Yendor, some gold and other items).
- dat/Wizard.des in NetHack 3.6.0, line 367
- create_mplayers in mplayer.c
- dat/gehennom.des in NetHack 3.6.0, line 91
- src/sp_lev.c in NetHack 3.6.0, line 1896: the code is very cryptic but fortunately has comments
- mk_mplayer in mplayer.c
- Monsters' Equipment Spoiler by Boudewijn Waijers, Topi Linkala and Philip Potter