Canned Tomato: Difference between revisions

From PZwiki
(updated to 41.68)
(Update distribution file)
 
(30 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Canned food}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|Canned Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Canned Tomato
{{Infobox item
|name_colour=Food
|name=Canned Tomato
|name_text_colour=Food
|model=TinnedTomatoes_Model.png
|image=TinnedTomatoes_Model.png
|icon=CannedTomato.png
|image_width=300px
|icon_name=Canned Tomato
|alternate_image=CannedTomato.png
|model2=TinnedTomatoesOpen_Model.png
|alternate_link=
|icon2=CannedTomatoOpen.png
|alternate_name=Canned Tomato
|icon_name2=Opened Canned Tomato
|alternate_image2=CannedTomatoOpen.png
|alternate_link2=
|alternate_name2=Opened Canned Tomato
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.7
|weight=0.8
|days_fresh=2
|days_fresh=2
|days_rotten=4
|days_rotten=4
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-12
|hunger_change=-12
Line 26: Line 23:
|carbohydrates=18
|carbohydrates=18
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CannedTomato<br>Base.CannedTomatoOpen
|item_id=Base.CannedTomato2<br>Base.CannedTomatoOpen
}}'''Canned tomato''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  
}}
'''Canned tomato''' (written as ''TOMATOES'' on the model) is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Canned tomato can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]].  
Canned tomato can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]].
{{Crafting/sandbox2
|opened_canned_tomato
}}
 
===Consumable properties===
===Consumable properties===
Opened canned tomato can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Opened canned tomato 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 = CannedTomatoOpen.png
|image = CannedTomatoOpen.png
|hunger = -12
|hunger = -12
Line 50: Line 52:


==Crafting==
==Crafting==
===Cooking===
{{Main|Cooking}}
{{Main|Cooking}}
Canned tomato can be used in various cooking recipes.
 
====Evolved recipes====
===Evolved recipes===
{{EvolvedRecipesForItem|omelette=12|soup=12|stew=12|pie=12|stirfry=12|sandwich=6|burger=6|salad=12|roastedvegetables=12|ricepot=12|ricepan=12|pastapot=12|pastapan=12}}
Canned tomato is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|pizza=12|omelette=12|soup=12|stew=12|pie=12|stirfry=12|sandwich=6|burger=6|salad=6|roastedvegetables=12|rice=12|pasta=12}}


==Distribution==
==Distribution==
Canned tomato is often found in [[Containers#Kitchen Counter|kitchen counters]].
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|CannedTomato2|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>CannedTomato2 distribution
        <span class="mw-customtoggle-togglebox-CannedTomato2" 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-CannedTomato2">
    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%
    |-
    | Bag_SurvivorBag
    | {{ll|Bag_SurvivorBag}}
    | 23.28%
    |-
    | FoodCache1
    | {{ll|FoodBox}}
    | 55.18%
    |-
    | GroceryBag1
    | {{ll|GroceryBag1}}
    | 0.89%
    |-
    | GroceryBag2
    | {{ll|GroceryBag2}}
    | 2.81%
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 19.27%
    |-
    | SurvivorCache1
    | {{ll|SurvivorCrate}}
    | 19.27%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 19.27%
    |-
    | SurvivorCache2
    | {{ll|SurvivorCrate}}
    | 19.27%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 19.27%
    |-
    | garagestorage
    | {{ll|crate}}
    | 19.27%
    |-
    | 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.51%
    |-
    | grocerystorage
    | {{ll|crate}}
    | 23.28%
    |-
    | grocerystorage
    | {{ll|crate}}
    | 41.14%
    |-
    | grocerystorage
    | {{ll|metal_shelves}}
    | 3.51%
    |-
    | grocerystorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | grocerystorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | grocerystorage
    | {{ll|smallcrate}}
    | 3.51%
    |-
    | grocerystorage
    | {{ll|smallcrate}}
    | 23.28%
    |-
    | grocerystorage
    | {{ll|smallcrate}}
    | 41.14%
    |-
    | kitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | kitchen
    | {{ll|crate}}
    | 19.27%
    |-
    | kitchen
    | {{ll|overhead}}
    | 19.27%
    |-
    | kitchen
    | {{ll|shelves}}
    | 19.27%
    |-
    | livingroom
    | {{ll|counter}}
    | 19.27%
    |-
    | livingroom
    | {{ll|overhead}}
    | 19.27%
    |-
    | storageunit
    | {{ll|crate}}
    | 19.27%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-CannedTomato2" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CannedTomato2|41.78.16-->


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


''Canned Tomato'' [[File:CannedTomato.png|32px]]
==Code==
{{Retrieved|version=41|incver=68}}
{{CodeBox|[[File:CannedTomato2.png]] {{ID|Base.CannedTomato2}}<br>
<pre>    item CannedTomato2
{{CodeSnip
    {
  | lang = java
        DisplayCategory = Food,
  | line = true
        Weight = 0.7,
  | start = 418
        Type = Food,
  | source = items_food.txt
        DisplayName = Canned Tomato,
  | retrieved = true
        Icon = CannedTomato,
  | version = 41.78.16
        Carbohydrates = 18,
  | code =
        Proteins = 3,
item CannedTomato2
        Lipids = 0,
{
        Calories = 90,
DisplayName = Canned Tomato,
        Packaged = TRUE,
DisplayCategory = Food,
        StaticModel = CanClosed,
Type = Food,
        CannedFood = TRUE,
Weight = 0.8,
        WorldStaticModel = CanClosedTomatoes,
Icon = CannedTomato,
    }</pre>
CannedFood = TRUE,
CantEat = TRUE,
Packaged = TRUE,
Calories = 90,
Carbohydrates = 18,
Lipids = 0,
Proteins = 3,
StaticModel = CanClosed,
WorldStaticModel = CanClosedTomatoes,
Tags = HasMetal,
}
}}


''Opened Canned Tomato'' [[File:CannedTomatoOpen.png|32px]]
[[File:CannedTomatoOpen.png]] {{ID|Base.CannedTomatoOpen}}<br>
{{Retrieved|version=41|incver=68}}
{{CodeSnip
<pre>    item CannedTomatoOpen
  | lang = java
    {
  | line = true
        DisplayCategory = Food,
  | start = 296
        Weight = 0.7,
  | source = items_food.txt
        Type = Food,
  | retrieved = true
        DisplayName = Opened Canned Tomato,
  | version = 41.78.16
        Icon = CannedTomatoOpen,
  | code =
        HungerChange = -12,
item CannedTomatoOpen
        EvolvedRecipe       =       Omelette:12;Soup:12;Stew:12;Pie:12;Stir fry Griddle Pan:12;Stir fry:12;Sandwich:6;Sandwich Baguette:6;Burger:6;Salad:12;Roasted Vegetables:12;RicePot:12;RicePan:12;PastaPot:12;PastaPan:12,
{
        DaysFresh = 2,
DisplayName = Opened Canned Tomato,
        DaysTotallyRotten = 4,
DisplayCategory = Food,
        ThirstChange = -8,
Type = Food,
        Carbohydrates = 18,
Weight = 0.8,
        Proteins = 3,
Icon = CannedTomatoOpen,
        Lipids = 0,
CannedFood = TRUE,
        Calories = 90,
EatType = can,
        Packaged = TRUE,
EvolvedRecipe = Pizza:12;Omelette:12;Soup:12;Stew:12;Pie:12;Stir fry Griddle Pan:12;Stir fry:12;Sandwich:6;Sandwich Baguette:6;Burger:6;Salad:6;Roasted Vegetables:12;RicePot:12;RicePan:12;PastaPot:12;PastaPan:12,
        FoodType    = Vegetables,
EvolvedRecipeName = Tomato,
        EvolvedRecipeName = Canned Tomato,
FoodType = Vegetables,
        ReplaceOnUse    =   TinCanEmpty,
Packaged = TRUE,
        StaticModel = CanOpen,
ReplaceOnUse = TinCanEmpty,
        EatType = can,
DaysFresh = 2,
        CannedFood = TRUE,
DaysTotallyRotten = 4,
        WorldStaticModel = CanOpenTomatoes,
HungerChange = -12,
    }</pre>
ThirstChange = -8,
Calories = 90,
Carbohydrates = 18,
Lipids = 0,
Proteins = 3,
StaticModel = CanOpen,
WorldStaticModel = CanOpenTomatoes,
Tags = HasMetal,
}
}}
}}


==See also==
==See also==
Line 116: Line 302:
*[[Canned Potato]]
*[[Canned Potato]]


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

Latest revision as of 12:18, 30 April 2024

Project ZomboidItemsFoodCanned foodCanned Tomato
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Canned Tomato
TinnedTomatoes Model.png
TinnedTomatoesOpen Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.8
Properties
Packaged
Yes
Days fresh
2 days
Days until rotten
4 days
Nutrition
HungerMoodle Icon Hungry.png
-12
ThirstMoodle Icon Thirsty.png
-8
CaloriesCalories
90
CarbohydratesCarbohydrates
18
ProteinsProteins
3
FatFat
0
Technical
Item ID
Base.CannedTomato2
Base.CannedTomatoOpen

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

Usage

Canned tomato can only be opened with a can opener, and once opened become perishable.

Product Ingredients Tools Requirements Workstation XP
CannedTomatoOpen.png
Opened Canned Tomato
CannedTomato.png Canned Tomato ×1 CanOpener.png
Can Opener
none none none

Consumable properties

Opened canned tomato 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

CannedTomatoOpen.png
Hunger: -12


CannedTomatoOpen.png
Hunger: -9
Boredom: +10
Unhappiness: +10

CannedTomatoOpen.png
Hunger: -5
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Canned tomato is a cooking ingredient.

Product Nutrition
Soup
Soup
12
Stew
Stew
12
Salad
Salad
6
Stir Fry
Stir Fry
12
Roasted Vegetables
Roasted Vegetables
12
Sandwich
Sandwich
6
Burger
Burger
6
Pie (savory)
Pie (savory)
12
Rice Pot/Saucepan
Rice Pot/Saucepan
12
Pasta Pot/Saucepan
Pasta Pot/Saucepan
12
Omelette
Omelette
12
Pizza
Pizza
12

Distribution

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

CannedTomato2 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%
Bag_SurvivorBag Bag_SurvivorBag 23.28%
FoodCache1 FoodBox 55.18%
GroceryBag1 GroceryBag1 0.89%
GroceryBag2 GroceryBag2 2.81%
SafehouseLoot counter 19.27%
SurvivorCache1 SurvivorCrate 19.27%
SurvivorCache1 counter 19.27%
SurvivorCache2 SurvivorCrate 19.27%
SurvivorCache2 counter 19.27%
garagestorage crate 19.27%
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.51%
grocerystorage crate 23.28%
grocerystorage crate 41.14%
grocerystorage metal_shelves 3.51%
grocerystorage metal_shelves 23.28%
grocerystorage metal_shelves 41.14%
grocerystorage smallcrate 3.51%
grocerystorage smallcrate 23.28%
grocerystorage smallcrate 41.14%
kitchen counter 19.27%
kitchen crate 19.27%
kitchen overhead 19.27%
kitchen shelves 19.27%
livingroom counter 19.27%
livingroom overhead 19.27%
storageunit crate 19.27%

Canned tomato can often be found in kitchen counters.

Code

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

CannedTomato2.png Base.CannedTomato2
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item CannedTomato2
	{
		DisplayName = Canned Tomato,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = CannedTomato,
		CannedFood = TRUE,
		CantEat = TRUE,
		Packaged = TRUE,
		Calories = 90,
		Carbohydrates = 18,
		Lipids = 0,
		Proteins = 3,
		StaticModel = CanClosed,
		WorldStaticModel = CanClosedTomatoes,
		Tags = HasMetal,
	}

CannedTomatoOpen.png Base.CannedTomatoOpen
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item CannedTomatoOpen
	{
		DisplayName = Opened Canned Tomato,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = CannedTomatoOpen,
		CannedFood = TRUE,
		EatType = can,
		EvolvedRecipe = Pizza:12;Omelette:12;Soup:12;Stew:12;Pie:12;Stir fry Griddle Pan:12;Stir fry:12;Sandwich:6;Sandwich Baguette:6;Burger:6;Salad:6;Roasted Vegetables:12;RicePot:12;RicePan:12;PastaPot:12;PastaPan:12,
		EvolvedRecipeName = Tomato,
		FoodType = Vegetables,
		Packaged = TRUE,
		ReplaceOnUse = TinCanEmpty,
		DaysFresh = 2,
		DaysTotallyRotten = 4,
		HungerChange = -12,
		ThirstChange = -8,
		Calories = 90,
		Carbohydrates = 18,
		Lipids = 0,
		Proteins = 3,
		StaticModel = CanOpen,
		WorldStaticModel = CanOpenTomatoes,
		Tags = HasMetal,
	}

See also