Difference between revisions of "Imp or minor demon"

From NetHackWiki
Jump to navigation Jump to search
(Generation: wiz quest)
(Common traits: word choice)
Line 11: Line 11:
  
 
==Common traits==
 
==Common traits==
All monsters in the class except the tengu are vulnerable to [[silver]], taking an extra d20 damage when struck with a silver item.{{refsrc|src/mondata.c|307|version=NetHack 3.6.7|comment=<code>hates_silver</code> function}} Tengu are distinct from imps and other minor demons, who in turn are distinct from the "major" [[demon]]s due to lacking the <code>[[M2_DEMON]]</code> flag{{refsrc|src/mondata.c|594|version=NetHack 3.6.7}}{{refsrc|src/mondata.c|599|version=NetHack 3.6.7}} - for instance, minor demons do not [[Death resistance|resist death magic]] or take damage from {{! of|holy water}}.
+
All monsters in the class except the tengu are vulnerable to [[silver]], taking an extra d20 damage when struck with a silver item{{refsrc|src/mondata.c|307|version=NetHack 3.6.7|comment=<code>hates_silver</code> function}} - this makes the tengu fairly distinct from other members of its class. The minor demons themselves are distinct from the "major" [[demon]]s due to lacking the <code>[[M2_DEMON]]</code> flag{{refsrc|src/mondata.c|594|version=NetHack 3.6.7}}{{refsrc|src/mondata.c|599|version=NetHack 3.6.7}} - for instance, minor demons do not [[Death resistance|resist death magic]] or take damage from {{! of|holy water}}.
  
 
===Generation===
 
===Generation===

Revision as of 23:26, 16 February 2024

The imp or minor demon is a monster class that appears in NetHack, and is represented by the lowercase i glyph (i). Imps and minor demons are designated internally by the macro S_IMP.[1]

The class contains the following monsters:[2]

Common traits

All monsters in the class except the tengu are vulnerable to silver, taking an extra d20 damage when struck with a silver item[3] - this makes the tengu fairly distinct from other members of its class. The minor demons themselves are distinct from the "major" demons due to lacking the M2_DEMON flag[4][5] - for instance, minor demons do not resist death magic or take damage from holy water.

Generation

The imp or minor demon is the first quest monster class for Knights, and makes up 24175 of the monsters that are randomly generated on the Knight quest. Random imps and minor demons are also generated on some levels of the quest below the home floor at level creation: one each is generated on the goal and lower filler level(s), and two are generated on the goal level.

Random imps and minor demons are also generated on all levels of the Wizard quest at level creation: two are generated on the home level; four are generated on the upper filler level; eight each are generated on the home level and goal level; and three each are generated on the lower filler level(s).

History

The imp and homunculus first appear in Hack for PDP-11, which is based on Jay Fenlason's Hack - both are included in the initial bestiary for Hack 1.0 alongside the tengu, which makes its debut in this version. The quasit first appears in NetHack 2.3e, where it appears if the KAA compile-time option is not defined, and is otherwise replaced by the quantum mechanic.

The imp or minor demon monster class first appears in NetHack 3.0.0 - the imp, homunculus, quasit, and tengu are all moved to the i glyph, and the manes and lemure are introduced. Both the quasit and quantum mechanic are also made part of the default bestiary.

Variants

SLASH'EM

SLASH'EM introduces a few new monsters to the class:

xNetHack

In xNetHack, all minor demons including tengu hate the touch of iron, taking an extra d6 damage when struck with an iron item.

References