Cherry: Difference between revisions

From PZwiki
m (→‎See also: clean up, replaced: Berries → Berry)
m (Distribution table fix)
 
(39 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Cherry}}
{{Header|Project Zomboid|Items|Food|Fruit}}
{{header|Project Zomboid|Items|Food|Perishable Food|Fruits|type=Food|version=Version 40|incver=6}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Cherry
{{Infobox item
|name_colour=Food
|name=Cherry
|name_text_colour=Food
|model=Cherry_Model.png
|image=Cherry_120px.png
|icon=Cherry.png
|alternate_image=CherryRotten.png
|icon_name=Cherry
|alternate_link=
|icon2=CherryRotten.png
|alternate_name=Cherry (Rotten)
|icon_name2=Cherry (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 21: Line 21:
|carbohydrates=1.31
|carbohydrates=1.31
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Cherry
|item_id=Base.Cherry
}}A '''cherry''' is a [[Food#Perishable|perishable]] food [[item]].  
}}
'''Cherry''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
===Consumable properties===
===Consumable properties===
A cherry can be eaten, providing the player with some positive effects, however these will become more negative the longer it's left to perish.  
Cherry can be eaten, providing the player with some positive effects, however these will become more negative the longer it's left to perish.
{{Consumables2
{{Consumables
|image = Cherry.png
|image = Cherry.png
|hunger = -3  
|hunger = -3
|perishable = 1
|perishable = 1
|cookable = 0
|cookable = 0
Line 40: Line 41:
|rotten unhappiness = +20
|rotten unhappiness = +20
|rotten boredom = +20
|rotten boredom = +20
|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 = CherryRotten.png
|rotten image = CherryRotten.png
|cooked image =
}}
}}


== Crafting ==
==Crafting==
=== Evolved recipes ===
{{Main|Cooking}}
Cherries are a [[cooking]] [[Recipe Ingredients|ingredient]].
 
{{EvolvedRecipesForItem|cake=3|fruitsalad=3}}
===Evolved recipes===
Cherry is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|cake=3|fruitsalad=3|pancakes=3|waffles=3|muffin=3|coneicecream=3|pie=3|oatmeal=3}}
 
===Sack of Cherries===
{{Crafting/sandbox2
|cherry
}}


==Distribution==
==Distribution==
Cherries are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].  
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|Cherry|41.78.16-->
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Clear}}
{{Retrieved|version=40|incver=6}}
<div class="togglebox theme-red">
<pre> item Cherry
    <div>Cherry distribution
Type = Food,
        <span class="mw-customtoggle-togglebox-Cherry" 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 = Cherry,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Cherry">
Icon = Cherry,
    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">
Weight = 0.3,
<div class="pz-container">
HungerChange = -3,
<div id="containers" style="flex-basis:30%">
DaysFresh = 4,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
DaysTotallyRotten = 9,
    |+ {{ll|Containers}}
EvolvedRecipe      = Cake:3,
    ! Building/Room
FoodType            = Fruits,
    ! Container
Carbohydrates = 1.31,
    ! Effective chance
Proteins = 0.09,
    |-
Lipids = 0,
    | GroceryBag1
Calories = 5,</pre>
    | {{ll|GroceryBag1}}
    | 1.61%
    |-
    | GroceryBag2
    | {{ll|GroceryBag2}}
    | 2.81%
    |-
    | all
    | {{ll|fridge}}
    | 6.29%
    |-
    | all
    | {{ll|grocerstand}}
    | 19.27%
    |-
    | bakery
    | {{ll|fridge}}
    | 19.27%
    |-
    | bakerykitchen
    | {{ll|fridge}}
    | 19.27%
    |-
    | cafe
    | {{ll|fridge}}
    | 19.27%
    |-
    | cafekitchen
    | {{ll|fridge}}
    | 19.27%
    |-
    | donut_kitchenstorage
    | {{ll|fridge}}
    | 19.27%
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 41.14%
    |-
    | grocery
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | grocery
    | {{ll|grocerstand}}
    | 41.14%
    |-
    | icecreamkitchen
    | {{ll|fridge}}
    | 23.28%
    |-
    | icecreamkitchen
    | {{ll|fridge}}
    | 41.14%
    |-
    | kitchen_crepe
    | {{ll|fridge}}
    | 19.27%
    |}
</div>
    </div><div style="clear: both;"></div>
    {| class="wikitable theme-red" style="width: 98%;"
    |+ {{ll|Foraging}}
    ! rowspan="2" | Amount
    ! rowspan="2" | Skill level
    ! rowspan="2" | Biomes
    ! colspan="4" style="text-align: center;" | Weather modifiers
    ! colspan="3" style="text-align: center;" | Month modifiers
    |-
    ! Snow
    ! Rain
    ! Day
    ! Night
    ! Months available
    ! Bonus months
    ! Malus months
    |-
    | 1-4
    | 4
    | Forest  5<br> DeepForest  5<br> FarmLand  15<br> Farm  15
    | -10
    | -
    | -
    | -
    | -
    | June<br>July<br>August
    | May<br>September
    |}
    </div></div><div class="toggle large mw-customtoggle-togglebox-Cherry" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Cherry|41.78.16-->
Cherry is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
 
Sacks of cherries can be found in grocery stores and warehouses.
 
==Gallery==
<gallery>
Cherry Model.png|Cherry model when placed in the world
CherryRotten Model.png|Rotten cherry model when placed in the world
</gallery>
 
==Code==
{{CodeBox|[[File:Cherry.png]] {{ID|Base.Cherry}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 1494
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Cherry
{
DisplayName = Cherry,
DisplayCategory = Food,
Type = Food,
Weight = 0.3,
Icon = Cherry,
EvolvedRecipe = Cake:3;FruitSalad:3;Pancakes:3;Waffles:3;Muffin:3;ConeIcecream:3;PieSweet:3;Oatmeal:5,
FoodType = Fruits,
DaysFresh = 4,
DaysTotallyRotten = 9,
HungerChange = -3,
ThirstChange = -1,
Calories = 5,
Carbohydrates = 1.31,
Lipids = 0,
Proteins = 0.09,
CustomEatSound = EatingFruit,
StaticModel = RoundFood_Red,
WorldStaticModel = Cherry_Ground,
}
}}
 
[[File:Sandbag.png]] {{ID|Base.SackProduce_Cherry}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 8083
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item SackProduce_Cherry
{
DisplayName = Sack of Cherries,
DisplayCategory = Food,
Type = Food,
Weight = 2,
Icon = Sandbag,
CantEat = TRUE,
DaysFresh = 4,
DaysTotallyRotten = 9,
WorldStaticModel = SandBag,
}
}}
}}


==See also==
==See also==
Line 86: Line 240:
*[[Grapes]]
*[[Grapes]]


{{Navbox/Consumables}}
{{Navbox items|plants}}
 
 
[[Category:Perishable food]]

Latest revision as of 19:03, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Cherry
Cherry Model.png
Cherry (Rotten)
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Days fresh
4 days
Days until rotten
9 days
Nutrition
HungerMoodle Icon Hungry.png
-3
ThirstMoodle Icon Thirsty.png
-1
CaloriesCalories
5
CarbohydratesCarbohydrates
1.31
ProteinsProteins
0.09
FatFat
0
Technical
Item ID
Base.Cherry

Cherry is a perishable food item.

Usage

Consumable properties

Cherry can be eaten, providing the player with some positive effects, however these will become more negative the longer it's left to perish.

Fresh Stale Rotten

Cherry.png
Hunger: -3


Cherry.png
Hunger: -2
Boredom: +10
Unhappiness: +10

CherryRotten.png
Hunger: -1
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Cherry is a cooking ingredient.

Product Nutrition
Fruit Salad
Fruit Salad
3
Pie (savory)
Pie (savory)
3
Cake
Cake
3
Muffin
Muffin
3
Pancakes
Pancakes
3
Waffles
Waffles
3
Oatmeal
Oatmeal
3
Ice Cream Cone
Ice Cream Cone
3

Sack of Cherries

Product Ingredients Tools Requirements Workstation XP
Cherry.png
Cherry ×12
Sandbag.png Sack of Cherry ×1 none none none none

Distribution

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

Cherry 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
GroceryBag1 GroceryBag1 1.61%
GroceryBag2 GroceryBag2 2.81%
all fridge 6.29%
all grocerstand 19.27%
bakery fridge 19.27%
bakerykitchen fridge 19.27%
cafe fridge 19.27%
cafekitchen fridge 19.27%
donut_kitchenstorage fridge 19.27%
gigamart grocerstand 23.28%
gigamart grocerstand 41.14%
grocery grocerstand 23.28%
grocery grocerstand 41.14%
icecreamkitchen fridge 23.28%
icecreamkitchen fridge 41.14%
kitchen_crepe fridge 19.27%
Foraging
Amount Skill level Biomes Weather modifiers Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
1-4 4 Forest 5
DeepForest 5
FarmLand 15
Farm 15
-10 - - - - June
July
August
May
September

Cherry is often found in refrigerators and grocery displays.

Sacks of cherries can be found in grocery stores and warehouses.

Gallery

Code

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

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

Retrieved: Build 41.78.16
item Cherry
	{
		DisplayName = Cherry,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Cherry,
		EvolvedRecipe = Cake:3;FruitSalad:3;Pancakes:3;Waffles:3;Muffin:3;ConeIcecream:3;PieSweet:3;Oatmeal:5,
		FoodType = Fruits,
		DaysFresh = 4,
		DaysTotallyRotten = 9,
		HungerChange = -3,
		ThirstChange = -1,
		Calories = 5,
		Carbohydrates = 1.31,
		Lipids = 0,
		Proteins = 0.09,
		CustomEatSound = EatingFruit,
		StaticModel = RoundFood_Red,
		WorldStaticModel = Cherry_Ground,
	}

Sandbag.png Base.SackProduce_Cherry
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item SackProduce_Cherry
	{
		DisplayName = Sack of Cherries,
		DisplayCategory = Food,
		Type = Food,
		Weight = 2,
		Icon = Sandbag,
		CantEat = TRUE,
		DaysFresh = 4,
		DaysTotallyRotten = 9,
		WorldStaticModel = SandBag,
	}

See also