Yogurt: Difference between revisions
VaileasysBot (talk | contribs) (→top: New infobox upgrade - Food) |
(→Code: CodeBox update) |
||
Line 53: | Line 53: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = false | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 73 | |||
| code = | |||
item Yoghurt | |||
{ | |||
DisplayName = Yogurt, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.3, | |||
Icon = Yoghurt, | |||
EvolvedRecipe = Oatmeal:5, | |||
FoodType = NoExplicit, | |||
Packaged = TRUE, | |||
DaysFresh = 10, | |||
DaysTotallyRotten = 15, | |||
HungerChange = -10, | |||
Calories = 30, | |||
Carbohydrates = 1, | |||
Lipids = 1, | |||
Proteins = 5, | |||
WorldStaticModel = Yogurt, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 11:12, 31 January 2024
Yogurt 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.
Fresh | Stale | Rotten |
---|---|---|
|
|
|
Distribution
Yogurt can often be found inside refrigerators.
Evolved recipes
Yogurt is a cooking ingredient.
Product | Nutrition |
---|---|
Oatmeal |
10 |
Trivia
- Yogurt used to be named Yoghurt before in-game, this is still reflected by the name in the code.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
item Yoghurt
{
DisplayName = Yogurt,
DisplayCategory = Food,
Type = Food,
Weight = 0.3,
Icon = Yoghurt,
EvolvedRecipe = Oatmeal:5,
FoodType = NoExplicit,
Packaged = TRUE,
DaysFresh = 10,
DaysTotallyRotten = 15,
HungerChange = -10,
Calories = 30,
Carbohydrates = 1,
Lipids = 1,
Proteins = 5,
WorldStaticModel = Yogurt,
}