Difference between revisions of "Dwarvish mattock"

From NetHackWiki
Jump to navigation Jump to search
(update version; also a strategy note)
m (pothole)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{languages}}
 
{{weapon
 
{{weapon
 
   |name=dwarvish mattock
 
   |name=dwarvish mattock
Line 5: Line 6:
 
   |smalldmg=1d12 (1-12)
 
   |smalldmg=1d12 (1-12)
 
   |largedmg=1d8+2d6 (3-20)
 
   |largedmg=1d8+2d6 (3-20)
   |tohit=<nowiki>-1</nowiki>
+
   |tohit=&minus;1
 
   |skill=pick-axe
 
   |skill=pick-axe
 
   |size=two-handed
 
   |size=two-handed
Line 13: Line 14:
 
}}
 
}}
  
'''Dwarvish mattocks''' are effective weapons; much more so than [[pick-axe]]s, the only other weapons in the pick-axe class. They have some drawbacks, however &mdash; mattocks are not only heavier than pick-axes, but also require [[Two-handed|two hands]] to wield. Furthermore, their -1 [[to-hit]] "bonus" can make it difficult to hit enemies with them until you maximize your [[Luck]].  
+
A '''dwarvish mattock''' is a type of [[weapon]] that appears in ''[[NetHack]]''. It is a [[two-handed]] [[weapon-tool]] that is made of [[iron]] and uses the [[pick-axe]] [[skill]], and appears as a '''broad pick''' when [[identification|unidentified]].
  
When [[identification|unidentified]], a mattock appears as a '''broad pick'''. A [[shopkeeper]] will identify it for you by asking you to leave "your mattock" behind.
+
==Generation==
 +
Player [[Dwarf (starting race)|dwarves]] start the game with knowledge of the dwarvish mattock - a commented-out line of code would give any dwarven character that started the game with a pick-axe a dwarvish mattock instead.{{refsrc|src/u_init.c|228|nethack=3.6.7|comment=Race-based substitutions for initial inventory}}
  
==Generation==
+
Dwarvish mattocks make up about 1.3% of all randomly generated weapons. In addition to random generation, weapon shops and general stores can stock dwarvish mattocks.
Considered [[weapon]]s rather than [[tool]]s, dwarvish mattocks can be randomly generated under the same circumstances as [[weapon]]s (on the floor, as [[death drop]]s, and in [[shop]]s), and make up about 1.3% of all randomly generated weapons.
 
  
Mattocks are most commonly generated in the inventory of [[Dwarf#List of Dwarf monsters|dwarves]], including [[dwarf lord|lord]]s and [[dwarf king|king]]s.{{refsrc|src/makemon.c|376|version=NetHack 3.6.6}}
+
Live [[Dwarf (monster attribute)|dwarves]] have an effective {{frac|8}} chance of [[Monster starting inventory|being generated with]] a dwarvish mattock.{{refsrc|src/makemon.c|367|nethack=3.6.7|comment=a dwarf must be given a [[dwarvish short sword]] and [[dwarvish iron helm]] ({{frac|4}} chance) in order to have a {{frac|2}} chance of a mattock}} [[Watchmen]] and [[soldier]]s can also generate with dwarvish mattocks.{{refsrc|src/makemon.c|191|version=NetHack 3.6.7|comment=eligible weapons include those from [[partisan]] to [[bec de corbin]] in the objects list}}{{refsrc|src/objects.c|249|version=NetHack 3.6.7|comment=mattocks are in this range}}
  
Mattocks can also be generated in the inventory of watchmen and soldiers.{{refsrc|src/makemon.c|191|version=NetHack 3.6.6|comment=eligible weapons include those from [[partisan]] to [[bec-de-corbin]] in the objects list}}{{refsrc|src/objects.c|249|version=NetHack 3.6.6|comment=mattocks are in this range}}
+
[[Player monster]]s, including those on the [[Astral Plane]], have a ~1.1% chance of generating with a dwarvish mattock as their initial weapon before role-based replacements.{{refsrc|src/mplayer.c|155|version=NetHack 3.6.7|comment={{frac|2}} to get a random weapon - the designated range of objects covers weapons from the spear to the bullwhip inclusively in objects.c, and uses normal generation odds}}
  
 
{{upcoming|NetHack 3.7.0|Mattocks no longer generate as starting weapons on watchmen and soldiers.<ref>[https://github.com/NetHack/NetHack/commit/da859c5eb88e17d04ec2bb37e2c12842e9f4c4a9 fix github issue #623 - soldiers and mattocks]</ref>}}
 
{{upcoming|NetHack 3.7.0|Mattocks no longer generate as starting weapons on watchmen and soldiers.<ref>[https://github.com/NetHack/NetHack/commit/da859c5eb88e17d04ec2bb37e2c12842e9f4c4a9 fix github issue #623 - soldiers and mattocks]</ref>}}
 +
 +
==Description==
 +
As with a pick-axe, a dwarvish mattock can be [[applied]] or [[wield]]ed to [[dig]] through walls or floors, as well as break [[boulder]]s and [[statue]]s; shopkeepers will also prevent you from entering a shop with a mattock in your inventory. Buying or selling a dwarvish mattock will [[auto-identify]] it, as will attempting to enter a [[shop]] with one, or else removing it from a container in your inventory while inside.
  
 
==Strategy==
 
==Strategy==
 +
A dwarvish mattock can be an effective weapon, as it deals far more damage than a pick-axe, especially against larger monsters - it is also much heavier and requires both hands free to wield, and their -1 [[to-hit]] penalty can make hitting with one difficult early in the game until you boost your [[Luck]] [[Archeologist]]s and other roles planning to utilize a mattock as their primary weapon can use their starting pick-axe and train to Skilled to offset the penalty.
  
The mattock, besides being two-handed, heavier, and a superior weapon, has the same advantages and drawbacks as the pick-axe, namely:
+
As with a pick-axe, applying a mattock to wield it does not use up a turn, which can be advantageous when combined with other wielded items: as an example, you can apply a [[bullwhip]] at a monster to disarm it, then immediately attack on your next turn by applying a mattock, without having to take a turn to wield it.
 
 
* They can be (a)pplied (this wields the mattock!) to dig through walls or floors, or to break [[boulder]]s or [[statue]]s into rocks (Archeologists are penalized for breaking historic statues). Occasionally a [[spellbook]] or other useful item will be found in the remains of a statue. For more information, see the [[pick-axe]] and [[digging]] articles.
 
* Shopkeepers will not allow you to carry a mattock into a shop unless you hide it within a container. Attempting to throw one into a shop by standing in front of the shopkeeper and throwing it diagonally past him/her will fail, as the shopkeeper will catch it.
 
 
 
Enchanted mattocks are the best naturally-occurring weapons you can give to your [[pet]], provided the pet has a weapon attack, is not wearing a shield, and belongs to a species that has the "[[strong]]" attribute. Pets understand how much damage mattocks can do and will not drop them in favor of other weapons (in practice swapping them out only for artifacts or cockatrice corpses), and their two-handedness is not a drawback.
 
  
[[Apply]]ing a mattock or pick-axe will wield it if it was not already wielded.  Wielding it in this manner will not take an extra turn if it you then choose a direction to dig when prompted, and this direction can be toward monsters.  This can be used to your advantage in combination with a other wielded items, such as a [[bullwhip]]: you can apply a bullwhip at a monster to disarm it, then immediately attack on your next turn by applying a mattock, without having to take a turn to wield it.
+
Enchanted mattocks are among the best naturally-occurring weapons that can be given to a [[strong]] [[pet]] with a weapon attack - they are also the deadliest weapon you and your pet can encounter early on in the hands of hostile dwarves, who can do upwards of 20 damage per swing.
  
 
===Average damage calculation===
 
===Average damage calculation===
The average damage calculations in the following table do not include bonuses from [[Skill|weapon skills]], [[strength]], or from using a [[blessed]] weapon against [[undead]] or [[demon]]s.
+
The average damage calculations in the following table do not include bonuses from [[Skill|weapon skills]], [[strength]], or from using a [[blessed]] weapon against [[undead]] or [[M2_DEMON|demons]].
  
 
{|class="wikitable"
 
{|class="wikitable"
Line 49: Line 49:
 
| +7 dwarvish mattock || <math>\frac{1+12}{2}+7=\bold{13.5}</math> || <math>\frac{1+8}{2}+\frac{2+12}{2}+7=\bold{18.5}</math>
 
| +7 dwarvish mattock || <math>\frac{1+12}{2}+7=\bold{13.5}</math> || <math>\frac{1+8}{2}+\frac{2+12}{2}+7=\bold{18.5}</math>
 
|}
 
|}
 +
 +
==History==
 +
The dwarvish mattock first appears in [[NetHack 3.0.0]].
 +
 +
==Variants==
 +
===SLASH'EM===
 +
In [[SLASH'EM]], [[upgrading]] a pick-axe will produce a dwarvish mattock and vice versa. This makes it possible to enchant a weapon to +127: [[Polypile|polymorph]] the weapon of choice into a mattock, then upgrade it to a [[pick-axe]], polymorph it further into a [[tinning kit]] or an [[expensive camera]], use [[charging]] until the output has 127 charges, then wait for it to revert completely. A +127 [[long sword]] can be turned into [[Excalibur]] for a lawful character, while a +127 [[bow]] or other [[launcher]] can fire 40 or more projectiles at once.
 +
 +
===dNetHack===
 +
In [[dNetHack]], the dwarvish mattock can be thrown with no to-hit penalty.
 +
 +
[[DNetHack artifacts#Slave to Armok|Slave to Armok]] is a lawful [[artifact weapon]] dwarvish mattock that favors dwarves. It is [[bloodthirsty]], with a sanity-based chance of attacking an adjacent monster each turn, and grants +1d5 to hit and double damage against [[Elf (monster attribute)|elves]], [[Orc (monster attribute)|orcs]], always-peaceful monsters, and [[M2_LORD|monster lords]].
 +
 +
===SpliceHack===
 +
In [[SpliceHack]], combining a pick-axe and an [[axe]] at a [[furnace]] creates a dwarvish mattock.
 +
 +
===EvilHack===
 +
In [[EvilHack]], a dwarvish mattock can be created at a [[Forge (dungeon feature)|forge]] by combining a [[dwarvish short sword]] and a pick-axe.
 +
 +
===Hack'EM===
 +
In [[Hack'EM]], upgrading a pick-axe will produce a dwarvish mattock and vice versa, as in SLASH'EM. Forging recipes are the same as in EvilHack.
  
 
==Encyclopedia entry==
 
==Encyclopedia entry==
Line 59: Line 80:
 
weapon for the poorer classes.
 
weapon for the poorer classes.
 
|[ Wikipedia, the free encyclopedia ]}}
 
|[ Wikipedia, the free encyclopedia ]}}
 
==See also==
 
 
* [[Pick-axe]]
 
  
 
==References==
 
==References==
 
<references/>
 
<references/>
 
+
{{nethack-367}}
 
[[Category:Weapons]]
 
[[Category:Weapons]]
 
[[Category:Dwarvish items|Mattock]]
 
[[Category:Dwarvish items|Mattock]]
{{nethack-366}}
 

Latest revision as of 07:28, 13 April 2024

) Dwarvish mattock.png
Name dwarvish mattock
Appearance broad pick
Damage vs. small 1d12 (1-12)
Damage vs. large 1d8+2d6 (3-20)
To-hit bonus −1
Weapon skill pick-axe
Size two-handed
Base price 50 zm
(+10/positive
enchant)
Weight 120
Material iron

A dwarvish mattock is a type of weapon that appears in NetHack. It is a two-handed weapon-tool that is made of iron and uses the pick-axe skill, and appears as a broad pick when unidentified.

Generation

Player dwarves start the game with knowledge of the dwarvish mattock - a commented-out line of code would give any dwarven character that started the game with a pick-axe a dwarvish mattock instead.[1]

Dwarvish mattocks make up about 1.3% of all randomly generated weapons. In addition to random generation, weapon shops and general stores can stock dwarvish mattocks.

Live dwarves have an effective 18 chance of being generated with a dwarvish mattock.[2] Watchmen and soldiers can also generate with dwarvish mattocks.[3][4]

Player monsters, including those on the Astral Plane, have a ~1.1% chance of generating with a dwarvish mattock as their initial weapon before role-based replacements.[5]

The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

Mattocks no longer generate as starting weapons on watchmen and soldiers.[6]

Description

As with a pick-axe, a dwarvish mattock can be applied or wielded to dig through walls or floors, as well as break boulders and statues; shopkeepers will also prevent you from entering a shop with a mattock in your inventory. Buying or selling a dwarvish mattock will auto-identify it, as will attempting to enter a shop with one, or else removing it from a container in your inventory while inside.

Strategy

A dwarvish mattock can be an effective weapon, as it deals far more damage than a pick-axe, especially against larger monsters - it is also much heavier and requires both hands free to wield, and their -1 to-hit penalty can make hitting with one difficult early in the game until you boost your Luck Archeologists and other roles planning to utilize a mattock as their primary weapon can use their starting pick-axe and train to Skilled to offset the penalty.

As with a pick-axe, applying a mattock to wield it does not use up a turn, which can be advantageous when combined with other wielded items: as an example, you can apply a bullwhip at a monster to disarm it, then immediately attack on your next turn by applying a mattock, without having to take a turn to wield it.

Enchanted mattocks are among the best naturally-occurring weapons that can be given to a strong pet with a weapon attack - they are also the deadliest weapon you and your pet can encounter early on in the hands of hostile dwarves, who can do upwards of 20 damage per swing.

Average damage calculation

The average damage calculations in the following table do not include bonuses from weapon skills, strength, or from using a blessed weapon against undead or demons.

Weapon Small monster Large monster
+0 dwarvish mattock \frac{1+12}{2}=\bold{6.5} \frac{1+8}{2}+\frac{2+12}{2}=\bold{11.5}
+7 dwarvish mattock \frac{1+12}{2}+7=\bold{13.5} \frac{1+8}{2}+\frac{2+12}{2}+7=\bold{18.5}

History

The dwarvish mattock first appears in NetHack 3.0.0.

Variants

SLASH'EM

In SLASH'EM, upgrading a pick-axe will produce a dwarvish mattock and vice versa. This makes it possible to enchant a weapon to +127: polymorph the weapon of choice into a mattock, then upgrade it to a pick-axe, polymorph it further into a tinning kit or an expensive camera, use charging until the output has 127 charges, then wait for it to revert completely. A +127 long sword can be turned into Excalibur for a lawful character, while a +127 bow or other launcher can fire 40 or more projectiles at once.

dNetHack

In dNetHack, the dwarvish mattock can be thrown with no to-hit penalty.

Slave to Armok is a lawful artifact weapon dwarvish mattock that favors dwarves. It is bloodthirsty, with a sanity-based chance of attacking an adjacent monster each turn, and grants +1d5 to hit and double damage against elves, orcs, always-peaceful monsters, and monster lords.

SpliceHack

In SpliceHack, combining a pick-axe and an axe at a furnace creates a dwarvish mattock.

EvilHack

In EvilHack, a dwarvish mattock can be created at a forge by combining a dwarvish short sword and a pick-axe.

Hack'EM

In Hack'EM, upgrading a pick-axe will produce a dwarvish mattock and vice versa, as in SLASH'EM. Forging recipes are the same as in EvilHack.

Encyclopedia entry

A mattock is an agricultural tool similar to a mining pick.
It is distinguished by the head terminating in a broader blade
rather than a narrow spike, which makes it particularly suitable
for breaking up moderately hard ground. ... During the Middle
Ages of Europe, the mattock served as an improvised shafted
weapon for the poorer classes.

[ Wikipedia, the free encyclopedia ]

References

  1. src/u_init.c in NetHack 3.6.7, line 228: Race-based substitutions for initial inventory
  2. src/makemon.c in NetHack 3.6.7, line 367: a dwarf must be given a dwarvish short sword and dwarvish iron helm (14 chance) in order to have a 12 chance of a mattock
  3. src/makemon.c in NetHack 3.6.7, line 191: eligible weapons include those from partisan to bec de corbin in the objects list
  4. src/objects.c in NetHack 3.6.7, line 249: mattocks are in this range
  5. src/mplayer.c in NetHack 3.6.7, line 155: 12 to get a random weapon - the designated range of objects covers weapons from the spear to the bullwhip inclusively in objects.c, and uses normal generation odds
  6. fix github issue #623 - soldiers and mattocks