Difference between revisions of "Unique item"

From NetHackWiki
Jump to navigation Jump to search
(Distinguishing from other "one-per-game" items)
(copyedit, remove variant section that isn't directly related to the game-critical items)
 
(9 intermediate revisions by 3 users not shown)
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]]'', a '''unique item''' is one of four specific objects required to complete the game:
  
 
* 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.
+
The [[discoveries]] page lists these items under the "Unique Items" section. Unique items are defined by having the field <code>oc_unique</code> set to 1 in [[objects.c]]. While the unique items are also commonly referred to as '''invocation artifacts''', they do not count as [[artifact]]s for wishing purposes, as the player is guaranteed to encounter them. Unique items are indestructible (barring bugs) and may not be placed in [[container]]s.
  
==Distinguishing from other "one-per-game" items==
+
It is not possible to [[wish]] for any of the unique 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 [[wish]]ing for one.
 
 
 
==Variants==
 
===EvilHack===
 
[[EvilHack]] adds several other unique items:
 
 
 
* The [[Magic 8-Ball]]
 
* The [[Bag of the Hesperides]]
 
* [[Lifestealer]]
 
* [[Butcher]]
 
* 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.
 
  
 +
==Unique items versus artifacts==
 +
Starting with [[NetHack 3.0.0]], all [[artifact]]s are also unique within a given game, but are not the same as unique items - they are specially named variants of their [[base item]] with additional benefits, and appear as named versions of those items when unidentified. Some artifacts have a base item that exists mostly or exclusively for the generation of that artifact - e.g., most games will have no more than one [[runesword]] or [[tsurugi]], as those items never generate randomly and only appear when [[Stormbringer]] or the [[Tsurugi of Muramasa]] (respectively) are generated; it is still possible to have multiples of each item, though this typically requires wishing for them or else finding a [[bones]] file containing artifacts that have already generated elsewhere in the game.
 +
{{nethack-367}}
 
[[Category:Unique items]]
 
[[Category:Unique items]]
{{nethack-370}}
 

Latest revision as of 18:01, 29 February 2024

In NetHack, a unique item is one of four specific objects required to complete the game:

The discoveries page lists these items under the "Unique Items" section. Unique items are defined by having the field oc_unique set to 1 in objects.c. While the unique items are also commonly referred to as invocation artifacts, they do not count as artifacts for wishing purposes, as the player is guaranteed to encounter them. Unique items are indestructible (barring bugs) and may not be placed in containers.

It is not possible to wish for any of the unique items.

Unique items versus artifacts

Starting with NetHack 3.0.0, all artifacts are also unique within a given game, but are not the same as unique items - they are specially named variants of their base item with additional benefits, and appear as named versions of those items when unidentified. Some artifacts have a base item that exists mostly or exclusively for the generation of that artifact - e.g., most games will have no more than one runesword or tsurugi, as those items never generate randomly and only appear when Stormbringer or the Tsurugi of Muramasa (respectively) are generated; it is still possible to have multiples of each item, though this typically requires wishing for them or else finding a bones file containing artifacts that have already generated elsewhere in the game.