Canned Tuna: Difference between revisions

From PZwiki
(New infobox + new layout)
(Update distribution file)
 
(33 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Canned Tuna}}
{{Header|Project Zomboid|Items|Food|Canned food}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|Canned Food|type=Food|version=Version 40|incver=14}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Canned Tuna
{{Infobox item
|name_colour=Food
|name=Canned Tuna
|name_text_colour=Food
|model=TinnedTuna_Model.png
|image=Tuna_120px.png
|icon=Tuna.png
|alternate_image=TunaOpen.png
|icon_name=Canned Tuna
|alternate_link=
|model2=TinnedTunaOpen_Model.png
|alternate_name=Opened Canned Tuna
|icon2=TunaOpen.png
|model3=TinnedTunaRottenOpen_Model.png
|icon3=TunaOpen.png
|icon_name2=Opened Canned Tuna
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 13: Line 16:
|days_fresh=2
|days_fresh=2
|days_rotten=4
|days_rotten=4
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-17
|hunger_change=-18
|thirst_change=
|calories=370
|calories=370
|lipids=34
|lipids=34
Line 22: Line 24:
|carbohydrates=0
|carbohydrates=0
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.TunaTin<br>Base.TunaTinOpen
|item_id=Base.TunaTin<br>Base.TunaTinOpen
}}'''Canned tuna''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  
}}
'''Canned tuna''' (written as ''TUNA'' on the model) is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Canned tuna can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]].  
Canned tuna can be opened without the need of a [[Can Opener|can opener]], however once opened it becomes [[Food#Perishable|perishable]].
{{Crafting/sandbox2
|opened_canned_tuna
}}
 
===Consumable properties===
===Consumable properties===
Opened canned tuna can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Opened canned tuna can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables
|image = TunaOpen.png
|image = TunaOpen.png
|hunger = -17
|hunger = -18
|thirst = 0
|thirst = 0
|unrotten hunger = -12
|unrotten hunger = -13
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten unhappiness = +10
|unrotten thirst = 0
|unrotten thirst = 0
|rotten hunger = -7
|rotten hunger = -8
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +20
|rotten unhappiness = +20
Line 46: Line 53:


==Crafting==
==Crafting==
===Cooking===
{{Main|Cooking}}
{{Main|Cooking}}
Canned tuna can be used in various cooking recipes.
 
====Evolved recipes====
===Evolved recipes===
{{EvolvedRecipesForItem|stew=17|stirfry=17|ricepot=17|ricepan=17|sandwich=17}}
Canned tuna is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|omelette=9|stew=18|stirfry=18|rice=18|sandwich=9|taco=9|burrito=18}}


==Distribution==
==Distribution==
Canned tuna is often found in [[Containers#Kitchen Counter|kitchen counters]].
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|TunaTin|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>TunaTin distribution
        <span class="mw-customtoggle-togglebox-TunaTin" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-TunaTin">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Bag_FoodCanned
    | {{ll|Bag_FoodCanned}}
    | 23.28%
    |-
    | FoodCache1
    | {{ll|FoodBox}}
    | 62.98%
    |-
    | GroceryBag1
    | {{ll|GroceryBag1}}
    | 1.01%
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 23.28%
    |-
    | SurvivorCache1
    | {{ll|SurvivorCrate}}
    | 23.28%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 23.28%
    |-
    | SurvivorCache2
    | {{ll|SurvivorCrate}}
    | 23.28%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 23.28%
    |-
    | garagestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | generalstore
    | {{ll|crate}}
    | 23.28%
    |-
    | generalstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | gigamart
    | {{ll|crate}}
    | 23.28%
    |-
    | gigamart
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocery
    | {{ll|crate}}
    | 23.28%
    |-
    | grocery
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocery
    | {{ll|smallcrate}}
    | 23.28%
    |-
    | grocerystorage
    | {{ll|crate}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|smallcrate}}
    | 3.98%
    |-
    | kitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | kitchen
    | {{ll|crate}}
    | 23.28%
    |-
    | kitchen
    | {{ll|overhead}}
    | 23.28%
    |-
    | kitchen
    | {{ll|shelves}}
    | 23.28%
    |-
    | livingroom
    | {{ll|counter}}
    | 23.28%
    |-
    | livingroom
    | {{ll|overhead}}
    | 23.28%
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 10.78%
    |-
    | storageunit
    | {{ll|crate}}
    | 23.28%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-TunaTin" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|TunaTin|41.78.16-->


== Code ==
Canned tuna can often be found in [[Containers#Kitchen Counter|kitchen counters]].
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''


''Canned Tuna'' [[File:Tuna.png|32px]]
==Code==
{{Retrieved|version=40|incver=14}}
{{CodeBox|[[File:Tuna.png]] {{ID|Base.TunaTin}}<br>
<pre> item TunaTin
{{CodeSnip
Weight = 0.3,
  | lang = java
Type = Food,
  | line = true
DisplayName = Tuna,
  | start = 633
Icon = Tuna,
  | source = items_food.txt
        Carbohydrates = 0,
  | retrieved = true
        Proteins = 15,
  | version = 41.78.16
        Lipids = 34,
  | code =
        Calories = 370,
item TunaTin
        Packaged = TRUE,</pre>
{
DisplayName = Canned Tuna,
DisplayCategory = Food,
Type = Food,
Weight = 0.3,
Icon = Tuna,
CannedFood = TRUE,
CantEat = TRUE,
Packaged = TRUE,
Calories = 370,
Carbohydrates = 0,
Lipids = 34,
Proteins = 15,
StaticModel = CanClosed,
WorldStaticModel = TinnedTuna_Ground,
Tags = HasMetal,
}
}}


''Opened Canned Tuna'' [[File:TunaOpen.png|32px]]
[[File:TunaOpen.png]] {{ID|Base.TunaTinOpen}}<br>
{{Retrieved|version=40|incver=14}}
{{CodeSnip
<pre> item TunaTinOpen
  | lang = java
HungerChange = -17,
  | line = true
Weight = 0.3,
  | start = 561
Type = Food,
  | source = items_food.txt
DaysTotallyRotten = 4,
  | retrieved = true
DisplayName = Open Tin of Tuna,
  | version = 41.78.16
Icon = TunaOpen,
  | code =
DaysFresh = 2,
item TunaTinOpen
EvolvedRecipe = Stew:17;Stir fry:17;RicePot:17;RicePan:17;Sandwich:17,
{
FoodType = Fish,
DisplayName = Opened Tin of Tuna,
        Carbohydrates = 0,
DisplayCategory = Food,
        Proteins = 15,
Type = Food,
        Lipids = 34,
Weight = 0.3,
        Calories = 370,
Icon = TunaOpen,
        Packaged = TRUE,
CannedFood = TRUE,
        ReplaceOnUse    = TinCanEmpty,</pre>
EatType = can,
EvolvedRecipe = Omelette:9;Stew:18;Stir fry Griddle Pan:18;Stir fry:18;RicePot:18;RicePan:18;Sandwich:9;Sandwich Baguette:9;Taco:9;Burrito:18,
EvolvedRecipeName = Tuna,
FoodType = Fish,
Packaged = TRUE,
ReplaceOnUse = TinCanEmpty,
DaysFresh = 2,
DaysTotallyRotten = 4,
HungerChange = -18,
Calories = 370,
Carbohydrates = 0,
Lipids = 34,
Proteins = 15,
StaticModel = CanOpen,
WorldStaticModel = TinnedTuna_Open_Ground,
Tags = HasMetal,
}
}}
}}


==See also==
==See also==
Line 95: Line 272:
*[[Dog Food]]
*[[Dog Food]]


{{Navbox/Consumables}}
{{Navbox items|preserved_food}}
 
 
[[Category:Non-perishable food]]

Latest revision as of 12:18, 30 April 2024

Project ZomboidItemsFoodCanned foodCanned Tuna
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Canned Tuna
TinnedTuna Model.png
TinnedTunaOpen Model.png
TinnedTunaRottenOpen Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Packaged
Yes
Days fresh
2 days
Days until rotten
4 days
Nutrition
HungerMoodle Icon Hungry.png
-18
CaloriesCalories
370
CarbohydratesCarbohydrates
0
ProteinsProteins
15
FatFat
34
Technical
Item ID
Base.TunaTin
Base.TunaTinOpen

Canned tuna (written as TUNA on the model) is a non-perishable food item.

Usage

Canned tuna can be opened without the need of a can opener, however once opened it becomes perishable.

Product Ingredients Tools Requirements Workstation XP
TunaOpen.png
Opened Canned Tuna
Tuna.png Canned Tuna ×1 none none none none

Consumable properties

Opened canned tuna can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.

Fresh Stale Rotten

TunaOpen.png
Hunger: -18


TunaOpen.png
Hunger: -13
Boredom: +10
Unhappiness: +10

TunaOpen.png
Hunger: -8
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Canned tuna is a cooking ingredient.

Product Nutrition
Stew
Stew
18
Stir Fry
Stir Fry
18
Sandwich
Sandwich
9
Rice Pot/Saucepan
Rice Pot/Saucepan
18
Taco
Taco
9
Burrito
Burrito
18
Omelette
Omelette
9

Distribution

The loot distributions can be found in the table(s) below.

TunaTin distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_FoodCanned Bag_FoodCanned 23.28%
FoodCache1 FoodBox 62.98%
GroceryBag1 GroceryBag1 1.01%
SafehouseLoot counter 23.28%
SurvivorCache1 SurvivorCrate 23.28%
SurvivorCache1 counter 23.28%
SurvivorCache2 SurvivorCrate 23.28%
SurvivorCache2 counter 23.28%
garagestorage crate 23.28%
generalstore crate 23.28%
generalstore shelves 23.28%
generalstorestorage crate 23.28%
generalstorestorage shelves 23.28%
gigamart crate 23.28%
gigamart shelves 23.28%
grocery crate 23.28%
grocery shelves 23.28%
grocery smallcrate 23.28%
grocerystorage crate 3.98%
grocerystorage metal_shelves 3.98%
grocerystorage smallcrate 3.98%
kitchen counter 23.28%
kitchen crate 23.28%
kitchen overhead 23.28%
kitchen shelves 23.28%
livingroom counter 23.28%
livingroom overhead 23.28%
prisoncells wardrobe 10.78%
storageunit crate 23.28%

Canned tuna can often be found in kitchen counters.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Tuna.png Base.TunaTin
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item TunaTin
	{
		DisplayName = Canned Tuna,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Tuna,
		CannedFood = TRUE,
		CantEat = TRUE,
		Packaged = TRUE,
		Calories = 370,
		Carbohydrates = 0,
		Lipids = 34,
		Proteins = 15,
		StaticModel = CanClosed,
		WorldStaticModel = TinnedTuna_Ground,
		Tags = HasMetal,
	}

TunaOpen.png Base.TunaTinOpen
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item TunaTinOpen
	{
		DisplayName = Opened Tin of Tuna,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = TunaOpen,
		CannedFood = TRUE,
		EatType = can,
		EvolvedRecipe = Omelette:9;Stew:18;Stir fry Griddle Pan:18;Stir fry:18;RicePot:18;RicePan:18;Sandwich:9;Sandwich Baguette:9;Taco:9;Burrito:18,
		EvolvedRecipeName = Tuna,
		FoodType = Fish,
		Packaged = TRUE,
		ReplaceOnUse = TinCanEmpty,
		DaysFresh = 2,
		DaysTotallyRotten = 4,
		HungerChange = -18,
		Calories = 370,
		Carbohydrates = 0,
		Lipids = 34,
		Proteins = 15,
		StaticModel = CanOpen,
		WorldStaticModel = TinnedTuna_Open_Ground,
		Tags = HasMetal,
	}

See also