Difference between revisions of "Material"
Ion frigate (talk | contribs) (metal as a category is common, but the rustproof generic "metal" is not) |
(Update refs. Check facts against source code. Bump version to 3.6.7.) |
||
Line 1: | Line 1: | ||
− | ''[[NetHack]]'' allows each [[item]] to be made of one '''material'''. Some materials, such as [[iron]], are very common, while others, such as [[wax]], are rare. Different materials are subject to different | + | ''[[NetHack]]'' allows each [[item]] to be made of one '''material'''.{{refsrc|nethack=3.6.7|include/objclass.h|9}} Some materials, such as [[iron]], are very common, while others, such as [[wax]], are rare. Different materials are subject to different forms of [[erosion]]: they may, for example, rust, corrode, burn or rot. |
<!--When creating wiki articles about materials, consider including things such as: | <!--When creating wiki articles about materials, consider including things such as: | ||
* What are examples of items made from that material? | * What are examples of items made from that material? | ||
Line 5: | Line 5: | ||
* Does it rust, corrode, burn, rot? | * Does it rust, corrode, burn, rot? | ||
* Does the material behave as one would expect?--> | * Does the material behave as one would expect?--> | ||
− | |||
− | |||
== List of materials == | == List of materials == | ||
Line 29: | Line 27: | ||
[[Worm tooth|Worm teeth]] are the only object with an undefined material. | [[Worm tooth|Worm teeth]] are the only object with an undefined material. | ||
− | There are exceptions to the above categorizations; certain objects such as the [[spellbook of fireball]] and the [[scroll of fire]] are never flammable. Furthermore, [[candle]]s are not considered flammable for the purposes of the game; they can be burned, but it makes no sense to fireproof them.{{refsrc|src/mkobj.c| | + | There are exceptions to the above categorizations; certain objects such as the [[spellbook of fireball]] and the [[scroll of fire]] are never flammable. Furthermore, [[candle]]s are not considered flammable for the purposes of the game; they can be burned, but it makes no sense to fireproof them.{{refsrc|nethack=3.6.7|src/mkobj.c|1704|comment=function is_flammable}} |
{{upcoming|3.7.0|Worm teeth are now made of bone.}} | {{upcoming|3.7.0|Worm teeth are now made of bone.}} | ||
Line 39: | Line 37: | ||
== References == | == References == | ||
<references/> | <references/> | ||
− | {{nethack- | + | {{nethack-367}} |
[[Category:Materials]] | [[Category:Materials]] |
Latest revision as of 16:52, 5 July 2024
NetHack allows each item to be made of one material.[1] Some materials, such as iron, are very common, while others, such as wax, are rare. Different materials are subject to different forms of erosion: they may, for example, rust, corrode, burn or rot.
List of materials
Undefined | Liquid | Wax | Veggy | Flesh | Paper | Cloth | Leather | Wood | Bone | Dragon hide | Iron | Metal | Copper | Silver | Gold | Platinum | Mithril | Plastic | Glass | Gemstone | Mineral |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
Flimsy | |||||||||||||||||||||
Metallic | |||||||||||||||||||||
Organic | |||||||||||||||||||||
Rustprone | |||||||||||||||||||||
Corrodable | Corrodable | ||||||||||||||||||||
Flammable | Flammable | Flammable |
Worm teeth are the only object with an undefined material.
There are exceptions to the above categorizations; certain objects such as the spellbook of fireball and the scroll of fire are never flammable. Furthermore, candles are not considered flammable for the purposes of the game; they can be burned, but it makes no sense to fireproof them.[2]
The following information pertains to an upcoming version (3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.
Worm teeth are now made of bone.Variants
Many variants use an object materials system to allow the same item to be generated with different materials - see that article for more information on this system and how it is implemented in each variant.
References
- ↑ include/objclass.h in NetHack 3.6.7, line 9
- ↑ src/mkobj.c in NetHack 3.6.7, line 1704: function is_flammable