Difference between revisions of "Glass"

From NetHackWiki
Jump to navigation Jump to search
m ("chance to" = opportunity; "chance of" = probability)
(Removed information that already exists on (and is better suited for) other articles—mechanics of fragility, uses for glass items, UnNetHack aside (NHW:Style guide § Variants))
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 function gives all artifacts a 99% chance of resisting, then ensures that glass artifacts do 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]] which constitutes some [[item]]s. Most glass items are [[fragile]], so they tend to break when they are 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>
 +
 
 +
Glass is sometimes mistakenly referred to as [[crystal]].
  
 
== Items made of glass ==
 
== Items made of glass ==
Line 7: Line 9:
 
* [[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 random appearance ''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 ==

Revision as of 01:26, 25 January 2020

For worthless pieces of colored glass, see Gem.

Glass is a material which constitutes some items. Most glass items are fragile, so they tend to break when they are subjected to certain kinds of blunt force. However, glass artifacts and gems are not fragile.[1]

Glass is sometimes mistakenly referred to as crystal.

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.

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.