Difference between revisions of "Djinni"

From NetHackWiki
Jump to navigation Jump to search
m (it)
(last touches before rest)
Line 40: Line 40:
  
 
Djinn make decent pets since they can equip armor and wield weapons, but are generally loathed by players due to being the result of a "lost" wish.
 
Djinn make decent pets since they can equip armor and wield weapons, but are generally loathed by players due to being the result of a "lost" wish.
 +
 +
==History==
 +
The djinni first appears alongside the magic lamp in [[NetHack 2.3e]].
  
 
==Origin==
 
==Origin==
 
{{wikipedia|Genie}}
 
{{wikipedia|Genie}}
 +
{{wikipedia|Genie (Dungeons & Dragons)}}
  
 
==Messages==
 
==Messages==
Line 57: Line 61:
  
 
==Variants==
 
==Variants==
{{wikipedia|Genie (Dungeons & Dragons)}}
+
<!--copyedit this + origin, this was overdue on my part by about a couple of weeks at least-->
 
[[NetHack--]] and [[SLASH 6]] (precursors of SLASH'EM) and [[SlashTHEM]] add three more types of genie, all from ''[[Dungeons & Dragons]]'':
 
[[NetHack--]] and [[SLASH 6]] (precursors of SLASH'EM) and [[SlashTHEM]] add three more types of genie, all from ''[[Dungeons & Dragons]]'':
  
Line 81: Line 85:
 
when released that they might grant their rescuer a wish.
 
when released that they might grant their rescuer a wish.
 
}}
 
}}
 +
 +
==References==
 +
<references/>
 
{{nethack-367}}
 
{{nethack-367}}
 
[[Category:Monsters]]
 
[[Category:Monsters]]

Revision as of 15:38, 15 February 2024

A djinni, & (plural djinn), is a type of monster that appears in NetHack. The djinni is one of the few monsters in the demon monster class that is not a major demon. Djinn are capable of flight, will pick up and collect items, can be seen via infravision, and can follow the player character to other levels if they are adjacent.

A djinni has a single weapon attack, and possesses poison resistance and stoning resistance.

Djinns are poisonous to eat, which primarily comes up if they are digested by another monster.

Generation

Main articles: Magic lamp and smoky potion

Djinn are not randomly generated, and may be peaceful towards neutral characters. They are not a valid form for polymorph.

Rubbing a magic lamp will generate a djinni - the djinni may vanish immediately, or remain behind as tame, peaceful or hostile dependent on the lamp's beatitude, and even has a chance to grant a wish based on the lamp's beatitude. Quaffing a smoky potion has a 113 + 2n chance of producing a djinni, where n is the number of djinn that have been created in that game[1][2] - the odds of a generated djinni granting a wish or remaining as tame, peaceful, etc. are identical. Due to generation method, djinn that would be created as hostile may still be peaceful towards neutral characters.

Three hostile djinn are generated on the Plane of Air at level creation.

A djinni does not leave a corpse upon death.

Strategy

Early-game characters will want to be especially sure that any magic lamps they find are blessed, in order to minimize the chance of spawning a hostile djinni and subsequently dying. A particularly paranoid player may also want to save potential wishes from lamps or potions until they have sufficient armor or weapons to handle such a worst-case scenario - the djinn can hit for up to 16 base damage with its sole attack.

Djinn make decent pets since they can equip armor and wield weapons, but are generally loathed by players due to being the result of a "lost" wish.

History

The djinni first appears alongside the magic lamp in NetHack 2.3e.

Origin

Messages

The following messages can occur when you release a djinni from a magic lamp or a smoky potion.

"I am in your debt. I will grant one wish!"
You get a wish, then the released djinni will vanish.
"Thank you for freeing me!"
The released djinni is tame.
"You freed me!"
The released djinni is peaceful.
"It is about time!"
The released djinni simply vanishes.
"You disturbed me, fool!"
The released djinni is hostile; due to generation rules, they may still be peaceful for a neutral character.
"Sorry, I'm all out of wishes."
You have chatted to a tame djinni.
"I'm free!"
You chatted to a peaceful djinni.
"This will teach you not to disturb me!"
You chatted to a hostile djinni.

Variants

NetHack-- and SLASH 6 (precursors of SLASH'EM) and SlashTHEM add three more types of genie, all from Dungeons & Dragons:

Of note is that the efreeti and marid are referenced in regular NetHack as hallucinatory monsters.

None of the genies are randomly generated. In SLASH 6, any one of the four types can be found in a potion or magic lamp, with the same probabilities of granting wishes, etc. as a djinni in regular NetHack. (The code for randomly selecting one of the four types is present in the SlashTHEM source as well, but commented out.) Despite the elemental affinities of the three new genies, according to the D&D source, djinn remain the only species that are guaranteed to appear on any of the Elemental Planes. (In NetHack-- 3.0.10, only the djinni can be found in a potion or lamp, and the Elemental Planes do not exist, so it is unclear how a player can find the other three types, apart from wishing for a figurine or a statue.)

These genies are almost identical to the djinni in terms of statistics: The only significant differences are that in SLASH 6 the efreeti resists fire and electrical damage (only fire in NetHack-- 3.0.10) and the marid resists cold damage. In NetHack-- 3.0.10 the dao phases like an earth elemental while the other three genies can fly; in SLASH 6 all four are flyers. All four genies have the same 2d8 physical attack.

Encyclopedia entry

The djinn are genies from the elemental plane of Air. There,
among their kind, they have their own societies. They are
sometimes encountered on earth and may even be summoned here
to perform some service for powerful wizards. The wizards
often leave them about for later service, safely tucked away
in a flask or lamp. Once in a while, such a tool is found by
a lucky rogue, and some djinn are known to be so grateful
when released that they might grant their rescuer a wish.

References