Difference between revisions of "Glass"

From NetHackWiki
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 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]], when they are dropped down [[stairs]], and when they are kicked or when [[Container|containers]] that contain glass items are kicked. 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 portion gives artifacts a 99% chance to resist before ... making artifact mirrors not break.</ref><ref>[[Source:Dokick.c#line364]] for kicking mirrors in containers</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'' (in [[UnNetHack]] also ''ceramic'', ''porcelain'' and ''quartz'' wands{{refsrc|src/objects.c|972|unnethack=1267}})
+
* [[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. A wielded potion will never be wasted on missing.
 
*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-343}}
+
{{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.