Peach: Difference between revisions

From PZwiki
(+3d model to infobox)
(Added information about sacks, updated code box)
Line 60: Line 60:
Peach is a [[cooking]] [[Recipe Ingredients|ingredient]].
Peach is a [[cooking]] [[Recipe Ingredients|ingredient]].
{{EvolvedRecipesForItem|Cake=12|FruitSalad=6|Pancakes=6|Waffles=6|Muffin=6|PieSweet=12|Oatmeal=5}}
{{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==
Peach is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
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==
Line 71: Line 78:


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|[[File:Peach.png]] {{ID|Base.Peach}}<br>
{{Retrieved|version=41|incver=73}}
{{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 1451
  | source = items_food.txt
  | retrieved = true
  | version = 41
  | incver = 78.16
  | code =
item Peach
item Peach
{
{
Line 95: Line 109:
WorldStaticModel = Peach_Ground,
WorldStaticModel = Peach_Ground,
}
}
</pre>
}}
 
[[File:Sandbag.png]] {{ID|Base.SackProduce_Peach}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 8174
  | source = items_food.txt
  | retrieved = true
  | version = 41
  | incver = 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==

Revision as of 13:42, 14 January 2024

Peach
Peach
Peach Peach (Rotten)
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 5 days
Days until rotten 8 days
Nutrition
Hunger
Hunger
-12
Thirst
Thirst
-5
Calories
Calories
58
Carbohydrates
Carbohydrates
14.31
Proteins
Proteins
1.36
Fat
Fat
0.38
Technical details
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

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