Canned Tuna: Difference between revisions

From PZwiki
(Corrected Language to fit page.)
m (Update shorthand parameters)
(31 intermediate revisions by 10 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Canned food}}
{{languages|Tin_of_Tuna}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Canned Tuna
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[ Main_Page|Index]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[Tin_of_Tuna|Tin of Tuna]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=TinnedTuna_Model.png
{{Consumables
|icon=Tuna.png
|image = Tuna.png
|icon_name=Canned Tuna
|hunger = -17
|model2=TinnedTunaOpen_Model.png
|weight = 0.3
|icon2=TunaOpen.png
|model3=TinnedTunaRottenOpen_Model.png
|icon3=TunaOpen.png
|icon_name2=Opened Canned Tuna
<!--GENERAL-->
|category=Food
|weight=0.3
|days_fresh=2
|days_rotten=4
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-18
|calories=370
|lipids=34
|proteins=15
|carbohydrates=0
<!--TECHNICAL DETAILS-->
|item_id=Base.TunaTin<br>Base.TunaTinOpen
}}
}}
A Can of Tuna is a [[Food#Non-Perishable|non-perishable]] food item which is often found in [[Containers#Kitchen_cupboard|kitchen cupboards]]. It is a [[Food#Non-Perishable|non-perishable]] item while it is sealed.<br>
A Can of Tuna can only be opened with a [[Can Opener#|can opener]], and once opened it becomes a perishable item. A opened can of tuna takes two in-game days to go stale, and four in-game days to rot.


'''Canned tuna''' (written as ''TUNA'' on the model) is a non-perishable [[food]] [[Items|item]].
==Usage==
Canned tuna can be opened without the need of a [[Can Opener|can opener]], however once opened it becomes [[Food#Perishable|perishable]].
{{Crafting header|ing=2}}
{{Crafting cooking|011|ing=2}}
|}


== Nutritional Information ==
===Consumable properties===
{| border=0 align=left <!-- Table will be in middle of page without this line -->
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.
|
{{Consumables
{{Consumables2
|image = TunaOpen.png
|image = Open_Tin_of_Tuna.png
|hunger = -18
|hunger = -17
|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
|rotten thirst = 0
|rotten thirst = 0
|perishable = 1
|perishable = 1
|rotten image = Open_Tin_of_Tuna.png
|rotten image = TunaOpen.png
}}
 
==Crafting==
{{Main|Cooking}}
 
===Evolved recipes===
Canned tuna is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|Omelette=9|Stew=18|StirFry=18|Rice=18|Sandwich=9|Taco=9|Burrito=18}}
 
==Distribution==
Canned tuna can often be found in [[Containers#Kitchen Counter|kitchen counters]].
 
==Code==
{{CodeBox|[[File:Tuna.png]] {{ID|Base.TunaTin}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 633
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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,
}
}}
 
[[File:TunaOpen.png]] {{ID|Base.TunaTinOpen}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 561
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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,
}
}}
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''It's Nutritional Values are as follows:'''<br>
Carbohydrates = 0 <br>
Proteins = 15 <br>
Lipids = 34 <br>
Calories = 370 <br><br>


== Evolved Recipes ==
==See also==
<!-- Information for template 'Evolved Recipes', used to explain how much of the food can be put into a meal. -->
*[[Canned Corned Beef]]
{{EvolvedRecipesForItem
*[[Canned Sardines]]
|stew=17|stirfry=17|ricepot=17|ricepan=17|sandwich=17|}}
*[[Dog Food]]


== Code ==
{{Navbox food}}
<br>
''Sealed Can''
<nowiki>
item TunaTin
Weight = 0.3,
Type = Food,
DisplayName = Tuna,
Icon = Tuna,
        Carbohydrates = 0,
        Proteins = 15,
        Lipids = 34,
        Calories = 370,
        Packaged = TRUE,
</nowiki>
''Opened Can''
<nowiki>
item TunaTinOpen
HungerChange = -17,
Weight = 0.3,
Type = Food,
DaysTotallyRotten = 4,
DisplayName = Open Tin of Tuna,
Icon = TunaOpen,
DaysFresh = 2,
EvolvedRecipe = Stew:17;Stir fry:17;RicePot:17;RicePan:17;Sandwich:17,
FoodType = Fish,
        Carbohydrates = 0,
        Proteins = 15,
        Lipids = 34,
        Calories = 370,
        Packaged = TRUE,
    </nowiki>


{{Navbox/Consumables}}
[[Category:Non-perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category:Non-Perishable_Food]]
[[Category:Version 34.28]]

Revision as of 02:29, 28 March 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 XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Opened Tin of Tuna
Opened Canned Tuna
0 XP none Tuna.png
Canned Tuna
(consumed)

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

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