Peach: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table fix)
 
(34 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Peach}}
{{Header|Project Zomboid|Items|Food|Fruit}}
{{header|Project Zomboid|Items|Food|Perishable Food|Fruit|type=Food|version=Version 40|incver=6}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Peach
{{Infobox item
|name_colour=Food
|name=Peach
|name_text_colour=Food
|model=Peach_Model.png
|image=Peach_120px.png
|icon=Peach.png
|alternate_image=PeachRotten.png
|icon_name=Peach
|alternate_link=
|model2=PeachRotten Model.png
|alternate_name=Peach (Rotten)
|icon2=PeachRotten.png
|icon_name2=Peach (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 21: Line 22:
|carbohydrates=14.31
|carbohydrates=14.31
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Peach
|item_id=Base.Peach
}}A '''peach''' is a [[Food#Perishable|perishable]] food [[item]].  
}}
'''Peach''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
===Trapping===
===Trapping===
{{Main|Trapping}}
{{Main|Trapping}}
Peaches can be used as bait in [[Trapping|traps]] to capture [[Dead_Rabbit|rabbits]].
Peach can be used as bait in [[Trapping|traps]] to capture [[Dead Rabbit|rabbits]].
 
===Consumable properties===
===Consumable properties===
A peach can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.  
Peach 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 = Peach.png
|image = Peach.png
|hunger = -12
|hunger = -12
Line 47: Line 50:
}}
}}


== Crafting ==
==Crafting==
=== Evolved recipes ===
{{Main|Cooking}}
Peaches are a [[cooking]] [[Recipe Ingredients|ingredient]].
 
{{EvolvedRecipesForItem|cake=6|fruitsalad=6}}
===Evolved recipes===
Peach is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|cake=12|fruitsalad=6|pancakes=6|waffles=6|muffin=6|piesweet=12|oatmeal=5}}
 
===Sack of Peach===
{{Crafting/sandbox2
|peach
}}


==Distribution==
==Distribution==
Peaches 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|Peach|41.78.16-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Clear}}
{{Retrieved|version=40|incver=6}}
<div class="togglebox theme-red">
<pre> item Peach
    <div>Peach distribution
HungerChange = -12,
        <span class="mw-customtoggle-togglebox-Peach" 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>
Weight = 0.2,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Peach">
Type = Food,
    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">
DaysTotallyRotten = 8,
<div class="pz-container">
DisplayName = Peach,
<div id="containers" style="flex-basis:30%">
Icon = Peach,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
DaysFresh = 5,
    |+ {{ll|Containers}}
EvolvedRecipe = Cake:6,
    ! Building/Room
FoodType    = Fruits,
    ! Container
        Carbohydrates = 14.31,
    ! Effective chance
        Proteins = 1.36,
    |-
        Lipids = 0.38,
    | GroceryBag1
        Calories = 58,</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%
    |-
    | breakroom
    | {{ll|fridge}}
    | 19.27%
    |-
    | cafe
    | {{ll|fridge}}
    | 19.27%
    |-
    | cafekitchen
    | {{ll|fridge}}
    | 19.27%
    |-
    | daycare
    | {{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-2
    | 8
    | Forest  10<br> FarmLand  15<br> Farm  15
    | -10
    | -
    | -
    | -
    | -
    | June<br>July<br>August
    | April<br>May<br>September<br>October
    |}
    </div></div><div class="toggle large mw-customtoggle-togglebox-Peach" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Peach|41.78.16-->
Peach is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
 
Sacks of peaches can be found in grocery stores and warehouses.
 
==Code==
{{CodeBox|[[File:Peach.png]] {{ID|Base.Peach}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 1451
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Peach
{
DisplayName = Peach,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = Peach,
EvolvedRecipe = Cake:12;FruitSalad:6;Pancakes:6;Waffles:6;Muffin:6;PieSweet:12;Oatmeal:5,
FoodType = Fruits,
DaysFresh = 5,
DaysTotallyRotten = 8,
HungerChange = -12,
ThirstChange = -5,
Calories = 58,
Carbohydrates = 14.31,
Lipids = 0.38,
Proteins = 1.36,
CustomEatSound = EatingFruit,
StaticModel = RoundFood_Peach,
WorldStaticModel = Peach_Ground,
}
}}
 
[[File:Sandbag.png]] {{ID|Base.SackProduce_Peach}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 8174
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item SackProduce_Peach
{
DisplayName = Sack of Peaches,
DisplayCategory = Food,
Type = Food,
Weight = 2,
Icon = Sandbag,
CantEat = TRUE,
DaysFresh = 5,
DaysTotallyRotten = 8,
WorldStaticModel = SandBag,
}
}}
}}


==See also==
==See also==
Line 77: Line 248:
*[[Banana]]
*[[Banana]]


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

Latest revision as of 19:33, 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]
Peach
Peach Model.png
PeachRotten Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
5 days
Days until rotten
8 days
Nutrition
HungerMoodle Icon Hungry.png
-12
ThirstMoodle Icon Thirsty.png
-5
CaloriesCalories
58
CarbohydratesCarbohydrates
14.31
ProteinsProteins
1.36
FatFat
0.38
Technical
Item ID
Base.Peach

Peach is a perishable food item.

Usage

Trapping

Main article: Trapping

Peach can be used as bait in traps to capture rabbits.

Consumable properties

Peach 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

Peach.png
Hunger: -12


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

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

Crafting

Main article: Cooking

Evolved recipes

Peach is a cooking ingredient.

Product Nutrition
Fruit Salad
Fruit Salad
6
Pie (sweet)
Pie (sweet)
12
Cake
Cake
12
Muffin
Muffin
6
Pancakes
Pancakes
6
Waffles
Waffles
6
Oatmeal
Oatmeal
5

Sack of Peach

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

Distribution

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

Peach 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%
breakroom fridge 19.27%
cafe fridge 19.27%
cafekitchen fridge 19.27%
daycare 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-2 8 Forest 10
FarmLand 15
Farm 15
-10 - - - - June
July
August
April
May
September
October

Peach is often found in refrigerators and grocery displays.

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

Code

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

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

Retrieved: Build 41.78.16
item Peach
	{
		DisplayName = Peach,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Peach,
		EvolvedRecipe = Cake:12;FruitSalad:6;Pancakes:6;Waffles:6;Muffin:6;PieSweet:12;Oatmeal:5,
		FoodType = Fruits,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		HungerChange = -12,
		ThirstChange = -5,
		Calories = 58,
		Carbohydrates = 14.31,
		Lipids = 0.38,
		Proteins = 1.36,
		CustomEatSound = EatingFruit,
		StaticModel = RoundFood_Peach,
		WorldStaticModel = Peach_Ground,
	}

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

Retrieved: Build 41.78.16
item SackProduce_Peach
	{
		DisplayName = Sack of Peaches,
		DisplayCategory = Food,
		Type = Food,
		Weight = 2,
		Icon = Sandbag,
		CantEat = TRUE,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		WorldStaticModel = SandBag,
	}

See also