Apple

From PZwiki
Revision as of 12:58, 14 January 2024 by Calvy (talk | contribs) (Added information about sacks of apples, updated code box)
Apple
Apple
Apple Apple (Rotten)
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 5 days
Days until rotten 8 days
Nutrition
Hunger
Hunger
-16
Thirst
Thirst
-7
Calories
Calories
95
Carbohydrates
Carbohydrates
25.13
Proteins
Proteins
0.47
Fat
Fat
0.31
Technical details
Item ID Base.Apple

Apple is a perishable food item.

Usage

Trapping

Main article: Trapping

Apple can be used as bait in traps to capture rabbits, mice, rats, and squirrels.

Consumable properties

Apple 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

Apple.png
Hunger: -16


Apple.png
Hunger: -12
Boredom: +10
Unhappiness: +10

AppleRotten.png
Hunger: -7
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Apple is a cooking ingredient.

Product Nutrition
Salad
Salad
8
Fruit Salad
Fruit Salad
8
Pie (savory)
Pie (savory)
16
Cake
Cake
16
Muffin
Muffin
8
Pancakes
Pancakes
8
Waffles
Waffles
8
Oatmeal
Oatmeal
4

Sack of Apples

Product XP gained Skill(s) Recipe Ingredient 1
Apple.png
Apple x12
0 XP none Sandbag.png
Sack of Apples
(consumed)

Distribution

Apple is often found in refrigerators and grocery displays. As of build 41, they can also be found while foraging.

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

Gallery

Code

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

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

Retrieved: Build 41.78.16
item Apple
	{
		DisplayName = Apple,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Apple,
		EvolvedRecipe = Cake:16;FruitSalad:8;Pancakes:8;Waffles:8;Muffin:8;PieSweet:16;Oatmeal:4;Salad:8,
		FoodType = Fruits,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		HungerChange = -16,
		ThirstChange = -7,
		Calories = 95,
		Carbohydrates = 25.13,
		Lipids = 0.31,
		Proteins = 0.47,
		CustomEatSound = EatingFruit,
		StaticModel = RoundFood_Red,
		WorldStaticModel = Apple_Ground,
	}

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

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

See also