Canned Carrots: Difference between revisions

From PZwiki
(New infobox + new layout)
(Update distribution file)
 
(31 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Canned Carrots}}
{{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 Carrots
{{Infobox item
|name_colour=Food
|name=Canned Carrots
|name_text_colour=Food
|model=TinnedCarrots_Model.png
|image=CannedCarrots_120px.png
|icon=CannedCarrots.png
|alternate_image=CannedCarrotsOpen.png
|icon_name=Canned Carrots
|alternate_link=
|model2=TinnedCarrotsOpen_Model.png
|alternate_name=Opened Canned Carrots
|icon2=CannedCarrotsOpen.png
<!--GENERAL-->
|icon_name2=Opened Canned Carrots
|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-->
|hunger_change=-12
|hunger_change=-12
|thirst_change=
|thirst_change=-4
|calories=10.5
|calories=10.5
|lipids=0
|lipids=0
|proteins=0
|proteins=0
|carbohydrates=28
|carbohydrates=28
<!--TECHNICAL DETAILS-->
|item_id=Base.CannedCarrots2<br>Base.CannedCarrotsOpen
|class_name=Base.CannedCarrots<br>Base.CannedCarrotsOpen
}}
}}'''Canned carrots''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  
'''Canned carrots''' (written as ''SLICED CARROTS'' on the model) is a non-perishable [[food]] [[Items|item]].


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


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


==Distribution==
==Distribution==
Canned carrots is often found in [[Containers#Kitchen Counter|kitchen counters]].
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|CannedCarrots2|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>CannedCarrots2 distribution
        <span class="mw-customtoggle-togglebox-CannedCarrots2" 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-CannedCarrots2">
    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-CannedCarrots2" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CannedCarrots2|41.78.16-->


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


''Canned Bolognese'' [[File:CannedBolognese.png|32px]]
==Code==
{{Retrieved|version=40|incver=14}}
{{CodeBox|[[File:CannedCarrots.png]] {{ID|Base.CannedCarrots2}}<br>
<pre> item CannedCarrots2
{{CodeSnip
        Weight = 0.7,
  | lang = java
        Type = Food,
  | line = true
        DisplayName = Canned Carrots,
  | start = 437
        Icon = CannedCarrots,
  | source = items_food.txt
        Carbohydrates = 28,
  | retrieved = true
        Proteins = 0,
  | version = 41.78.16
        Lipids = 0,
  | code =
        Calories = 10.5,
item CannedCarrots2
        Packaged = TRUE,</pre>
{
DisplayName = Canned Carrots,
DisplayCategory = Food,
Type = Food,
Weight = 0.8,
Icon = CannedCarrots,
CannedFood = TRUE,
CantEat = TRUE,
Packaged = TRUE,
Calories = 10.5,
Carbohydrates = 28,
Lipids = 0,
Proteins = 0,
StaticModel = CanClosed,
WorldStaticModel = CanClosedCarrots,
Tags = HasMetal,
}
}}


''Opened Canned Spaghetti Bolognese'' [[File:CannedBologneseOpen.png|32px]]
[[File:CannedCarrotsOpen.png]] {{ID|Base.CannedCarrotsOpen}}<br>
{{Retrieved|version=40|incver=14}}
{{CodeSnip
<pre> item CannedCarrotsOpen
  | lang = java
        Weight = 0.7,
  | line = true
        Type = Food,
  | start = 130
        DisplayName = Open Canned Carrots,
  | source = items_food.txt
        Icon = CannedCarrotsOpen,
  | retrieved = true
        HungerChange = -12,
  | version = 41.78.16
        EvolvedRecipe = Soup:12;Stew:12;Pie:12;Stir fry:12;Sandwich:12;Salad:12;Roasted Vegetables:12;RicePot:12;RicePan:12;PastaPot:12;PastaPan:12,
  | code =
        DaysFresh = 2,
item CannedCarrotsOpen
        DaysTotallyRotten = 4,
{
        Carbohydrates = 28,
DisplayName = Opened Canned Carrots,
        Proteins = 0,
DisplayCategory = Food,
        Lipids = 0,
Type = Food,
        Calories = 10.5,
Weight = 0.8,
        Packaged = TRUE,
Icon = CannedCarrotsOpen,
        FoodType    = Vegetables,
CannedFood = TRUE,
        EvolvedRecipeName = Canned Carrots,
EatType = can,
        ReplaceOnUse    = TinCanEmpty,</pre>
EvolvedRecipe = Omelette:6;Soup:12;Stew:12;Pie:12;Stir fry Griddle Pan:12;Stir fry:12;Sandwich:6;Sandwich Baguette:6;Salad:6;Roasted Vegetables:12;RicePot:12;RicePan:12;PastaPot:12;PastaPan:12,
/*EvolvedRecipeName = Canned Carrots,*/
EvolvedRecipeName = Carrot,
FoodType = Vegetables,
Packaged = TRUE,
ReplaceOnUse = TinCanEmpty,
DaysFresh = 2,
DaysTotallyRotten = 4,
HungerChange = -12,
ThirstChange = -4,
Calories = 10.5,
Carbohydrates = 28,
Lipids = 0,
Proteins = 0,
StaticModel = CanOpen,
WorldStaticModel = CanOpenCarrots,
Tags = HasMetal,
}
}}
}}


==See also==
==See also==
Line 98: Line 300:
*[[Canned Tomato]]
*[[Canned Tomato]]


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

Latest revision as of 12:15, 30 April 2024

Project ZomboidItemsFoodCanned foodCanned Carrots
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Canned Carrots
TinnedCarrots Model.png
TinnedCarrotsOpen 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
-4
CaloriesCalories
10.5
CarbohydratesCarbohydrates
28
ProteinsProteins
0
FatFat
0
Technical
Item ID
Base.CannedCarrots2
Base.CannedCarrotsOpen

Canned carrots (written as SLICED CARROTS on the model) is a non-perishable food item.

Usage

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

Product Ingredients Tools Requirements Workstation XP
CannedCarrotsOpen.png
Opened Canned Carrots
CannedCarrots.png Canned Carrots ×1 CanOpener.png
Can Opener
none none none

Consumable properties

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

CannedCarrotsOpen.png
Hunger: -12


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

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

Crafting

Main article: Cooking

Evolved recipes

Canned carrots are 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
Pie (savory)
Pie (savory)
12
Rice Pot/Saucepan
Rice Pot/Saucepan
12
Pasta Pot/Saucepan
Pasta Pot/Saucepan
12
Omelette
Omelette
6

Distribution

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

CannedCarrots2 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 carrots can often be found in kitchen counters.

Code

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

CannedCarrots.png Base.CannedCarrots2
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item CannedCarrots2
	{
		DisplayName = Canned Carrots,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = CannedCarrots,
		CannedFood = TRUE,
		CantEat = TRUE,
		Packaged = TRUE,
		Calories = 10.5,
		Carbohydrates = 28,
		Lipids = 0,
		Proteins = 0,
		StaticModel = CanClosed,
		WorldStaticModel = CanClosedCarrots,
		Tags = HasMetal,
	}

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

Retrieved: Build 41.78.16
item CannedCarrotsOpen
	{
		DisplayName = Opened Canned Carrots,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = CannedCarrotsOpen,
		CannedFood = TRUE,
		EatType = can,
		EvolvedRecipe = Omelette:6;Soup:12;Stew:12;Pie:12;Stir fry Griddle Pan:12;Stir fry:12;Sandwich:6;Sandwich Baguette:6;Salad:6;Roasted Vegetables:12;RicePot:12;RicePan:12;PastaPot:12;PastaPan:12,
		/*EvolvedRecipeName = Canned Carrots,*/
		EvolvedRecipeName = Carrot,
		FoodType = Vegetables,
		Packaged = TRUE,
		ReplaceOnUse = TinCanEmpty,
		DaysFresh = 2,
		DaysTotallyRotten = 4,
		HungerChange = -12,
		ThirstChange = -4,
		Calories = 10.5,
		Carbohydrates = 28,
		Lipids = 0,
		Proteins = 0,
		StaticModel = CanOpen,
		WorldStaticModel = CanOpenCarrots,
		Tags = HasMetal,
	}

See also