Difference between revisions of "Glass"

From NetHackWiki
Jump to navigation Jump to search
m ("chance to" = opportunity; "chance of" = probability)
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.
 
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.
  
[[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.
+
[[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.
  
 
== Items made of glass ==
 
== Items made of glass ==

Revision as of 23:46, 26 December 2016

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 levitating, when they are dropped down stairs, and when they are kicked or when containers that contain glass items are kicked. Items in your inventory will not shatter from force bolts or wands of striking.

Artifacts that are made of glass will not shatter.[1][2] Gems (i.e. worthless pieces of glass) will also not shatter.

Items made of glass

Miscellaneous information

  • Hazardous potions and lit 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.
  • Nymphs often carry looking glasses, which are made of glass and confer a luck penalty when broken.
  • Sometimes it is mistakenly referred to as crystal.

References

  1. breaktest in dothrow.c This function gives all artifacts a 99% chance of resisting, then ensures that glass artifacts do not break.
  2. Source:Dokick.c#line364 for kicking mirrors in containers
  3. src/objects.c in UnNetHack revision 1267, line 972
  4. Probably because it would make finding real gems too easy.

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.