Difference between revisions of "Tin"

From NetHackWiki
Jump to navigation Jump to search
(Eating tins)
m (Encyclopedia entry: line break out)
 
(48 intermediate revisions by 13 users not shown)
Line 9: Line 9:
 
}}
 
}}
  
A '''tin''' is a special kind of [[comestible]] that will not [[potion of fruit juice | dilute]] or [[Comestible#Rotten_food | rot]], and may give valuable intrinsics, although they are usually too slow to be eaten in an emergency.
+
A '''tin''' is a kind of [[comestible]] that appears in ''[[NetHack]]''. It is a type of permafood that does not [[Comestible#Rotten food|rot]] as time passes, although it may take some time to eat unless you have a way to quickly open it.
  
== Generation ==
+
==Generation==
Tins can be made by [[apply | applying]] a [[tinning kit]] to a [[corpse]], as well as being randomly generated. Tins of [[spinach]] can be found, wished for, or created through polymorphing; They cannot be created with a tinning kit. Spinach will increase your [[strength]] attribute, unless it is cursed ("It contains some decaying green substance"), in which case your strength will decrease.
+
Tins comprise 7.5% of randomly generated [[comestible]]s - randomly generated tins have a 1 in 6 (16.7%) chance of containing [[spinach]], and the rest will contain the meat of a monster that can randomly appear on the current level, with standard probabilities and the exception of [[corpseless]] monsters and [[wraith]]s.{{refsrc|src/mkobj.c|817|nethack=3.6.1}}{{refsrc|src/mkobj.c|820|nethack=3.6.1}} Random tins are normally generated 90% uncursed, 5% cursed and 5% blessed.{{refsrc|src/mkobj.c|864|nethack=3.6.2}}
  
Tins containing the meat of [[genocide]]d monsters will not be randomly generated. If you wish for such a tin, you will get an "empty tin" instead. Tins created before the species was genocided will still appear as "tin of [[foo]]", but upon opening "'''It turns out to be empty'''". Furthermore, tins of unique monsters cannot be wished for.
+
[[Tourist]]s will often start with tins among their initial stacks of food, following the same rules as above.{{refsrc|src/u_init.c|144|version=NetHack 3.6.7|Initial inventory for Tourists}}<!--update other refsrc to 3.6.7 when you can-->
  
== Eating tins ==
+
Tins can be made by [[apply]]ing a [[tinning kit]] to a [[corpse]]; tins of spinach cannot be created this way. Tins containing the meat of [[genocide]]d monsters are not randomly generated, and any tins of that monster's meat made before that genocide or [[wish]]ed for after it will be empty. Tins of unique monsters can only be made by applying a tinning kit to that monster's corpse, and cannot be wished for at all.
When you attempt to eat a tin, you should first open it.{{refsrc|eat.c|1419|nethack=3.6.0}}
 
* If you are polymorphed into a [[metallivore]], you open it immediately. "You bite right into the metal tin".
 
* Otherwise, if you are a monster with no limbs, or a very small monster, eating a tin is impossible. "You cannot handle the tin properly to open it."
 
* Otherwise, if the tin is blessed, it takes 0-1 turns to open it (always 0 turns if you also wear a blessed [[tin opener]]). ("The tin is opened like magic!", if 0 turns, or "The tin seems easy to open." if 1 turn.)
 
* Otherwise, the time depends on what you wield:
 
** Blessed [[tin opener]] opens it immediately, uncursed in 0-1 turns, cursed in 0-2 turns. ("You easily open the tin.")
 
** A wielded [[crysknife]], [[athame]], or any kind of [[dagger]] will open a tin in 3 turns. ("Using (your weapon) you try to open the tin.")
 
** With a [[pick-axe]] or an [[axe]] (but ''not'' a [[battle-axe]]) the tin will open in 6 turns. ("Using (your weapon) you try to open the tin.")
 
** If you wield nothing of the above, "It is not so easy to open this tin."  If your fingers are slippery, the tin will "slips from your fingers". Otherwise will take between 10 and ''10 + 500/(Str+Dex)'' turns to open it.{{refsrc|eat.c|1461|nethack=3.6.0}} If it takes 50 or more turns, you "give up your attempt to open the tin."{{refsrc|eat.c|1388|nethack=3.6.0}}
 
  
[[Cursed]] tins, unless homemade, have 1/8 chance of being trapped ("KABOOM!!  The (tin) was booby-trapped!") Opening a trapped tin wakes nearby monsters, stuns you 1 to 5+min(levdiff, 2+levdiff/2) turns (levdiff is the [[Dungeon_level#Dungeon_levels_and_difficulty_levels|level difficulty]]), causes the same amount of physical damage (or half of this if you have [[half physical damage]] intrinsics), abuses strength and constitution. The tin is now gone.
+
Tins generated as part of a [[shop|health food store]] will always contain either spinach or a vegetarian monster; if the initial random tin contents are not vegetarian, it will be converted to spinach, making the odds of finding spinach in these stores much higher than normal.{{refsrc|src/eat.c|1255|nethack=3.6.7}}
  
Once you have opened a tin, and it did not explode, you will receive a message telling you what it contains (and identify the contents of any tins that were in the same stack, if you have already eaten the corpse of that kind of monster), and will be given the choice of eating it or discarding the contents. (If you are hallucinating, this message will be inaccurate. It is safest not to consume any unknown tins whilst hallucinating, lest you accidentally consume cockatrice meat.) If you choose to eat it, you will receive another message of the form "You consume (food preparation method) (monster)". (e.g. "You consume boiled sewer rat.") Eating the contents of an opened tin takes one turn.
+
==Description==
 +
When you attempt to [[eat]] a tin, you first try to open it, with your method depending on your current form and/or wielded weapon.{{refsrc|src/eat.c|1419|nethack=3.6.0}} You cannot open tins to eat if you are in a form that is very small or has no limbs, while you can open it immediately if you are polymorphed into a [[metallivore]]; if you have [[slippery fingers]] and are not wielding an appropriate weapon or tool, the tin slips from your fingers and lands on your square.
  
Once you decided to eat a tin, unless the tin is spinach, its preparation method is determined. (Strictly speaking, it is determined just after you opened the tin, but you cannot obtain the information till you taste it.) The possible preparation methods are "deep fried", "pickled", "soup made from", "pureed", "rotten", "homemade", "stir fried", "candied", "boiled", "dried", "szechuan", "french fried", "sauteed", "broiled", and "smoked".  
+
Otherwise, the tin's [[beatitude]] and your current [[wield]]ed weapon or tool determine the amount of time taken to open the tin - eating the contents of the tin itself takes one turn.
  
If you made the tin with [[tinning kit]], tins of lizard and lichen are always homemade, while blessed/uncursed/cursed tins of other monsters have a chance of 0, 1/7 and 1 to be rotten, otherwise homemade.<ref name=tin_vairety> [[Source:NetHack_3.6.0/src/eat.c#tin_variety]]</ref>
+
===Appearance===
 
+
An identified tin will have one of the following descriptions:
For other tins<ref name=tin_vairety />:
 
* cursed tins of lizard and lichen are always homemade
 
* uncursed tins of lizard and lichen and all blessed tins have 1/15 chance of being anything except rotten or homemade, 2/15 chance of being homemade, never rotten
 
* other cursed tins are always rotten
 
* other uncursed tins have 1/15 chance of being anything except rotten or homemade, 6/105 chance of being homemade, and 8/105 chance of being rotten
 
 
 
Since the type of preparation is determined only after you open the tin, there is no way to know it in advance, and tins that stack may be in different styles.
 
 
 
Most non-spinach tins have low nutritional value (see below), but tins of pureed monster have nutritional value 500, which is more than half that of a food ration. Rotten tins have negative nutritional value and will cause you to [[Vomiting|vomit]]. Cursed tins are always rotten, and tins made by you with a tinning kit are always homemade or rotten.
 
 
 
Eating a deep fried or french fried tin will give you [[slippery fingers]] which will cause you to drop your weapon. It is therefore unwise to eat tins in a shop without first unwielding your weapon.
 
 
 
Corpses that convey [[intrinsics]] will have the same probability of conferring that intrinsic when they have been tinned. Tinning makes [[poison|poisonous]] and [[rotten]] corpses safe, however, as your character picks out the good bits for the tin that (s)he can fit inside. It is popular to tin [[dragons]], as you will still get the intrinsic, but without the [[choke|enormous meal]].
 
 
 
== Appearance ==
 
An unidentified tin will appear as a "tin". Once the contents are known, one of the following descriptions is adopted instead:
 
 
{| class="prettytable"
 
{| class="prettytable"
 
! Appearance !! Notes
 
! Appearance !! Notes
 
|-
 
|-
| tin of ''foo'' meat || ''[[foo]]'' is a fleshy monster
+
| tin of ''[[foo]]'' meat || ''foo'' is a fleshy monster
 
|-
 
|-
 
| tin of ''foo'' || ''foo'' is a monster suitable for vegetarians
 
| tin of ''foo'' || ''foo'' is a monster suitable for vegetarians
 
|-
 
|-
| tin of spinach || spinach is suitable for [[vegan | vegans]]
+
| tin of spinach || spinach is suitable for [[vegan]]s
 
|-
 
|-
| empty tin || suitable for those going without food
+
| empty tin || the monster is genocided or extinct
 
|}
 
|}
  
== Nutrition ==
+
===Opening a tin===
The nutrition of a tin varies depending on the way it was cooked. Below is a list of the possible variations of the contents of a tin.{{refsrc|eat.c|132}}
+
If the tin is blessed, it takes 0-1 turns to open it, and will always take 0 turns if you are wielding or [[apply]]ing a blessed [[tin opener]]. A tin opener opening a non-blessed tin takes 0-1 turns if the tin opener is uncursed, and 0-2 turns if it cursed.
 +
 
 +
Certain weapons and tools can also be used to open a tin:
 +
 
 +
* A wielded [[knife]], [[crysknife]], [[stiletto]], [[athame]], or any kind of [[dagger]] will open it in 3 turns.
 +
* A [[pick-axe]] or an [[axe]] (but ''not'' a [[battle-axe]] or [[dwarvish mattock]]) will open it in 6 turns.
 +
* Otherwise, you will take between 10 and ''10 + 500/([[Str]]+[[Dex]])'' turns to open it.{{refsrc|src/eat.c|1461|nethack=3.6.0}} If it takes 50 or more turns, you "give up your attempt to open the tin."{{refsrc|src/eat.c|1388|nethack=3.6.0}}
 +
 
 +
Randomly generated tins that are cursed at the time of opening may explode {{frac|8}} of the time, with the same effects as an [[door#Door traps|exploding door]]; this also destroys the tin.
 +
 
 +
===Eating a tin===
 +
Once you have opened a tin, you will receive a message telling you what it smells like and be given the choice of eating it or discarding the contents - if the tin is empty (due to its monster type is genocided or extinct), it is automatically discarded. In either case, this will also auto-identify the contents of any tins that were in the same stack. If you are [[hallucinating]], the monster name will be random, except for [[footrice]] meat which  always "smells like chicken".{{refsrc|src/eat.c|1619|nethack=3.6.0}}
 +
 
 +
Corpses that convey [[intrinsics]] will have the same probability of conferring that intrinsic when they have been tinned. Tinning makes [[acidic]], [[poison]]ous and [[rotten]] corpses safe to eat, presumably due to the most edible parts being preserved{{refsrc|src/eat.c|1368|version=NetHack 3.6.7|comment=Eating a tin calls <code>cprefx</code>, but not <code>eatcorpse</code> on line 1644, where stomach acid and the like are handled.}} - this does not prevent effects applied after consumption, such as [[stun]]ning, [[stoning]] or [[hallucination]], however.
  
While the nutrition of rotten tin is formally -50, in practice this means that you don't receive or loose any nutrition point when you eat it, and you loose 40 nutrition points when you [[vomiting|vomit]].{{refsrc|eat.c|1323|nethack=3.6.0}}
+
Eating the contents of the tin itself takes one turn and reveals its preparation method, which defines its nutrition value:{{refsrc|src/eat.c|112|nethack=3.6.0}}  
  
 
{| class="sortable prettytable" style="margin: 0;"
 
{| class="sortable prettytable" style="margin: 0;"
 
! Tin !! Nutrition !! Notes
 
! Tin !! Nutrition !! Notes
 
|-
 
|-
| ''[[Spinach]]'', blessed || 600 || Increases [[strength]]
+
| ''[[Spinach]]'', blessed || 600{{refsrc|src/eat.c|1364|nethack=3.6.0}} || Increases [[strength]]<ref name=gainstr>[[Source:NetHack_3.6.0/src/attrib.c#gainstr]]</ref>
 
|-
 
|-
| ''[[Spinach]]'', uncursed || 401-600 || Increases [[strength]]
+
| ''[[Spinach]]'', uncursed || 401-600{{refsrc|src/eat.c|1364|nethack=3.6.0}} || Increases [[strength]]<ref name=gainstr />
 
|-
 
|-
| ''[[Spinach]]'', cursed || 201-600 || Decreases [[strength]]
+
| ''[[Spinach]]'', cursed || 201-600{{refsrc|src/eat.c|1364|nethack=3.6.0}} || Decreases [[strength]]<ref name=gainstr />
 
|-
 
|-
 
| Pureed || 500 ||
 
| Pureed || 500 ||
Line 83: Line 72:
 
| Sauteed || 95 ||
 
| Sauteed || 95 ||
 
|-
 
|-
| Stir fried || 80 ||
+
| Stir fried || 80 || Causes [[slippery fingers]]
 
|-
 
|-
 
| Broiled || 80 ||
 
| Broiled || 80 ||
 
|-
 
|-
| Szechuan || 70 || In [[UnNetHack]]: 50% chance of a [[fortune cookie]]
+
| Szechuan || 70 ||
 
|-
 
|-
 
| Deep fried || 60 || Causes [[slippery fingers]]
 
| Deep fried || 60 || Causes [[slippery fingers]]
Line 107: Line 96:
 
| Empty || 0 ||
 
| Empty || 0 ||
 
|-
 
|-
| ''Rotten'' || -50 || Causes nausea
+
| ''Rotten'' || -20 || Gives 0 nutrition and causes nausea, which lowers nutrition by [[vomiting]] unless cured{{refsrc|src/eat.c|1323|nethack=3.6.0}}
 
|}
 
|}
  
== Tins of nurse meat ==
+
For randomly generated tins, the preparation methods are determined as follows:<ref name=tin_variety />
 +
 
 +
* cursed tins of lizard and lichen are always homemade, while other cursed tins are always rotten
 +
* noncursed tins of lizard and lichen are never rotten; they have a 2/15 chance of being homemade and a 1/15 chance of each other method
 +
* other uncursed tins have 1/15 chance of being each method except rotten or homemade, 6/105 chance of being homemade, and 8/105 chance of being rotten
 +
 
 +
If you made the tin with a [[tinning kit]], tins of lizard and lichen are always homemade, while tins of other monsters are rotten or homemade with a beatitude-dependent chance: blessed tins are always homemade, cursed tins are always rotten, and uncursed tins have a {{frac|7}} chance of being rotten, with all others being homemade.<ref name=tin_variety> [[Source:NetHack_3.6.0/src/eat.c#tin_variety]]</ref>
 +
 
 +
Since the type of preparation is determined only after you consume the tin, there is no way to know it in advance, and tins that stack may end up being of different styles.
 +
 
 +
{{upcoming|NetHack 3.7.0|A homemade tin of a monster whose corpse provides less than 50 nutrition will only provide as much as the corpse would.}}
 +
 
 +
==Strategy==
 +
Most non-spinach tins have low nutritional value save for tins of pureed monster, which have more than half the nutrition of a food ration. This means that you will want to open tins quickly if you want to gain more nutritional benefit - avoid eating tins if you are weal from hunger unless you have a tin opener or other means of opening them fairly quickly.
 +
 
 +
Additionally, it is unwise to eat a tin in a shop without first unwielding your weapon - losing your [[Excalibur]] to slippery fingers and having to steal it back can be painfully tedious at best. It is also wise not to consume any unknown tins whilst hallucinating: while you can still reliably identify tins of cockatrice or chickatrice meat by smell, there are other potentially harmful tins of meat such as [[chameleon]] or even a monster of your own [[race]].
 +
 
 +
It is popular to tin large corpses such as those of [[dragon]]s and [[giant]]s, which confer intrinsics and strength increases without nearly as much risk of becoming heavily [[satiated]] or even [[choking]].
 +
 
 +
===Tins of nurse meat===
 
Tins of [[nurse]] meat are a potent but complicated resource, and deserve special consideration. Like the corpse of a nurse, a tin of nurse meat will restore you to full hit points. This makes nurses an attractive target for [[tinning kit|tinning]] when you encounter them. Tins of nurse meat have some advantages and some disadvantages relative to [[potion of full healing|potions of full healing]]:
 
Tins of [[nurse]] meat are a potent but complicated resource, and deserve special consideration. Like the corpse of a nurse, a tin of nurse meat will restore you to full hit points. This makes nurses an attractive target for [[tinning kit|tinning]] when you encounter them. Tins of nurse meat have some advantages and some disadvantages relative to [[potion of full healing|potions of full healing]]:
*<b>First and foremost, consumption of nurse meat is [[cannibalism]] for human characters!</b> Fortunately, tinning the corpse does not count as cannibalism--only eating the tin does. So it is possible to tin nurses against a future need, when you might prefer the penalties of cannibalism to death.
+
 
*Unlike [[potions]], tins never explode or dilute, so are always safe to carry in main inventory, even in such hostile environments as the [[Plane of Fire]].
+
* '''First and foremost, consumption of nurse meat is [[cannibalism]] for human characters!''' Fortunately, tinning the corpse does not count as cannibalism--only eating the tin does. So it is possible to tin nurses against a future need, when you might prefer the penalties of cannibalism to death.
*On the other hand, even a blessed tin will take two turns to heal you (one to open and one to consume), which is slower than quaffing a potion in main inventory and no faster than retrieving a potion from a bag before quaffing. A (non-cursed) homemade tin will always provide 50 nutrition, and can cause you to choke to death if you are satiated; this is never the case with a potion.
+
* Unlike [[potions]], tins never explode or dilute, so they are always safe to carry in main inventory, even in such hostile environments as the [[Plane of Fire]].
*A full healing potion can only restore a maximum of 400 hit points; nurse meat always restores you to your maximum, however high that is. However, a non-cursed full healing potion can also raise your maximum HP if your current HP is maxed out by it, which the tin won't do.
+
* On the other hand, even a blessed tin will take two turns to heal you (one to open and one to consume), which is slower than quaffing a potion in main inventory and no faster than retrieving a potion from a bag before quaffing. A (non-cursed) homemade tin will always provide 50 nutrition, and can cause you to choke to death if you are satiated; this is never the case with a potion.
 +
* A full healing potion can only restore a maximum of 400 hit points; nurse meat always restores you to your maximum, however high that is. However, a non-cursed full healing potion can also raise your maximum HP if your current HP is maxed out by it, which the tin won't do.
 +
* You may want to keep a nurse alive for [[nurse dancing]] to raise your maximum HP instead, which you presumably are going to do until the nurse disappears.
  
 
==History==
 
==History==
 
 
Tins from [[Hack 1.0]] through [[NetHack 2.3e]] behave quite differently from the modern form. There is no [[tinning kit]] in these versions, and consequently there are no tinned monsters. Randomly generated tins can produce the following results:{{refsrc|eat.c|40|version=NetHack 2.3e}}{{refsrc|eat.c|70|version=NetHack 2.3e}}
 
Tins from [[Hack 1.0]] through [[NetHack 2.3e]] behave quite differently from the modern form. There is no [[tinning kit]] in these versions, and consequently there are no tinned monsters. Randomly generated tins can produce the following results:{{refsrc|eat.c|40|version=NetHack 2.3e}}{{refsrc|eat.c|70|version=NetHack 2.3e}}
  
Line 146: Line 155:
 
|}
 
|}
  
Tins in their modern form first appear in [[NetHack 3.0.0]]. That version has only spinach, deep fried, pickled, soup, pureed, and rotten tins;{{refsrc|eat.c|36|version=NetHack 3.0.0}} a [[tinning kit]] will produce one of these (except spinach of course), rather than the homemade tin.
+
Tins in their modern form first appear in [[NetHack 3.0.0]], where a tin could be spinach or any of the following types of prepared monster:{{refsrc|eat.c|36|version=NetHack 3.0.0}} deep fried, pickled, soup, pureed, and rotten. Applying a tinning kit will produce one of these non-spinach tins at random. [[NetHack 3.1.0]] introduces the homemade tin and modifies the tinning kit to produce only this type when applied.{{refsrc|eat.c|118|version=NetHack 3.1.0}} {{refsrc|apply.c|1771|version=NetHack 3.1.0}} The remaining preparation styles for tins are introduced in [[NetHack 3.3.0]].{{refsrc|eat.c|128|version=NetHack 3.3.0}}<!--I'm working off the sources here at NetHackWiki, as I don't have my complete archives within reach.  Some of these versions may be incorrect.-->
  
<!--I'm working off the sources here at NetHackWiki, as I don't have my complete archives within reach.  Some of these versions may be incorrect.-->
+
The ability to open tins quicker with a knife or stiletto is added in [[NetHack 3.6.1]].
[[NetHack 3.1.0]] adds the homemade tin,{{refsrc|eat.c|118|version=NetHack 3.1.0}} and modifies the tinning kit to produce this type only.{{refsrc|apply.c|1771|version=NetHack 3.1.0}}
 
  
[[NetHack 3.3.0]] adds the complete list of tins given above.{{refsrc|eat.c|128|version=NetHack 3.3.0}}
+
==Messages==
 +
{{message|You cannot handle the tin properly to open it.|You attempted to eat the tin while in the form of a monster that is very small or has no limbs.}}
 +
{{message|You easily open the tin.|You opened a tin immediately with a tin opener.}}
 +
{{message|Using <your weapon/tool> you try to open the tin.|You opened a tin using another applicable weapon or tool.}}
 +
{{message|It is not so easy to open this tin.|You took a long time to open a tin.}}
  
== UnNetHack ==
+
{{message|The tin slips from your hands.|You attempted to open a tin with your bare hands while having slippery fingers.}}
  
[[UnNetHack]] includes the Free Fortune Cookie Patch; there is a 50% chance for a szechuan tin to contain a free [[fortune cookie]].
+
{{message|KABOOM!! The tin was booby-trapped!|A cursed tin exploded when you opened it.}}
 +
{{message|It turns out to be empty.|You opened an empty tin.}}
  
== SLASH'EM ==
+
==Variants==
 +
===SLASH'EM===
 +
In [[SLASH'EM]], the game will not reveal the exact contents of tins unless you have eaten that monster's corpse or meat previously. Instead, they will only give some general information as to the monster class of the tinned monster, or simply describe the smell as "unfamiliar." This makes eating tins much more risky, as the players could accidentally commit cannibalism or '''eat cockatrice meat''', and one can easily lose vegetarian conduct without knowing.  Tins of spinach will always be identified correctly upon opening.
  
[[SLASH'EM]] once again modernizes the tins: They no longer tell exactly what the tin contains, unless the player has already eaten the particular meat. Instead, they will only give some general information ("It smells kind of like a dog or other canine."), or not even that ("The smell is unfamiliar."). This makes eating tins much more risky, as the players could accidentally commit cannibalism or '''eat cockatrice meat''', and one may easily lose vegetarian conduct without knowing. Furthermore, tins can be generated with the same traps as other traditional containers.
+
As tins only contain the corpses of monsters that could otherwise generate in the area, it is generally safe to eat unidentified tins on the first few levels. The exceptions to this are [[hobbit (starting race)|player hobbit]]s: tins of hobbit meat can generate quite early.
  
===Minor bug===
+
Cursed tins have a {{frac|8}} chance of exploding in a similar manner to a door, doing a level-dependent amount of damage and [[stun]]ning the player.
  
You can find tins of monsters that do not leave corpses, such as clay golems and air elementals but also of mummies and zombies. Even in wizard mode you cannot wish for such tins. It is bug number 667.
+
There is also a bug that causes tins of otherwise-[[corpseless]] monsters such as [[clay golem]]s and [[elemental]]s to generate, alongside monsters that do not leave their own corpses such as [[mummies]] and [[zombie]]s - however, you cannot wish for such tins, even in wizard mode. This is bug #667; such tins can usually be eaten without crashing your game, and will have the usual effects.
  
If you try to eat them, the game will probably not crash, and you can get the effects of the corresponding corpses. For example you can gain a level from a wraith tin. Air elemental and yellow light tins will be empty. It seems that the tinning process was applied, so you will probably not get food poisoning from a mummy/zombie tin.
+
===UnNetHack===
 +
[[UnNetHack]] includes the Free Fortune Cookie Patch - there is a {{frac|2}} chance of a tin of szechuan monster containing a free [[fortune cookie]].
  
 
==Encyclopedia entry==
 
==Encyclopedia entry==
 
 
{{encyclopedia|
 
{{encyclopedia|
 
"You know salmon, Sarge," said Nobby.
 
"You know salmon, Sarge," said Nobby.
Line 174: Line 189:
 
"You know they sell kind of slices of it in tins..."
 
"You know they sell kind of slices of it in tins..."
 
"So I am given to understand, yes."
 
"So I am given to understand, yes."
"Weell...how come all the tins are the same size?  Salmon
+
"Weell...how come all the tins are the same size?  Salmon gets thinner at both ends."
gets thinner at both ends."
 
 
"Interesting point, Nobby.  I think-"
 
"Interesting point, Nobby.  I think-"
 
|[ Soul Music, by Terry Pratchett ]
 
|[ Soul Music, by Terry Pratchett ]
Line 183: Line 197:
 
<references/>
 
<references/>
 
[[Category:Comestibles]]
 
[[Category:Comestibles]]
{{nethack-343}}
+
{{nethack-361}}

Latest revision as of 09:19, 11 March 2024

% Tin.png
Name tin
Base price 5 zm
Nutrition (varies)
Turns to eat (varies)
Weight 10
Conduct (varies)

A tin is a kind of comestible that appears in NetHack. It is a type of permafood that does not rot as time passes, although it may take some time to eat unless you have a way to quickly open it.

Generation

Tins comprise 7.5% of randomly generated comestibles - randomly generated tins have a 1 in 6 (16.7%) chance of containing spinach, and the rest will contain the meat of a monster that can randomly appear on the current level, with standard probabilities and the exception of corpseless monsters and wraiths.[1][2] Random tins are normally generated 90% uncursed, 5% cursed and 5% blessed.[3]

Tourists will often start with tins among their initial stacks of food, following the same rules as above.[4]

Tins can be made by applying a tinning kit to a corpse; tins of spinach cannot be created this way. Tins containing the meat of genocided monsters are not randomly generated, and any tins of that monster's meat made before that genocide or wished for after it will be empty. Tins of unique monsters can only be made by applying a tinning kit to that monster's corpse, and cannot be wished for at all.

Tins generated as part of a health food store will always contain either spinach or a vegetarian monster; if the initial random tin contents are not vegetarian, it will be converted to spinach, making the odds of finding spinach in these stores much higher than normal.[5]

Description

When you attempt to eat a tin, you first try to open it, with your method depending on your current form and/or wielded weapon.[6] You cannot open tins to eat if you are in a form that is very small or has no limbs, while you can open it immediately if you are polymorphed into a metallivore; if you have slippery fingers and are not wielding an appropriate weapon or tool, the tin slips from your fingers and lands on your square.

Otherwise, the tin's beatitude and your current wielded weapon or tool determine the amount of time taken to open the tin - eating the contents of the tin itself takes one turn.

Appearance

An identified tin will have one of the following descriptions:

Appearance Notes
tin of foo meat foo is a fleshy monster
tin of foo foo is a monster suitable for vegetarians
tin of spinach spinach is suitable for vegans
empty tin the monster is genocided or extinct

Opening a tin

If the tin is blessed, it takes 0-1 turns to open it, and will always take 0 turns if you are wielding or applying a blessed tin opener. A tin opener opening a non-blessed tin takes 0-1 turns if the tin opener is uncursed, and 0-2 turns if it cursed.

Certain weapons and tools can also be used to open a tin:

Randomly generated tins that are cursed at the time of opening may explode 18 of the time, with the same effects as an exploding door; this also destroys the tin.

Eating a tin

Once you have opened a tin, you will receive a message telling you what it smells like and be given the choice of eating it or discarding the contents - if the tin is empty (due to its monster type is genocided or extinct), it is automatically discarded. In either case, this will also auto-identify the contents of any tins that were in the same stack. If you are hallucinating, the monster name will be random, except for footrice meat which always "smells like chicken".[9]

Corpses that convey intrinsics will have the same probability of conferring that intrinsic when they have been tinned. Tinning makes acidic, poisonous and rotten corpses safe to eat, presumably due to the most edible parts being preserved[10] - this does not prevent effects applied after consumption, such as stunning, stoning or hallucination, however.

Eating the contents of the tin itself takes one turn and reveals its preparation method, which defines its nutrition value:[11]

Tin Nutrition Notes
Spinach, blessed 600[12] Increases strength[13]
Spinach, uncursed 401-600[14] Increases strength[13]
Spinach, cursed 201-600[15] Decreases strength[13]
Pureed 500
Candied 100
Sauteed 95
Stir fried 80 Causes slippery fingers
Broiled 80
Szechuan 70
Deep fried 60 Causes slippery fingers
Dried 55
Homemade 50
Boiled 50
Smoked 50
Pickled 40
French fried 40 Causes slippery fingers
Soup 20
Empty 0
Rotten -20 Gives 0 nutrition and causes nausea, which lowers nutrition by vomiting unless cured[16]

For randomly generated tins, the preparation methods are determined as follows:[17]

  • cursed tins of lizard and lichen are always homemade, while other cursed tins are always rotten
  • noncursed tins of lizard and lichen are never rotten; they have a 2/15 chance of being homemade and a 1/15 chance of each other method
  • other uncursed tins have 1/15 chance of being each method except rotten or homemade, 6/105 chance of being homemade, and 8/105 chance of being rotten

If you made the tin with a tinning kit, tins of lizard and lichen are always homemade, while tins of other monsters are rotten or homemade with a beatitude-dependent chance: blessed tins are always homemade, cursed tins are always rotten, and uncursed tins have a 17 chance of being rotten, with all others being homemade.[17]

Since the type of preparation is determined only after you consume the tin, there is no way to know it in advance, and tins that stack may end up being of different styles.

The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

A homemade tin of a monster whose corpse provides less than 50 nutrition will only provide as much as the corpse would.

Strategy

Most non-spinach tins have low nutritional value save for tins of pureed monster, which have more than half the nutrition of a food ration. This means that you will want to open tins quickly if you want to gain more nutritional benefit - avoid eating tins if you are weal from hunger unless you have a tin opener or other means of opening them fairly quickly.

Additionally, it is unwise to eat a tin in a shop without first unwielding your weapon - losing your Excalibur to slippery fingers and having to steal it back can be painfully tedious at best. It is also wise not to consume any unknown tins whilst hallucinating: while you can still reliably identify tins of cockatrice or chickatrice meat by smell, there are other potentially harmful tins of meat such as chameleon or even a monster of your own race.

It is popular to tin large corpses such as those of dragons and giants, which confer intrinsics and strength increases without nearly as much risk of becoming heavily satiated or even choking.

Tins of nurse meat

Tins of nurse meat are a potent but complicated resource, and deserve special consideration. Like the corpse of a nurse, a tin of nurse meat will restore you to full hit points. This makes nurses an attractive target for tinning when you encounter them. Tins of nurse meat have some advantages and some disadvantages relative to potions of full healing:

  • First and foremost, consumption of nurse meat is cannibalism for human characters! Fortunately, tinning the corpse does not count as cannibalism--only eating the tin does. So it is possible to tin nurses against a future need, when you might prefer the penalties of cannibalism to death.
  • Unlike potions, tins never explode or dilute, so they are always safe to carry in main inventory, even in such hostile environments as the Plane of Fire.
  • On the other hand, even a blessed tin will take two turns to heal you (one to open and one to consume), which is slower than quaffing a potion in main inventory and no faster than retrieving a potion from a bag before quaffing. A (non-cursed) homemade tin will always provide 50 nutrition, and can cause you to choke to death if you are satiated; this is never the case with a potion.
  • A full healing potion can only restore a maximum of 400 hit points; nurse meat always restores you to your maximum, however high that is. However, a non-cursed full healing potion can also raise your maximum HP if your current HP is maxed out by it, which the tin won't do.
  • You may want to keep a nurse alive for nurse dancing to raise your maximum HP instead, which you presumably are going to do until the nurse disappears.

History

Tins from Hack 1.0 through NetHack 2.3e behave quite differently from the modern form. There is no tinning kit in these versions, and consequently there are no tinned monsters. Randomly generated tins can produce the following results:[18][19]

Message Nutrition
It contains spinach - this makes you feel like Popeye! 600, increases strength
It contains salmon - not bad! 60, causes slippery fingers
It contains first quality peaches - what a surprise! 40
It contains apple juice - perhaps not what you hoped for. 20
It contains some nondescript substance, tasting awfully. 500
It contains rotten meat. You vomit. -50
It turns out to be empty. 0

Tins in their modern form first appear in NetHack 3.0.0, where a tin could be spinach or any of the following types of prepared monster:[20] deep fried, pickled, soup, pureed, and rotten. Applying a tinning kit will produce one of these non-spinach tins at random. NetHack 3.1.0 introduces the homemade tin and modifies the tinning kit to produce only this type when applied.[21] [22] The remaining preparation styles for tins are introduced in NetHack 3.3.0.[23]

The ability to open tins quicker with a knife or stiletto is added in NetHack 3.6.1.

Messages

You cannot handle the tin properly to open it.
You attempted to eat the tin while in the form of a monster that is very small or has no limbs.
You easily open the tin.
You opened a tin immediately with a tin opener.
Using <your weapon/tool> you try to open the tin.
You opened a tin using another applicable weapon or tool.
It is not so easy to open this tin.
You took a long time to open a tin.
The tin slips from your hands.
You attempted to open a tin with your bare hands while having slippery fingers.
KABOOM!! The tin was booby-trapped!
A cursed tin exploded when you opened it.
It turns out to be empty.
You opened an empty tin.

Variants

SLASH'EM

In SLASH'EM, the game will not reveal the exact contents of tins unless you have eaten that monster's corpse or meat previously. Instead, they will only give some general information as to the monster class of the tinned monster, or simply describe the smell as "unfamiliar." This makes eating tins much more risky, as the players could accidentally commit cannibalism or eat cockatrice meat, and one can easily lose vegetarian conduct without knowing. Tins of spinach will always be identified correctly upon opening.

As tins only contain the corpses of monsters that could otherwise generate in the area, it is generally safe to eat unidentified tins on the first few levels. The exceptions to this are player hobbits: tins of hobbit meat can generate quite early.

Cursed tins have a 18 chance of exploding in a similar manner to a door, doing a level-dependent amount of damage and stunning the player.

There is also a bug that causes tins of otherwise-corpseless monsters such as clay golems and elementals to generate, alongside monsters that do not leave their own corpses such as mummies and zombies - however, you cannot wish for such tins, even in wizard mode. This is bug #667; such tins can usually be eaten without crashing your game, and will have the usual effects.

UnNetHack

UnNetHack includes the Free Fortune Cookie Patch - there is a 12 chance of a tin of szechuan monster containing a free fortune cookie.

Encyclopedia entry

"You know salmon, Sarge," said Nobby.
"It is a fish of which I am aware, yes."
"You know they sell kind of slices of it in tins..."
"So I am given to understand, yes."
"Weell...how come all the tins are the same size? Salmon gets thinner at both ends."
"Interesting point, Nobby. I think-"

[ Soul Music, by Terry Pratchett ]

References

This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.6.1. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-361}} tag to the current version's tag or {{noversion}} as appropriate.