Yogurt: Difference between revisions

From PZwiki
(New infobox + new layout)
m (Automated Formatting)
(36 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages|Yoghurt}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Yoghurt
{{Infobox item
|name_colour=Food
|name=Yogurt
|name_text_colour=Food
|model=Yogurt_Model.png
|image=Yoghurt_120px.png
|icon=Yoghurt.png
|icon_name=Yogurt
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 10: Line 11:
|days_fresh=10
|days_fresh=10
|days_rotten=15
|days_rotten=15
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-10
|hunger_change=-10
Line 18: Line 19:
|carbohydrates=1
|carbohydrates=1
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Yoghurt
|item_id=Base.Yoghurt
}}'''Yoghurt''' is a [[Food#Perishable|perishable]] food [[item]].  
}}
'''Yogurt''' is a perishable [[food]] [[Items|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
{{Consumables
|image = Yoghurt.png
|image = Yoghurt.png
|hunger = -10
|hunger = -10
Line 39: Line 41:


==Distribution==
==Distribution==
Yoghurt can be found inside [[refrigerator]]s.
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.
 
===Evolved recipes===
Yogurt is a [[cooking]] [[Recipe ingredients|ingredient]].
 
{{EvolvedRecipesForItem|oatmeal=10}}
 
==Trivia==
*Yogurt used to be named Yog'''h'''urt before in-game, this is still reflected by the name in the code.


== Code ==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=7}}
| {{CodeSnip
<pre> item Yoghurt
  | lang = java
        Type = Food,
  | line = true
        DisplayName = Yogurt,
  | start = 5159
        Icon = Yoghurt,
  | source = items_food.txt
        Weight = 0.3,
  | retrieved = true
        HungerChange = -10,
  | version = 41.78.16
        DaysFresh = 10,
  | code =
        DaysTotallyRotten = 15,
item Yoghurt
        Carbohydrates = 1,
{
        Proteins = 5,
DisplayName = Yogurt,
        Lipids = 1,
DisplayCategory = Food,
        Calories = 30,
Type = Food,
        Packaged = TRUE,
Weight = 0.3,
</pre>
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==
*[[Ice Cream]]
*[[Ice Cream]]
*[[Juice Box]]
*[[Milk]]
*[[Milk]]


{{Navbox/Consumables}}
{{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