Vault

From NetHackWiki
(Redirected from Vaults)
Jump to navigation Jump to search
This article is about gold-containing vaults. For the UnNetHack feature, see Random vault (UnNetHack)..

Vaults are 2-by-2 sealed rooms that appear in NetHack, and are randomly generated in the Dungeons of Doom. One of the Oracle consultations refers to them as Magic Memory Vaults.

The vaults are owned by Croesus, and his guards patrol them regularly.

Generation

A vault has a 12 chance of being generated on any level that has at least 6 rooms, with the exception of the Rogue level. The level must also have room for the 4x4 space that the vault occupies, making the number even lower in practice. There is a 23 chance that a level with a vault contains a closet with a one-use teleportation trap keyed to the vault's location, marked by the engraving "ad aerarium"[1] in the dust in front of it. On deeper levels, you may also encounter closets with the same engravings that house a level teleporter instead - these appear independently of actual vault teleporters, and both may be found on the same level.[1]

On each square of a vault is 50+d(100*level) gold pieces, where level is the dungeon level.[2] Between level 11 and Medusa's Island, each vault that appears also has a 13 chance of containing a magic portal that takes you to Fort Ludios if it has not yet been generated, with the exception of the level containing the Quest portal. As such, it may not be accessible in a given game.

On levels that contain a vault, messages indicating their presence will be printed occasionally.

Finding vaults

Vaults can be discovered or located through various means:

  • Reading a noncursed scroll of magic mapping or casting the magic mapping spell will detail the entire level and reveal the vault's location directly.
  • Reading a scroll of gold detection, quaffing a potion of object detection or casting the detect treasure spell can reveal the location of the gold that a vault contains.
  • Telepathy can reveal the location of monsters that may have randomly generated within a vault at some point - watch for monsters that move in a tight 2x2 square and/or appear isolated from the rest of the level.
  • While unreliable, falling through a hole or trap door from a higher dungeon level may land you in a vault on the level you land in.
  • Finding the closet containing the vault teleporter and stepping on it will take you directly to the vault.

Once you locate a vault or its teleporter, you can enter the vault using one of the following methods:

Monsters and vaults

Tunneling monsters such as dwarves and rock moles may dig their way to the vault, leaving a pathIf there is a dwarf wandering around on a vault level, he may find the vault and loot it in the course of his own explorations, leaving behind a tunnel connecting the vault to the rest of the level. Beware! If the guard arrives while you are in the empty vault, he will neither know nor care that the dwarf, and not you, did the looting. So don't linger: find that dwarf and take his gold. Digging monsters such as rock moles or umber hulks may also open a path to vaults.

Guards

Main article: Guard

If you linger within a vault for 30 turns, one of the guards will enter and ask for your name;[3] blowing a cursed tin whistle while inside a vault will immediately summon a guard.[4] Replying to their query with Croesus (or Kroisos/Creosote) will cause them to leave - any other name will have them ask you to drop all your gold (including gold within containers in your inventory) and follow them out. Complying will have them lead you out of the vault, and the guard will create a temporary path if there is none present - refusing to drop your gold, leaving with it via teleportation or else trying to retrieve it while the guard is present will anger them.

This can be a nuisance especially if something else interferes with you looting the vault and leaving promptly - however, guards can also be useful if you end up trapped in one without a means of escape, which usually occurs early in the game. You can also safely double back to retrieve the gold after the guard is gone. Note that once the guard disappears, the temporary path will usually disappear soon after, which can potentially trap you if you are still inside; pets caught in the reforming rock will be teleported elsewhere on the level and have their tameness reduced. See the linked article above for more details on interactions with guards.

History

In NetHack 3.4.3 and earlier versions, along with most variants based on them, it is possible to steal from a still-closed vault using a pet. First, you must have both the pet and yourself in the vault. This can be done by blocking the pet in the doorway to the vault teleporter closet - as it cannot leave the doorway diagonally, the pet will eventually take the teleporter even if it is aware of the trap. This will not use up the trap, allowing you to follow it in. A pet using the teleport trap will not use it up, and then you can take the teleporter.

Once you are in the vault with your pet, pick up all the money and then drop it and your gold in a single stack. Once the guard appears and you respond with your real name (or any other name if you are named Croesus or one of its equivalents), follow them out as slowly as possible, making sure your pet follows and brings the money with it. Be caureful not to exit the guard's path while the pet is still inside!

Starting in NetHack 3.6.0, the standard domestic pets - dogs, cats and horses - will only pick up a single gold piece at a time, making this strategy much less useful early on. 3.6.0 also introduces the ability to summon a guard via cursed tin whistle.

Messages

You hear the footsteps of a guard on patrol.
There is a vault on the level.
You hear Ebenezer Scrooge!
As above, while you are hallucinating.
You hear someone counting money.
The level's vault has not been looted.
You hear Ebenezer Scrooge!
As above, while hallucinating.
You hear someone searching
The vault has been looted.

Variants

UnNetHack

In UnNetHack, Fort Ludios is more likely to be accessible - the portal is always in the first vault below level 10 on a floor that does not contain the Quest portal. While it is still possible for there to be no entrance to Ludios, this requires the complete absence of vaults below level 10.

UnNetHack also has a level generation feature called "random vaults", which have no relation to the standard gold vaults.

dNetHack

In addition to normal gold vaults, dNetHack also has hell vaults with much more valuable treasures, but far more dangerous monsters guarding them. dNetHack will also generate the portal to Fort Ludios on the earliest eligible floor when possible.

xNetHack

xNetHack will also generate the portal to Fort Ludios in the first eligible vault.

References

  1. 1.0 1.1 "ad aerarium" is a Latin phrase meaning "to the vault", but can also mean "to the sky" - this pun is the basis for the marked closets with level teleporters.
  2. src/sp_lev.c in NetHack 3.6.6, line 2447
  3. include/hack.h in NetHack 3.6.6, line 35
  4. src/apply.c in NetHack 3.6.6, line 469

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

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

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