Difference between revisions of "Iron"

From NetHackWiki
Jump to navigation Jump to search
(Copyedit + markup)
m (pothole, ver)
 
(4 intermediate revisions by the same user not shown)
Line 8: Line 8:
  
 
===dNetHack===
 
===dNetHack===
In [[dNetHack]], iron objects deal extra damage against certain creatures,which are listed bellow:{{refsrc|https://github.com/Chris-plus-alphanumericgibberish/dnethack/blob/master/dnethack-3.4.3/src/monst.c|1}}
+
In [[dNetHack]], iron objects deal an additional d([[XL]]) of extra damage against iron-hating monster. This includes wielded non-weapons made of iron, as well as worn iron rings when fighting [[unarmed]] without [[gloves]].<ref>[https://github.com/Chris-plus-alphanumericgibberish/dNAO/blob/compat-3.21.3/src/xhityhelpers.c#L1417 dNetHack xhityhelpers.c, line 1417]</ref>
 +
 
 +
Iron-hating monsters have the <code>MG_HATESIRON</code> in monst.c, and are listed below:
  
 
* {{monsymlink|displacer beast}}s
 
* {{monsymlink|displacer beast}}s
Line 14: Line 16:
 
* {{white|s}}: [[demonic black widow]]
 
* {{white|s}}: [[demonic black widow]]
 
* {{white|E}}: [[dream quasielemental]]
 
* {{white|E}}: [[dream quasielemental]]
* {{white|v}}: [[stinking cloud]]
+
* {{white|v}}: [[yochlol|stinking cloud]]
 
* {{white|Z}}: [[hedrow zombie]]
 
* {{white|Z}}: [[hedrow zombie]]
 
* All {{white|u}} [[unicorn]]s
 
* All {{white|u}} [[unicorn]]s
* {{white|&}}: [[yochlol]], [[Kostchtchie]],[[Avatar of Lolth]]
+
* {{white|&}}: [[yochlol]], [[Kostchtchie]], [[Avatar of Lolth]]
* {{blue|C}}: [[sprow]], [[drider]], [[priestess of Ghaunadaur]], [[parasitized embraced alider]], [[alider]]
+
* {{blue|C}}: [[sprow]], [[Drider (dNetHack)|drider]], [[priestess of Ghaunadaur]], [[parasitized embraced alider]], [[alider]]
* {{white|M}}: {{monsymlink|elf mummy}}, [[drow mummy]],{{monsymlink|giant mummy}}, [[Alabaster mummy]]
+
* {{white|M}}: {{monsymlink|elf mummy}}, [[drow mummy]], {{monsymlink|giant mummy}}, [[Alabaster mummy]]
* {{white|n}}: {{monsymlink|quickling}}, [[dryad]], [[naiad]], [[oread]], [[swamp nymph]], [[yuki-onna]], [[Nimune]]
+
* {{white|n}}: {{monsymlink|quickling}}, [[dryad]], [[naiad]], [[oread]], [[swamp nymph]], [[Yuki-onna (dNetHack)|yuki-onna]] (including [[Yuki-onna (starting race)|player yuki-onna]], [[Nimune]]
 
* {{white|H}}: {{monsymlink|giant}}, {{monsymlink|stone giant}}, {{monsymlink|hill giant}}, {{monsymlink|fire giant}}, {{monsymlink|frost giant}}, {{monsymlink|ettin}}, {{monsymlink|storm giant}}, {{monsymlink|cyclops}}, {{monsymlink|Lord Surtur}}
 
* {{white|H}}: {{monsymlink|giant}}, {{monsymlink|stone giant}}, {{monsymlink|hill giant}}, {{monsymlink|fire giant}}, {{monsymlink|frost giant}}, {{monsymlink|ettin}}, {{monsymlink|storm giant}}, {{monsymlink|cyclops}}, {{monsymlink|Lord Surtur}}
 
* All {{monsymlink|drow}}
 
* All {{monsymlink|drow}}
 
* All {{white|@}} [[elves]]
 
* All {{white|@}} [[elves]]
 
Iron haters receive an additional 1d([[XL]]) damage when struck with an iron object.{{refsrc|https://github.com/Chris-plus-alphanumericgibberish/dnethack/blob/master/dnethack-3.4.3/src/xhityhelpers.c|1355}} This includes wielded non-weapons made of iron, as well as an iron ring worn while fighting [[unarmed]] without [[gloves]].
 
  
 
==References==
 
==References==
 
<references/>
 
<references/>
 
+
{{nethack-367|offset=1}}
 +
{{variant-343}}
 
[[Category:Materials]]
 
[[Category:Materials]]
{{nethack-366}}
 
{{variant-343}}
 

Latest revision as of 11:46, 2 March 2024

Iron is the material composing a large portion of the items in the Dungeons of Doom. Iron can corrode or rust. Rubbing iron on a touchstone produces its signature "scritch, scritch." Common iron items include long swords, skeleton keys, and most amulets. Most common metal armors, such as orcish helms or ring mail, are made out of iron.

Hitting a brown or black pudding with iron splits it into two.[1] Polypiling iron objects may generate an iron golem.[2]

Variants

UnNetHack

In UnNetHack, elves do not regenerate health while touching iron with bare skin. Weapons may be wielded without consequence if gloves are worn. Similarly, amulets do not inhibit regeneration if worn over a shirt or body armor.

dNetHack

In dNetHack, iron objects deal an additional d(XL) of extra damage against iron-hating monster. This includes wielded non-weapons made of iron, as well as worn iron rings when fighting unarmed without gloves.[3]

Iron-hating monsters have the MG_HATESIRON in monst.c, and are listed below:

References