Difference between revisions of "Iron bars"

From NetHackWiki
Jump to navigation Jump to search
m (acid breath also dissolves bars)
m (Punctuation and minor rewording)
Line 3: Line 3:
 
'''Iron bars''' are a [[dungeon feature]] represented by {{cyan|#}}.
 
'''Iron bars''' are a [[dungeon feature]] represented by {{cyan|#}}.
  
You cannot walk through them or dig through them, and objects thrown through them have a chance of being stopped by the iron bars.  Specifically{{reffunc|mthrowu.c|hit_bars}}, "large" objects such as most melee [[weapon]]s, most [[armor]] or [[boulder]]s will be always stopped, while "small" objects such as most projectiles (including [[spear]]s, but not [[dagger]]s or [[boomerang]]s) or [[potion]]s will pass through with 80% chance{{refsrc|mthrowu.c|463|nethack=3.6.1}}, or always when the shooter is next to the bars in question.  Spells and ray/beam attacks (such as dragon breath) will pass right through them as if they weren't there. All monsters which are [[whirly]], [[amorphous]], [[phasing]], [[tiny]], or [[slithy]] (but not large) can pass through them,{{reffunc|mondata.c|passes_bars}} including you if you are [[polymorph]]ed into such a monster.
+
You cannot walk through them or dig through them, and objects thrown through them have a chance of being stopped by the iron bars.  Specifically, "large" objects such as most melee [[weapon]]s, most [[armor]] or [[boulder]]s will be always stopped, while "small" objects such as most projectiles (including [[spear]]s, but not [[dagger]]s or [[boomerang]]s) or [[potion]]s will pass through with 80% chance,{{reffunc|mthrowu.c|hit_bars}}{{refsrc|mthrowu.c|463|nethack=3.6.1}} or always when the shooter is next to the bars in question.  Spells and ray/beam attacks (such as dragon breath) will pass right through them as if they weren't there. All monsters which are [[whirly]], [[amorphous]], [[phasing]], [[tiny]], or [[slithy]] (but not large) can pass through them,{{reffunc|mondata.c|passes_bars}} including you if you are [[polymorph]]ed into such a monster.
  
In [[3.6.1]], a [[potion of acid]] can be used to dissolve iron bars by hitting them while [[wield]]ing it.{{refsrc|hack.c|1569|nethack=3.6.1}}{{refsrc|mthrowu.c|1115|nethack=3.6.1}} Throwing also might work, but as noted above, the potion only has a 20% chance to hit the bars. [[Acid]]ic breath of a [[yellow dragon]] will dissolve the bars as well.{{refsrc|zap.c|4425|nethack=3.6.1}}
+
In [[3.6.1]], a [[potion of acid]] can be used to dissolve iron bars by hitting them while [[wield]]ing it.{{refsrc|hack.c|1569|nethack=3.6.1}}{{refsrc|mthrowu.c|1115|nethack=3.6.1}} Throwing also might work, but as noted above, the potion only has a 20% chance to hit the bars. [[Acid]]ic breath of a [[yellow dragon]] will dissolve the bars as well.{{refsrc|zap.c|4425|nethack=3.6.1}}
  
Randomly generated inaccessible [[closet]]s have a 20% chance of having iron bars where the door would be. This is the only time iron bars will appear on ordinary dungeon levels in vanilla, meaning there is a guaranteed [[scroll of teleportation]] past the bars. There are guaranteed iron bars in the [[Wizard quest|wizard]], [[Tourist quest|tourist]] and [[ranger quest]]s. The [[minetown]] variant [[Minetown#Orcish_Town|Orcish town]] will also have several iron bars.
+
Randomly generated inaccessible [[closet]]s have a 20% chance of having iron bars where the door would be. This is the only time iron bars will appear on ordinary dungeon levels in vanilla, meaning there is a guaranteed [[scroll of teleportation]] past the bars. There are guaranteed iron bars in the [[Wizard quest|Wizard]], [[Tourist quest|Tourist]], and [[Ranger quest]]s. The [[Minetown]] variant [[Minetown#Orcish Town|Orcish town]] will also have several iron bars.
  
==A bit of history==
+
==History==
Prior to version 3.6.0 they were never randomly generated in Vanilla NetHack.
+
{{todo|Bug still valid for 3.6.0?}}
 +
Prior to version 3.6.0, iron bars were never randomly generated in vanilla NetHack.
  
==Probably a 3.4.0 bug ==
+
In version 3.4.0, a monster that can pass through iron bars can still do so even while [[engulfing]] a monster that cannot. This may be a bug.
{{todo|Still valid for 3.6.0?}}
 
If you are currently engulfed by a monster that can pass through them. The monster can still pass through them.
 
  
 
==Variants==
 
==Variants==
  
===[[SLASH'EM]]===
+
===SLASH'EM===
  
In SLASH'EM, iron bars may be found in some of the new levels of [[Sokoban]], but aren't randomly generated. They are also found in [[Grund's Stronghold]], and may comprise the walls of some maze levels, like in [[Gehennom]]. Iron bar mazes, are especially annoying during the ascension run.
+
In [[SLASH'EM]], iron bars may be found in some of the new levels of [[Sokoban]], but aren't randomly generated. They are also found in [[Grund's Stronghold]], and may comprise the walls of some maze levels, like in [[Gehennom]]. Iron bar mazes are especially annoying during the ascension run.
  
 
Most creatures cannot pass through the bars, but a [[doppelganger]] character may still [[liquid leap]] through them.  
 
Most creatures cannot pass through the bars, but a [[doppelganger]] character may still [[liquid leap]] through them.  
  
===[[UnNetHack]]===
+
===UnNetHack===
  
In UnNetHack, iron bars may be found in some of the new levels of [[Sokoban]]. They sometimes are generated on room-and-corridor dungeon levels instead of doorways. There is a small chance that levels in [[Gehennom]] may have iron bars instead of walls, making it difficult to hack a path.
+
In [[UnNetHack]], iron bars may be found in some of the new levels of [[Sokoban]]. They sometimes are generated on room-and-corridor dungeon levels instead of doorways. There is a small chance that levels in [[Gehennom]] may have iron bars instead of walls, making it difficult to hack a path.
  
 
Creatures ''are'' able to pass through Sokoban bars. Some are created around the exit if you are attempting to steal from the [[Black Market]].
 
Creatures ''are'' able to pass through Sokoban bars. Some are created around the exit if you are attempting to steal from the [[Black Market]].
  
Iron bars may be dissolved by a [[potion of acid]],{{refsrc|src/mthrowu.c|856|unnethack=1499}} [[Dragon|acid breath]] (with a 20% chance),{{refsrc|src/zap.c|3915|unnethack=1499}} and eaten by [[metallivores]].{{refsrc|src/hack.c|731|unnethack=1499}}{{refsrc|src/monmove.c|1307|unnethack=1499}}
+
Iron bars may be eaten by [[metallivore]]s{{refsrc|src/hack.c|731|unnethack=1499}}{{refsrc|src/monmove.c|1307|unnethack=1499}} and dissolved by a [[Dragon|acid breath]] (with a 20% chance){{refsrc|src/zap.c|3915|unnethack=1499}} or a [[potion of acid]].{{refsrc|src/mthrowu.c|856|unnethack=1499}}
  
===[[SporkHack]]===
+
===SporkHack===
  
In SporkHack, they are sometimes generated on room-and-corridor dungeon levels instead of doorways.
+
In [[SporkHack]], iron bars are sometimes generated on room-and-corridor dungeon levels instead of doorways.
  
===[[dNethack]]===
+
===dNetHack===
  
They can now be broken with wands of striking.
+
In [[dNetHack]], iron bars can be broken with wands of striking.
  
 
== References ==
 
== References ==

Revision as of 23:35, 21 August 2019


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.

Iron bars are a dungeon feature represented by #.

You cannot walk through them or dig through them, and objects thrown through them have a chance of being stopped by the iron bars. Specifically, "large" objects such as most melee weapons, most armor or boulders will be always stopped, while "small" objects such as most projectiles (including spears, but not daggers or boomerangs) or potions will pass through with 80% chance,[1][2] or always when the shooter is next to the bars in question. Spells and ray/beam attacks (such as dragon breath) will pass right through them as if they weren't there. All monsters which are whirly, amorphous, phasing, tiny, or slithy (but not large) can pass through them,[3] including you if you are polymorphed into such a monster.

In 3.6.1, a potion of acid can be used to dissolve iron bars by hitting them while wielding it.[4][5] Throwing also might work, but as noted above, the potion only has a 20% chance to hit the bars. Acidic breath of a yellow dragon will dissolve the bars as well.[6]

Randomly generated inaccessible closets have a 20% chance of having iron bars where the door would be. This is the only time iron bars will appear on ordinary dungeon levels in vanilla, meaning there is a guaranteed scroll of teleportation past the bars. There are guaranteed iron bars in the Wizard, Tourist, and Ranger quests. The Minetown variant Orcish town will also have several iron bars.

History

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

"Bug still valid for 3.6.0?"

Prior to version 3.6.0, iron bars were never randomly generated in vanilla NetHack.

In version 3.4.0, a monster that can pass through iron bars can still do so even while engulfing a monster that cannot. This may be a bug.

Variants

SLASH'EM

In SLASH'EM, iron bars may be found in some of the new levels of Sokoban, but aren't randomly generated. They are also found in Grund's Stronghold, and may comprise the walls of some maze levels, like in Gehennom. Iron bar mazes are especially annoying during the ascension run.

Most creatures cannot pass through the bars, but a doppelganger character may still liquid leap through them.

UnNetHack

In UnNetHack, iron bars may be found in some of the new levels of Sokoban. They sometimes are generated on room-and-corridor dungeon levels instead of doorways. There is a small chance that levels in Gehennom may have iron bars instead of walls, making it difficult to hack a path.

Creatures are able to pass through Sokoban bars. Some are created around the exit if you are attempting to steal from the Black Market.

Iron bars may be eaten by metallivores[7][8] and dissolved by a acid breath (with a 20% chance)[9] or a potion of acid.[10]

SporkHack

In SporkHack, iron bars are sometimes generated on room-and-corridor dungeon levels instead of doorways.

dNetHack

In dNetHack, iron bars can be broken with wands of striking.

References

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.