Difference between revisions of "Glass"

From NetHackWiki
Jump to navigation Jump to search
(test: artifacts don't break; most likely, that is handled in a different portion of the source than quoted.)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Some items in the dungeon are made of '''glass'''. Glass is a fragile [[material]], so items made of glass will tend to break when they are struck by a [[force bolt]] or [[wand of striking]], when they are thrown, when they are dropped while [[levitation|levitating]], and when they are dropped down [[stairs]]. Items in your inventory will not shatter from force bolts or wands of striking.
+
{{for|worthless pieces of colored glass|Gem}}
  
[[Artifact]]s that are made of glass will not shatter.<ref>{{function|dothrow.c|breaktest}} This source quote says artifacts have only 99% chance to resist, but a wizmode test estimates the shattering probability to at most 0,07%. Most likely, this is a reference to the wrong source code.</ref> [[Gem]]s (i.e. worthless pieces of glass) will also not shatter.
+
'''Glass''' is a [[material]] that appears in ''NetHack''. Most glass [[items]] are [[fragile]] and break when thrown or subjected to certain kinds of blunt force. However, glass [[artifact]]s and [[gem]]s are not fragile.<ref>{{function|dothrow.c|breaktest}} gives all artifacts a 99% chance of resisting, then ensures that glass artifacts do not break.</ref>
 +
 
 +
"[[Crystal]]" objects in ''NetHack'', excluding the [[dilithium crystal]], are actually made of glass.
  
 
== Items made of glass ==
 
== Items made of glass ==
* [[crystal plate mail]]
+
* [[Crystal plate mail]]
* [[mirror]]
+
* [[Mirror]]
* [[crystal ball]]
+
* [[Crystal ball]]
* [[lenses]]
+
* [[Pair of lenses]]
* all [[potion]]s
+
* All [[potion]]s
* [[wand]]s with the random appearance ''glass wand'' or ''crystal wand''
+
* [[Wand]]s with the [[randomized appearance]] of ''glass wand'' or ''crystal wand''
* all colors of [[gem|worthless glass]] (not vulnerable to shattering<ref>Probably because it would make finding real gems too easy.</ref>)
+
* All colors of [[gem|worthless glass]]
 
 
== Miscellaneous information ==
 
*Hazardous potions and lit [[potion of oil|potions of oil]] make nifty grenades, causing the hit enemy to fall under the effects of that potion.
 
*Throwing a [[potion of healing]] at a [[pet]] could be useful.
 
*[[Nymph|Nymphs]] often carry [[mirror|looking glasses]], which are made of glass and confer a [[luck]] penalty when broken.
 
*Sometimes it is mistakenly referred to as [[crystal]].
 
  
 
== References ==
 
== References ==
 
<references />
 
<references />
 
[[Category:Materials]]
 
[[Category:Materials]]
 +
{{nethack-366}}

Latest revision as of 07:44, 12 June 2021

For worthless pieces of colored glass, see Gem.

Glass is a material that appears in NetHack. Most glass items are fragile and break when thrown or subjected to certain kinds of blunt force. However, glass artifacts and gems are not fragile.[1]

"Crystal" objects in NetHack, excluding the dilithium crystal, are actually made of glass.

Items made of glass

References

  1. breaktest in dothrow.c gives all artifacts a 99% chance of resisting, then ensures that glass artifacts do not break.