Apple

From PZwiki
Revision as of 18:25, 10 January 2022 by Ecoround (talk | contribs) (Update of items.txt as of 41.65)
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
-15
Thirst
Thirst
-7
Calories
Calories
95
Carbohydrates
Carbohydrates
25.13
Proteins
Proteins
0.47
Fat
Fat
0.31
Technical details
Item ID Base.Apple

An apple is a perishable food item. They grow on trees and are a fruit.

Usage

Trapping

Main article: Trapping

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

Consumable properties

An apple can be eaten, providing the player with some positive effects, however, these will become negative the longer it's left to perish.

Template:Consumables2

Crafting

Evolved recipes

Apples are a cooking ingredient.

Product Nutrition
Fruit Salad
Fruit Salad
8
Cake
Cake
8

Distribution

Apples are often found in refrigerators and grocery displays.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.65

	item Apple
                DisplayCategory	        = Food,
		HungerChange		= -15,
		Weight			= 0.2,
		Type			= Food,
		DaysTotallyRotten	= 8,
		DisplayName		= Apple,
		Icon			= Apple,
		DaysFresh		= 5,
		EvolvedRecipe 		= Cake:8;FruitSalad:8;Pancakes:8;Waffles:8;Muffin:8,
		FoodType    		= Fruits,
		ThristChange    	= -7,              
        	Carbohydrates 		= 25.13,
        	Proteins 		= 0.47,
        	Lipids 			= 0.31,
        	Calories 		= 95,
                StaticModel             = RoundFood_Red,
                WorldStaticModel        = Apple_Ground,
                CustomEatSound          = EatingFruit,

See also

Template:Navbox/Consumables