Cherry: Difference between revisions

From PZwiki
(Update of NavBar.)
m (Distribution table fix)
 
(46 intermediate revisions by 9 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Fruit}}
{{languages|Cherry}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Cherry
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Perishable_Food|Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=Cherry_Model.png
{{Consumables
|icon=Cherry.png
|image = Cherry.png
|icon_name=Cherry
|hunger = -3
|icon2=CherryRotten.png
|weight = 0.3
|icon_name2=Cherry (Rotten)
<!--GENERAL-->
|category=Food
|weight=0.3
|days_fresh=4
|days_rotten=9
<!--NUTRITION-->
|hunger_change=-3
|thirst_change=-1
|calories=5
|lipids=0
|proteins=0.09
|carbohydrates=1.31
<!--TECHNICAL DETAILS-->
|item_id=Base.Cherry
}}
}}
'''Cherry''' is a perishable [[food]] [[Items|item]].


[[Cherry|Cherries]] are a perishable food item that goes bad as time passes, when outside of a [[refrigerator]]. Cherries are often found within houses, inside of refrigerators, and in produce bins. Cherries take four in-game days to go stale, and nine days to rot.
==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.
== Nutritional Information ==
{{Consumables
{| border=0 align=left
|
{{Consumables2
|image = Cherry.png
|image = Cherry.png
|hunger = -3  
|hunger = -3
|perishable = 1
|perishable = 1
|cookable = 0
|cookable = 0
Line 29: 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 =
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''It's Nutritional Values are as follows:'''<br>
Carbohydrates = 1.31 <br>
Proteins = 0.09 <br>
Lipids = 0 <br>
Calories = 5 <br><br>


== Crafting ==
==Crafting==
{| class="wikitable sortable" style="text-align:center;"  
{{Main|Cooking}}
|-  
 
! Name
===Evolved recipes===
! class="unsortable" | Recipe
Cherry is a [[cooking]] [[Recipe ingredients|ingredient]].
! class="unsortable" | Description
{{EvolvedRecipesForItem|cake=3|fruitsalad=3|pancakes=3|waffles=3|muffin=3|coneicecream=3|pie=3|oatmeal=3}}
! Crafting Level
 
{{RecipeLookup|2041}}
===Sack of Cherries===
|}
{{Crafting/sandbox2
== Evolved Recipes ==
|cherry
{{EvolvedRecipesForItem
}}
|cake=3|}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Cherry|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Cherry distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-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">
<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
    |-
    | GroceryBag1
    | {{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==
*[[Berry]]
*[[Grapes]]
 
{{Navbox items|plants}}


== Code ==
<nowiki>
    item Cherry
        Type = Food,
        DisplayName = Cherry,
        Icon = Cherry,
        Weight = 0.3,
        HungerChange = -3,
        DaysFresh = 4,
        DaysTotallyRotten = 9,
        EvolvedRecipe      = Cake:3,
        FoodType            = Fruits,
        Carbohydrates = 1.31,
        Proteins = 0.09,
        Lipids = 0,
        Calories = 5,
</nowiki>


{{Navbox/Consumables}}
[[Category:Perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category:Perishable_Food]]
[[Category:Version 34.28]]

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