Yogurt: Difference between revisions

From PZwiki
m (Removing trailing whitespace(s))
m (Automated Formatting)
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{Header/sandbox2|Project Zomboid|Items|Food|Miscellaneous food}}
{{Page version|41.78.16}}
{{Page version|41.73}}
{{Infobox item
{{Infobox item
|name=Yogurt
|name=Yogurt
|model=Yogurt Model.png
|model=Yogurt_Model.png
|icon=Yoghurt.png
|icon=Yoghurt.png
|icon_name=Yogurt
|icon_name=Yogurt
Line 22: Line 21:
|item_id=Base.Yoghurt
|item_id=Base.Yoghurt
}}
}}
'''Yogurt''' is a [[Food#Perishable|perishable]] food [[item]].
'''Yogurt''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 41: Line 40:
}}
}}


{{clear}}
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.
Line 48: Line 46:
! colspan="4" | Containers
! colspan="4" | Containers
|-
|-
!Building/Room
! Building/Room
!Container
! Container
! style="width: 3.2em;" |Rolls
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" | Chance
|-
|-
| rowspan="3"|all
|rowspan="3"|all
| [[fridge]]
|[[fridge]]
| 4
|4
| 1
|1
|-
|-
|[[fridge]]
|[[fridge]]
Line 66: Line 64:
|0.5
|0.5
|-
|-
| rowspan="2"|breakroom
|rowspan="2"|breakroom
| [[fridge]]
|[[fridge]]
| 4
|4
| 4
|4
|-
|-
|[[fridge]]
|[[fridge]]
Line 75: Line 73:
|4
|4
|-
|-
| camping
|camping
| [[fridge]]
|[[fridge]]
| 4
|4
| 1
|1
|-
|-
| rowspan="2"|conveniencestore
|rowspan="2"|conveniencestore
| [[fridge]]
|[[fridge]]
| 4
|4
| 1
|1
|-
|-
|[[fridge]]
|[[fridge]]
Line 94: Line 92:
Yogurt is a [[cooking]] [[Recipe ingredients|ingredient]].
Yogurt is a [[cooking]] [[Recipe ingredients|ingredient]].


{{EvolvedRecipesForItem|Oatmeal=10}}
{{EvolvedRecipesForItem|oatmeal=10}}


==Trivia==
==Trivia==
Line 103: Line 101:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 5159
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.73
   | version = 41.78.16
   | code =
   | code =
item Yoghurt
item Yoghurt
{
{
    DisplayName           = Yogurt,
DisplayName = Yogurt,
    DisplayCategory       = Food,
DisplayCategory = Food,
    Type                 = Food,
Type = Food,
    Weight               = 0.3,
Weight = 0.3,
    Icon                 = Yoghurt,
Icon = Yoghurt,
    EvolvedRecipe         = Oatmeal:5,
EvolvedRecipe = Oatmeal:5,
    FoodType             = NoExplicit,
FoodType = NoExplicit,
    Packaged             = TRUE,
Packaged = TRUE,
    DaysFresh             = 10,
DaysFresh = 10,
    DaysTotallyRotten     = 15,
DaysTotallyRotten = 15,
    HungerChange         = -10,
HungerChange = -10,
    Calories             = 30,
Calories = 30,
    Carbohydrates         = 1,
Carbohydrates = 1,
    Lipids               = 1,
Lipids = 1,
    Proteins             = 5,
Proteins = 5,
    WorldStaticModel     = Yogurt,
WorldStaticModel = Yogurt,
}
}
  }}
}}
}}
}}


Line 135: Line 134:
*[[Milk]]
*[[Milk]]


{{Navbox food}}
{{Navbox items|food}}
 
[[Category:Perishable food]]
[[Category:Perishable food]]

Revision as of 13:32, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Yogurt
Yogurt Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Packaged
Yes
Days fresh
10 days
Days until rotten
15 days
Nutrition
HungerMoodle Icon Hungry.png
-10
CaloriesCalories
30
CarbohydratesCarbohydrates
1
ProteinsProteins
5
FatFat
1
Technical
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

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
all fridge 4 1
fridge 4 1
fridge 4 0.5
breakroom fridge 4 4
fridge 4 4
camping fridge 4 1
conveniencestore fridge 4 1
fridge 4 2

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

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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