Canned Tomato: Difference between revisions

From PZwiki
(new31.9)
 
(→‎Distribution: Add table)
(34 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages}}{{Notice|Short}}
{{Header|Project Zomboid|Items|Food|Canned food}}
{{Page version|41.78.16}}
{{Infobox item
|name=Canned Tomato
|model=TinnedTomatoes_Model.png
|icon=CannedTomato.png
|icon_name=Canned Tomato
|model2=TinnedTomatoesOpen_Model.png
|icon2=CannedTomatoOpen.png
|icon_name2=Opened Canned Tomato
<!--GENERAL-->
|category=Food
|weight=0.8
|days_fresh=2
|days_rotten=4
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-12
|thirst_change=-8
|calories=90
|lipids=0
|proteins=3
|carbohydrates=18
<!--TECHNICAL DETAILS-->
|item_id=Base.CannedTomato2<br>Base.CannedTomatoOpen
}}
'''Canned tomato''' (written as ''TOMATOES'' on the model) is a non-perishable [[food]] [[Items|item]].


{{Consumables
==Usage==
|image = CannedTomato2.png
Canned tomato can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]].
|hunger = -20
{{Crafting/sandbox2
|weight = 0.7
|opened_canned_tomato
}}
}}
Canned Tomato<br>
[[File:CannedTomato2.png]]:Non-Perishable Food<br>
Open Canned Tomato<br>
[[File:CannedTomatoOpen.png]]:Perishable Food<br>


 
===Consumable properties===
== Nutritional Information ==
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 = -20  
|hunger = -12
|thirst = 0
|unrotten hunger = -9
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten thirst = 0
|rotten hunger = -5
|rotten boredom = +20
|rotten unhappiness = +20
|rotten thirst = 0
|perishable = 1
|perishable = 1
|cookable = 0
|dangerous uncooked = 0
|unhappiness = 0
|unrotten hunger = 0
|unrotten unhappiness = 0
|rotten hunger = 0
|rotten unhappiness = 0
|unrottencooked hunger = 0
|unrottencooked unhappiness = 0
|unrottencooked boredom = 0
|rottencooked hunger = 0
|rottencooked unhappiness = 0
|cooked hunger = 0
|cooked unhappiness = 0
|cooked boredom = 0
|burned hunger = 0
|burned boredom = 0
|burned unhappiness = 0
|burned image =
|rotten image = CannedTomatoOpen.png
|rotten image = CannedTomatoOpen.png
|cooked image =
}}
}}


== Crafting ==
==Crafting==
{| class="wikitable sortable" style="text-align:center;"
{{Main|Cooking}}
|-
 
! Name
===Evolved recipes===
! class="unsortable" | Recipe
Canned tomato is a [[cooking]] [[Recipe ingredients|ingredient]].
! class="unsortable" | Description
{{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}}
! Crafting Level
 
{{RecipeLookup|2071}}
==Distribution==
|}
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|CannedTomato2|41.78.16-->
<nowiki>item CannedTomato2
{{clear}}
    {
<div class="togglebox theme-red">
        Weight = 0.7,
    <div>CannedTomato2 distribution
        Type = Normal,
        <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>
        DisplayName = Canned Tomato,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CannedTomato2">
        Icon = CannedTomato,
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
     }</nowiki>
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
open
     |+ {{ll|Containers}}
<nowiki>item CannedTomatoOpen
    ! Building / Room
     {
    ! Container
        Weight = 0.7,
    ! Rolls
        Type = Food,
    ! Chance
        DisplayName = Open Canned Tomato,
    |-
        Icon = CannedTomatoOpen,
    | all
        HungerChange = -20,
    | {{ll|Bag_FoodCanned}}
        DaysFresh = 2,
    | 2
        DaysTotallyRotten = 4,
    | 20.0
     }</nowiki>
    |-
    | all
    | {{ll|FoodBox}}
    | 15
    | 8.0
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 0.8
    |-
    | all
    | {{ll|GroceryBag2}}
    | 1
    | 4.0
    |-
    | garagestorage
     | {{ll|crate}}
    | 4
    | 8.0
    |-
    | generalstore
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | grocerystorage
    | {{ll|crate}}
    | 4
    | 0.8
    |-
    | grocerystorage
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | grocerystorage
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |}
</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-->


== History ==
Canned tomato can often be found in [[Containers#Kitchen Counter|kitchen counters]].


{| class="wikitable" width="550" style="text-align:center;"
==Code==
|-
{{CodeBox|[[File:CannedTomato2.png]] {{ID|Base.CannedTomato2}}<br>
! Alpha ||
{{CodeSnip
|-
  | lang = java
| Ver31.9 || -  
  | line = true
|}
  | start = 418
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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,
}
}}
 
[[File:CannedTomatoOpen.png]] {{ID|Base.CannedTomatoOpen}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 296
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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==
==See also==
*[[Canned Carrots]]
*[[Canned Chili]]
*[[Canned Corn]]
*[[Canned Peas]]
*[[Canned Potato]]


{{Navbox items|preserved_food}}




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

Revision as of 02:49, 25 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
Containers
Building / Room Container Rolls Chance
all Bag_FoodCanned 2 20.0
all FoodBox 15 8.0
all GroceryBag1 1 0.8
all GroceryBag2 1 4.0
garagestorage crate 4 8.0
generalstore crate 4 10.0
grocerystorage crate 4 0.8
grocerystorage crate 4 20.0
grocerystorage crate 4 10.0
kitchen counter 4 8.0

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