Canned Tuna: Difference between revisions
(New infobox + new layout) |
(Update distribution file) |
||
(33 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Canned food}} | ||
{{Page version|41.78.16}} | |||
| | {{Infobox item | ||
| | |name=Canned Tuna | ||
| | |model=TinnedTuna_Model.png | ||
| | |icon=Tuna.png | ||
| | |icon_name=Canned Tuna | ||
| | |model2=TinnedTunaOpen_Model.png | ||
| | |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= | |packaged=Yes | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=- | |hunger_change=-18 | ||
|calories=370 | |calories=370 | ||
|lipids=34 | |lipids=34 | ||
Line 22: | Line 24: | ||
|carbohydrates=0 | |carbohydrates=0 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.TunaTin<br>Base.TunaTinOpen | ||
}}'''Canned tuna''' is a | }} | ||
'''Canned tuna''' (written as ''TUNA'' on the model) is a non-perishable [[food]] [[Items|item]]. | |||
==Usage== | ==Usage== | ||
Canned tuna can | 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. | ||
{{ | {{Consumables | ||
|image = TunaOpen.png | |image = TunaOpen.png | ||
|hunger = - | |hunger = -18 | ||
|thirst = 0 | |thirst = 0 | ||
|unrotten hunger = - | |unrotten hunger = -13 | ||
|unrotten boredom = +10 | |unrotten boredom = +10 | ||
|unrotten unhappiness = +10 | |unrotten unhappiness = +10 | ||
|unrotten thirst = 0 | |unrotten thirst = 0 | ||
|rotten hunger = - | |rotten hunger = -8 | ||
|rotten boredom = +20 | |rotten boredom = +20 | ||
|rotten unhappiness = +20 | |rotten unhappiness = +20 | ||
Line 46: | Line 53: | ||
==Crafting== | ==Crafting== | ||
{{Main|Cooking}} | {{Main|Cooking}} | ||
===Evolved recipes=== | |||
{{EvolvedRecipesForItem|stew= | 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== | ||
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--> | |||
Canned tuna can often be found in [[Containers#Kitchen Counter|kitchen counters]]. | |||
==Code== | |||
{{ | {{CodeBox|[[File:Tuna.png]] {{ID|Base.TunaTin}}<br> | ||
{{CodeSnip | |||
Weight | | 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 | |||
Type | | source = items_food.txt | ||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item TunaTinOpen | |||
EvolvedRecipe | { | ||
FoodType = | 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== | ==See also== | ||
Line 95: | Line 272: | ||
*[[Dog Food]] | *[[Dog Food]] | ||
{{Navbox | {{Navbox items|preserved_food}} | ||
[[Category:Non-perishable food]] |
Latest revision as of 12:18, 30 April 2024
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 |
---|---|---|---|---|---|
Opened Canned Tuna |
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 |
---|---|---|
|
|
|
Crafting
- Main article: Cooking
Evolved recipes
Canned tuna is a cooking ingredient.
Product | Nutrition |
---|---|
Stew |
18 |
Stir Fry |
18 |
Sandwich |
9 |
Rice Pot/Saucepan |
18 |
Taco |
9 |
Burrito |
18 |
Omelette |
9 |
Distribution
The loot distributions can be found in the table(s) below.
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
Base.TunaTin
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}
Base.TunaTinOpen
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}