Difference between revisions of "Bones"

From NetHackWiki
Jump to navigation Jump to search
(Item identification: clarified; engraving is NOT preferable to naming your slime mold)
(start on this article as well)
(36 intermediate revisions by 20 users not shown)
Line 1: Line 1:
When you die, there is a chance that the [[level]] as you left it is saved, to be reloaded in a later game. Such levels are known as '''bones levels''', '''bones files''' or simply '''bones'''. There can only be one bones file per dungeon level, and each bones file only has a 1/3 chance{{refsrc|bones.c|385|comment= "only once in three times do we find bones"}} of being selected as a bones level when entered for the first time. A bones level can, however, have more than one [[ghost]] if a second adventurer is killed there.
+
In ''[[NetHack]]'', a '''bones level''' (also known as a '''bones file''' or simply '''bones''') refers to a [[level]] that is saved when the [[player]] character [[die]]s, which may be loaded in place of a normal level in some future game. Only one bones file is stored per dungeon level: it has a {{frac|3}} chance of being loaded in place of a standard map for that level, and will otherwise remain untouched.{{refsrc|src/bones.c|590|nethack=3.6.7|comment= "only once in three times do we find bones"}}
 +
 
 +
[[Trap]]s in early dungeon levels can feature '''"fake bones"''' that emulate actual bones files.
 +
 
 +
==Generation==
 +
If a character dies on an eligible dungeon level, they have a <math>\frac{\lfloor \frac{depth}{4} \rfloor}{\lfloor \frac{depth}{4} \rfloor + 1}</math> chance of leaving bones, where ''D'' is equivalent to the depth of that level.{{refsrc|src/bones.c|323|nethack=3.6.7|comment=<code>can_make_bones</code> function}} In practice, this means that a bones file is never created or loaded above dungeon level 4. Assuming that the level in question is eligible, the odds of a bones file being created increases with depth, with the remainders dropped and the increases being smaller as the odds become closer to 100%: there is a {{frac|2}} chance of bones being created at dungeon levels 4-7, a {{frac|2|3}} chance of bones being created at levels 8-11, a {{frac|3|4}} chance of bones being created on DL 12-15, a {{frac|4|5}} chance of bones being created on DL 16-19, and so on.
 +
 
 +
The other following levels are ineligible to create bones files on:{{refsrc|src/bones.c|20|nethack=3.6.7|comment=<code>no_bones_level</code> function}}
 +
 
 +
* Any level with [[dungeon branch]] stairs or a [[magic portal]] (including a level that has a portal in a [[Fake Wizard's Tower]])
 +
* The first level of the [[Gnomish Mines]], if it is created on DL 3.
 +
* [[Mines' End]]
 +
* [[Sokoban]]
 +
* The home and goal levels of the [[Quest]]
 +
* [[Fort Ludios]]
 +
* [[Medusa's Island]]
 +
* The [[Castle]]
 +
* The top and bottom floors of [[Vlad's Tower]]
 +
* The top and bottom floors of [[The Wizard's Tower]]
 +
* The [[vibrating square]] level
 +
* [[Moloch's Sanctum]]
 +
* Any of the [[Elemental Planes]], including the [[Astral Plane]]
 +
 
 +
The same levels are ineligible to load bones files on ''minus'' the Gnomish Mines if it appears on DL 3.
 +
 
 +
Bones files created in eligible [[special level]]s such as [[Minetown]] may be loaded as a different level, and are generally exceptions to ad-hoc rules regarding dungeon generation (e.g. "no [[polymorph traps]] above dungeon level 8").
 +
 
 +
===Fake bones===
 +
As mentioned above, "fake bones" can be generated on traps in early dungeon levels: a trap that is lethal in some manner will generate a pre-aged [[corpse]] along with some cursed objects atop the pile, and traps that generate and/or shoot objects will have at least a few of those objects among the pile.{{refsrc|src/mklev.c|1431|nethack=3.6.7}}{{refsrc|src/mklev.c|1460|nethack=3.6.7}}{{refsrc|src/mklev.c|1490|nethack=3.6.7}}{{refsrc|src/mklev.c|1528|nethack=3.6.7}}
 +
 
 +
==Description==
 +
A bones level will contain some remnant of the former player character - this remnant is usually a named [[ghost]], though other remnants can occur depending on the monster who killed them:
 +
 
 +
* If the character was killed by any {{white|V}} ([[vampire]], [[vampire lord]], or [[Vlad]]), a named (regular) [[vampire]] replaces the ghost.
 +
* If the character was killed by any {{white|W}} ([[wraith]], [[barrow wight]], or [[Nazgul]]), a named [[wraith]] replaces the ghost.
 +
* If the character was killed by a [[ghoul]], the ghost is replaced with a named ghoul.
 +
* If the character was killed by a [[mummy]], the ghost is replaced with the appropriate named mummy (human mummy, elf mummy, etc.).
 +
* If the character was killed or petrified by a [[cockatrice]] of [[chickatrice]], there is a statue of the character instead, even if the player did not die by [[stoning]].
 +
 
 +
A monster that represents the former player character will always be generated asleep. The level will also be saved in the state it was in at the time of their death, with some exceptions.
 +
 
 +
Bones levels can be a double-edged sword: the '''bones pile''' they contain will have all the dead adventurer's possessions, but if they were killed by a monster it will still be present. If a second adventurer is killed in a bones level, the level may then again be saved as bones, creating a '''double bones'''; in some cases, a triple or even a quadruple bones is possible.
  
 
==Clues==
 
==Clues==
 
+
Some things that may indicate that a level is a bones level:
How to tell if a level is a bones level:
+
* An abnormally large concentration of different [[monster]]s.
* Large concentration of different [[monster]]s.
+
* Wounded monsters (can be identified with a [[stethoscope]], but note that ordinary traps can also wound monsters).
* Wounded monsters (can be identified with a [[stethoscope]]) (might also be caused by traps).
 
 
* Broken [[door]]s (can be identified with [[far look]]).
 
* Broken [[door]]s (can be identified with [[far look]]).
* Holes in walls (may also be caused by a digging monster, especially if there are tunnels containing rocks nearby).
+
* Unusual holes in walls (but they may also be created by a [[tunneling monster]], especially if there are tunnels containing rocks nearby).
* Empty or partly empty [[throne room]]s, [[zoo]]s, [[leprechaun hall]]s, or any other [[special room]]s.
+
* Empty or partly empty [[throne room]]s, [[zoo]]s, [[leprechaun hall]]s, or other [[special room]]s.
* [[Engrave|Engraved messages]] other than those randomly placed by NetHack.
+
* [[Engrave]]d messages other than those randomly placed by ''NetHack''.
 
* Few to no [[item]]s lying on the floor.
 
* Few to no [[item]]s lying on the floor.
* Suspicious or unusual items around the level. For example, [[Beartrap|disarmed beartraps]] are never generated randomly.
+
* Suspicious or unusual items around the level. For example, disarmed [[bear trap]]s are never generated randomly.
* [[Container]]s with contents unlike those randomly generated.
+
* [[Container]]s with contents unlike those randomly generated, such as weapons and armor.
* Piles of items related to specific monsters. A collection of [[Quarterstaff|quarterstaffs]] or [[Leather armor|suits of leather armor]], or even a noticeable number of [[Elf (starting race)#Elven_items|elven]], [[Dwarf#Dwarvish_items|dwarvish]], or orcish items can indicate that some combat has occurred on the level before you arrived.
+
* Piles of items related to specific monsters. A collection of [[quarterstaff]]s or [[leather armor]]s, or even a noticeable number of [[Elf (starting race)#Elven items|elven]], [[Dwarf (starting race)#Dwarvish items|dwarvish]], or orcish items can indicate that some combat has occurred on the level before you arrived.
* A named [[ghost]], in a room other than a [[graveyard]]. A ''named'' [[mummy]], [[wraith]], [[vampire]] or [[green slime]] is also possible.
+
* A [[ghost]], in a room other than a [[graveyard]]. Note that bones ghosts will always be named after the dead player, and a ghost with one of the [[Ghost#Ghost names|random names]] does not indicate bones. Also, a few special levels generate one random ghost when they are created; this also does not indicate bones.
* [[Call|Named]] monsters, which are usually not generated for that particular level (for example, an [[archon]] on DL4).
+
* A named [[mummy]], [[wraith]], [[vampire]], or [[green slime]].
* Presence of [[corpse]]s, which are never randomly generated (except in the [[Valley of the Dead]], which can also have bones) (might also be caused by traps).
+
* [[Call|Named]] monsters.
* Presence of [[slime mold|fruit]] (slime mold) with a different name from the one you set (this is a dead giveaway).
+
* Monsters which should not be generated for this particular level or at your current difficulty (for example, an [[archon]] on DL4).
* A [[saddle]]d monster
+
* Presence of [[corpse]]s, which are never randomly generated, except in the [[Valley of the Dead]], [[Minetown#Orcish Town|Orcish Town]], and on top of traps in the first four levels of the Dungeons of Doom or behind [[iron bars]]. (Corpses might also be caused by random monsters dying to traps.)
 +
* Presence of [[slime mold|fruit]] (slime mold) with a different name from the one you set. This is a dead giveaway.
  
==What to do with bones==
+
==Strategy==
A bones level will contain some remnant of the player whose bones are laying about. Typically this is a [[ghost]] bearing the name of the player, usually stationed over the bones pile (ghosts move slowly). If the deceased player was killed by a [[vampire]], the ghost will be replaced with a vampire bearing the name. Similarly with [[mummy|mummies]], [[wraith]]s, and [[green slime]]s. If the player was petrified or killed by a [[cockatrice|footrice]], there is a statue of the player instead.
+
Killing or luring the ghost or monster away gives you access to the bones pile, which contains the entire inventory of the player when they died. Every item in the bones pile has an 80% chance of being cursed outright, and a 20% chance of retaining its original [[BUC]]. It is thus usually a [[bad idea]] to [[quaff]], [[read]], [[wield]], or [[wear]] anything from a bones pile until it has been properly BUC identified. Turning off [[autopickup]] temporarily before you step onto the bones pile is a good idea, so you can look through the items at your leisure and don't accidentally encumber yourself by picking up many items at once.
  
Killing or luring the ghost or vampire away gives the player access to the bones. Bones piles contain the entire inventory of the player, randomly cursed. It's usually a [[bad idea]] to '''q'''uaff, '''P'''ut on, '''r'''ead, '''w'''ield, or '''W'''ear anything from a bones pile until it has been properly [[BUC]] identified, as each object has an 80% chance to be [[cursed]] outright when leaving bones.
+
If there is a [[bag]] in the bones pile, it may be a [[bag of holding]] (unless the adventurer appears to be an early [[Rogue]] or [[Archeologist]], in which case it's probably just a sack). Since the bag may be cursed, it might not be wise to [[loot]] it on the spot and risk destroying its contents. Try to lift it; if you find it very difficult or impossible, it is likely a cursed bag of holding. If you can get it into your inventory, you can treat it with a [[scroll of remove curse]] or dip it in a [[potion of holy water]]. If not, you can zap a [[wand of cancellation]] at it on the floor to uncurse it. As a last resort, you can [[tip]] it.
  
Beware! The original killer is still lurking about the level, probably not too far from the site of the bones. If you discover a bones pile with very advanced items, be very careful about running into whatever managed to kill your predecessor! The pile of leftover goodies is generated on top of a [[grave]], with a gravestone.  This means that you can't engrave [[Elbereth]] on that square to keep monsters from attacking you while you sort through it. If you need to fight, step into another square. Alternatively, stand on top of a [[scroll of scare monster]].
+
Beware! The original killer is still lurking about the level, probably not too far from the site of the bones. If you discover a bones pile with very advanced items, be very careful about running into whatever managed to kill your predecessor! A [[headstone]] generates under the bones pile; this means that you can't engrave [[Elbereth]] on that square to keep monsters from attacking you while you sort through it. If you need to fight, step into another square. Alternatively, stand on top of a [[scroll of scare monster]]. (There might even be one in the bones pile already.)
  
On the other hand, you want to get at the wands of fire or lightning many [[escape item|players carry]] before monsters can use them against you. Luckily, the ghost is usually generated asleep on top.
+
On the other hand, you want to get at any wands of fire or lightning the player may have been carrying before monsters can use them against you. Luckily, the ghost on top is generated asleep and will prevent other monsters from moving onto the pile until you wake it up.
  
 
==Forensics==
 
==Forensics==
 
===Item identification===
 
===Item identification===
Objects that the deceased player has [[name|#named]] will be reset to whatever description that object has in the current player's game. In other words, if the deceased had a yellow potion named "this burns when thrown" (meaning it was acid), but acid in the current player's game is a purple potion, the potion will show up as purple, without a name. The exception to this rule is [[fruit]], which retains its name in bones piles. Thus, naming your fruit "Look out for the [[master mind flayer]]!" is a clever dying action to inform the next player about your demise. [[Engraving]] is a more restrictive method of issuing such warnings, as you can only engrave a maximum of eight characters per turn, which limits your final vocabulary to phrases like "[[mind flayer|purple h]]", "[[GWTWOD]]", "[[Trap#.5E_Polymorph_trap|polytrap]]" or "[[Archon]]".
+
Objects that the deceased player has [[name|#named]] will be reset to whatever description that object has in the current player's game. In other words, if the deceased had a yellow potion named "this burns when thrown" (meaning it was [[Potion of acid|acid]]), but acid in the current player's game is a purple potion, the potion will show up as purple, without a name. The exception to this rule is [[fruit]], which retains its name in bones piles. Thus, naming your fruit "Look out for the [[master mind flayer]]!" is a clever dying action to inform the next player about your demise. [[Engraving]] is a more restrictive method of issuing such warnings, as you can only engrave a maximum of eight characters per turn, which limits your final vocabulary to phrases like "[[mind flayer|purple&nbsp;h]]", "[[GWTWOD]]", or "[[Archon]]".
  
Assuming that the game is being played on a public server such as [[NAO]], the less scrupulous may look up the death dump file to see what items were carried. As these logs include an ASCII image of the game map at time of death, determining which of the logs belongs to the body you found is simple, if time consuming. This is [[metagaming]], though, and some players frown upon it.
+
Assuming that the game is being played on a public server that provides [[dumplog]]s, the less scrupulous may look up the dumplog to see what items were carried. As these logs include an ASCII image of the game map at time of death, determining which of the logs belongs to the body you found is simple. This is [[Cheating#Probably cheating|probably cheating]], though, and some players frown upon it.
  
===Item identification via the class of the deceased===
+
====Identification via the class of the deceased====
 
When encountering a bones level, it can be advantageous to know some details of the deceased, or at least his or her class. For example, if you find a [[grave]] with a [[quarterstaff]], a randomly named [[cloak]], two [[spellbook]]s, and a [[magic marker]], you can be fairly certain the corpse is that of an early wizard, from which you can deduce that the cloak is a [[cloak of magic resistance]]. This method comes with no guarantees, but the more "indicator items" you find, the more certain you can be.
 
When encountering a bones level, it can be advantageous to know some details of the deceased, or at least his or her class. For example, if you find a [[grave]] with a [[quarterstaff]], a randomly named [[cloak]], two [[spellbook]]s, and a [[magic marker]], you can be fairly certain the corpse is that of an early wizard, from which you can deduce that the cloak is a [[cloak of magic resistance]]. This method comes with no guarantees, but the more "indicator items" you find, the more certain you can be.
 
{|class="prettytable striped"
 
{|class="prettytable striped"
Line 78: Line 119:
 
|-
 
|-
 
|Wizard
 
|Wizard
|[[quarterstaff]], randomly named [[cloak]], two [[spellbooks]], many other [[magic|magical]] [[items]]
+
|[[quarterstaff]], randomly named [[cloak]], two [[spellbooks]], two [[rings]], a few [[scrolls]] and [[potions]], one [[wand]]
 
|}
 
|}
  
Line 115: Line 156:
 
* your [[quest leader]]
 
* your [[quest leader]]
  
However, their statues ([[Bugs in NetHack 3.4.3#C342-54|bug C342-54]]) and corpses are unaffected.
+
Their statues and corpses are unaffected ([[Bugs in NetHack 3.4.3#C342-54|bug C342-54]]), but upon revival, will turn into [[doppelganger]]s.<ref>{{commit|fbfb8e92abd9aa4e2420e5b24bb77eeddb926bc7|commit fixing unique monster bones revival}}</ref>
  
 
Tame monsters will turn hostile.{{refsrc|bones.c|299}}
 
Tame monsters will turn hostile.{{refsrc|bones.c|299}}
 
==Ineligible bones levels==
 
These levels cannot leave bones.<ref>{{function|bones.c|no_bones_level}}</ref>
 
*The first three levels of the [[dungeon]]
 
*Mines levels if they are also in the first three levels of the entire dungeon. (But you can still load bones anywhere in the mines.)
 
*[[Mines' End]]
 
*[[Sokoban]]
 
*[[Quest|Quest Home]]
 
*[[Quest|Quest Goal]]
 
*[[Fort Ludios]]
 
*[[Medusa|Medusa's Island]]
 
*The [[Castle]]
 
*[[Vlad's Tower]], top and bottom
 
*[[The Wizard's Tower]], top and bottom
 
*[[Fake Wizard's Tower]], with portal
 
*[[Vibrating Square]]
 
*[[Moloch's Sanctum]]
 
*The [[Elemental Planes]]
 
*The [[Astral Plane]]
 
*Any level with a portal (to the [[quest]], [[Fort Ludios]], or the [[Wizard's Tower]])
 
*Any level with a branch
 
 
[[special level|'Special' levels]] may be loaded as bones at a different level than they were saved at, sometimes breaking other ad hoc rules like 'no [[polymorph traps]] before DL8'.  In fact, due to bones, any Mines level below [[Minetown]] is at risk of containing a polytrap.
 
 
If not in an ineligible level, there is an additional 1 in (1+(depth/4)) chance to not leave a bones file.  This means that the chance to leave bones at DL 4-7 is 50%, DL 8-11 is 66%, DL 12-14 is 75%, DL 15-17 is 80%, etc. (Only this makes depths 1-3 ineligible to leave bones.)
 
  
 
==Ethics==
 
==Ethics==
 
Using bones items in a normal game is perfectly fine. Bones can often make a difficult game much easier by providing items that the current player has not "earned" yet. If you are going for some record, especially a [[speed run]], the [[ascension]] is likely more impressive if not using bones items at all.
 
Using bones items in a normal game is perfectly fine. Bones can often make a difficult game much easier by providing items that the current player has not "earned" yet. If you are going for some record, especially a [[speed run]], the [[ascension]] is likely more impressive if not using bones items at all.
  
From a game design point of view, bones are potentially unbalancing, and a few players object to using bones items for this reason. Finding one's own bones is an even more difficult position. Luckily on a [[public server]] there are enough players that this is unlikely to happen too frequently.
+
From a game design point of view, bones are potentially unbalancing, and a few players object to using bones items for this reason. Finding one's own bones is an even more difficult position. Luckily on a [[public server]] there are enough players that this is unlikely to happen too frequently.
  
 
If the deceased player's [[dumplog]] is available, it can be used to identify items in the bones pile. This could be considered [[cheating]]. Many players do it, but endless debates rage on [[RGRN]] about the value of such wins. Please disclose dumplog usage.
 
If the deceased player's [[dumplog]] is available, it can be used to identify items in the bones pile. This could be considered [[cheating]]. Many players do it, but endless debates rage on [[RGRN]] about the value of such wins. Please disclose dumplog usage.
  
 
== Bones files locations ==
 
== Bones files locations ==
On the Windows port (at least), the data for a bones file is stored in the [[playground]] directory. As the filename contains clues to where the player died, it is trivial to identify potential bones levels. The file is created when a player dies on a bones-capable level and is deleted when a bones level is reached and incorporated in to an active game. If the player later dies on a bones-capable level, the file may be re-created with the appropriate filename.
+
On the Windows port, the data for a bones file is stored in the [[playground]] directory. As the filename contains clues to where the player died, it is trivial to identify potential bones levels. The file is created when a player dies on a bones-capable level and is deleted when a bones level is reached and incorporated in to an active game. If the player later dies on a bones-capable level, the file may be re-created with the appropriate filename.
  
 
Thus, if the player observes the files within the playground, they can notice when a suitable level is coming up, and notice if the file is deleted, and thus know that they are on a bones level.
 
Thus, if the player observes the files within the playground, they can notice when a suitable level is coming up, and notice if the file is deleted, and thus know that they are on a bones level.
Line 159: Line 175:
  
 
Within the filename, ''<nowiki><branch></nowiki>'' is one of:
 
Within the filename, ''<nowiki><branch></nowiki>'' is one of:
* D - [[Dungeons of Doom]]
+
* D &ndash; [[Dungeons of Doom]]
* M - [[Gnomish Mines]]
+
* M &ndash; [[Gnomish Mines]]
* G - [[Gehennom]]
+
* G &ndash; [[Gehennom]]
* T - [[Vlad's Tower]]
+
* T &ndash; [[Vlad's Tower]]
 +
* Q &ndash; [[Quest]]
  
 
And ''<nowiki><role></nowiki>'':
 
And ''<nowiki><role></nowiki>'':
Line 169: Line 186:
  
 
And ''<nowiki><level></nowiki>'' is one of:
 
And ''<nowiki><level></nowiki>'' is one of:
* Numbers 1 through 53 - ordinary levels eligible for leaving bones (this number is offset from the first of the branch appropriate - i.e. if the bones are on the second level of the mines, the filename would be "bonM0.2")
+
* Numbers 1 through 53 &ndash; ordinary levels eligible for leaving bones (this number is offset from the first of the branch appropriate&mdash;e.g. if the bones are on the second level of the mines, the filename would be "bonM0.2")
* O - [[Oracle]] (implied that <nowiki><branch></nowiki> would be "D" as Oracle can only be in Dungeons of Doom)
+
* O &ndash; [[Oracle]] (if <nowiki><branch></nowiki> is "D", as the Oracle can only be in the Dungeons of Doom and Orcus Town shares "O")
* T - [[Minetown]]
+
* T &ndash; [[Minetown]]
* R - [[Rogue level]]
+
* R &ndash; [[Rogue level]]
* Q - [[Quest]]
+
* V &ndash; [[Valley of the Dead]]
* V - [[Valley of the Dead]]
+
* A &ndash; [[Asmodeus]]' Lair
* A - [[Asmodeus]]' Lair
+
* B &ndash; [[Baalzebub]]'s Lair
* B - [[Baalzebub]]'s Lair
+
* J &ndash; [[Juiblex]]'s Swamp
* J - [[Juiblex]]'s Swamp
+
* O &ndash; [[Orcus Town]] (if <nowiki><branch></nowiki> is "G", as Orcus Town can only be in Gehennom and the Oracle shares "O")
* O - [[Orcus Town]] - (implied that <nowiki><branch></nowiki> would be "G" as Orcus Town can only be in Gehennom)
+
* X &ndash; [[Wizard's Tower]]
* X - [[Wizard's Tower]]
+
* N &ndash; [[Nymph level]] (exists in [[SLASH'EM]] and [[UnNetHack]])
* N - [[Nymph level]] (exists in [[SLASH'EM]] and [[UnNetHack]])
 
  
 
The file is not designed to be human-readable. The characters corresponding to each level and branch are defined in [[dungeon.def]].
 
The file is not designed to be human-readable. The characters corresponding to each level and branch are defined in [[dungeon.def]].
  
 
== Wizard mode ==
 
== Wizard mode ==
In [[Wizard mode]], you will be prompted when you reach a bones level with the message ''"Get bones? [yn] (n)"'', allowing you to selectively retrieve the bones file for that level.
+
In [[wizard mode]], you will be prompted when you reach a bones level with the message ''"Get bones? [yn] (n)"'', allowing you to selectively retrieve the bones file for that level. You'll also get the prompt ''"Unlink bones? [yn] (n)"''. Selecting ''y'' removes that bones file from the possible set of bones files for normal games.
  
 
When you die on a bones-suitable level, you will be presented with the opportunity to ''"Save bones? [yn] (n)"'', again allowing you to selectively save bones files. If there was already a bones file for that level (i.e. you said no to getting bones when entering a level) you will also be prompted with ''"Bones file already exists. Replace? [yn] (n)"'', allowing you to selectively overwrite the bones file for that level.
 
When you die on a bones-suitable level, you will be presented with the opportunity to ''"Save bones? [yn] (n)"'', again allowing you to selectively save bones files. If there was already a bones file for that level (i.e. you said no to getting bones when entering a level) you will also be prompted with ''"Bones file already exists. Replace? [yn] (n)"'', allowing you to selectively overwrite the bones file for that level.
  
The side effect of this is that you may encounter bones files on very low levels with a full [[ascension kit]] or impossible items (+127 [[Grayswandir]]), and if the level is loaded as a bones level later on, can storm through the game with score fully counted. This is definitely cheating if the sole purpose of the Wizard mode game was to create such a setup.
+
==Variants==
 +
===dNethack===
 +
In addition to the above monsters, [[dreadblossom swarm]]s and [[shade]]s leave a monster of the same type instead of a ghost if a bones file is created from them killing the player. [[Dread seraph]]s leave [[skeleton]]s, and [[gnoll ghoul]]s will leave regular [[ghoul]]s. [[Binder]]s will always leave [[broken shadow]]s (a weaker version of a shade) instead of ghosts in a bones file.
 +
 
 +
Note that [[Mammon]] does not currently leave a golden statue in a bones file.
 +
 
 +
===FIQHack===
 +
Bones in [[FIQHack]] are more dangerous than in vanilla: the ghost will have the same intrinsics as the deceased character, and there is also a 33% chance that the ghost will be replaced with a [[player monster]] that has the same inventory, spells, and intrinsics as the dead character.
 +
 
 +
{{todo|Add information about changes introduced in variants (for example [[UnNetHack]])}}
  
 
==References==
 
==References==
 
<references/>
 
<references/>
 
{{todo|Add information about changes introduced in variants (for example [[UnNetHack]])}}
 
  
 
==See also==
 
==See also==
 
*[[Hearse]]
 
*[[Hearse]]
 
*[[Ghost]]
 
*[[Ghost]]
*[[Options#bones]]
+
*[[Options#bones|Options § bones]]
 
+
{{nethack-367|offset=1}}
 
{{featured}}
 
{{featured}}
 
[[Category:Dungeon features]]
 
[[Category:Dungeon features]]

Revision as of 11:24, 28 March 2024

In NetHack, a bones level (also known as a bones file or simply bones) refers to a level that is saved when the player character dies, which may be loaded in place of a normal level in some future game. Only one bones file is stored per dungeon level: it has a 13 chance of being loaded in place of a standard map for that level, and will otherwise remain untouched.[1]

Traps in early dungeon levels can feature "fake bones" that emulate actual bones files.

Generation

If a character dies on an eligible dungeon level, they have a \frac{\lfloor \frac{depth}{4} \rfloor}{\lfloor \frac{depth}{4} \rfloor + 1} chance of leaving bones, where D is equivalent to the depth of that level.[2] In practice, this means that a bones file is never created or loaded above dungeon level 4. Assuming that the level in question is eligible, the odds of a bones file being created increases with depth, with the remainders dropped and the increases being smaller as the odds become closer to 100%: there is a 12 chance of bones being created at dungeon levels 4-7, a 23 chance of bones being created at levels 8-11, a 34 chance of bones being created on DL 12-15, a 45 chance of bones being created on DL 16-19, and so on.

The other following levels are ineligible to create bones files on:[3]

The same levels are ineligible to load bones files on minus the Gnomish Mines if it appears on DL 3.

Bones files created in eligible special levels such as Minetown may be loaded as a different level, and are generally exceptions to ad-hoc rules regarding dungeon generation (e.g. "no polymorph traps above dungeon level 8").

Fake bones

As mentioned above, "fake bones" can be generated on traps in early dungeon levels: a trap that is lethal in some manner will generate a pre-aged corpse along with some cursed objects atop the pile, and traps that generate and/or shoot objects will have at least a few of those objects among the pile.[4][5][6][7]

Description

A bones level will contain some remnant of the former player character - this remnant is usually a named ghost, though other remnants can occur depending on the monster who killed them:

  • If the character was killed by any V (vampire, vampire lord, or Vlad), a named (regular) vampire replaces the ghost.
  • If the character was killed by any W (wraith, barrow wight, or Nazgul), a named wraith replaces the ghost.
  • If the character was killed by a ghoul, the ghost is replaced with a named ghoul.
  • If the character was killed by a mummy, the ghost is replaced with the appropriate named mummy (human mummy, elf mummy, etc.).
  • If the character was killed or petrified by a cockatrice of chickatrice, there is a statue of the character instead, even if the player did not die by stoning.

A monster that represents the former player character will always be generated asleep. The level will also be saved in the state it was in at the time of their death, with some exceptions.

Bones levels can be a double-edged sword: the bones pile they contain will have all the dead adventurer's possessions, but if they were killed by a monster it will still be present. If a second adventurer is killed in a bones level, the level may then again be saved as bones, creating a double bones; in some cases, a triple or even a quadruple bones is possible.

Clues

Some things that may indicate that a level is a bones level:

  • An abnormally large concentration of different monsters.
  • Wounded monsters (can be identified with a stethoscope, but note that ordinary traps can also wound monsters).
  • Broken doors (can be identified with far look).
  • Unusual holes in walls (but they may also be created by a tunneling monster, especially if there are tunnels containing rocks nearby).
  • Empty or partly empty throne rooms, zoos, leprechaun halls, or other special rooms.
  • Engraved messages other than those randomly placed by NetHack.
  • Few to no items lying on the floor.
  • Suspicious or unusual items around the level. For example, disarmed bear traps are never generated randomly.
  • Containers with contents unlike those randomly generated, such as weapons and armor.
  • Piles of items related to specific monsters. A collection of quarterstaffs or leather armors, or even a noticeable number of elven, dwarvish, or orcish items can indicate that some combat has occurred on the level before you arrived.
  • A ghost, in a room other than a graveyard. Note that bones ghosts will always be named after the dead player, and a ghost with one of the random names does not indicate bones. Also, a few special levels generate one random ghost when they are created; this also does not indicate bones.
  • A named mummy, wraith, vampire, or green slime.
  • Named monsters.
  • Monsters which should not be generated for this particular level or at your current difficulty (for example, an archon on DL4).
  • Presence of corpses, which are never randomly generated, except in the Valley of the Dead, Orcish Town, and on top of traps in the first four levels of the Dungeons of Doom or behind iron bars. (Corpses might also be caused by random monsters dying to traps.)
  • Presence of fruit (slime mold) with a different name from the one you set. This is a dead giveaway.

Strategy

Killing or luring the ghost or monster away gives you access to the bones pile, which contains the entire inventory of the player when they died. Every item in the bones pile has an 80% chance of being cursed outright, and a 20% chance of retaining its original BUC. It is thus usually a bad idea to quaff, read, wield, or wear anything from a bones pile until it has been properly BUC identified. Turning off autopickup temporarily before you step onto the bones pile is a good idea, so you can look through the items at your leisure and don't accidentally encumber yourself by picking up many items at once.

If there is a bag in the bones pile, it may be a bag of holding (unless the adventurer appears to be an early Rogue or Archeologist, in which case it's probably just a sack). Since the bag may be cursed, it might not be wise to loot it on the spot and risk destroying its contents. Try to lift it; if you find it very difficult or impossible, it is likely a cursed bag of holding. If you can get it into your inventory, you can treat it with a scroll of remove curse or dip it in a potion of holy water. If not, you can zap a wand of cancellation at it on the floor to uncurse it. As a last resort, you can tip it.

Beware! The original killer is still lurking about the level, probably not too far from the site of the bones. If you discover a bones pile with very advanced items, be very careful about running into whatever managed to kill your predecessor! A headstone generates under the bones pile; this means that you can't engrave Elbereth on that square to keep monsters from attacking you while you sort through it. If you need to fight, step into another square. Alternatively, stand on top of a scroll of scare monster. (There might even be one in the bones pile already.)

On the other hand, you want to get at any wands of fire or lightning the player may have been carrying before monsters can use them against you. Luckily, the ghost on top is generated asleep and will prevent other monsters from moving onto the pile until you wake it up.

Forensics

Item identification

Objects that the deceased player has #named will be reset to whatever description that object has in the current player's game. In other words, if the deceased had a yellow potion named "this burns when thrown" (meaning it was acid), but acid in the current player's game is a purple potion, the potion will show up as purple, without a name. The exception to this rule is fruit, which retains its name in bones piles. Thus, naming your fruit "Look out for the master mind flayer!" is a clever dying action to inform the next player about your demise. Engraving is a more restrictive method of issuing such warnings, as you can only engrave a maximum of eight characters per turn, which limits your final vocabulary to phrases like "purple h", "GWTWOD", or "Archon".

Assuming that the game is being played on a public server that provides dumplogs, the less scrupulous may look up the dumplog to see what items were carried. As these logs include an ASCII image of the game map at time of death, determining which of the logs belongs to the body you found is simple. This is probably cheating, though, and some players frown upon it.

Identification via the class of the deceased

When encountering a bones level, it can be advantageous to know some details of the deceased, or at least his or her class. For example, if you find a grave with a quarterstaff, a randomly named cloak, two spellbooks, and a magic marker, you can be fairly certain the corpse is that of an early wizard, from which you can deduce that the cloak is a cloak of magic resistance. This method comes with no guarantees, but the more "indicator items" you find, the more certain you can be.

Class is indicated by
Archeologist bullwhip, fedora, tinning kit
Barbarian two-handed sword, battle-axe
Caveman large number of rocks and/or flint stones
Healer scalpel, stethoscope
Knight lance, many apples and carrots, saddle (possibly on a horse)
Monk many apples and oranges, a robe
Priest 4 potions of water, both of: mace and robe
Ranger two large stacks of arrows
Rogue large stack of daggers, sack, lock pick
Samurai large stack of ya (bamboo arrows), katana and short sword
Tourist Hawaiian shirt, expensive camera, credit card, stack of 4 scrolls
Valkyrie long sword, small shield, dagger
Wizard quarterstaff, randomly named cloak, two spellbooks, two rings, a few scrolls and potions, one wand

Rogues and Valkyries are hard to identify, since they both start with items common to other classes, or commonly generated. A +3 small shield almost certainly used to belong to a Valkyrie, but to determine the enchantment, you need to either identify or try on the shield.

Substitutions

The following items will be substituted upon a save:

Died with Saved with
Amulet of Yendor cursed cheap plastic imitation of the Amulet of Yendor
Candelabrum of Invocation cursed, used, unlit wax candle
Bell of Opening cursed bell
Book of the Dead cursed spellbook of blank paper

Upon loading, the following artifacts are changed to their base type:

  • Your quest artifact
  • Any artifact that was already created in your game

Note that the alignment of any quest artifact is not affected by the alignment of the deceased: if the Mitre of Holiness is found in bones, you will be unable to grasp it unless you are lawful, even if it was retrieved from Nalzok by a chaotic priest.

Additionally, certain monsters will never be saved in bones:[8]

Their statues and corpses are unaffected (bug C342-54), but upon revival, will turn into doppelgangers.[9]

Tame monsters will turn hostile.[10]

Ethics

Using bones items in a normal game is perfectly fine. Bones can often make a difficult game much easier by providing items that the current player has not "earned" yet. If you are going for some record, especially a speed run, the ascension is likely more impressive if not using bones items at all.

From a game design point of view, bones are potentially unbalancing, and a few players object to using bones items for this reason. Finding one's own bones is an even more difficult position. Luckily on a public server there are enough players that this is unlikely to happen too frequently.

If the deceased player's dumplog is available, it can be used to identify items in the bones pile. This could be considered cheating. Many players do it, but endless debates rage on RGRN about the value of such wins. Please disclose dumplog usage.

Bones files locations

On the Windows port, the data for a bones file is stored in the playground directory. As the filename contains clues to where the player died, it is trivial to identify potential bones levels. The file is created when a player dies on a bones-capable level and is deleted when a bones level is reached and incorporated in to an active game. If the player later dies on a bones-capable level, the file may be re-created with the appropriate filename.

Thus, if the player observes the files within the playground, they can notice when a suitable level is coming up, and notice if the file is deleted, and thus know that they are on a bones level.

The file naming format that is used is "bon<branch><role>.<level>", for example "bonM0.T" is the bones file for Minetown.

Within the filename, <branch> is one of:

And <role>:

And <level> is one of:

  • Numbers 1 through 53 – ordinary levels eligible for leaving bones (this number is offset from the first of the branch appropriate—e.g. if the bones are on the second level of the mines, the filename would be "bonM0.2")
  • O – Oracle (if <branch> is "D", as the Oracle can only be in the Dungeons of Doom and Orcus Town shares "O")
  • T – Minetown
  • R – Rogue level
  • V – Valley of the Dead
  • A – Asmodeus' Lair
  • B – Baalzebub's Lair
  • J – Juiblex's Swamp
  • O – Orcus Town (if <branch> is "G", as Orcus Town can only be in Gehennom and the Oracle shares "O")
  • X – Wizard's Tower
  • N – Nymph level (exists in SLASH'EM and UnNetHack)

The file is not designed to be human-readable. The characters corresponding to each level and branch are defined in dungeon.def.

Wizard mode

In wizard mode, you will be prompted when you reach a bones level with the message "Get bones? [yn] (n)", allowing you to selectively retrieve the bones file for that level. You'll also get the prompt "Unlink bones? [yn] (n)". Selecting y removes that bones file from the possible set of bones files for normal games.

When you die on a bones-suitable level, you will be presented with the opportunity to "Save bones? [yn] (n)", again allowing you to selectively save bones files. If there was already a bones file for that level (i.e. you said no to getting bones when entering a level) you will also be prompted with "Bones file already exists. Replace? [yn] (n)", allowing you to selectively overwrite the bones file for that level.

Variants

dNethack

In addition to the above monsters, dreadblossom swarms and shades leave a monster of the same type instead of a ghost if a bones file is created from them killing the player. Dread seraphs leave skeletons, and gnoll ghouls will leave regular ghouls. Binders will always leave broken shadows (a weaker version of a shade) instead of ghosts in a bones file.

Note that Mammon does not currently leave a golden statue in a bones file.

FIQHack

Bones in FIQHack are more dangerous than in vanilla: the ghost will have the same intrinsics as the deceased character, and there is also a 33% chance that the ghost will be replaced with a player monster that has the same inventory, spells, and intrinsics as the dead character.

A user has suggested improving this page or section as follows:

"Add information about changes introduced in variants (for example UnNetHack)"

References

See also