Yogurt: Difference between revisions

From PZwiki
(Redesigned page, +Nav Bar, Reworked description, confirmed nutrition info, added nutrition values, +new info, + categories. -history redundant)
m (Automated Formatting)
(38 intermediate revisions by 10 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{languages|Yoghurt}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Yogurt
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[ Main_Page|Index]] -> [[:Category:Food|Food]] -> [[:Category:Perishable_Food|Perishable Foods]] -> [[Yoghurt|Yoghurt]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=Yogurt_Model.png
{{Consumables
|icon=Yoghurt.png
|image = Yoghurt.png
|icon_name=Yogurt
|hunger = -10
<!--GENERAL-->
|weight = 0.3
|category=Food
|weight=0.3
|days_fresh=10
|days_rotten=15
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-10
|calories=30
|lipids=1
|proteins=5
|carbohydrates=1
<!--TECHNICAL DETAILS-->
|item_id=Base.Yoghurt
}}
}}
Yoghurts are a [[Food#Perishable|perishable]] food item that goes bad as time passes. Yoghurts are often inside of [[refrigerator]]s. Yoghurts take ten in-game days to go stale, and fifteen in-game days to become rotten.  
'''Yogurt''' is a perishable [[food]] [[Items|item]].


== Nutritional Information ==
==Usage==
{| border=0 align=left
===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.
{{Consumables2
{{Consumables
|image = Yoghurt.png
|image = Yoghurt.png
|hunger = -10
|hunger = -10
Line 27: Line 39:
|rotten image = Yoghurt.png
|rotten image = Yoghurt.png
}}
}}
==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
|}
|}
<br><br><br><br><br><br><br><br><br><br><br><br>
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==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 5159
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | 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,
}
}}
}}


'''It's Nutritional Values are as follows:'''<br>
==See also==
Carbohydrates = 1 <br>
*[[Ice Cream]]
Proteins = 5 <br>
*[[Juice Box]]
Lipids = 1 <br>
*[[Milk]]
Calories = 30 <br><br>


== Code ==
{{Navbox items|food}}
<nowiki>
    item Yoghurt
        Type = Food,
        DisplayName = Yogurt,
        Icon = Yoghurt,
        Weight = 0.3,
        HungerChange = -10,
        DaysFresh = 10,
        DaysTotallyRotten = 15,
        Carbohydrates = 1,
        Proteins = 5,
        Lipids = 1,
        Calories = 30,
        Packaged = TRUE,
</nowiki>


{{Navbox/Consumables}}
[[Category:Perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category:Perishable_Food]]
[[Category:Version 34.28]]

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