Container trap

From NetHackWiki
Revision as of 12:43, 17 April 2009 by Killian (talk | contribs) (detailed listing of trap effects)
Jump to navigation Jump to search

Chests and large boxes each have a 10% chance of being protected by a container trap. If you apply, loot or kick open a trapped container, or use a unlocking tool to lock or unlock it, the trap will be set off. The #untrap command checks a container for traps, and will prompt you to disarm it if one is found.

The type of trap on a trapped container is not determined until it is set off.

Wishing for a “poisoned” large box or chest will create one that is guaranteed to be trapped.

Disarming

Use the #untrap command on your current square (.) to search a container in that square for traps. If a trap exists on a container, the chance of actually finding it is 10/(30-Xlvl).[1] This is a 1/3 chance at experience level 1, increasing to 100% at level 21. If you are confused, the chance of success is always 1/3. Searching for a container trap will never set it off, even if you fail to find it.

When a trap is found, you are given the option of disarming it.

Your proficiency at disarming traps is (Dex+Xlvl), which is doubled if you are a Rogue. The difficulty of a particular trap is [75+(Dlvl/2)], based on the current dungeon level when you try to disarm the trap.

If a roll of d(difficulty) is less then or equal to your proficiency, and you are neither confused nor fumbling, the trap is disarmed (“You disarm it!”). Otherwise, the trap is set off as normal. In either case the container is no longer trapped.

You can also #invoke the Master Key of Thievery to remove a container trap, with no chance of setting it off.

Trap effects

When you set off a trap, there is a chance that it will be harmless. This occurs if d(13+Luck) > 8. If so, you will randomly receive one of the following messages:

  • But luckily the explosive charge is a dud! (2/13 chance)
  • But luckily the electric charge is grounded! (2/13)
  • But luckily the flame fizzles out! (2/13)
  • But luckily the poisoned needle misses! (3/13)
  • But luckily the gas cloud blows away! (4/13)

Otherwise, a number will be chosen between 0 and 25. There is a 1/20 chance that this will be randomly chosen from the full range; otherwise the number will be between 0 and (13-Luck). The effect of each result is as follows:

Number Message Effect
21–24 The <container> explodes!
  • The container, its contents, and all objects in the same square are destroyed.
  • If any of these items belongs to a shopkeeper, you will be liable for the cost. If you are somehow not in a shop, the shopkeeper will also become angry.
  • You lose 6d6 hit points and abuse Strength.
  • You wake nearby monsters.
17–20 A cloud of noxious gas billows from the <container>.
  • You are poisoned, if you are not poison-resistant.
  • There is a 1/15 chance that the poison is deadly.
  • There is a 5/15 chance that the poison drains 3–5 points of Strength.
  • Otherwise, the poison deals 6–15 damage.
  • You abuse Constitution, even if poison-resistant.
13–16 You feel a needle prick your <hand/finger>.
  • You are poisoned, if you are not poison-resistant.
  • There is a 1/10 chance that the poison is deadly.
  • There is a 5/10 chance that the poison drains 3–5 points of Constitution.
  • Otherwise, the poison deals 6–15 damage.
  • You abuse Constitution, even if poison-resistant.
9–12 A tower of flame bursts from the <container>!
6–8 You are jolted by a surge of electricity!
  • You lose 4d4 hit points, if you are not shock-resistant.
  • All rings and wands in your open inventory are destroyed, even if you are shock-resistant.
3–5 Suddenly you are frozen in place!
  • You are paralyzed for 5d6 turns, if you do not have free action.
  • You abuse Dexterity, but only if you do not have free action.
0–2 A cloud of <color> gas billows from the <container>.

References

  1. (trap.c, line 3500) Finding a trap on a container.


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

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

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