Difference between revisions of "Tin opener"

From NetHackWiki
Jump to navigation Jump to search
(History: copyedit)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{languages}}
 
{{tool
 
{{tool
 
   |color=metal color
 
   |color=metal color
Line 9: Line 10:
 
}}
 
}}
  
The '''tin opener''' is a [[tool]] that appears in [[NetHack]].
+
A '''tin opener''' is a type of [[tool]] that appears in ''[[NetHack]]''. It is made of [[iron]], and is naturally used for opening [[tin]]s.
  
 
==Generation==
 
==Generation==
[[Tourist]]s have a chance of starting the game with a tin opener wielded in their hand.
+
[[Archeologist]]s have a {{frac|10}} of chance of starting the game with a tin opener, while [[Tourist]]s have a {{frac|25}} chance of starting a game with one.{{refsrc|src/u_init.c|669|version=NetHack 3.6.7|comment=Archeologist-specific initializations}}{{refsrc|src/u_init.c|771|version=NetHack 3.6.7|comment=Tourist-specific initializations}}
  
==Effect==
+
==Descriptions==
Wielding a tin opener will let you open a [[tin]] (via the [[eat]] command, {{kbd|e}}) in one turn, regardless of its [[BUC]] status.
+
[[Apply]]ing or [[wield]]ing a tin opener before opening a tin to [[eat]] will reduce the number of turns required to do so. The exact number of turns required to open a tin with this tool depends on its [[beatitude]]: 0-2 turns if the tin opener is cursed, 0 or 1 turns if uncursed, and 0 turns if blessed.{{refsrc|src/eat.c|1482|version=NetHack 3.6.7}}
  
Even though a tin opener isn't a [[weapon]] or [[weapon-tool]], a cursed one will weld to the players' hand when wielded.<ref>[[Source:NetHack_3.6.1/src/wield.c#line164]]</ref>
+
You can only apply a tin opener if you have at least one [[tin]] in your inventory - doing so will prompt you to choose which tin you want to open, and you can also wield it before manually opening the tin via {{kbd|e}}. Wielding a tin opener by applying it will not take up an additional turn if you immediately open a tin when prompted.{{refsrc|src/eat.c|2726|version=NetHack 3.6.7|comment=<code>use_tin_opener</code> sets <code>res</code>, the number of turns taken, to 1 if you wield the tin opener. <code>res</code> is then returned if you choose to not open a tin. However, opening a tin will cause '1' to be returned regardless of whether you wielded the tin opener. Note that <code>start_tin</code> will set an [[occupation]] for the number of turns it would take to open the tin, which is processed separately.}}
 +
 
 +
Though a tin opener is not a [[weapon]] or [[weapon-tool]], a cursed tin opener will weld to the player's hand when wielded.{{refsrc|src/wield.c|161|version=NetHack 3.6.7}}
  
 
==Strategy==
 
==Strategy==
Tourists who begin the game with a tin opener will enter the [[Dungeons of Doom]] wielding it, and should ideally unwield it before attempting [[melee]] combat.
+
Applying a tin opener to wield it and immediately opening a tin saves a turn compared to wielding the tin opener with {{kbd|w}}, which may prove important when eating a tin of a monster that cures [[stoning]] or in a turn-count [[speed ascension]]. Using a blessed tin opener is also the only way to guarantee that a tin is opened immediately, since even a blessed tin may otherwise take 1 turn to open, during which you may be [[interrupt]]ed.
  
==Encyclopaedia entry==
+
==History==
 +
The tin opener first appears in [[Hack 1.0.2]]. From this version to [[NetHack 3.0.0]], the item is called a '''can opener'''.
  
 +
From Hack 1.0.2 to [[NetHack 3.6.1]], including some variants based on those versions, applying the tin opener will only display a message with instructions to wield it before eating a tin; Tourists with a tin opener in their starting inventory begin the game wielding it, and should ideally unwield it before attempting [[melee]] combat. [[NetHack 3.6.2]] introduces the ability to apply a tin opener, and sets tin openers that Tourists generate with to not be wielded automatically.
 +
 +
==Variants==
 +
Some variants based on [[NetHack 3.4.3]] may lack the updated behavior of tin openers from later versions.
 +
 +
===UnNetHack===
 +
In [[UnNetHack]], the [[iron golem]] found in the forest within the [[Ruins of Moria]] has a {{frac|2}} chance of generating with a tin opener.
 +
 +
==Encyclopedia entry==
 
{{encyclopedia|
 
{{encyclopedia|
Less than thirty Cat tribes now survived, roaming the cargo
+
Less than thirty Cat tribes now survived, roaming the cargo decks on their hind legs in a desperate search for food.
decks on their hind legs in a desperate search for food.
 
 
But the food had gone.
 
But the food had gone.
 
The supplies were finished.
 
The supplies were finished.
Weak and ailing, they prayed at the supply hold's silver
+
Weak and ailing, they prayed at the supply hold's silver mountains: huge towering acres of metal rocks which, in their pagan way, the mutant Cats believed watched over them.
mountains: huge towering acres of metal rocks which, in their
+
Amid the wailing and the screeching one Cat stood up and held aloft the sacred icon.  The icon which had been passed down as holy, and one day would make its use known.
pagan way, the mutant Cats believed watched over them.
+
It was a piece of V-shaped metal with a revolving handle on its head.
Amid the wailing and the screeching one Cat stood up and held
+
He took down a silver rock from the silver mountain, while the other Cats cowered and screamed at the blasphemy.
aloft the sacred icon.  The icon which had been passed down
+
He placed the icon on the rim of the rock, and turned the handle.
as holy, and one day would make its use known.
 
It was a piece of V-shaped metal with a revolving handle on
 
its head.
 
He took down a silver rock from the silver mountain, while
 
the other Cats cowered and screamed at the blasphemy.
 
He placed the icon on the rim of the rock, and turned the
 
handle.
 
 
And the handle turned.
 
And the handle turned.
 
And the rock opened.
 
And the rock opened.
Line 47: Line 52:
 
}}
 
}}
  
==History==
+
==References==
 
+
<references/>
Prior to [[NetHack 3.0.0]], the tin opener was called a '''can opener'''.
+
{{nethack-367}}
 
 
== References ==
 
 
 
<references />
 
 
[[Category:Tools]]
 
[[Category:Tools]]
{{nethack-364}}
 

Latest revision as of 07:02, 6 March 2024

( Tin opener.png
Name tin opener
Appearance tin opener
Base price 30 zm
Weight 4
Material iron
Monster use Will not be used by monsters.

A tin opener is a type of tool that appears in NetHack. It is made of iron, and is naturally used for opening tins.

Generation

Archeologists have a 110 of chance of starting the game with a tin opener, while Tourists have a 125 chance of starting a game with one.[1][2]

Descriptions

Applying or wielding a tin opener before opening a tin to eat will reduce the number of turns required to do so. The exact number of turns required to open a tin with this tool depends on its beatitude: 0-2 turns if the tin opener is cursed, 0 or 1 turns if uncursed, and 0 turns if blessed.[3]

You can only apply a tin opener if you have at least one tin in your inventory - doing so will prompt you to choose which tin you want to open, and you can also wield it before manually opening the tin via e. Wielding a tin opener by applying it will not take up an additional turn if you immediately open a tin when prompted.[4]

Though a tin opener is not a weapon or weapon-tool, a cursed tin opener will weld to the player's hand when wielded.[5]

Strategy

Applying a tin opener to wield it and immediately opening a tin saves a turn compared to wielding the tin opener with w, which may prove important when eating a tin of a monster that cures stoning or in a turn-count speed ascension. Using a blessed tin opener is also the only way to guarantee that a tin is opened immediately, since even a blessed tin may otherwise take 1 turn to open, during which you may be interrupted.

History

The tin opener first appears in Hack 1.0.2. From this version to NetHack 3.0.0, the item is called a can opener.

From Hack 1.0.2 to NetHack 3.6.1, including some variants based on those versions, applying the tin opener will only display a message with instructions to wield it before eating a tin; Tourists with a tin opener in their starting inventory begin the game wielding it, and should ideally unwield it before attempting melee combat. NetHack 3.6.2 introduces the ability to apply a tin opener, and sets tin openers that Tourists generate with to not be wielded automatically.

Variants

Some variants based on NetHack 3.4.3 may lack the updated behavior of tin openers from later versions.

UnNetHack

In UnNetHack, the iron golem found in the forest within the Ruins of Moria has a 12 chance of generating with a tin opener.

Encyclopedia entry

Less than thirty Cat tribes now survived, roaming the cargo decks on their hind legs in a desperate search for food.
But the food had gone.
The supplies were finished.
Weak and ailing, they prayed at the supply hold's silver mountains: huge towering acres of metal rocks which, in their pagan way, the mutant Cats believed watched over them.
Amid the wailing and the screeching one Cat stood up and held aloft the sacred icon. The icon which had been passed down as holy, and one day would make its use known.
It was a piece of V-shaped metal with a revolving handle on its head.
He took down a silver rock from the silver mountain, while the other Cats cowered and screamed at the blasphemy.
He placed the icon on the rim of the rock, and turned the handle.
And the handle turned.
And the rock opened.
And inside the rock was Alphabetti spaghetti in tomato sauce.

[ Red Dwarf, by Rob Grant and Doug Naylor ]

References

  1. src/u_init.c in NetHack 3.6.7, line 669: Archeologist-specific initializations
  2. src/u_init.c in NetHack 3.6.7, line 771: Tourist-specific initializations
  3. src/eat.c in NetHack 3.6.7, line 1482
  4. src/eat.c in NetHack 3.6.7, line 2726: use_tin_opener sets res, the number of turns taken, to 1 if you wield the tin opener. res is then returned if you choose to not open a tin. However, opening a tin will cause '1' to be returned regardless of whether you wielded the tin opener. Note that start_tin will set an occupation for the number of turns it would take to open the tin, which is processed separately.
  5. src/wield.c in NetHack 3.6.7, line 161