Yogurt: Difference between revisions

From PZwiki
m (→‎Trivia: Expanded the trivia)
m (Actually, yoghurt is one of the possible spellings)
Line 53: Line 53:


==Trivia==
==Trivia==
*Yogurt used to be erronously named Yog'''h'''urt before in-game, this is still reflected by the name in the code.
*Yogurt used to be named Yog'''h'''urt before in-game, this is still reflected by the name in the code.


==Code==
==Code==

Revision as of 09:18, 18 December 2023

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

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

Yoghurt.png
Hunger: -10


Yoghurt.png
Hunger: -7
Boredom: +10
Unhappiness: +10

Yoghurt.png
Hunger: -4
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Distribution

Yogurt can often be found inside refrigerators.

Evolved recipes

Yogurt is a cooking ingredient.

Product Nutrition
Oatmeal
Oatmeal
10

Trivia

  • Yogurt used to be named Yoghurt before in-game, this is still reflected by the name in the code.

Code

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

    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