Apple: Difference between revisions

From PZwiki
No edit summary
(Update of items.txt as of 41.65)
Line 60: Line 60:
== Code ==
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=6}}
{{Retrieved|version=41|incver=65}}
<pre> item Apple
<pre> item Apple
                DisplayCategory         = Food,
HungerChange = -15,
HungerChange = -15,
Weight = 0.2,
Weight = 0.2,
Line 69: Line 70:
Icon = Apple,
Icon = Apple,
DaysFresh = 5,
DaysFresh = 5,
EvolvedRecipe = Cake:8;FruitSalad:8,
EvolvedRecipe = Cake:8;FruitSalad:8;Pancakes:8;Waffles:8;Muffin:8,
FoodType    = Fruits,
FoodType    = Fruits,
ThristChange    = -7,             
         Carbohydrates = 25.13,
         Carbohydrates = 25.13,
         Proteins = 0.47,
         Proteins = 0.47,
         Lipids = 0.31,
         Lipids = 0.31,
         Calories = 95,</pre>
         Calories = 95,
                StaticModel            = RoundFood_Red,
                WorldStaticModel        = Apple_Ground,
                CustomEatSound          = EatingFruit,
</pre>


== See also ==
== See also ==

Revision as of 18:25, 10 January 2022

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