Yogurt: Difference between revisions

From PZwiki
(PZ Updater automated execution(task: fix infobox based on file(attempt partial repatch #1), eid: aa01d20b))
m (Automated Formatting)
(26 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
|display_name=Yogurt
{{Page version|41.78.16}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Yogurt
|image=Yogurt Model.png
|model=Yogurt_Model.png
|image_width=200px
|icon=Yoghurt.png
|alternate_image=Yoghurt.png
|icon_name=Yogurt
|alternate_name=Yogurt
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 21: Line 19:
|carbohydrates=1
|carbohydrates=1
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Yoghurt
|item_id=Base.Yoghurt
}}'''Yogurt''' is a [[Food#Perishable|perishable]] food [[item]].  
}}
'''Yogurt''' is a perishable [[food]] [[Items|item]].


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


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="3"|all
|[[fridge]]
|4
|1
|-
|[[fridge]]
|4
|1
|-
|[[fridge]]
|4
|0.5
|-
|rowspan="2"|breakroom
|[[fridge]]
|4
|4
|-
|[[fridge]]
|4
|4
|-
|camping
|[[fridge]]
|4
|1
|-
|rowspan="2"|conveniencestore
|[[fridge]]
|4
|1
|-
|[[fridge]]
|4
|2
|}
Yogurt can often be found inside [[refrigerator]]s.
Yogurt can often be found inside [[refrigerator]]s.


===Evolved recipes===
===Evolved recipes===
Yogurt is a [[cooking]] [[Recipe Ingredients|ingredient]].  
Yogurt is a [[cooking]] [[Recipe ingredients|ingredient]].


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


==Trivia==
==Trivia==
Yogurt used to be named Yoghurt ingame.
*Yogurt used to be named Yog'''h'''urt before in-game, this is still reflected by the name in the code.
 
==Gallery==
<gallery>
Yogurt Model.png|Model for: [[File:Yoghurt.png]]
</gallery>


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=73}}
| {{CodeSnip
<pre>
  | lang = java
    item Yoghurt
  | line = true
  | start = 5159
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Yoghurt
{
{
DisplayName = Yogurt,
DisplayName = Yogurt,
Line 81: Line 126:
WorldStaticModel = Yogurt,
WorldStaticModel = Yogurt,
}
}
</pre>
}}
}}


==See also==
==See also==
Line 88: Line 134:
*[[Milk]]
*[[Milk]]


{{Navbox food}}
{{Navbox items|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