Iron
Iron is a form of material that occurs in NetHack, and is one of the most common materials if not the most common material in the dungeon.[1]
Description
Iron is a non-organic and rigid material that is vulnerable to erosion through both rust and corrosion. Applying or rubbing a touchstone onto anything made of iron produces a distinct "scritch, scritch" message.[2][3][4]
As a metallic material, wearing iron armor increases a hero's spellcasting failure rates–with the exceptions of Knights wearing iron armor while casting clerical spells–but tends to offer more protection in terms of AC compared to common non-metallic armor such as leather armor.[5][6][7][8] Iron helms are more than hard enough to repel falling objects like rocks and falling monsters such as piercers while reducing most of the damage taken by the wearer, though it will not protect a hero or monster that has phasing (and will in fact cause them to take very mild damage if they would not have otherwise)[9][10][11][12][13]—an iron helm will also reduce damage taken from a hero colliding with the ceiling when quaffing a cursed potion of levitation.[14]
Hitting a brown pudding or black pudding in melee with an item or weapon that is made of iron and is not a type of ammunition or projecile will cause it to divide if it has enough HP, and a black pudding will also cause corrosion in iron items that make contact with them (unless the item is a lance being used in melee that breaks on contact with the pudding).[15][16]
Of note is that iron piercers are not made of iron, but have a shell that resembles iron in appearance.
Metallivores
While iron cannot be eaten under normal circumstances, metallivores are capable of eating iron objects among other similar materials.[17] This also applies to a hero that polymorphs into a metallivore.
A metallivore will eat most iron items that they come across, but they will try to avoid the following:[18] poisoned weapons made of iron unless they have poison resistance, artifacts that can blast them, an amulet of strangulation, and a ring of slow digestion that has a randomized appearance made of iron.[19][20] Rust monsters in particular are only capable of eating rust-prone metals such as iron, and a rust monster or polymorphed hero attempting to eat an iron object that is rustproofed will cause them to spit it out in disgust, resulting in the item losing its rustproofing and the eater becoming stunned.[21][22]
List of iron items
The following items other than rings and wands are made of iron:
- arrow
- orcish arrow
- crossbow bolt
- dart
- shuriken
- spear
- orcish spear
- dwarvish spear
- javelin
- trident
- dagger
- orcish dagger
- athame
- knife
- stiletto
- axe
- battle-axe
- short sword
- orcish short sword
- dwarvish short sword
- scimitar
- broadsword
- long sword
- two-handed sword
- katana
- runesword
- all polearms
- dwarvish mattock
- lance
- mace
- morning star
- war hammer
- aklys
- flail
- orcish helm
- dwarvish iron helm
- dented pot
- helmet
- helm of caution
- helm of opposite alignment
- helm of telepathy
- plate mail
- splint mail
- banded mail
- chain mail
- orcish chain mail
- scale mail
- ring mail
- orcish ring mail
- Uruk-hai shield
- orcish shield
- large shield
- dwarvish roundshield
- gauntlets of power
- iron shoes
- kicking boots
- all amulets
- skeleton key
- lock pick
- stethoscope
- tinning kit
- tin opener
- can of grease
- land mine
- beartrap
- pick-axe
- grappling hook
- heavy iron ball
- iron chain
Rings with the following randomized appearances are made of iron:
- iron ring
- twisted ring
- steel ring
- wire ring
- engagement ring
- shiny ring
Wands with the following randomized appearances are made of iron:
- iron wand
- steel wand
- hexagonal wand
- short wand
- runed wand
- long wand
- curved wand
- spiked wand
- jeweled wand
Iron bars are a dungeon feature that are (naturally) made of iron.
Polypiling enough glass objects has a chance of creating an iron golem.[23] Iron golems themselves will take increased damage from water or anything else that causes rusting or corrosion–such as the touch attack of a rust monster or even a wet towel–and can even be instantly destroyed by them.[24][25]
History
Iron items technically first appear in Jay Fenlason's Hack and Hack 1.0, with the presence of most weapons and armor alongside creatures such as the rust monster—the material and its behavior is formally defined in NetHack 3.0.0.
From NetHack 3.0.0 to NetHack 3.4.3, including some variants based on those versions, rings with the appearance of a "pearl ring" are made of iron—the appearance's material is changed to bone in NetHack 3.6.0.
In versions up to NetHack 3.6.7, including some variants based on those versions, the helm of brilliance is made of iron and is special-cased to not raise spellcasting failure rates while worn due to its attribute enhancements.[26][27] The helm of brilliance is changed to a glass helm in NetHack 5.0.0 via commit f9a35132, which also gives its old iron material and randomized appearance to the helm of caution.
Variants
Most NetHack variants add new items made of iron, and many of those which implement an object materials system make it possible for certain items–usually metallic ones–to be made of iron. NetHack variants created prior to NetHack 5.0.0 may or may not leave the helm of brilliance's default material as iron.
As an object material, iron is generally the standard that other materials are compared to in terms of fragility, durability and weight. Several NetHack variants may give elven monsters and similar beings such as fey or drow (who are "dark elves") a vulnerability to iron that causes it to inflict extra damage against them similarly to silver's use against vampires and major demons—these adverse effects will also occur for a hero that is an elf or a similar creature.
UnNetHack
In UnNetHack, elves do not regenerate health while touching iron with their bare skin, though they can wield weapons safely if they are wearing gloves and can put on amulets safely if they are wearing a shirt or a suit of armor.
dNetHack
In dNetHack, notdNetHack and notnotdNetHack, iron weapons and other objects (e.g. wielded non-weapons made of iron, or rings that are made of iron and are worn while fighting unarmed without gloves) deal extra damage against heroes or monsters that hate iron, which constitutes several fey monsters, giants, and elves (including drow). The bonus damage dealt from iron used against these monsters is equal to +1dXL for a hero attacking monsters and +1dML for a monster attacking the hero or other monsters.
The following monsters hate iron, which is denoted by the MG_HATESIRON flag within their data:
- f displacer beast
- l leprechaun
- l ethereal filcher
- l lucksucker
- n quickling
- n dryad
- n naiad
- n oread
- n yuki-onna
- n swamp nymph
- u white unicorn
- u gray unicorn
- u black unicorn
- 7 Iasoian Archon
- A Light-elf
- C sprow
- C drider
- C priestess of Ghaunadaur
- E dream quasielemental
- H giant
- H stone giant
- H hill giant
- H fire giant
- H frost giant
- H ettin
- H storm giant
- L baelnorn
- L dokkalfar eternal matriarch
- M elf mummy
- M drow mummy
- M giant mummy
- M drider mummy
- M dark fey'ri mummy
- M dokkimar mummy
- W unbodied
- W silverfire shadow's wraith
- Z hedrow zombie
- @ dark fey'ri
- @ dokkimar
- @ elf
- @ drow
- @ Woodland-elf
- @ drow captain
- @ Green-elf
- @ Grey-elf
- @ hedrow warrior
- @ elf-lord
- @ elf-lady
- @ doppelganger
- @ hedrow wizard
- @ Elvenking
- @ Elvenqueen
- @ unearthly drow
- @ drow matron
- @ hedrow blademaster
- @ embraced drowess
- @ treesinger
- @ mithril smith
- @ shadowsmith
- @ mindless thrall
- shrieking shadow
- & yochlol
- & Kostchtchie
- & Avatar of Lolth
- @ Eclavdra
- @ Galadriel
- @ Mother
- @ drow novice
- C parasitized embraced alider
- @ Seyll Auzkovyn
- @ Daruth Xaxox
- H Cyclops
- @ Blibdoolpoolp, graven-into-flesh
- C Blibdoolpoolp's mindgraven champion
- n Nimune
- U elder brain
- @ A'gone
- @ A'salom
- H Lord Surtur
- @ Alabaster elf
- @ Alabaster elf-elder
- { alabaster cactoid
- @ desert seer
- @ bereft
- M Leaden ancestor
- M maniacal ancestor
- @ ancient elf
- M Alabaster mummy
- . restless voice
- W elven wraith
- @ myrkalfr
- @ myrkalfar warrior
- @ myrkalfar matron
- C alider
- @ drow matron-mother
- @ hedrow master-wizard
- @ drow alienist
- @ Gromph
- @ Dantrag
- @ Celeborn
- @ High-elf
- @ stjarna-alfr
- @ Sister T'eirastra
- @ Pen'a mendicant
- C mendicant sprow
- C mendicant drider
- @ Y-cultist
- @ Y-cultist fighter
- @ Y-cultist wizard
- @ Y-cultist matron
- @ Y-cultist patron
- @ anulo
- @ anulo dancer
- n xuenu monk
- @ Star-elf
- @ Star-emperor
- @ Star-empress
- @ Puppet-Emperor Xeleth
- @ Puppet-Empress Xedalli
- @ sister
- @ houseless drow
References
- ↑ include/objclass.h in NetHack 5.0.0, line 24
- ↑ src/apply.c in NetHack 5.0.0, line 2682
- ↑ src/apply.c in NetHack 5.0.0, line 2721-L2723
- ↑ src/apply.c in NetHack 5.0.0, line 2807-L2808
- ↑ src/spell.c in NetHack 5.0.0, line 106-L108
- ↑ src/spell.c in NetHack 5.0.0, line 2181-L2183: paladin_bonus boolean
- ↑ src/spell.c in NetHack 5.0.0, line 2191-L2193: metallic suit does not interfere with Knights casting clerically
- ↑ src/spell.c in NetHack 5.0.0, line 2202-L2209: metallic helms, gloves and boots do not interfere with Knights casting clerically
- ↑ src/dothrow.c in NetHack 5.0.0, line 1334-L1335
- ↑ src/dothrow.c in NetHack 5.0.0, line 1382-L1397
- ↑ src/hack.c in NetHack 5.0.0, line 3425-L3427: hard helm vs. falling piercer
- ↑ src/read.c in NetHack 5.0.0, line 2318-L2326: hard helm vs. scroll of earth
- ↑ src/trap.c in NetHack 5.0.0, line 1348-L1357: hard helm vs. falling rock trap
- ↑ src/potion.c in NetHack 5.0.0, line 1199-L1207: cursed potion of levitation effects
- ↑ src/uhitm.c in NetHack 5.0.0, line 1603-L1634: hmon_hitmon_splitmon() function
- ↑ src/uhitm.c in NetHack 5.0.0, line 4091-L4106: hero in pudding form being split by iron
- ↑ src/mon.c in NetHack 5.0.0, line 1455-L1529: meatmetal() function
- ↑ src/mon.c in NetHack 5.0.0, line 1473-L1515
- ↑ src/mon.c in NetHack 5.0.0, line 1476-L1483
- ↑ src/eat.c in NetHack 5.0.0, line 2911-L2918
- ↑ src/mon.c in NetHack 5.0.0, line 1484-L1502
- ↑ src/eat.c in NetHack 5.0.0, line 2876-L2910
- ↑ src/zap.c in NetHack 5.0.0, line 1568-L1573
- ↑ src/uhitm.c in NetHack 5.0.0, line 1361-L1368
- ↑ src/uhitm.c in NetHack 5.0.0, line 2316-L2330
- ↑ src/objects.c in NetHack 3.6.7, line 358
- ↑ src/spell.c in NetHack 3.6.7, line 1737