Peach: Difference between revisions

From PZwiki
m (Version bump)
(27 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Peach}}
{{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=Peach
{{Infobox item
|name_colour=Food
|name=Peach
|name_text_colour=Food
|model=Peach_Model.png
|image=Peach_120px.png
|icon=Peach.png
|icon_name=Peach
|icon2=PeachRotten.png
 
|icon_name2=Peach (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 18: 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 44: Line 51:
}}
}}


== 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 header|ing=1}}
{{Crafting general|060|ing=1}}
|}


==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.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="2"|all
|[[fridge]]
|4
|2
|-
|[[fridge]]
|4
|2
|-
|bakery
|[[fridge]]
|4
|8
|-
|breakroom
|[[fridge]]
|4
|8
|-
|cafe
|[[fridge]]
|4
|8
|-
|rowspan="2"|gigamart
|[[grocerstand]]
|4
|1
|-
|[[grocerstand]]
|4
|2
|-
|kitchen_crepe
|[[fridge]]
|4
|8
|}
Peach is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
 
Sacks of peaches can be found in grocery stores and warehouses.
 
==Gallery==
<gallery>
Peach Model.png|Peach model when placed in the world.
PeachRotten Model.png|Rotten peach model when placed in the world.
</gallery>


== Code ==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|[[File:Peach.png]] {{ID|Base.Peach}}<br>
{{Retrieved|version=40|incver=6}}
{{CodeSnip
<pre> item Peach
  | lang = java
HungerChange = -12,
  | line = true
Weight = 0.2,
  | start = 1451
Type = Food,
  | source = items_food.txt
DaysTotallyRotten = 8,
  | retrieved = true
DisplayName = Peach,
  | version = 41.78.16
Icon = Peach,
  | code =
DaysFresh = 5,
item Peach
EvolvedRecipe = Cake:6,
{
FoodType    = Fruits,
DisplayName = Peach,
        Carbohydrates = 14.31,
DisplayCategory = Food,
        Proteins = 1.36,
Type = Food,
        Lipids = 0.38,
Weight = 0.2,
        Calories = 58,</pre>
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 74: Line 183:
*[[Banana]]
*[[Banana]]


{{Navbox/Consumables}}
{{Navbox food}}
 
[[Category:Perishable food]]

Revision as of 02:46, 28 March 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
Peach (Rotten)
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 XP gained Skill(s) Recipe Ingredient 1
Peach.png
Peach x12
0 XP none Sandbag.png
Sack of Peach
(consumed)

Distribution

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

Containers
Building/Room Container Rolls Chance
all fridge 4 2
fridge 4 2
bakery fridge 4 8
breakroom fridge 4 8
cafe fridge 4 8
gigamart grocerstand 4 1
grocerstand 4 2
kitchen_crepe fridge 4 8

Peach is often found in refrigerators and grocery displays.

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

Gallery

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