Apple: Difference between revisions

From PZwiki
m (removed incorrect statement (as far as game mechanics are concerned))
(Updated apple)
Line 1: Line 1:
{{languages|Apple}}
{{languages|Apple}}
{{header|Project Zomboid|Items|Food|Perishable Food|Fruit|type=Food|version=Version 40|incver=6}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|Fruit|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Apple
|display_name=Apple
|name_colour=Food
|name_colour=Food
Line 12: Line 12:
|weight=0.2
|weight=0.2
|days_fresh=5
|days_fresh=5
|days_rotten=8
|days_rotten=3
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-15
|hunger_change=-16
|thirst_change=-7
|thirst_change=-7
|calories=95
|calories=95
Line 23: Line 23:
|class_name=Base.Apple
|class_name=Base.Apple
}}
}}
An '''apple''' is a [[Food#Perishable|perishable]] food [[item]].  
'''Apple''' is a [[Food#Perishable|perishable]] food [[item]].  


== Usage ==
== Usage ==
=== Trapping ===
=== Trapping ===
{{Main|Trapping}}
{{Main|Trapping}}
Apples can be used as bait in [[Trapping|traps]] to capture [[Dead_Rabbit|rabbits]], [[Dead Mouse|mice]], [[Dead_Rat|rats]] and [[Dead_Squirrel|squirrels]].
Apple can be used as bait in [[Trapping|traps]] to capture [[Dead_Rabbit|rabbits]], [[Dead Mouse|mice]], [[Dead_Rat|rats]] and [[Dead_Squirrel|squirrels]].


=== Consumable properties ===
=== 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.  
Apple can be eaten, providing the player with some positive effects, however, these will become negative the longer it's left to perish.  
 
{{Consumables2
{{Consumables2
|image = Apple.png
|image = Apple.png
|hunger = -15
|hunger = -16
|thirst = 0
|thirst = 0
|unrotten hunger = -11
|unrotten hunger = -12
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten unhappiness = +10
|unrotten thirst = 0
|unrotten thirst = 0
|unrotten image = Apple.png
|unrotten image = Apple.png
|rotten hunger = -6
|rotten hunger = -7
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +20
|rotten unhappiness = +20
Line 52: Line 51:
== Crafting ==
== Crafting ==
=== Evolved recipes ===
=== Evolved recipes ===
Apples are a [[cooking]] [[Recipe Ingredients|ingredient]].
Apple is a [[cooking]] [[Recipe Ingredients|ingredient]].
{{EvolvedRecipesForItem|cake=8|fruitsalad=8}}
{{EvolvedRecipesForItem|Cake=16|FruitSalad=8|Pancakes=8|Waffles=8|Muffin=8|PieSweet=16|Oatmeal=4|Salad=8|}}


== Distribution ==
== Distribution ==
Apples are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]]. As of build 41, they can also be found while foraging.
Apple are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]]. As of build 41, they can also be found while foraging.
 
==Gallery==
<gallery>
File:Apple Model.png|Apple model when placed in the world.
</gallery>


== Code ==
== Code ==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=65}}
{{Retrieved|version=41|incver=73}}
<pre> item Apple
<pre> item Apple
                DisplayCategory         = Food,
DisplayName = Apple,
HungerChange = -15,
DisplayCategory = Food,
Weight = 0.2,
Type = Food,
Type = Food,
Weight = 0.2,
DaysTotallyRotten = 8,
Icon = Apple,
DisplayName = Apple,
EvolvedRecipe = Cake:16;FruitSalad:8;Pancakes:8;Waffles:8;Muffin:8;PieSweet:16;Oatmeal:4;Salad:8,
Icon = Apple,
FoodType = Fruits,
DaysFresh = 5,
DaysFresh = 5,
EvolvedRecipe = Cake:8;FruitSalad:8;Pancakes:8;Waffles:8;Muffin:8,
DaysTotallyRotten = 8,
FoodType   = Fruits,
HungerChange = -16,
ThristChange    = -7,            
ThirstChange = -7,
        Carbohydrates = 25.13,
Calories = 95,
        Proteins = 0.47,
Carbohydrates = 25.13,
        Lipids = 0.31,
Lipids = 0.31,
        Calories = 95,
Proteins = 0.47,
                StaticModel             = RoundFood_Red,
CustomEatSound = EatingFruit,
                WorldStaticModel       = Apple_Ground,
StaticModel = RoundFood_Red,
                CustomEatSound          = EatingFruit,
WorldStaticModel = Apple_Ground,
</pre>
</pre>



Revision as of 07:50, 28 September 2022

Apple
Apple
Apple (Rotten)
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 5 days
Days until rotten 3 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. Template:Consumables2

Crafting

Evolved recipes

Apple is a cooking ingredient.

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

Distribution

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

Gallery

Code

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.73

	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,

See also

Template:Navbox/Consumables