Difference between revisions of "Unique item"

From NetHackWiki
Jump to navigation Jump to search
m (my braaaaiiiinnn)
Line 1: Line 1:
All [[artifact]]s are unique, but there are four objects which the game specifically refers to as '''unique items''' on the [[discoveries]] page:
+
In ''[[NetHack]]'', all [[artifact]]s are unique, but there are four objects which the game specifically refers to as '''unique items''':
  
 
* The [[Candelabrum of Invocation]]
 
* The [[Candelabrum of Invocation]]
Line 6: Line 6:
 
* The [[Amulet of Yendor]]
 
* The [[Amulet of Yendor]]
  
While these are also commonly referred to as "invocation artifacts", they do not count as actual artifacts for purposes of artifact [[wish]]ing, as the player is always guaranteed to encounter them.
+
These items are defined with the tag <code>OC_UNIQUE</code> in [[objects.c]], and the [[discoveries]] page also refers to these as unique items. While these are also commonly referred to as "invocation artifacts", they do not count as actual artifacts for purposes of artifact [[wish]]ing, as the player is always guaranteed to encounter them.
  
 
==Distinguishing from other "one-per-game" items==
 
==Distinguishing from other "one-per-game" items==
Line 15: Line 15:
 
==Variants==
 
==Variants==
 
===EvilHack===
 
===EvilHack===
[[EvilHack]] adds several other unique items:
+
[[EvilHack]] adds several more "one-per-game" items:
  
 
* The [[Magic 8-Ball]]
 
* The [[Magic 8-Ball]]
Line 23: Line 23:
 
* The [[Wand of Orcus]]
 
* The [[Wand of Orcus]]
  
All of the items are treated as artifacts - as with the invocation 'artifacts', they are guaranteed to appear and thus do not count towards the total number of artifacts in a game.
+
While they do not share the same <code>OC_UNIQUE</code> tag as the invocation items and are considered actual artifacts, they also do not count towards the total number of artifacts in a game, as they are generated in ways that mean they are guaranteed to appear.
  
 
[[Category:Unique items]]
 
[[Category:Unique items]]
 
{{nethack-366}}
 
{{nethack-366}}

Revision as of 23:01, 18 December 2020

In NetHack, all artifacts are unique, but there are four objects which the game specifically refers to as unique items:

These items are defined with the tag OC_UNIQUE in objects.c, and the discoveries page also refers to these as unique items. While these are also commonly referred to as "invocation artifacts", they do not count as actual artifacts for purposes of artifact wishing, as the player is always guaranteed to encounter them.

Distinguishing from other "one-per-game" items

Artifacts are not unique items in the sense of this article; they are specially named variants of their base item with additional benefits. For example, the Eye of the Aethiopica is a named amulet of ESP that also provides faster energy regeneration among other extra powers.

While Stormbringer is the only runesword and the Tsurugi of Muramasa the only tsurugi that can normally be generated in a game, neither counts as a unique item; it is possible to find a non-artifact runesword or tsurugi in a bones file (if the artifact has already been created), or by wishing for one.

Variants

EvilHack

EvilHack adds several more "one-per-game" items:

While they do not share the same OC_UNIQUE tag as the invocation items and are considered actual artifacts, they also do not count towards the total number of artifacts in a game, as they are generated in ways that mean they are guaranteed to appear.