Convict (player monster)
A convict is a player monster added in the Convict patch, corresponding to the Convict role. Like other player monsters, convicts are never randomly generated and are thus rarely seen. No convicts 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 Convict while confused will summon a number of convict 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 convict left on a bones level will revive the corpse or statue as a player monster. Convict corpses will also be found in the Valley of the Dead, and a statue of a convict may appear on Medusa's Island.
Most convicts encountered in the main dungeon will turn out to be doppelgangers, which may temporarily assume the form of a convict.
A convict on the Astral Plane will carry either a long sword (50%) or a randomly chosen melee weapon (50%). 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.
Like other player monsters on the Astral Plane, convicts 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).
- create_mplayers in mplayer.c
- gehennom.des in NetHack 3.4.3, line 61
- sp_lev.c in NetHack 3.4.3, line 1004: 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