Apple: Difference between revisions

From PZwiki
m (items.txt to items_food.txt)
Line 56: Line 56:


== Distribution ==
== Distribution ==
Apples are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].  
Apples are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]]. As of build 41, they can also be found while foraging.


== Code ==
== Code ==

Revision as of 00:58, 17 January 2022

Template:Infobox food

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. As of build 41, they can also be found while foraging.

Code

From items_food.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