Cherry

From PZwiki
Revision as of 15:10, 13 March 2022 by Vaileasys (talk | contribs) (updated to 41.68 + added model + navbox)
Cherry
Cherry
Cherry Cherry (Rotten)
General
Category Food
Encumbrance
Heavy Load
0.3
Days until stale 4 days
Days until rotten 9 days
Nutrition
Hunger
Hunger
-3
Thirst
Thirst
-1
Calories
Calories
5
Carbohydrates
Carbohydrates
1.31
Proteins
Proteins
0.09
Fat
Fat
0
Technical details
Item ID Base.Cherry

A cherry is a perishable food item.

Usage

Consumable properties

A cherry can be eaten, providing the player with some positive effects, however these will become more negative the longer it's left to perish. Template:Consumables2

Crafting

Evolved recipes

Cherries are a cooking ingredient.

Product Nutrition
Fruit Salad
Fruit Salad
3
Cake
Cake
3
Muffin
Muffin
3
Pancakes
Pancakes
3
Waffles
Waffles
3

Distribution

Cherries are often found in refrigerators and grocery displays.

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.68

    item Cherry
    {
        DisplayCategory = Food,
        Type				=		Food,
        DisplayName			=		Cherry,
        Icon				=		Cherry,
        Weight				=		0.3,
        HungerChange 		=		-3,
        DaysFresh 			=		4,
        DaysTotallyRotten 	=	 	9,
        EvolvedRecipe       =       Cake:3;FruitSalad:3;Pancakes:3;Waffles:3;Muffin:3,
        FoodType            =       Fruits,
        ThirstChange	=	-1,
        Carbohydrates = 1.31,
        Proteins = 0.09,
        Lipids = 0,
        Calories = 5,
        StaticModel = RoundFood_Red,
        WorldStaticModel = Cherry_Ground,
        CustomEatSound = EatingFruit,
    }

See also