Elemental
The elemental is a monster class that appears in NetHack, and is represented by the uppercase E glyph (E). Elementals are designated internally by the macro S_ELEMENTAL.[1]
The monster class contains the following monsters:[2]
Common traits
All elementals are strong, inediate and neutral-aligned monsters.
The four "primary" elementals are huge, mindless and unbreathing monsters that have vortex-like bodies with no eyes, head or limbs, and lack a sense of smell[3][4]—they also have an MR score of 30 and a minimum of poison resistance and stoning resistance. The stalker is the "odd one out" of the monster class in several aspects:
- It is considered to have animal intelligence, rather than being mindless.
- It is large in physical size, and its non-humanoid body has eyes, limbs and a head. Though it lacks a sense of smell, it breathes and has the ability to see invisible monsters.
- A hero that is polymorphed into a stalker can wear non-torso armor, including gloves.[5]
- It has a tendency to wander while moving. A hero that is polymorphed into a stalker will be stunned for the duration of their transformation, causing them to move in a somewhat similar fashion.[6]
- It can follow a hero to other dungeon levels if it is adjacent to them when they change levels.
Home planes
Each of the other four elementals besides the stalker also has an Elemental Plane that it considers to be its "home plane":[7] the Plane of Air is home for air elementals, the Plane of Fire is home for fire elementals, the Plane of Earth is home for earth elementals, and the Plane of Water is home for water elementals. An elemental's "home plane" is key in determining several attributes, including some related to the monster generation process.
- An elemental will not be randomly generated by normal means on any Elemental Plane other than its home plane.[8]
- An elemental that is generated on its home plane will have 3 times the normal amount of maximum HP.[9]
- An elemental that is currently on its home plane requires 3 times the normal amount of maximum HP gain from killing other monsters to raise its monster level.[10]
- An elemental that is currently on its home plane will not disappear through a magic portal upon moving onto its square.[11]
- An elemental that is currently on its home plane will deal doubled damage.[12]
- A hero that polymorphs into an elemental while on that elemental's home plane will have 3 times the normal amount of maximum HP.[13]
Generation
Randomly-generated elementals other than the stalker may be created as peaceful towards a neutral hero, and will otherwise be hostile (with stalkers always being hostile regardless).
The elemental is the first quest monster class for Monks, and makes up 24⁄175 of the monsters randomly generated on the Monk quest. Some elementals are also generated on floors below the home level of the quest branch at level creation: three are generated on the upper filler level, and two each are generated on the lower filler level(s). The elemental is also the second quest monster class for Samurai, and makes up 6⁄175 of the monsters randomly generated on the Samurai quest.
2 to 3 elementals will appear among the monsters generated in the central room of the Castle during level creation.
Minus the stalker, elementals do not leave behind corpses upon death.
History
The elemental monster class is introduced in NetHack 3.0.0 with the exception of the stalker. While the stalker first appears in Hack for PDP-11, which is based on Jay Fenlason's Hack, NetHack 3.3.0 is the first version to move the stalker to the elemental class, and repurposes its former I glyph to indicate the last known position of any invisible monster.
NetHack 5.0.0 grants doubled damage to elementals on their home plane via commit 253aea33.
Variants
SLASH'EM
In SLASH'EM, at least one elemental of each type is generated on a specific square within the Cloud Bank of the Lawful Quest at level creation, with a 3⁄5 chance of a second one of that type being placed nearby—four other random elementals are placed across the section as well.
The elemental is the first quest monster class for Flame Mages, and makes up 24⁄175 of the monsters randomly generated on the Flame Mage quest.
dNetHack
dNetHack adds many new monsters to the monster class:
- E dream quasielemental
- E lightning paraelemental
- E poison paraelemental
- E ice paraelemental
- E acid paraelemental
- E terracotta soldier
- E lethe elemental
- E mortai
- E ford guardian
The currently-deferred Eladrin Ladies have energy forms that are elementals, E: Gwynharwyf's energy form is the furious whirlwind, while Keto's is the ancient tempest. There is also an elemental monster attribute flag that is used for elemental-class monsters and other beings that are closely related to an elemental or else primarily composed of one.
Half-dragon Troubadours that reach experience level 14 can use the #ability extended command to sing elementals into being: this costs 45 energy and requires the ability to breathe, making it unusable if the hero is suffering from strangulation. If successful, the tame elemental is created adjacent to the hero, its monster level will be the average of the monster's base level and the hero's experience level, and its maximum HP is equal to (8*ML)-4. The type of elemental produced corresponds to the half-dragon hero's breath weapon: fire breath creates fire elementals, cold breath creates ice paraelementals, shock breath creates lightning paraelementals, acid breath creates acid paraelementals, poison breath creates poison paraelementals, and sleep breath creates dream quasielementals. Magic missile breath creates an energy vortex instead of an elemental.
Pentagrams and the Elder Elemental Eye are wards that can protect a hero against elementals at all levels of reinforcement.
SpliceHack
SpliceHack introduces several new monsters to the monster class:
- E mud elemental
- E acid elemental
- E ice elemental
- E magma elemental
- E plasma elemental
- E fusion elemental
SpliceHack also adds the scroll of elementalism, which can summon a random elemental.
EvilHack
In EvilHack, each non-stalker elemental now has a form of engulfing attack.
SlashTHEM
In addition to SLASH'EM details, SlashTHEM adds the following monsters to the monster class:
- E ice elemental
- E greater air elemental
- E greater earth elemental
- E greater fire elemental
- E greater water elemental
The four elementals from NetHack cannot grow up into their "greater" counterparts.
Each set of elementals has a quest artifact that can be invoked to summon a tame elemental, including the artifacts carried over from SLASH'EM:
- The Flame Mage quest artifact, The Candle of Eternal Flame, for fire elementals
- The Ice Mage quest artifact, The Storm Whistle, for ice elementals (changed from SLASH'EM)
- The Electric Mage quest artifact, The Harp of Lightning, for air elementals
- The Acid Mage quest artifact, The Flute of Slime, for earth elementals
- The Firefighter quest artifact, the Fire Chief Helmet, for water elementals
The invoke effects for the Acid and Electric Mage quest artifacts are based on the associations between particular elements in Dungeons & Dragons.
Each invoke effect has a 3⁄4 chance of generating a standard elemental of that type and a 1⁄4 chance of generating a greater elemental - for The Storm Whistle, it instead has a 1⁄4 chance of creating an ice elemental, and will otherwise create an ice vortex.
Encyclopedia entry
Elementals are manifestations of the basic nature of the
universe. There are four known forms of elementals: air, fire,
water, and earth. Some mystics have postulated the necessity
for a fifth type, the spirit elemental, but none have ever
been encountered, at least on this plane of existence.
References
- ↑ include/defsym.h in NetHack 5.0.0, line 331
- ↑ include/monsters.h in NetHack 5.0.0, line 1564
- ↑ src/polyself.c in NetHack 5.0.0, line 2133-L2134
- ↑ src/mondata.c in NetHack 5.0.0, line 1513
- ↑ src/polyself.c in NetHack 5.0.0, line 2118-L2119: presence of head for hero poly'd into stalker
- ↑ src/polyself.c in NetHack 5.0.0, line 87
- ↑ src/makemon.c in NetHack 5.0.0, line 32-L50: is_home_elemental() function
- ↑ src/makemon.c in NetHack 5.0.0, line 58-L59: (boolean) !is_home_elemental(ptr) in wrong_elem_type() returns FALSE for a home elemental (i.e., it is safe to generate) and TRUE otherwise
- ↑ src/makemon.c in NetHack 5.0.0, line 1043-L1044
- ↑ src/makemon.c in NetHack 5.0.0, line 2087-L2088
- ↑ src/teleport.c in NetHack 5.0.0, line 2033-L2043
- ↑ src/mhitu.c in NetHack 5.0.0, line 436-L441
- ↑ src/polyself.c in NetHack 5.0.0, line 869-L870