Difference between revisions of "Djinni"

From NetHackWiki
Jump to navigation Jump to search
(formatting + copyedit pass fin)
 
(36 intermediate revisions by 23 users not shown)
Line 1: Line 1:
 
{{monster
 
{{monster
  |symbol={{yellow|&}}
+
  |name=djinni
 
  |difficulty=8
 
  |difficulty=8
 
  |level=7
 
  |level=7
  |experience=100
+
  |experience=97
 
  |speed=12
 
  |speed=12
 
  |AC=4
 
  |AC=4
 
  |MR=30
 
  |MR=30
 
  |align=0
 
  |align=0
  |frequency=Not generated randomly
+
  |frequency=0
 
  |genocidable=No
 
  |genocidable=No
 
  |attacks=Weapon 2d8
 
  |attacks=Weapon 2d8
 +
|resistances conveyed=None
 +
|resistances=poison, petrification
 +
|attributes={{attributes|A djinni|humanoid=1|fly=1|pois=1|nopoly=1|stalk=1|collect=1|infravisible=1|nocorpse=1}}
 +
|size=Medium
 +
|nutr=400
 
  |weight=1500
 
  |weight=1500
|nutr=400
 
|size=Medium
 
|resistances=Poison, Stoning
 
|resistances conveyed=None
 
|attributes={{attributes|A djinni|=
 
|humanoid=1|fly=1|pois=1|nopoly=1|stalk=1|collect=1|infravisible=1|}}
 
 
  |reference=[[monst.c#line2782]]
 
  |reference=[[monst.c#line2782]]
 
}}
 
}}
  
The '''djinni''' is a [[monster]] in [[NetHack]]. It is only randomly generated on the [[Plane of Air]]. It can be found elsewhere by rubbing a [[magic lamp]] or drinking a [[smoky potion]]. A djinni generated this way might be tame, peaceful, or hostile; or it might simply disappear, sometimes granting a [[wish]] first. A tame djinni makes a powerful [[pet]] in the early game -- it is intelligent and will use weapons -- but a wish is almost always more useful. [[Blessed|Blessing]] the lamp or potion will increase the odds of receiving a wish.
+
A '''djinni''', {{monsym|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)|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 [[digest]]ed by another monster.
 +
 
 +
==Generation==
 +
{{Main|Magic lamp|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]] has a {{sfrac|1|13 + 2<var>n</var>}} chance of producing a djinni, where <var>n</var> is the number of djinn that have been created in that game{{refsrc|include/hack.h|440|nethack=3.6.7}} - the djinni may vanish immediately, remain behind as tame, peaceful or hostile, or even grant a [[wish]], with the chance dependent on the lamp's beatitude.
 +
 
 +
Quaffing a [[smoky potion]] also has a {{sfrac|1|13 + 2<var>n</var>}} chance of producing a djinni, where <var>n</var> is the number of djinn that have been created in that game{{refsrc|src/potion.c|553|nethack=3.6.7}} - unlike a magic lamp, generating a djinni this way affects generation odds for future smoky potions, and the odds of a generated djinni granting a wish, remaining as tame, etc. are equal. Djinn that would be created as hostile through either method still have a chance of being peaceful towards neutral characters.
 +
 
 +
Three hostile djinn are generated on the [[Plane of Air]] at level creation.
 +
 
 +
A djinni [[Corpseless|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.
  
Djinni are never randomly generated and besides the three that appear on the plane of air, only come from quaffing blessed smoky potions, rubbing magic lamps, applying figurines of djinni, or casting stone to flesh on
+
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.
a statue of a djinni.
 
  
A player or monster may not polymorph into a djinni.
+
==History==
 +
The djinni first appears alongside the magic lamp in [[NetHack 2.3e]].
  
== Encyclopedia entry ==
+
==Origin==
 
{{wikipedia|Genie}}
 
{{wikipedia|Genie}}
The djinn are genies from the elemental plane of Air.  There,
+
{{wikipedia|Genies in popular culture}}
among their kind, they have their own societies.  They are
+
''Jinn'' (Arabic: جِنّ‎, jinn) – also romanized as djinn or anglicized as genies – are creatures that originate in the early religion of pre-Islamic Arabia and other cultures in the west Asian region, and also feature in later Islamic culture and beliefs. Jinn may represent pagan beliefs integrated into Islam: they are neither innately good or evil, but considered subject to God's judgement as humans are, similar to other religions; the Quran also speaks against the practice of worshiping jinn or seeking protection from them, as was done in pre-Islamic Arabian practice. Though past Muslim scholarship was ambivalent towards jinn, contemporary Muslim scholarship increasingly associate the jinn with idolatry, insofar as humans should not rely on created things instead of God their creator.
sometimes encountered on earth and may even be summoned here
+
 
to perform some service for powerful wizards.  The wizards
+
Jinn are said to be composed of "smokeless fire" and can fly, turn invisible and change into many forms at will, including a human form; they do not usually meddle in human affairs and prefer to live with their own kind, but if injured by someone, they usually seek revenge or possess the assailant's body, refusing to leave until forced to by exorcism. Many people who believe in jinn wear amulets to protect themselves against the assaults of jinn, sent out by sorcerers and witches - it is commonly believed that jinn cannot hurt someone who wears something with the name of God written upon it. There are various types of jinn-like beings in Islamic cultures that are often conflated, including the ''[[Wikipedia:Marid|marid]]'' and ''[[Wikipedia:Ifrit|ifrit]]''.
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
+
''[[wikipedia:One Thousand and One Nights|One Thousand and One Nights]]'' contains some of the earliest depictions of genies and other similar beings in fiction - particularly the tale of ''[[wikipedia:Aladdin:Aladdin]]'' - and bases them on the Persian ''[[wikipedia:Div (mythology)|div]]'' rather than the Arabic jinn they are portrayed as in later adaptations. Later popular representations in Western culture, such as the 1704 French translation of ''One Thousand and One Nights'' that introduces the term "genie", associated the various beings with wish-granting and inhabiting magic lamps or bottles, which is why the djinn of ''NetHack'' can generate from lamps and potion bottles.
a lucky rogue, and some djinn are known to be so grateful
+
 
when released that they might grant their rescuer a wish.
+
The djinn of ''[[Dungeons & Dragons]]'' make their debut in the 1st Edition monster manual, where they are portrayed as a chaotic good type of genie associated with the element of air. Wild but ultimately benevolent, djinn are the most tolerant of temporary servitude among the genies, and are a stark contrast to the fiery efreet: an efreeti tends towards lawful evil and is often cruel, deceitful and vengeful - while no genie particularly enjoys enslavement, efreet dislike most other forms of servitude, and are much more likely to twist the intent of their master's commands while technically adhering to the letter. The marid and dao, genies associated with water and earth, are introduced later in 1st Edition material.
 +
 
 +
==Messages==
 +
The following messages can occur when you release a djinni from a magic lamp or a smoky potion.
 +
 
 +
{{message|"I am in your debt. I will grant one wish!"|You get a wish, then the released djinni will vanish.}}
 +
{{message|"Thank you for freeing me!"|The released djinni is [[tame]].}}
 +
{{message|"You freed me!"|The released djinni is peaceful.}}
 +
{{message|"It is about time!"|The released djinni simply vanishes.}}
 +
{{message|"You disturbed me, fool!"|The released djinni is hostile; due to generation rules, they may still be peaceful for a neutral character.}}
 +
{{message|"Sorry, I'm all out of wishes."|You have [[chat]]ted to a tame djinni.}}
 +
{{message|"I'm free!"|You chatted to a peaceful djinni.}}
 +
{{message|"This will teach you not to disturb me!"|You chatted to a hostile djinni.}}
 +
 
 +
==Variants==
 +
===SLASH'EM===
 +
In [[SLASH'EM]], tame djinn can be given as [[minion]]s to [[lawful]] players at [[experience level]] 11 or higher via [[sacrifice]] or [[pray]]er - the chance of obtaining one this way is {{frac|9}}, and increases by another {{frac|9}} for each level above 11, with the result that it becomes the only possible minion that will be generated for a character at level 19 or higher.
 +
 
 +
====Deferred features====
 +
[[NetHack--]] and [[SLASH 6]], which are precursors of SLASH'EM, add the [[efreeti]], [[dao]] and [[marid]] from ''Dungeons & Dragons'' - their deferred data can still be found in the code of SLASH'EM and [[SlashTHEM]]. Of note is that the efreeti and marid are [[hallucinatory monster]]s in vanilla ''NetHack'', and some of these genies also appear in other variants.
 +
 
 +
Each genie is associated with the same element as in ''Dungeons & Dragons'': djinn are tied to air, efreet to fire, marids to water, and dao to earth. They also possess the same weapon attack, and are not randomly generated:
 +
 
 +
* In [[NetHack-- 3.0.10]], only the djinni can be found in a potion or lamp, and the Elemental Planes do not yet exist, so it is currently unclear how a player can find the other three types, apart from wishing for a [[figurine]] or a [[statue]].
 +
* 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 ''NetHack''.
 +
 
 +
Though each genie has elemental affinities, only djinn are generated on any of the [[Elemental Planes]], where they appear on the Plane of Air.
 +
 
 +
===dNetHack===
 +
In [[dNetHack]], a [[candle of invocation]] can be [[invoked]] to summon a djinni for a wish.
 +
 
 +
The [[Law quest (dNethack)|Law quest]] has a [[statue]] of a djinni named "Qadeej, of the Wind Dukes of Aaqa" at the top of the Arcadian Tower where [[Oona]] resides - the statue is the only one on the level to not be [[Statue trap|trapped]], and contains [[dNetHack artifacts#The Rod of Seven Parts|The Rod of Seven Parts]].
 +
 
 +
===SpliceHack===
 +
[[SpliceHack]] adds marids and efreet, and introduces the [[jann]] (formerly the desert djinn) alongside them.
 +
 
 +
Fifteen djinn are generated on the [[City of Brass]] at level generation, with two of them peaceful and the rest being hostile.
 +
 
 +
===EvilHack===
 +
In [[EvilHack]], monsters can potentially make wishes if they generate a djinni from a smoky potion.
 +
 
 +
==Encyclopedia entry==
 +
{{encyclopedia|
 +
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==
 +
<references/>
 +
{{nethack-367}}
 
[[Category:Monsters]]
 
[[Category:Monsters]]

Latest revision as of 10:30, 16 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 has a 113 + 2n chance of producing a djinni, where n is the number of djinn that have been created in that game[1] - the djinni may vanish immediately, remain behind as tame, peaceful or hostile, or even grant a wish, with the chance dependent on the lamp's beatitude.

Quaffing a smoky potion also has a 113 + 2n chance of producing a djinni, where n is the number of djinn that have been created in that game[2] - unlike a magic lamp, generating a djinni this way affects generation odds for future smoky potions, and the odds of a generated djinni granting a wish, remaining as tame, etc. are equal. Djinn that would be created as hostile through either method still have a chance of being 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

Jinn (Arabic: جِنّ‎, jinn) – also romanized as djinn or anglicized as genies – are creatures that originate in the early religion of pre-Islamic Arabia and other cultures in the west Asian region, and also feature in later Islamic culture and beliefs. Jinn may represent pagan beliefs integrated into Islam: they are neither innately good or evil, but considered subject to God's judgement as humans are, similar to other religions; the Quran also speaks against the practice of worshiping jinn or seeking protection from them, as was done in pre-Islamic Arabian practice. Though past Muslim scholarship was ambivalent towards jinn, contemporary Muslim scholarship increasingly associate the jinn with idolatry, insofar as humans should not rely on created things instead of God their creator.

Jinn are said to be composed of "smokeless fire" and can fly, turn invisible and change into many forms at will, including a human form; they do not usually meddle in human affairs and prefer to live with their own kind, but if injured by someone, they usually seek revenge or possess the assailant's body, refusing to leave until forced to by exorcism. Many people who believe in jinn wear amulets to protect themselves against the assaults of jinn, sent out by sorcerers and witches - it is commonly believed that jinn cannot hurt someone who wears something with the name of God written upon it. There are various types of jinn-like beings in Islamic cultures that are often conflated, including the marid and ifrit.

One Thousand and One Nights contains some of the earliest depictions of genies and other similar beings in fiction - particularly the tale of wikipedia:Aladdin:Aladdin - and bases them on the Persian div rather than the Arabic jinn they are portrayed as in later adaptations. Later popular representations in Western culture, such as the 1704 French translation of One Thousand and One Nights that introduces the term "genie", associated the various beings with wish-granting and inhabiting magic lamps or bottles, which is why the djinn of NetHack can generate from lamps and potion bottles.

The djinn of Dungeons & Dragons make their debut in the 1st Edition monster manual, where they are portrayed as a chaotic good type of genie associated with the element of air. Wild but ultimately benevolent, djinn are the most tolerant of temporary servitude among the genies, and are a stark contrast to the fiery efreet: an efreeti tends towards lawful evil and is often cruel, deceitful and vengeful - while no genie particularly enjoys enslavement, efreet dislike most other forms of servitude, and are much more likely to twist the intent of their master's commands while technically adhering to the letter. The marid and dao, genies associated with water and earth, are introduced later in 1st Edition material.

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

SLASH'EM

In SLASH'EM, tame djinn can be given as minions to lawful players at experience level 11 or higher via sacrifice or prayer - the chance of obtaining one this way is 19, and increases by another 19 for each level above 11, with the result that it becomes the only possible minion that will be generated for a character at level 19 or higher.

Deferred features

NetHack-- and SLASH 6, which are precursors of SLASH'EM, add the efreeti, dao and marid from Dungeons & Dragons - their deferred data can still be found in the code of SLASH'EM and SlashTHEM. Of note is that the efreeti and marid are hallucinatory monsters in vanilla NetHack, and some of these genies also appear in other variants.

Each genie is associated with the same element as in Dungeons & Dragons: djinn are tied to air, efreet to fire, marids to water, and dao to earth. They also possess the same weapon attack, and are not randomly generated:

  • In NetHack-- 3.0.10, only the djinni can be found in a potion or lamp, and the Elemental Planes do not yet exist, so it is currently unclear how a player can find the other three types, apart from wishing for a figurine or a statue.
  • 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 NetHack.

Though each genie has elemental affinities, only djinn are generated on any of the Elemental Planes, where they appear on the Plane of Air.

dNetHack

In dNetHack, a candle of invocation can be invoked to summon a djinni for a wish.

The Law quest has a statue of a djinni named "Qadeej, of the Wind Dukes of Aaqa" at the top of the Arcadian Tower where Oona resides - the statue is the only one on the level to not be trapped, and contains The Rod of Seven Parts.

SpliceHack

SpliceHack adds marids and efreet, and introduces the jann (formerly the desert djinn) alongside them.

Fifteen djinn are generated on the City of Brass at level generation, with two of them peaceful and the rest being hostile.

EvilHack

In EvilHack, monsters can potentially make wishes if they generate a djinni from a smoky potion.

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