Yogurt: Difference between revisions

From PZwiki
(New infobox + new layout)
(Update distribution file)
 
(39 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.
 
<!--BOT FLAG|Yoghurt|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Yoghurt distribution
        <span class="mw-customtoggle-togglebox-Yoghurt" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Yoghurt">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | GroceryBag1
    | {{ll|GroceryBag1}}
    | 1.01%
    |-
    | GroceryBag2
    | {{ll|GroceryBag2}}
    | 1.61%
    |-
    | Lunchbag
    | {{ll|Lunchbag}}
    | 12.41%
    |-
    | Lunchbox
    | {{ll|Lunchbox}}
    | 12.41%
    |-
    | Lunchbox2
    | {{ll|Lunchbox2}}
    | 12.41%
    |-
    | all
    | {{ll|fridge}}
    | 2.81%
    |-
    | all
    | {{ll|fridge}}
    | 3.98%
    |-
    | breakroom
    | {{ll|fridge}}
    | 10.78%
    |-
    | camping
    | {{ll|fridge}}
    | 23.28%
    |-
    | conveniencestore
    | {{ll|fridge}}
    | 23.28%
    |-
    | conveniencestore
    | {{ll|fridge}}
    | 41.14%
    |-
    | cornerstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | cornerstore
    | {{ll|fridge}}
    | 41.14%
    |-
    | daycare
    | {{ll|fridge}}
    | 10.78%
    |-
    | fossoil
    | {{ll|fridge}}
    | 23.28%
    |-
    | fossoil
    | {{ll|fridge}}
    | 41.14%
    |-
    | gasstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | gasstore
    | {{ll|fridge}}
    | 41.14%
    |-
    | generalstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | generalstore
    | {{ll|fridge}}
    | 41.14%
    |-
    | generalstorestorage
    | {{ll|fridge}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|fridge}}
    | 41.14%
    |-
    | gigamart
    | {{ll|fridge}}
    | 23.28%
    |-
    | gigamart
    | {{ll|fridge}}
    | 41.14%
    |-
    | grocery
    | {{ll|fridge}}
    | 23.28%
    |-
    | grocery
    | {{ll|fridge}}
    | 41.14%
    |-
    | grocerystorage
    | {{ll|fridge}}
    | 23.28%
    |-
    | pharmacy
    | {{ll|fridge}}
    | 23.28%
    |-
    | pharmacy
    | {{ll|fridge}}
    | 41.14%
    |-
    | zippeestore
    | {{ll|fridge}}
    | 23.28%
    |-
    | zippeestore
    | {{ll|fridge}}
    | 41.14%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Yoghurt" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Yoghurt|41.78.16-->
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]]

Latest revision as of 14:19, 30 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.

Yoghurt distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
GroceryBag1 GroceryBag1 1.01%
GroceryBag2 GroceryBag2 1.61%
Lunchbag Lunchbag 12.41%
Lunchbox Lunchbox 12.41%
Lunchbox2 Lunchbox2 12.41%
all fridge 2.81%
all fridge 3.98%
breakroom fridge 10.78%
camping fridge 23.28%
conveniencestore fridge 23.28%
conveniencestore fridge 41.14%
cornerstore fridge 23.28%
cornerstore fridge 41.14%
daycare fridge 10.78%
fossoil fridge 23.28%
fossoil fridge 41.14%
gasstore fridge 23.28%
gasstore fridge 41.14%
generalstore fridge 23.28%
generalstore fridge 41.14%
generalstorestorage fridge 23.28%
generalstorestorage fridge 41.14%
gigamart fridge 23.28%
gigamart fridge 41.14%
grocery fridge 23.28%
grocery fridge 41.14%
grocerystorage fridge 23.28%
pharmacy fridge 23.28%
pharmacy fridge 41.14%
zippeestore fridge 23.28%
zippeestore fridge 41.14%

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