Yogurt: Difference between revisions

From PZwiki
m (Vaileasys moved page Yogurt to Yogurt: Name change (build 41?))
(updated to 41.68 + added model + navbox + name change)
Line 1: Line 1:
{{languages|Yoghurt}}
{{languages}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
|display_name=Yoghurt
|display_name=Yogurt
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=Yoghurt_120px.png
|image=Yogurt_Model.png
|image_width=150px
|alternate_image=Yoghurt.png
|alternate_name=Yogurt
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 19: Line 23:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Yoghurt
|class_name=Base.Yoghurt
}}'''Yoghurt''' is a [[Food#Perishable|perishable]] food [[item]].  
}}'''Yogurt''', previously '''yoghurt''', is a [[Food#Perishable|perishable]] food [[item]].  


==Usage==
==Usage==
===Consumable properties===
===Consumable properties===
Yoghurt can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Yogurt 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 = Yoghurt.png
|image = Yoghurt.png
Line 39: Line 43:


==Distribution==
==Distribution==
Yoghurt can be found inside [[refrigerator]]s.
Yogurt can be found inside [[refrigerator]]s.


== Code ==
== Code ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=7}}
{{Retrieved|version=41|incver=68}}
<pre> item Yoghurt
<pre>   item Yoghurt
        Type = Food,
    {
        DisplayName = Yogurt,
        DisplayCategory = Food,
        Icon = Yoghurt,
        Type = Food,
        Weight = 0.3,
        DisplayName = Yogurt,
        HungerChange = -10,
        Icon = Yoghurt,
        DaysFresh = 10,
        Weight = 0.3,
        DaysTotallyRotten = 15,
        HungerChange = -10,
        Carbohydrates = 1,
        DaysFresh = 10,
        Proteins = 5,
        DaysTotallyRotten = 15,
        Lipids = 1,
        Carbohydrates = 1,
        Calories = 30,
        Proteins = 5,
        Packaged = TRUE,
        Lipids = 1,
</pre>
        Calories = 30,
        Packaged = TRUE,
        WorldStaticModel = Yogurt,
    }</pre>


==See also==
==See also==
*[[Ice Cream]]
*[[Ice Cream]]
*[[Juice Box]]
*[[Milk]]
*[[Milk]]


{{Navbox/Consumables}}
{{Navbox_food}}

Revision as of 06:14, 14 March 2022

Yogurt
Yogurt
Yogurt
General
Category Food
Encumbrance
Heavy Load
0.3
Days until stale 10 days
Days until rotten 15 days
Packaged True
Nutrition
Hunger
Hunger
-10
Calories
Calories
30
Carbohydrates
Carbohydrates
1
Proteins
Proteins
5
Fat
Fat
1
Technical details
Item ID Base.Yoghurt

Yogurt, previously yoghurt, is a perishable food item.

Usage

Consumable properties

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

Distribution

Yogurt can be found inside refrigerators.

Code

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

    item Yoghurt
    {
        DisplayCategory 	= Food,
        Type			= Food,
        DisplayName		= Yogurt,
        Icon			= Yoghurt,
        Weight			= 0.3,
        HungerChange 		= -10,
        DaysFresh 		= 10,
        DaysTotallyRotten 	= 15,
        Carbohydrates 		= 1,
        Proteins 		= 5,
        Lipids 			= 1,
        Calories 		= 30,
        Packaged 		= TRUE,
        WorldStaticModel 	= Yogurt,
    }

See also