Difference between revisions of "Tunneling monster"

From NetHackWiki
Jump to navigation Jump to search
(cat)
m (Tree: refsrc)
 
(11 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
A '''tunneling monster''' is a [[monster]] with the ability to bore tunnels through the normally solid [[dungeon]]. Tunneling monsters can tunnel through rock and closed [[door]]s, and chop down [[tree]]s.
 
A '''tunneling monster''' is a [[monster]] with the ability to bore tunnels through the normally solid [[dungeon]]. Tunneling monsters can tunnel through rock and closed [[door]]s, and chop down [[tree]]s.
  
Some monsters can only tunnel through rock while wielding a [[pick-axe]] or [[dwarvish mattock]], and through [[tree]]s while wielding an [[axe]] or [[battle-axe]]. Both picks and axes suffice for [[door]]s.
+
Some monsters can only tunnel through rock while wielding a [[pick-axe]] or [[dwarvish mattock]], and through trees while wielding an [[axe]] or [[battle-axe]]. Both picks and axes suffice for doors.
  
Note that ANY [[monster]] that can tunnel at all can go through both rock and wood. [[Rock mole]]s can eat [[tree]]s and [[woodchuck]]s can apparently chuck rock.
+
Note that ''any'' monster that can tunnel at all can go through both rock and wood. [[Rock mole]]s can eat [[tree]]s and [[woodchuck]]s can apparently chuck rock.
  
No monster can tunnel through the specially designated [[undiggable]] [[wall]]s in some [[special levels]].
+
No monster can tunnel through the specially designated [[undiggable]] walls in some [[special levels]].
  
 
If you polymorph into a naturally tunneling monster you will gain the ability to tunnel without a pick. You will still be able to use a pick, provided your new form has hands and is strong enough to carry it. [[Rock mole]]s, for instance, generally cannot even lift a [[pick-axe]]. Your [[digging]] is handled separately however, even while in polyform.
 
If you polymorph into a naturally tunneling monster you will gain the ability to tunnel without a pick. You will still be able to use a pick, provided your new form has hands and is strong enough to carry it. [[Rock mole]]s, for instance, generally cannot even lift a [[pick-axe]]. Your [[digging]] is handled separately however, even while in polyform.
  
 
==Effects==
 
==Effects==
===[[Wall]]===
+
===Wall===
When a monster tunnels through a rock wall, there is a 1/5 chance of producing the message "[[You hear crashing rock]]."<ref>{{sourcecode|dig.c|1106}}</ref>
+
When a monster tunnels through a rock [[wall]], there is a {{frac|5}} chance of producing the message "You hear crashing rock."{{refsrc|dig.c|1286|nethack=3.6.0}}
  
===[[Solid rock]]===
+
===Solid rock===
When a monster tunnels through solid rock (the blank areas surrounding most of the dungeon), there is a 1/3 chance of some waste being produced. 1/4 of the time this waste will be a [[boulder]], the rest of the time it will be a single [[rock]]. No message is produced.<ref>{{sourcecode|dig.c|1071}}</ref><ref>{{sourcecode|dig.c|1125}}</ref>
+
When a monster tunnels through [[solid rock]] (the blank areas surrounding most of the dungeon), there is a {{frac|3}} chance of some waste being produced. {{frac|4}} of the time this waste will be a [[boulder]], the rest of the time it will be a single [[rock]]. No message is produced.{{refsrc|dig.c|1244|nethack=3.6.0}}{{refsrc|dig.c|1305|nethack=3.6.0}}  
  
===[[Tree]]===
+
===Tree===
When a monster tunnels through a tree, there is a 1/3 chance of a random piece of [[fruit]] being produced, chosen from [[apple]], [[orange]], [[pear]], [[banana]], and [[eucalyptus leaf]]. No message is produced.<ref>{{sourcecode|dig.c|1121}}</ref>
+
When a monster tunnels through a [[tree]], there is a {{frac|3}} chance of a random piece of fruit being produced, chosen from [[apple]], [[orange]], [[pear]], [[banana]], and [[eucalyptus leaf]]. No message is produced.{{refsrc|src/dig.c|1321|nethack=3.6.7}}
  
===[[Door]]===
+
===Door===
When a monster tunnels through a closed door there is a 1/3 chance of producing the message "[[You feel an unexpected draft]]."<ref>{{sourcecode|dig.c|1077}}</ref>
+
When a monster tunnels through a closed [[door]], there is a {{frac|3}} chance of producing the message "You feel an unexpected draft."{{refsrc|dig.c|1250|nethack=3.6.0}}  
  
 
==Monsters capable of tunneling==
 
==Monsters capable of tunneling==
===Without a pick/axe===
+
===Without a pick-axe or axe===
 
* {{monsymlink|rock mole}}
 
* {{monsymlink|rock mole}}
 
* {{monsymlink|woodchuck}}
 
* {{monsymlink|woodchuck}}
 
* {{monsymlink|umber hulk}}
 
* {{monsymlink|umber hulk}}
  
===With a pick/axe===
+
===With a pick-axe or axe===
 
* Dwarves:
 
* Dwarves:
 
** {{monsymlink|dwarf}}
 
** {{monsymlink|dwarf}}
Line 39: Line 39:
  
 
==Messages==
 
==Messages==
'''[[You hear crashing rock]]'''
+
{{message|You hear crashing rock.|Produced {{frac|5}} of the time when a monster tunnels through a rock [[wall]].}}
:Produced 1/5 of the time when a monster tunnels through a rock [[wall]].<ref>{{sourcecode|dig.c|1106}}</ref>
+
{{message|You feel an unexpected draft.|Produced {{frac|3}} of the time when a monster tunnels through a [[door]].}}
 
+
{{message|&lt;Monster&gt; digs in.|Produced when a pet umber hulk, woodchuck, or rock mole eats something off the ground in your sight. This [[YAFM]] replaces the ordinary pet eating message.{{refsrc|dogmove.c|271|nethack=3.6.0}}}}
'''[[You feel an unexpected draft]]'''
 
:Produced 1/3 of the time when a monster tunnels through a [[door]].<ref>{{sourcecode|dig.c|1077}}</ref>
 
  
 
==Technical details==
 
==Technical details==
Monsters that can tunnel have the [[M1_TUNNEL]] monster attribute. Monsters that require picks and axes also have the [[M1_NEEDPICK]] monster attribute in addition to [[M1_TUNNEL]]. No monster in vanilla [[NetHack]] has [[M1_NEEDPICK]] but NOT [[M1_TUNNEL]].
+
Monsters that can tunnel have the [[M1_TUNNEL]] monster attribute. Monsters that require picks and axes also have the [[M1_NEEDPICK]] monster attribute in addition to M1_TUNNEL. No monster in vanilla [[NetHack]] has M1_NEEDPICK but not M1_TUNNEL.
  
 
==See also==
 
==See also==
* {{function|monmove.c|m_move}} -- decides when and if monsters can and will tunnel.
+
* {{function|monmove.c|m_move}} &ndash; decides when and if monsters can and will tunnel.
* {{function|dig.c|mdig_tunnel}} -- performs the tunneling. Called by m_move.
+
* {{function|dig.c|mdig_tunnel}} &ndash; performs the tunneling. Called by m_move.
  
 
==References==
 
==References==
 
<references />
 
<references />
 
[[Category:Monster attributes]]
 
[[Category:Monster attributes]]
 +
{{nethack-360}}

Latest revision as of 23:06, 18 February 2024

A tunneling monster is a monster with the ability to bore tunnels through the normally solid dungeon. Tunneling monsters can tunnel through rock and closed doors, and chop down trees.

Some monsters can only tunnel through rock while wielding a pick-axe or dwarvish mattock, and through trees while wielding an axe or battle-axe. Both picks and axes suffice for doors.

Note that any monster that can tunnel at all can go through both rock and wood. Rock moles can eat trees and woodchucks can apparently chuck rock.

No monster can tunnel through the specially designated undiggable walls in some special levels.

If you polymorph into a naturally tunneling monster you will gain the ability to tunnel without a pick. You will still be able to use a pick, provided your new form has hands and is strong enough to carry it. Rock moles, for instance, generally cannot even lift a pick-axe. Your digging is handled separately however, even while in polyform.

Effects

Wall

When a monster tunnels through a rock wall, there is a 15 chance of producing the message "You hear crashing rock."[1]

Solid rock

When a monster tunnels through solid rock (the blank areas surrounding most of the dungeon), there is a 13 chance of some waste being produced. 14 of the time this waste will be a boulder, the rest of the time it will be a single rock. No message is produced.[2][3]

Tree

When a monster tunnels through a tree, there is a 13 chance of a random piece of fruit being produced, chosen from apple, orange, pear, banana, and eucalyptus leaf. No message is produced.[4]

Door

When a monster tunnels through a closed door, there is a 13 chance of producing the message "You feel an unexpected draft."[5]

Monsters capable of tunneling

Without a pick-axe or axe

With a pick-axe or axe

Messages

You hear crashing rock.
Produced 15 of the time when a monster tunnels through a rock wall.
You feel an unexpected draft.
Produced 13 of the time when a monster tunnels through a door.
<Monster> digs in.
Produced when a pet umber hulk, woodchuck, or rock mole eats something off the ground in your sight. This YAFM replaces the ordinary pet eating message.[6]

Technical details

Monsters that can tunnel have the M1_TUNNEL monster attribute. Monsters that require picks and axes also have the M1_NEEDPICK monster attribute in addition to M1_TUNNEL. No monster in vanilla NetHack has M1_NEEDPICK but not M1_TUNNEL.

See also

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.