Difference between revisions of "Elbereth"

From NetHackWiki
Jump to navigation Jump to search
m
m (revise)
 
(26 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{Wikipedia|Varda}}
 
{{Wikipedia|Varda}}
[[Image:Elbereth three scripts.JPG|thumb|right|The name "Elbereth" rendered in three of the writing systems created by J.R.R. Tolkien. From top to bottom: 1. The "tehta mode" of the [[wikipedia:Tengwar|Tengwar]] script; 2. The "Mode of Beleriand," another Tengwar script; 3. The [[wikipedia:Cirth|"Angerthas Moria"]] or "runic" script. The degradation patterns seem to imply the Latin alphabet is used for engravings by NetHack characters rather than any of these writing systems.]]
+
[[Image:Elbereth three scripts.JPG|thumb|right|The name "Elbereth" rendered in three of the writing systems created by J.R.R. Tolkien. From top to bottom: 1. The "tehta mode" of the [[wikipedia:Tengwar|Tengwar]] script; 2. The "Mode of Beleriand," another Tengwar script; 3. The [[wikipedia:Cirth|"Angerthas Moria"]] or "runic" script. The degradation patterns seem to imply the Latin alphabet is used for engravings by ''NetHack'' characters rather than any of these writing systems.]]
Parts of this entry were adapted from the NetHack Elbereth FAQ by Kate Nepveu
+
''Parts of this entry were adapted from the NetHack [http://www.steelypips.org/nethack/elbereth_faq.html Elbereth FAQ] by Kate Nepveu.''
  
'''Elbereth''' (also called the '''E-word''' or sometimes just '''E''') is, in the writings of [[J.R.R. Tolkien]], the name of a divine being worshipped by elves. [[Engraving]] her name on a square prevents most [[monster]]s from attacking [[you]] while you are on that square. Use of Elbereth is [[Why do I keep dying|a key survival strategy]] for new [[player|players and/or characters]], the difference between death and survival in many games. Therefore, it can be helpful to learn about the mechanics of Elbereth.
+
'''Elbereth''' (also called the '''E-word''' or sometimes just '''E''') is, in the writings of [[J.R.R. Tolkien]], the name of a divine being worshipped by elves. In ''[[Nethack]]'', [[engraving]] her name on a square prevents most [[monster]]s from attacking [[you]] while you are on that square. Use of Elbereth is [[Why do I keep dying|a key survival strategy]] for new [[player]]s or characters, and the difference between death and survival in many games.
  
 
==Effects==
 
==Effects==
A monster that ''respects'' Elbereth will not attack you in melee combat (hand to hand) or cast a directed spell at you while you are standing on a square where the word "Elbereth" is written. The word must be by itself on the square, with no extra characters before or after it. Elbereth has no effect on squares you're not occupying, making [[scrolls of scare monster]] more attractive, eg, for protecting a [[stash]].
+
A monster that ''respects'' Elbereth will not attack you in melee combat (hand to hand) or cast a directed spell at you while you are standing on a square where the word "Elbereth" is written. The word must be by itself on the square, with no extra characters before or after it. Elbereth has no effect on squares you are not occupying, making [[scrolls of scare monster]] more attractive for purposes such as protecting a [[stash]]. Additionally, monsters that respect Elbereth will be [[scare]]d if they are next to you and while you are standing on Elbereth.{{refsrc|monmove.c|240}} This causes them to flee. Most monsters in the game respect Elbereth; [[#Monsters that do not respect Elbereth|see below]] for exceptions.
  
Additionally, monsters that respect Elbereth will be [[scare]]d if they believe that they are next to you and that you are standing on Elbereth.{{refsrc|monmove.c|240}} This causes them to flee.
+
Elbereth will ''not'' protect you from any missile or spell attack, nor anything else that allows a monster to inflict damage from a distance, such as a [[dragon]]'s breath attack. It will not make monsters peaceful, or protect anything on another square (such as your pet); hostile monsters will still want to kill you, and will do anything they will ordinarily do to harm you, ''except'' attack you hand-to-hand. It will also not work in [[Gehennom]] or the [[endgame]]. ("The power of the Valar extends only so far.")
  
Attacking a monster by any means, or performing certain other hostile actions, will immediately erase any Elbereth engraving under you and reduce your [[alignment record]] by 5, with the message "You feel like a hypocrite."
+
Elbereth stops working when it degrades into a different word, so if you are writing in the dust ({{kbd|E}}{{kbd|-}}), you might want to continually check on it with the {{kbd|:}} key. Attacking a monster by any means, or performing certain other hostile actions, will immediately erase any Elbereth engraving under you and reduce your [[alignment record]] by 5. ("'''You feel like a hypocrite.'''")
  
Most monsters in the game respect Elbereth; the exceptions are generally human or human-like, and are noted [[#Monsters_that_do_not_respect_Elbereth|below]].
+
Partial exceptions exist where Elbereth will still protect you from non-melee; no monster already ''fleeing'' from you due to Elbereth can use its [[ranged attack]]s while adjacent, and are much less likely to do so even when not adjacent. Any [[dragon]] will choose [[melee]] over its [[breath]] weapon if it is adjacent to you, and if it cannot engage you because of Elbereth, it will not attack you at all.
 
 
Elbereth engraved onto a headstone will not work.{{reffunc|engrave.c|sengr_at|comment=Function used to check for Elbereths}} This is to prevent you from naming yourself "Elbereth" and making a permanently engraved Elbereth square when you die.
 
 
 
Take special care to note what Elbereth will ''not'' do. It will not protect you from any missile or spell attacks, or anything else that allows a monster to inflict damage from a distance, such as a [[dragon]]'s breath attack. It will not make monsters peaceful, or protect anything on another square (such as your pet). Hostile monsters will still want to kill you, and will do anything they will ordinarily do to harm you, ''except'' attack you hand-to-hand.  It will also not work in [[Gehennom]] *or* the [[Endgame]], as "The power of the Valar extends only so far".
 
 
 
Partial exceptions when Elbereth will still protect you from non-melee are: No monster already ''fleeing'' from you due to Elbereth can use its [[ranged attack]]s, absolutely while adjacent and at least with much smaller likelihood if not. Any [[dragon]] will choose [[melee]] over its [[breath]] weapon if it is adjacent to you, and if it cannot engage you because of Elbereth, it will not attack you at all.
 
  
 
Elbereth is case-insensitive, but engraving "Elbereth" as written, with capital "E", will exercise [[wisdom]], so it is most beneficial to do it this way. You can use Elbereth while engrave-testing wands for this added bonus.
 
Elbereth is case-insensitive, but engraving "Elbereth" as written, with capital "E", will exercise [[wisdom]], so it is most beneficial to do it this way. You can use Elbereth while engrave-testing wands for this added bonus.
  
Elbereth stops working when it degrades into a different word, so if you are writing in the dust ({{kbd|E}}{{kbd|-}}), you might want to continually check on it with the {{kbd|:}} key.
+
== Monsters that do not respect Elbereth ==
  
== Monsters that do not respect Elbereth ==
+
{{upcoming|NetHack 3.7.0|[[Unique monster]]s are no longer scared of Elbereth. Although the commit message for {{commit|dc9fe0d8bc96e006c119fa183c9c9a7c4cde2f53}} only mentions the scroll of scare monster, Elbereth is also affected because it is handled in the same function.}}
  
 
===Types of monster===
 
===Types of monster===
No monster represented by an [[@]]{{refsrc|monmove.c|134}} will respect the word; neither do any [[Angelic being|capital A]],{{refsrc|monmove.c|136|comment=<tt>mtmp->data == &mons[PM_ANGEL]</tt> covers angels and <tt>is_lminion(mtmp)</tt> covers (see {{sourcecode|mondata.h|22}}) monsters with the <tt>M2_MINION</tt> flag (<tt>is_minion</tt>) that are of lawful alignment (<tt>(mon)->data->maligntyp >= A_COALIGNED</tt>) with possible exception of angel. As in vanilla and variants all angelic being are lawful and have the M2_MINION flag (or are [[angel]]), this condition is equivalent to "any capital A" (or <tt>mtmp->data->mlet == S_ANGEL</tt>).}} [[minotaur]]s{{refsrc|monmove.c|137}} or the [[Riders]].{{refsrc|monmove.c|137}} [[Keystone Kops]] and their officers, while human for many game purposes, ''will'' respect Elbereth.<ref>{{sourcecode|monmove.c|899}}, {{sourcecode|mondata.h|84}}, {{sourcecode|monst.c|1603}}</ref> Shapechangers will respect it while they are in a form that otherwise would, and will not respect it while in a form that otherwise would not (such as a werecreature in human form). Certain monsters – [[shopkeeper]]s, [[guard]]s, [[high priest]]s and the [[Wizard of Yendor]] – will never respect it,{{refsrc|monmove.c|134}} even if they are polymorphed into a form that otherwise would.
+
No monster represented by {{mcsl|@}}{{refsrc|monmove.c|134}} or {{mcsl|A}}{{refsrc|monmove.c|136|comment=<tt>mtmp->data == &mons[PM_ANGEL]</tt> covers angels and <tt>is_lminion(mtmp)</tt> covers monsters with the <tt>M2_MINION</tt> flag (<tt>is_minion</tt>) that are of lawful alignment (<tt>(mon)->data->maligntyp >= A_COALIGNED</tt>) with the possible exception of [[angel]]s (see {{sourcecode|mondata.h|22}}). As all angelic beings in vanilla and most variants are lawful and have the M2_MINION flag (or are angels), this condition is equivalent to "any capital A" (or <tt>mtmp->data->mlet == S_ANGEL</tt>).}} will respect the word, nor will [[minotaur]]s,{{refsrc|monmove.c|137}} or the [[Riders]].{{refsrc|monmove.c|137}} The [[Keystone Kop (monster class)|Keystone Kops]], while also human, ''will'' respect Elbereth.{{refsrc|src/monmove.c|175|nethack=3.6.7|comment=<code>onscary</code> checks for <code>[[S_HUMAN]]</code> rather than the "human" monster attribute}} <ref>{{sourcecode|mondata.h|84}}, {{sourcecode|monst.c|1603}}</ref> Shapechangers will respect it while they are in a form that otherwise would, and will not respect it while in a form that otherwise would not (such as a werecreature in human form). Certain monsters – [[shopkeeper]]s, [[guard]]s, [[high priest]]s and the [[Wizard of Yendor]] – will never respect it,{{refsrc|monmove.c|134}} even if they are polymorphed into a form that otherwise would.
  
 
===Tame monsters===
 
===Tame monsters===
Any tame or peaceful monster will not respect Elbereth.{{refsrc|monmove.c|135}} This is obviously not a problem in terms of avoiding attacks, as these monsters generally won't attack you. But this does mean that if you plan on using [[conflict]] to dispose of a group of monsters while waiting on an Elbereth square, you may have to endure attacks from any pets you have with you.
+
Any tame or peaceful monster will not respect Elbereth.{{refsrc|monmove.c|135}} This is obviously not a problem in terms of avoiding attacks, as these monsters generally won't attack you. This ''does'' mean, however, that if you plan on using [[conflict]] to dispose of a group of monsters while waiting on an Elbereth square, you may have to endure attacks from any pets you have with you.
  
 
===Blinded monsters===
 
===Blinded monsters===
A blinded monster that can ordinarily see will not respect Elbereth while it is blind. Don't use a [[camera]], for instance, while you are hiding behind the power of Elbereth. Blind monsters can not read the word anymore and will attack you. Note that ''unseeing'' monsters, such as [[gelatinous cube]]s, which do not have sight in the first place, ''will'' respect Elbereth.
+
A blinded monster that can ordinarily see will not respect Elbereth while it is blind. This makes it unadvisable to use a [[camera]], for instance, while you are hiding behind the power of Elbereth; blind monsters can not read the word anymore and will attack you. This is distinct from [[eyeless]] monsters, such as [[gelatinous cube]]s, which do not have sight in the first place and ''will'' respect Elbereth.
  
 
== Chances of engraving ==
 
== Chances of engraving ==
As with any engraving, you are not guaranteed to engrave perfectly if you are impaired or writing in the dust. If you are writing in the dust (with fingers, a wand, a soft gem, etc.) or are scrawling in blood, your [[Engrave#Chances_of_engraving|chances of messing up each letter]]{{refsrc|engrave.c|999}} add up to a ((0.96+0.04*2/94)<sup>8</sup>) or ~72.7% on each attempt, as each of the eight letters in Elbereth must be engraved or "mis"-engraved correctly for the word to have power. It is entirely possible to require three, four, or even more attempts to get a correct "Elbereth" written in the dust, so you must not wait until you are one turn from death to get this done! If you can see, you can inspect your work with the "look" command, ('''[:]''') (this does not take a turn to do unless blind). You will also know it is working if you see the message, "The (monster) turns to flee."
+
You are not guaranteed to engrave perfectly if you are impaired (such as being [[blind]]) or writing in the dust. If you are writing in the dust (with fingers, a wand, a soft gem, etc.) or are scrawling in blood, your [[Engrave#Chances of engraving|chances of messing up each letter]]{{refsrc|engrave.c|999}} add up to a (0.96&nbsp;+ 0.04&nbsp;&times; {{sfrac|2|94}})<sup>8</sup> or about 72.7% on each attempt, as each of the eight letters in Elbereth must be engraved or "mis"-engraved correctly for the word to have power. It is entirely possible to require three, four, or even more attempts to get a correct "Elbereth" written in the dust, so you must not wait until you are one turn from death to get this done! If you can see, you can inspect your work with the "look" command, ('''[:]'''), which does not take a turn to do unless blind. You will also know it is working if you see the message, "The <monster> turns to flee."
  
 
== Speed and quality ==
 
== Speed and quality ==
Engraving techniques may be classified as fast (fingers, [[wand]], [[athame]]) or slow (other weapons, hard gems) (see [[Engraving#Speed]] for details). With a fast method, you can engrave up to 9 characters (enough for one Elbereth) immediately; this takes one move, and has immediate effect - affected monsters will not get another attack (if the engrave succeeds). This is almost always the preferred way to use Elbereth.
+
Engraving techniques may be classified as fast (fingers, [[wand]], [[athame]]) or slow (other weapons, hard gems) (see [[Engraving#Speed]] for details). With a fast method, you can engrave up to 9 characters (enough for one Elbereth) immediately; this takes one move, and has immediate effect&mdash;affected monsters will not get another attack (if the engrave succeeds). This is almost always the preferred way to use Elbereth.
 
 
Alternatively, you can engrave between 10 and 19 characters per game turn with a fast method, or 1 character per game turn with a slow method. This takes the whole turn ''to finish'', and is not effective until the turn is over, so monsters typically get an attack during that time (unless you are on a free turn due to being fast or very fast). And, while doing this, any existing engraving is obscured, so any Elbereths that you have already written are '''ineffective''' during this turn.
 
 
 
If you engrave multiple characters with a slow method, or more than 19 characters with a fast method, it takes more than 1 turn. Throughout these turns the engraving offers no protection and you are 'helpless': unlike reading a [[spellbook]] or eating a [[food ration]], you won't be interrupted if something attacks you. No monster will respect Elbereth until your entire engraving is finished.
 
 
 
So you usually want to use a fast method to engrave and write a single Elbereth. A fast method, even writing in the dust, is almost always preferable over a slow one.
 
  
 
Engravings may be classified as permanent (will not degrade), semi-permanent (will degrade slowly), or temporary (will degrade very quickly).
 
Engravings may be classified as permanent (will not degrade), semi-permanent (will degrade slowly), or temporary (will degrade very quickly).
  
For a permanent Elbereth, use a [[wand of fire]] or [[wand of lightning]] to burn it. The wand of lightning can blind you, but that is an acceptable risk during an emergency. (Note that the blindness takes effect ''after'' the engraving is completed--you will not increase your risk of misengraving through blindness.) Otherwise, unless you can easily [[cure blindness]] or protect your [[eyes]], avoid any engraving with the wand of lightning.  Permanent Elbereths are useful in combat situations, but because they always require a wand charge it is best to save them for difficult situations rather than using them routinely. Permanent Elbereths will not erode from being stood on or walked over, but can be eliminated through techniques such as engraving over them or engraving with a [[wand of polymorph]].
+
For a permanent Elbereth, use a [[wand of fire]] or [[wand of lightning]] to burn it. The wand of lightning can blind you, but that is an acceptable risk during an emergency. (Note that the blindness takes effect ''after'' the engraving is completed&mdash;you will not increase your risk of misengraving through blindness.) Otherwise, unless you can easily [[cure blindness]] or protect your [[eyes]], avoid any engraving with the wand of lightning.  Permanent Elbereths are useful in combat situations, but because they always require a wand charge, it is best to save them for difficult situations rather than using them routinely. Permanent Elbereths will not erode from being stood on or walked over, but can be eliminated through techniques such as engraving over them or engraving with a [[wand of polymorph]].
  
 
You can engrave a fast semi-permanent Elbereth using a non-cursed [[athame]], a [[wand of digging]] or a charged [[magic marker]] (consuming four charges). Athames are the best way to engrave Elbereth in routine combat as they engrave semi-permanently and are not reliant on charges. Unfortunately, athames are difficult to find. They are never randomly generated, so you need to pick one up from a [[master lich]]'s or [[arch-lich]]'s inventory, get gifted [[Magicbane]] from your [[god]] or [[wish]] for one. Wizards' first sacrifice gift is Magicbane so they have the easiest time getting hold of an athame.
 
You can engrave a fast semi-permanent Elbereth using a non-cursed [[athame]], a [[wand of digging]] or a charged [[magic marker]] (consuming four charges). Athames are the best way to engrave Elbereth in routine combat as they engrave semi-permanently and are not reliant on charges. Unfortunately, athames are difficult to find. They are never randomly generated, so you need to pick one up from a [[master lich]]'s or [[arch-lich]]'s inventory, get gifted [[Magicbane]] from your [[god]] or [[wish]] for one. Wizards' first sacrifice gift is Magicbane so they have the easiest time getting hold of an athame.
 +
 +
You can make a temporary "engraving" (actually just drawing in the dust on the floor, or writing in blood if you are polymorphed into a [[vampire]]) with your fingers by responding "-" when asked what to engrave with, or you can use a soft gemstone, or any wand other than fire, lightning, or digging (certain wands may have undesirable effects on the engraving itself, such as polymorphing it). This is fast, but subject to the {{frac|25}} chance of mis-engraving per letter, and any movement, such as fighting or throwing missiles, will damage the engraving. Even standing still on the engraving will eventually degrade it, as no one stands perfectly still. However, one can levitate after engraving to keep the engraving from being eroded (if it is not already).
  
 
Semi-permanent Elbereths will erode over time as they are walked over or stood upon, but not nearly as quickly as will temporary (finger) engravings. See [[Engraving#Durability]].
 
Semi-permanent Elbereths will erode over time as they are walked over or stood upon, but not nearly as quickly as will temporary (finger) engravings. See [[Engraving#Durability]].
 
You can make a temporary "engraving" (actually just drawing in the dust on the floor, or writing in blood if you are polymorphed into a [[vampire]]) with your fingers by responding "-" when asked what to engrave with, or you can use a soft gemstone, or any wand other than fire, lightning, or digging (certain wands may have undesirable effects on the engraving itself, such as polymorphing it). This is fast, but subject to the 1/25 chance of mis-engraving per letter, and any movement, such as fighting or throwing missiles, will damage the engraving. Even standing still on the engraving will eventually degrade it, as no one stands perfectly still. However, one can levitate after engraving to keep the engraving from being eroded (if it is not already).
 
  
 
===Slow engraving methods===
 
===Slow engraving methods===
 
 
Hard gemstones, any ring with a hard gemstone set in it, and bladed weapons can be used to engrave semi-permanent Elbereths, but these techniques are slow and will make weapons dull (other than athames which are fast to engrave and do not dull from it), and is thus generally not recommended.
 
Hard gemstones, any ring with a hard gemstone set in it, and bladed weapons can be used to engrave semi-permanent Elbereths, but these techniques are slow and will make weapons dull (other than athames which are fast to engrave and do not dull from it), and is thus generally not recommended.
  
 
If you really want to engrave with a slow method, do it one letter at a time as engraving more than one character at a time is dangerous due to being rendered helpless while engraving.
 
If you really want to engrave with a slow method, do it one letter at a time as engraving more than one character at a time is dangerous due to being rendered helpless while engraving.
  
Another drawback of slow engraving is that, if you only have slow ways to do a semi-permanent Elbereth, you have no safe way to repair it once it is eroded. You can't add a fast dust Elbereth over the top; and slow engraving obscures any Elbereth already on the ground, so you can't add more free semi-permanent Elbereths in safety. So you are then forced to use up a charge for a permanent Elbereth, or a wand of digging to update your semi-permanent Elbereth. Hence slow Elbereths are very unsuitable for combat situations.
+
Another drawback of slow engraving was that, if you only have slow ways to do a semi-permanent Elbereth, you have no safe way to repair it once it is eroded, because you can't add a fast dust Elbereth over the top. So you are then forced to use up a charge for a permanent Elbereth, or a wand of digging to update your semi-permanent Elbereth. Hence slow Elbereths are very unsuitable for combat situations.
  
A funny wrinkle in the engraving rules means that an ordinary +0 weapon will not be able to engrave the entire word "Elbereth" at one go--you will only get as far as "Elberet" before the weapon reaches -3 and is too dull for engraving. It ''will'' work, however, if you engrave first "Elb" (for minus one to the weapon), then add "ereth" to the current engraving (for an additional minus two).
+
A funny wrinkle in the engraving rules means that an ordinary +0 weapon will not be able to engrave the entire word "Elbereth" at one go&mdash;you will only get as far as "Elberet" before the weapon reaches -3 and is too dull for engraving. It ''will'' work, however, if you engrave first "Elb" (for minus one to the weapon), then add "ereth" to the current engraving (for an additional minus two).
  
 
=== Elbereth and levitation ===
 
=== Elbereth and levitation ===
If you [[levitation|levitate]] over an Elbereth, the word will take longer than normal to degrade as long as you are levitating over the square. Characters who can levitate may want to take advantage of this by engraving Elbereth and then levitating over it while fighting off large numbers of monsters. Note, however, that during an emergency, it is usually preferable to burn a permanent Elbereth using a wand, assuming that you have enough wand charges to spare.
+
If you [[levitation|levitate]] over an Elbereth, the word will take longer than normal to degrade as long as you are levitating over the square, providing an advantage while fighting off large numbers of monsters. Note, however, that during an emergency, it is usually preferable to burn a permanent Elbereth using a wand, assuming that you have enough wand charges to spare.
  
 
==Strategy==
 
==Strategy==
A good use of Elbereth, especially when surrounded, is to engrave it on the floor and wait for your [[HP]] to increase. Once they're good and high, scuff the engraving (to avoid the alignment record penalty) and resume attacking. Once monsters realize that you are no longer protected, engrave it again. This can be very useful for [[Experience_level|level grinding]].
+
A key insight for new players is that Elbereth can be pre-engraved on retreat squares long before the character gets into trouble.  Players may pause to engrave a durable form of Elbereth at various choke points in hallways (or just off them), near stairs, etc.  Cautious players may leave a trail of Elbereth-engraved squares leading back to [[stairs]], so that they are never far from safety. Elbereth should ''not'' be viewed as only a last resort when the character is down to 1 HP!
  
A key insight for new players is that Elbereth can be pre-engraved on retreat squares long before the character gets into trouble. Players may pause to engrave a durable form of Elbereth at various choke points in hallways (or just off them), near stairs, etc. Cautious players may leave a breadcrumb trail of Elbereth-engraved squares leading back to staircases so that they're never far from safety. Elbereth should not be viewed as only a last resort when the character is down to 1 HP.
+
Another good use of Elbereth, especially when surrounded, is to engrave it on the floor and wait for your [[HP]] to recover. Once you've recovered sufficiently, scuff the engraving and resume attacking. When monsters realize that you are no longer protected, engrave it again. This tactic can be very useful for [[Experience level|level grinding]].
  
Elbereth will make [[engulfing]] monsters expel you. If you can take the hit and do not have a sure-fire method, it is often better to start writing a sequence of several Elbereth in the dust because you will not be allowed to retry once you are inside.
+
If you engrave the word as "ElBereth", there's a 1 in 32 chance that when it degrades, it will degrade to "Elbereth", which will still protect you. This won't exercise wisdom, but has a small chance of saving your life in some desperate situations. Capitalizing other letters is not helpful, as only the capital letter B has a chance of degrading to its lowercase counterpart.
  
Sometimes, it is a worthwhile idea to prepare a semi-permanent Elbereth square in advance as a means of escape, e. g. some corner in Sokoban for pacifists without a pet.
 
<!--
 
Dedicated and experienced players sometimes use Elbereth to wage protracted sieges against tough monsters. This can even be effective on otherwise intractable [[black pudding]] filled [[bones]] levels: ("{{magenta|X}}" marks the farmer's loot pile!)
 
  
<div class="ttyscreen"><replacecharsblock rules="ttymap">
+
==History==
$=[[gold|{{yellow|$}}]]
+
Before [[NetHack 3.6.0]], the game [[Compile-time options|may be compiled without]] Elbereth (option name ELBERETH). The #version command will tell whether ''NetHack'' was compiled with or without the ELBERETH feature. Since 3.6.0 Elbereth is always included.
Q=[[warning|{{red|1}}]]
 
Y=[[warning|{{red|2}}]]
 
Z=[[black pudding|{{black|P}}]]
 
@=[[you|{{white|@}}]]
 
!=[[scroll|{{white|?}}]]
 
%=[[comestible|{{green|%}}]]
 
[=[[armor|{{blue|[}}]]
 
*=[[gem|{{yellow|*}}]]
 
U=[[weapon|{{cyan|)}}]]
 
T={{gray|T}}
 
S={{gray|S}}
 
C={{gray|C}}
 
I={{gray|I}}
 
W={{gray|W}}
 
B={{gray|$}}
 
59(59)={{white|59(59)}}
 
103(130)={{green|103(130)}}
 
P={{gray|P}}
 
&=[[door|{{brown|-}}]]
 
A={{gray|A}}
 
~=[[sink|{{gray|#}}]]
 
^=[[rock|{{gray|*}}]]
 
L={{magenta|X}}
 
  
What do you want to add to the writing in the dust here? Elbereth
+
Also, Elbereth was effectual even when you weren't on it so long as there was at least one object on said Elbereth square&mdash;similar to the current behavior of a [[scroll of scare monster]]. Because of this, a common technique used in many applications&mdash;commonly to herd monsters&mdash;would be to create a large number of Elbereth squares with a gold piece on them.  In addition, if Elbereth was present anywhere in the engraving (e.g. "EngberethElberethElbcrelh"), it would still constitute a valid Elbereth square, making engraving Elbereth multiple times and then fighting monsters a valid strategy.
  
                                      #                    #L#          -----
+
Before 3.6.0, one method of engraving multiple Elbereths was to engrave between 10 and 19 characters per game turn with a fast method, or 1 character per game turn with a slow method. This takes the whole turn ''to finish'', and was not effective until the turn is over, so monsters typically get an attack during that time (unless you are on a free turn due to being fast or very fast). And, while doing this, any existing engraving is obscured, so any Elbereths that you have already written are '''ineffective''' during this turn.
                                --------          -------.----        |  |
 
--------    ------------      |......|###QQ######.          |      ##.  |
 
|......|    U$*...!.....|#######......Y|#YY#Q######|          |      # |  |
 
|......|  #$$|$.........|      |.....Y|Z        #-      ~  -####### -----
 
|......&##$  |UU$$[$....|      --|-----@  YYY#Y###...........-    #
 
|......|#$#  ------$----- ########$$#$$$#  #YYYYY###################
 
|......|$          $              $      YY#YYYQ################  #
 
-----+--$        $$$              $                  ##  ###      #
 
      #  $        $                Q                        #      #
 
      #  $      $#                #      Y-Y-      --------+------#
 
    ##  $    --$-------          #      Y|YQ|      |>            |#
 
  -------#    |.$$$$$$.|      ---$-      |  |      |            |#
 
  |$^$$.|$    |.......$|      |...|      ----      |            .#
 
  |[<..$$$    |.......$|      |...|                ---------------
 
  |.%..$|      |.......$|      |$.~|
 
  -$-$-$-      |.......$$$#$#$$$-$..|
 
  # # #      ----------      -----
 
Tipmon the Thaumaturge    St:15 Dx:13 Co:16 In:19 Wi:13 Ch:12  Chaotic S:16449
 
Dlvl:6  B:745 HP:59(59) Pw:103(130) AC:6  Xp:9/3807 T:5575
 
</replacecharsblock></div>
 
  
(Credits, and congratulations to Tipmon on [[nao]].)
+
If you engrave multiple characters with a slow method, or more than 19 characters with a fast method, it takes more than 1 turn. Throughout these turns the engraving offers no protection and you are 'helpless': unlike reading a [[spellbook]] or eating a [[food ration]], you won't be interrupted if something attacks you. No monster will respect Elbereth until your entire engraving is finished.
-->
 
  
== Encyclopedia entry ==
+
Before 3.6.0, a special case prevented Elbereth engraved onto a headstone from working.{{reffunc|engrave.c|sengr_at|comment=Function used to check for Elbereths}} This was done specifically to prevent players from naming themselves "Elbereth" and making a permanently engraved Elbereth square when they die.  This special case is no longer necessary, because Elbereth needs to be the only text in the engraving, though it is still present in the code.
  
{{encyclopedia|
+
Additionally, Elbereth was effectual in [[Gehennom]] and the [[Endgame]].
... Even as they stepped over the threshold a single clear
 
voice rose in song.
 
  
        A Elbereth Gilthoniel,
+
In 3.6.0, Elbereth would not necessarily erode while attacking, but each time a monster flees from Elbereth, there is a chance that 1 character will be eroded on the square with the Elbereth engraving.{{refsrc|src/monmove.c|309|version=NetHack 3.6.0}} This applies even for engravings that would otherwise be permanent, such as those burned by a wand of fire or an engraving you are levitating over. The chance of a character being eroded in this way is 100% for an engraving in dust, {{frac|26}} for a semipermanent engraving, and {{frac|52}} for permanent.{{reffunc|src/engrave.c|wipe_engr_at|version=NetHack 3.6.0}} This is in addition to the [[Engraving#Durability|normal chance of erosion for any engraving]].
        silivren penna miriel
 
        o menel aglar elenath!
 
        Na-chaered palan-diriel
 
        o galadhremmin ennorath,
 
        Fanuilos, le linnathon
 
        nef aear, si nef aearon!
 
  
Frodo halted for a moment, looking back.  Elrond was in his
+
==Variants==
chair and the fire was on his face like summer-light upon the
+
===SLASH'EM===
trees.  Near him sat the Lady Arwen.  [...]
+
In [[SLASH'EM]], a lit [[lightsaber]] can be used to burn Elbereth into the floor, as if using a wand of fire or lightning.
He stood still enchanted, while the sweet syllables of the
 
elvish song fell like clear jewels of blended word and melody.
 
"It is a song to Elbereth," said Bilbo.  "They will sing that,
 
and other songs of the Blessed Realm, many times tonight.
 
Come on!"
 
|[ The Fellowship of the Ring, by J.R.R. Tolkien ]
 
}}
 
  
== Versioning ==
+
===NetHack brass===
Before [[NetHack 3.6.0]], the game [[Compile-time options|may be compiled without]] Elbereth (option name ELBERETH). The #version command will tell whether NetHack was compiled with or without the ELBERETH feature. Since 3.6.0 Elbereth is always included.
+
Avoid engraving Elbereth with wands in [[NetHack brass]]. While vanilla uses 1 wand charge per engraving, NetHack brass can consume extra charges. An engraving with a wand of fire, for example, costs the usual 1 charge engraving with a wand, an extra 1 charge because the wand is a wand of fire, ''plus'' 1 charge for ''each'' letter engraved. To burn Elbereth successfully, you would need 10 charges in your wand of fire; you probably do not have them.
  
== Variants ==
+
===SporkHack===
 +
In [[SporkHack]], Elbereth doesn't always work. On weaker monsters, it works most of the time, but especially against higher-level monsters it's no longer perfect protection. That said, it works often enough that it's almost certainly worth using everywhere that it's worth using in vanilla or [[SLASH'EM]].
  
=== Before NetHack 3.6.1 ===
+
===UnNetHack===
Before [[NetHack 3.6.0]], Elbereth was effectual even when you weren't on it so long as there was at least one object on said Elbereth square -- similar to the current behavior of a [[scroll of scare monster]]. Because of this, a common technique used in many applications -- commonly to herd monsters -- would be to create a large number of Elbereth squares with a gold piece on them.  In addition, if Elbereth was present anywhere in the engraving (eg "EngberethElberethElbcrelh"), it would still constitute a valid Elbereth square, making engraving Elbereth multiple times and then fighting monsters a valid strategy.
+
In [[UnNetHack]], "Elbereth" will appear in your status line while you are standing on an active Elbereth engraving, unless you are [[blind]]. UnNetHack specifically tracks the number of times you completed an engraving of Elbereth in your [[conduct]]s, including if you have never engraved or used Elbereth at all.
  
Additionally, before [[NetHack 3.6.0]] Elbereth was effectual in [[Gehennom]] and the [[Endgame]].
+
"Elbereth" can be automatically written on your current square using using {{kbd|ctrl|e}} - if you are wielding a known non-cursed [[athame]], you will engrave using that weapon, and will write it in the dust with your fingers otherwise.
  
In 3.6.0, Elbereth was made ineffective in Gehennom and the Planes, restricted to the square you occupied, and required to be at the beginning of the engraving. It would not necessarily erode while attacking, but each time a monster flees from Elbereth, there is a chance that 1 character will be eroded on the square with the Elbereth engraving{{refsrc|src/monmove.c|309|version=NetHack 3.6.0}}. This applies even for engravings that would otherwise be permanent, such as those burned by a wand of fire or an engraving you are levitating over. The chance of a character being eroded in this way is 100% for an engraving in dust, 1/26 for a semipermanent engraving, and 1/52 for permanent{{reffunc|src/engrave.c|wipe_engr_at|version=NetHack 3.6.0}}. This is in addition to the [[Engraving#Durability|normal chance of erosion for any engraving]].
+
As of version 4.0.0, [[minotaur]]s respect Elbereth, while the following additional monsters will no longer respect Elbereth:{{refsrc|src/monmove.c|146|unnethack=1406}}
 
 
=== UnNetHack ===
 
In [[UnNetHack]], "Elbereth" can be written in the dust with your fingers with {{kbd|ctrl|e}}. If you are wielding an [[athame]], that will be used instead. Beware: this shortcut will ''not'' automatically switch back to your fingers if you wield a cursed athame.
 
 
 
UnNetHack tracks the number of times Elbereth is engraved in your conducts; specifically, how many engravings of Elbereth were successfully completed by you.
 
 
 
As of version 4.0.0 of [[UnNetHack]], [[minotaur]]s now respect Elbereth. However, the following additional monsters will no longer respect Elbereth{{refsrc|src/monmove.c|146|unnethack=1406}}:
 
  
 +
* [[shopkeeper]]s in their [[shop]]s
 +
* [[aligned priest]]s in their [[temple]]s
 +
* the [[Watcher in the Water]]
 
* [[Cthulhu]]
 
* [[Cthulhu]]
 
* [[Vlad the Impaler]]
 
* [[Vlad the Impaler]]
Line 183: Line 105:
 
* all unique demons
 
* all unique demons
  
=== NetHack 4 ===
+
===AceHack===
 +
In [[AceHack]], the word "Elbereth" has no special meaning, but a heptagram is an incredibly similar concept, a shape that can be engraved on the ground that repels monsters. It is identical to an Elbereth in vanilla ''NetHack'', except that it does not exercise wisdom when engraved. Because it is a shape rather than a word, it cannot be engraved directly using the normal methods; instead, after pressing {{kbd|E}} and choosing an item or fingers to engrave with, a heptagram is drawn by pressing {{kbd|h}}. Also, a heptagram can be quickly dust-engraved by pressing {{kbd|.}}; this is the usual way to draw heptagrams in AceHack.
 +
 
 +
===NetHack 4===
 
[[NetHack 4]], like UnNetHack, allows Elbereth to be written in the dust with your fingers with {{kbd|ctrl|e}}, but doesn't make use of a wielded athame.
 
[[NetHack 4]], like UnNetHack, allows Elbereth to be written in the dust with your fingers with {{kbd|ctrl|e}}, but doesn't make use of a wielded athame.
  
Line 190: Line 115:
 
Elbereth can be disabled entirely in a game of NetHack 4 by setting the '<tt>elbereth</tt>' birth option to '<tt>false</tt>' before starting a new character.
 
Elbereth can be disabled entirely in a game of NetHack 4 by setting the '<tt>elbereth</tt>' birth option to '<tt>false</tt>' before starting a new character.
  
=== SLASH'EM ===
+
===dNetHack===
You can burn Elbereth into the floor with a lit [[lightsaber]] as if using a wand of fire or lightning.
+
{{main|Elbereth (dNetHack)}}
 +
[[dNetHack]] and [[notdNetHack]] favor the use of [[ward]]s as a primary engraving defense, which the character can learn from [[spellbooks]] and other sources. Elbereth is still present in both variants, with different effects for [[Elf (starting race)|elven]] and non-elven characters, and can be used in addition to wards: a single square may contain both a ward and an engraving. See the article linked at the top of the section for more information.
  
=== NetHack brass ===
+
[[Lolth (dNetHack)|Lolth's name]] serves a similar function for most [[Drow (starting race)|drow]] as Elbereth does for elves.
Avoid engraving Elbereth with wands in [[NetHack brass]]. While [[vanilla]] uses 1 wand charge per engraving, NetHack brass can consume extra charges. An engraving with a wand of fire, for example, costs the usual 1 charge engraving with a wand, an extra 1 charge because the wand is a wand of fire, ''plus'' 1 charge for ''each'' letter engraved. To burn Elbereth successfully, you would need 10 charges in your wand of fire; you probably do not have them.
 
  
=== SporkHack ===
+
===FIQHack===
In [[SporkHack]], Elbereth doesn't always work. On weaker monsters, it works most of the time, but especially against higher-level monsters it's no longer perfect protection. That said, it works often enough that it's almost certainly worth using everywhere that it's worth using in vanilla or [[SLASH'EM]].
+
[[FIQHack]] has two Elbereth changes ported from vanilla 3.6.x:
 +
* Elbereth no longer works just because there is an object on the same square.
 +
* Attacking while standing on Elbereth will cause it to vanish.
 +
 
 +
Additionally:
 +
* [[Quest nemeses]] no longer respect Elbereth.
 +
* [[Conflict]] deactivates Elbereth.
 +
 
 +
===EvilHack===
 +
In [[EvilHack]], Elbereth cannot be engraved until your character gains knowledge of the name from another source. With the exception of bones, Elbereth can be learned from the following sources:
  
=== AceHack ===
+
* [[Sokoban]], where Elbereth is engraved under each of the prizes
In [[AceHack]], the word "Elbereth" has no special meaning, but a '''heptagram''' is an incredibly similar concept, a shape that can be engraved on the ground that repels monsters. It is identical to an Elbereth in vanilla NetHack, except that it does not exercise wisdom when engraved. Because it is a shape rather than a word, it cannot be engraved directly using the normal methods; instead, after pressing {{kbd|E}} and choosing an item or fingers to engrave with, a heptagram is drawn by pressing {{kbd|h}}. Also, a heptagram can be quickly dust-engraved by pressing {{kbd|.}}; this is the usual way to draw heptagrams in AceHack.
+
* [[Mines End]], which contains an Elbereth engraving in some layouts
 +
* The [[Oracle]], who can reveal the use of Elbereth via consultations
  
=== Slash'EM Extended ===
+
===Hack'EM===
In [[Slash'EM Extended]], Elbereth doesn't always work (see SporkHack section). Even if it works, the monster may just be "startled for a moment" instead of turning to flee, however there is a small chance that @, A or other non-Elbereth-respecting monsters will be affected. Unique monsters (including [[Demogorgon]] and other demon lords/princes), quest nemeses and other very powerful monsters are still immune, though.
+
In [[Hack'EM]], Elbereth must be learned from another source as in EvilHack, and can occur via the additional sources below:
  
Unlike SLASH'EM, a lit lightsaber cannot burn engravings in Slash'EM Extended. It can, however, create hard engravings similar to an athame or wand of digging.
+
* Player [[Elf (starting race)|elves]] and [[Hobbit (starting race)|hobbits]] start with knowledge of Elbereth.
 +
* A lawful character that is [[crowned]] will be taught Elbereth if they have not learned of it already.
  
The wand of digging can engrave up to 50 characters, or 6 Elbereths, in a single turn.
+
Conflict negates Elbereth, and orcs cannot learn or use it even if polymorphed.
  
=== dNetHack ===
+
==Encyclopedia entry==
dNetHack has phased out Elbereth in favor of [[ward|wards]], which your character learns from [[spellbooks]]. Elbereth still works against [[orc]]s and [[Nazgul]], however.
+
{{encyclopedia|
 +
... Even as they stepped over the threshold a single clear
 +
voice rose in song.
 +
 
 +
        A Elbereth Gilthoniel,
 +
        silivren penna miriel
 +
        o menel aglar elenath!
 +
        Na-chaered palan-diriel
 +
        o galadhremmin ennorath,
 +
        Fanuilos, le linnathon
 +
        nef aear, si nef aearon!
  
==References==
+
Frodo halted for a moment, looking back.  Elrond was in his
<references/>
+
chair and the fire was on his face like summer-light upon the
 +
trees.  Near him sat the Lady Arwen.  [...]
 +
He stood still enchanted, while the sweet syllables of the
 +
elvish song fell like clear jewels of blended word and melody.
 +
"It is a song to Elbereth," said Bilbo.  "They will sing that,
 +
and other songs of the Blessed Realm, many times tonight.
 +
Come on!"
 +
|[ The Fellowship of the Ring, by J.R.R. Tolkien ]
 +
}}
  
== See also ==
+
==See also==
 
* [[Scroll of scare monster]]
 
* [[Scroll of scare monster]]
 
* [http://www.steelypips.org/nethack/elbereth_faq.html Elbereth FAQ] by Kate Nepveu
 
* [http://www.steelypips.org/nethack/elbereth_faq.html Elbereth FAQ] by Kate Nepveu
 +
 +
==References==
 +
<references/>
 
{{nethack-361|offset=1}}
 
{{nethack-361|offset=1}}
 
{{featured}}
 
{{featured}}
 +
[[Category:Gods]]
 
[[Category:Strategy]]
 
[[Category:Strategy]]
[[Category:Gods]]
 

Latest revision as of 10:49, 25 April 2024

The name "Elbereth" rendered in three of the writing systems created by J.R.R. Tolkien. From top to bottom: 1. The "tehta mode" of the Tengwar script; 2. The "Mode of Beleriand," another Tengwar script; 3. The "Angerthas Moria" or "runic" script. The degradation patterns seem to imply the Latin alphabet is used for engravings by NetHack characters rather than any of these writing systems.

Parts of this entry were adapted from the NetHack Elbereth FAQ by Kate Nepveu.

Elbereth (also called the E-word or sometimes just E) is, in the writings of J.R.R. Tolkien, the name of a divine being worshipped by elves. In Nethack, engraving her name on a square prevents most monsters from attacking you while you are on that square. Use of Elbereth is a key survival strategy for new players or characters, and the difference between death and survival in many games.

Effects

A monster that respects Elbereth will not attack you in melee combat (hand to hand) or cast a directed spell at you while you are standing on a square where the word "Elbereth" is written. The word must be by itself on the square, with no extra characters before or after it. Elbereth has no effect on squares you are not occupying, making scrolls of scare monster more attractive for purposes such as protecting a stash. Additionally, monsters that respect Elbereth will be scared if they are next to you and while you are standing on Elbereth.[1] This causes them to flee. Most monsters in the game respect Elbereth; see below for exceptions.

Elbereth will not protect you from any missile or spell attack, nor anything else that allows a monster to inflict damage from a distance, such as a dragon's breath attack. It will not make monsters peaceful, or protect anything on another square (such as your pet); hostile monsters will still want to kill you, and will do anything they will ordinarily do to harm you, except attack you hand-to-hand. It will also not work in Gehennom or the endgame. ("The power of the Valar extends only so far.")

Elbereth stops working when it degrades into a different word, so if you are writing in the dust (E-), you might want to continually check on it with the : key. Attacking a monster by any means, or performing certain other hostile actions, will immediately erase any Elbereth engraving under you and reduce your alignment record by 5. ("You feel like a hypocrite.")

Partial exceptions exist where Elbereth will still protect you from non-melee; no monster already fleeing from you due to Elbereth can use its ranged attacks while adjacent, and are much less likely to do so even when not adjacent. Any dragon will choose melee over its breath weapon if it is adjacent to you, and if it cannot engage you because of Elbereth, it will not attack you at all.

Elbereth is case-insensitive, but engraving "Elbereth" as written, with capital "E", will exercise wisdom, so it is most beneficial to do it this way. You can use Elbereth while engrave-testing wands for this added bonus.

Monsters that do not respect Elbereth

The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

Unique monsters are no longer scared of Elbereth. Although the commit message for commit dc9fe0d8 only mentions the scroll of scare monster, Elbereth is also affected because it is handled in the same function.

Types of monster

No monster represented by @[2] or A[3] will respect the word, nor will minotaurs,[4] or the Riders.[5] The Keystone Kops, while also human, will respect Elbereth.[6] [7] Shapechangers will respect it while they are in a form that otherwise would, and will not respect it while in a form that otherwise would not (such as a werecreature in human form). Certain monsters – shopkeepers, guards, high priests and the Wizard of Yendor – will never respect it,[8] even if they are polymorphed into a form that otherwise would.

Tame monsters

Any tame or peaceful monster will not respect Elbereth.[9] This is obviously not a problem in terms of avoiding attacks, as these monsters generally won't attack you. This does mean, however, that if you plan on using conflict to dispose of a group of monsters while waiting on an Elbereth square, you may have to endure attacks from any pets you have with you.

Blinded monsters

A blinded monster that can ordinarily see will not respect Elbereth while it is blind. This makes it unadvisable to use a camera, for instance, while you are hiding behind the power of Elbereth; blind monsters can not read the word anymore and will attack you. This is distinct from eyeless monsters, such as gelatinous cubes, which do not have sight in the first place and will respect Elbereth.

Chances of engraving

You are not guaranteed to engrave perfectly if you are impaired (such as being blind) or writing in the dust. If you are writing in the dust (with fingers, a wand, a soft gem, etc.) or are scrawling in blood, your chances of messing up each letter[10] add up to a (0.96 + 0.04 × 294)8 or about 72.7% on each attempt, as each of the eight letters in Elbereth must be engraved or "mis"-engraved correctly for the word to have power. It is entirely possible to require three, four, or even more attempts to get a correct "Elbereth" written in the dust, so you must not wait until you are one turn from death to get this done! If you can see, you can inspect your work with the "look" command, ([:]), which does not take a turn to do unless blind. You will also know it is working if you see the message, "The <monster> turns to flee."

Speed and quality

Engraving techniques may be classified as fast (fingers, wand, athame) or slow (other weapons, hard gems) (see Engraving#Speed for details). With a fast method, you can engrave up to 9 characters (enough for one Elbereth) immediately; this takes one move, and has immediate effect—affected monsters will not get another attack (if the engrave succeeds). This is almost always the preferred way to use Elbereth.

Engravings may be classified as permanent (will not degrade), semi-permanent (will degrade slowly), or temporary (will degrade very quickly).

For a permanent Elbereth, use a wand of fire or wand of lightning to burn it. The wand of lightning can blind you, but that is an acceptable risk during an emergency. (Note that the blindness takes effect after the engraving is completed—you will not increase your risk of misengraving through blindness.) Otherwise, unless you can easily cure blindness or protect your eyes, avoid any engraving with the wand of lightning. Permanent Elbereths are useful in combat situations, but because they always require a wand charge, it is best to save them for difficult situations rather than using them routinely. Permanent Elbereths will not erode from being stood on or walked over, but can be eliminated through techniques such as engraving over them or engraving with a wand of polymorph.

You can engrave a fast semi-permanent Elbereth using a non-cursed athame, a wand of digging or a charged magic marker (consuming four charges). Athames are the best way to engrave Elbereth in routine combat as they engrave semi-permanently and are not reliant on charges. Unfortunately, athames are difficult to find. They are never randomly generated, so you need to pick one up from a master lich's or arch-lich's inventory, get gifted Magicbane from your god or wish for one. Wizards' first sacrifice gift is Magicbane so they have the easiest time getting hold of an athame.

You can make a temporary "engraving" (actually just drawing in the dust on the floor, or writing in blood if you are polymorphed into a vampire) with your fingers by responding "-" when asked what to engrave with, or you can use a soft gemstone, or any wand other than fire, lightning, or digging (certain wands may have undesirable effects on the engraving itself, such as polymorphing it). This is fast, but subject to the 125 chance of mis-engraving per letter, and any movement, such as fighting or throwing missiles, will damage the engraving. Even standing still on the engraving will eventually degrade it, as no one stands perfectly still. However, one can levitate after engraving to keep the engraving from being eroded (if it is not already).

Semi-permanent Elbereths will erode over time as they are walked over or stood upon, but not nearly as quickly as will temporary (finger) engravings. See Engraving#Durability.

Slow engraving methods

Hard gemstones, any ring with a hard gemstone set in it, and bladed weapons can be used to engrave semi-permanent Elbereths, but these techniques are slow and will make weapons dull (other than athames which are fast to engrave and do not dull from it), and is thus generally not recommended.

If you really want to engrave with a slow method, do it one letter at a time as engraving more than one character at a time is dangerous due to being rendered helpless while engraving.

Another drawback of slow engraving was that, if you only have slow ways to do a semi-permanent Elbereth, you have no safe way to repair it once it is eroded, because you can't add a fast dust Elbereth over the top. So you are then forced to use up a charge for a permanent Elbereth, or a wand of digging to update your semi-permanent Elbereth. Hence slow Elbereths are very unsuitable for combat situations.

A funny wrinkle in the engraving rules means that an ordinary +0 weapon will not be able to engrave the entire word "Elbereth" at one go—you will only get as far as "Elberet" before the weapon reaches -3 and is too dull for engraving. It will work, however, if you engrave first "Elb" (for minus one to the weapon), then add "ereth" to the current engraving (for an additional minus two).

Elbereth and levitation

If you levitate over an Elbereth, the word will take longer than normal to degrade as long as you are levitating over the square, providing an advantage while fighting off large numbers of monsters. Note, however, that during an emergency, it is usually preferable to burn a permanent Elbereth using a wand, assuming that you have enough wand charges to spare.

Strategy

A key insight for new players is that Elbereth can be pre-engraved on retreat squares long before the character gets into trouble. Players may pause to engrave a durable form of Elbereth at various choke points in hallways (or just off them), near stairs, etc. Cautious players may leave a trail of Elbereth-engraved squares leading back to stairs, so that they are never far from safety. Elbereth should not be viewed as only a last resort when the character is down to 1 HP!

Another good use of Elbereth, especially when surrounded, is to engrave it on the floor and wait for your HP to recover. Once you've recovered sufficiently, scuff the engraving and resume attacking. When monsters realize that you are no longer protected, engrave it again. This tactic can be very useful for level grinding.

If you engrave the word as "ElBereth", there's a 1 in 32 chance that when it degrades, it will degrade to "Elbereth", which will still protect you. This won't exercise wisdom, but has a small chance of saving your life in some desperate situations. Capitalizing other letters is not helpful, as only the capital letter B has a chance of degrading to its lowercase counterpart.


History

Before NetHack 3.6.0, the game may be compiled without Elbereth (option name ELBERETH). The #version command will tell whether NetHack was compiled with or without the ELBERETH feature. Since 3.6.0 Elbereth is always included.

Also, Elbereth was effectual even when you weren't on it so long as there was at least one object on said Elbereth square—similar to the current behavior of a scroll of scare monster. Because of this, a common technique used in many applications—commonly to herd monsters—would be to create a large number of Elbereth squares with a gold piece on them. In addition, if Elbereth was present anywhere in the engraving (e.g. "EngberethElberethElbcrelh"), it would still constitute a valid Elbereth square, making engraving Elbereth multiple times and then fighting monsters a valid strategy.

Before 3.6.0, one method of engraving multiple Elbereths was to engrave between 10 and 19 characters per game turn with a fast method, or 1 character per game turn with a slow method. This takes the whole turn to finish, and was not effective until the turn is over, so monsters typically get an attack during that time (unless you are on a free turn due to being fast or very fast). And, while doing this, any existing engraving is obscured, so any Elbereths that you have already written are ineffective during this turn.

If you engrave multiple characters with a slow method, or more than 19 characters with a fast method, it takes more than 1 turn. Throughout these turns the engraving offers no protection and you are 'helpless': unlike reading a spellbook or eating a food ration, you won't be interrupted if something attacks you. No monster will respect Elbereth until your entire engraving is finished.

Before 3.6.0, a special case prevented Elbereth engraved onto a headstone from working.[11] This was done specifically to prevent players from naming themselves "Elbereth" and making a permanently engraved Elbereth square when they die. This special case is no longer necessary, because Elbereth needs to be the only text in the engraving, though it is still present in the code.

Additionally, Elbereth was effectual in Gehennom and the Endgame.

In 3.6.0, Elbereth would not necessarily erode while attacking, but each time a monster flees from Elbereth, there is a chance that 1 character will be eroded on the square with the Elbereth engraving.[12] This applies even for engravings that would otherwise be permanent, such as those burned by a wand of fire or an engraving you are levitating over. The chance of a character being eroded in this way is 100% for an engraving in dust, 126 for a semipermanent engraving, and 152 for permanent.[13] This is in addition to the normal chance of erosion for any engraving.

Variants

SLASH'EM

In SLASH'EM, a lit lightsaber can be used to burn Elbereth into the floor, as if using a wand of fire or lightning.

NetHack brass

Avoid engraving Elbereth with wands in NetHack brass. While vanilla uses 1 wand charge per engraving, NetHack brass can consume extra charges. An engraving with a wand of fire, for example, costs the usual 1 charge engraving with a wand, an extra 1 charge because the wand is a wand of fire, plus 1 charge for each letter engraved. To burn Elbereth successfully, you would need 10 charges in your wand of fire; you probably do not have them.

SporkHack

In SporkHack, Elbereth doesn't always work. On weaker monsters, it works most of the time, but especially against higher-level monsters it's no longer perfect protection. That said, it works often enough that it's almost certainly worth using everywhere that it's worth using in vanilla or SLASH'EM.

UnNetHack

In UnNetHack, "Elbereth" will appear in your status line while you are standing on an active Elbereth engraving, unless you are blind. UnNetHack specifically tracks the number of times you completed an engraving of Elbereth in your conducts, including if you have never engraved or used Elbereth at all.

"Elbereth" can be automatically written on your current square using using ctrl + e - if you are wielding a known non-cursed athame, you will engrave using that weapon, and will write it in the dust with your fingers otherwise.

As of version 4.0.0, minotaurs respect Elbereth, while the following additional monsters will no longer respect Elbereth:[14]

AceHack

In AceHack, the word "Elbereth" has no special meaning, but a heptagram is an incredibly similar concept, a shape that can be engraved on the ground that repels monsters. It is identical to an Elbereth in vanilla NetHack, except that it does not exercise wisdom when engraved. Because it is a shape rather than a word, it cannot be engraved directly using the normal methods; instead, after pressing E and choosing an item or fingers to engrave with, a heptagram is drawn by pressing h. Also, a heptagram can be quickly dust-engraved by pressing .; this is the usual way to draw heptagrams in AceHack.

NetHack 4

NetHack 4, like UnNetHack, allows Elbereth to be written in the dust with your fingers with ctrl + e, but doesn't make use of a wielded athame.

NetHack 4 also tracks the number of times Elbereth is engraved, but unlike UnNetHack, only counts the number of times the complete "Elbereth" is attempted, so partial engravings like "Elb", "ere" and "th" aren't caught, nor are completions of parts of "Elbereth" on the floor already.

Elbereth can be disabled entirely in a game of NetHack 4 by setting the 'elbereth' birth option to 'false' before starting a new character.

dNetHack

Main article: Elbereth (dNetHack)

dNetHack and notdNetHack favor the use of wards as a primary engraving defense, which the character can learn from spellbooks and other sources. Elbereth is still present in both variants, with different effects for elven and non-elven characters, and can be used in addition to wards: a single square may contain both a ward and an engraving. See the article linked at the top of the section for more information.

Lolth's name serves a similar function for most drow as Elbereth does for elves.

FIQHack

FIQHack has two Elbereth changes ported from vanilla 3.6.x:

  • Elbereth no longer works just because there is an object on the same square.
  • Attacking while standing on Elbereth will cause it to vanish.

Additionally:

EvilHack

In EvilHack, Elbereth cannot be engraved until your character gains knowledge of the name from another source. With the exception of bones, Elbereth can be learned from the following sources:

  • Sokoban, where Elbereth is engraved under each of the prizes
  • Mines End, which contains an Elbereth engraving in some layouts
  • The Oracle, who can reveal the use of Elbereth via consultations

Hack'EM

In Hack'EM, Elbereth must be learned from another source as in EvilHack, and can occur via the additional sources below:

  • Player elves and hobbits start with knowledge of Elbereth.
  • A lawful character that is crowned will be taught Elbereth if they have not learned of it already.

Conflict negates Elbereth, and orcs cannot learn or use it even if polymorphed.

Encyclopedia entry

... Even as they stepped over the threshold a single clear
voice rose in song.

        A Elbereth Gilthoniel,
        silivren penna miriel
        o menel aglar elenath!
        Na-chaered palan-diriel
        o galadhremmin ennorath,
        Fanuilos, le linnathon
        nef aear, si nef aearon!

Frodo halted for a moment, looking back. Elrond was in his
chair and the fire was on his face like summer-light upon the
trees. Near him sat the Lady Arwen. [...]
He stood still enchanted, while the sweet syllables of the
elvish song fell like clear jewels of blended word and melody.
"It is a song to Elbereth," said Bilbo. "They will sing that,
and other songs of the Blessed Realm, many times tonight.
Come on!"

[ The Fellowship of the Ring, by J.R.R. Tolkien ]

See also

References

  1. monmove.c in NetHack 3.4.3, line 240
  2. monmove.c in NetHack 3.4.3, line 134
  3. monmove.c in NetHack 3.4.3, line 136: mtmp->data == &mons[PM_ANGEL] covers angels and is_lminion(mtmp) covers monsters with the M2_MINION flag (is_minion) that are of lawful alignment ((mon)->data->maligntyp >= A_COALIGNED) with the possible exception of angels (see mondata.h, line 22). As all angelic beings in vanilla and most variants are lawful and have the M2_MINION flag (or are angels), this condition is equivalent to "any capital A" (or mtmp->data->mlet == S_ANGEL).
  4. monmove.c in NetHack 3.4.3, line 137
  5. monmove.c in NetHack 3.4.3, line 137
  6. src/monmove.c in NetHack 3.6.7, line 175: onscary checks for S_HUMAN rather than the "human" monster attribute
  7. mondata.h, line 84, monst.c, line 1603
  8. monmove.c in NetHack 3.4.3, line 134
  9. monmove.c in NetHack 3.4.3, line 135
  10. engrave.c in NetHack 3.4.3, line 999
  11. sengr_at in engrave.c: Function used to check for Elbereths
  12. src/monmove.c in NetHack 3.6.0, line 309
  13. wipe_engr_at in src/engrave.c in NetHack 3.6.0
  14. src/monmove.c in UnNetHack revision 1406, line 146

This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.6.1. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-361}} tag to the current version's tag or {{noversion}} as appropriate.