Difference between revisions of "Fragile"

From NetHackWiki
Jump to navigation Jump to search
(containers)
m
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Fragile''' items may break! They shatter or splat when  
+
'''Fragile''' items are destroyed when [[throw]]n, [[kick]]ed, hit with a {{spell of|force bolt}} or [[wand of striking]], or [[drop]]ped from a height (from levitating, riding or down stairs).
 
 
* Hit with a [[force bolt]]
 
* Hit with a [[wand of striking]]
 
* When [[throw]]n
 
* When [[kick]]ed
 
* When [[drop]]ped from a height (from levitating, or down stairs).  
 
  
 
Items in your [[inventory]] are safe from shattering.
 
Items in your [[inventory]] are safe from shattering.
  
The fragile items include
+
The following items are fragile:{{reffunc|dothrow.c|breaktest}}
* [[Egg]]s  
+
* [[Egg]]s
* [[Mirror]]s except the [[Magic Mirror of Merlin]]
 
* [[Lenses]] except for [[The Eyes of the Overworld]]
 
* [[Crystal ball]]s except for the [[artifact]] ones
 
 
* [[Potion]]s
 
* [[Potion]]s
* [[Wand]]s with the description "glass" or "crystal".
 
 
* [[Expensive camera]]s
 
* [[Expensive camera]]s
 
* [[Cream pie]]s
 
* [[Cream pie]]s
 
* [[Melon]]s
 
* [[Melon]]s
* [[Crystal plate mail]]
+
* [[Venom]]
* The source code also recognises [[venom]] as fragile.
+
* All items made of [[glass]], except artifacts and [[Gem|pieces of colored glass]]:
 +
** [[Mirror]]s (except [[the Magic Mirror of Merlin]])
 +
** [[Pair of lenses|Pairs of lenses]] (except [[the Eyes of the Overworld]])
 +
** [[Crystal ball]]s (except [[the Orb of Fate]] and [[the Orb of Detection]])
 +
** [[Wand]]s whose [[randomized appearance]] is "glass" or "crystal"
 +
** [[Crystal plate mail]]
  
Breaking mirrors, or eggs laid by you carries a [[Luck]] penalty.  
+
Breaking eggs that you have laid or mirrors carries a [[Luck]] penalty.  
  
See {{function|dothrow.c|breaktest}}
+
Fragile items inside [[container]]s can break when the container is kicked, thrown, or otherwise abused. However, the algorithm used in this case is slightly different: cameras, melons, and pies will never break, eggs have a {{frac|3}} chance of being damaged, and other fragile objects have a 67% chance.{{reffunc|dokick.c|container_impact_dmg}} For stackable items, each damaged stack will lose only one item. Items inside a [[bag of holding]] or a nested bag are immune.
  
Fragile items inside [[container]]s can break when the container is kicked, thrown or otherwise abused.  However, the algorithm used in this case is slightly different (see {{function|dokick.c|container_impact_dmg}}): cameras, melons and pies will never break, eggs have 1/3 chance of being damaged, and other fragile objects break with 67% chance.  For stackable items, each damaged stack will lose only one item.  Items inside a [[bag of holding]] or a nested bag are immune.
+
== References ==
 +
<references />
  
 
[[Category:Item attributes]]
 
[[Category:Item attributes]]
 
{{nethack-343}}
 
{{nethack-343}}

Latest revision as of 08:20, 22 November 2020

Fragile items are destroyed when thrown, kicked, hit with a force bolt or wand of striking, or dropped from a height (from levitating, riding or down stairs).

Items in your inventory are safe from shattering.

The following items are fragile:[1]

Breaking eggs that you have laid or mirrors carries a Luck penalty.

Fragile items inside containers can break when the container is kicked, thrown, or otherwise abused. However, the algorithm used in this case is slightly different: cameras, melons, and pies will never break, eggs have a 13 chance of being damaged, and other fragile objects have a 67% chance.[2] For stackable items, each damaged stack will lose only one item. Items inside a bag of holding or a nested bag are immune.

References

This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.4.3. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-343}} tag to the current version's tag or {{noversion}} as appropriate.