Milk: Difference between revisions

From PZwiki
m (Vaileasys moved page Milk to Milk: official display name)
(Update distribution file)
 
(59 intermediate revisions by 11 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Drinks}}
{{languages|Milk Package}}
{{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=Milk
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Drinks|Drinks]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=MilkCarton_Model.png
|icon=Milk.png
|icon_name=Milk
|model2=MilkCarton_Model.png
|icon2=MilkRotten.png
|icon_name2=Milk (Rotten)
<!--GENERAL-->
|category=Food
|weight=1.0
|cant_be_frozen=True
|days_fresh=4
|days_rotten=7
|packaged=True
<!--NUTRITION-->
|hunger_change=-10
|thirst_change=-100
|calories=110
|lipids=2.5
|proteins=8
|carbohydrates=13
<!--TECHNICAL DETAILS-->
|item_id=Base.Milk
}}
{{About|fresh milk|evaporated/condensed milk|Canned Evaporated Milk}}
'''Milk''' is a perishable [[food]] [[Items|item]] used in [[cooking]].


==Usage==
===Consumable properties===
Milk can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables
{{Consumables
|image = Milk.png
|image = Milk.png
|hunger = -10
|hunger = -10
|thirst = -100
|thirst = -100
|weight = 1.0
}}
'''A Milk Package''' is a perishable food item which is often found in [[Containers#Refrigerators|refrigerators]].
Milk can also be used to make Mildew Spray to combat disease in your garden (even when rotten) - see [[Farming_Guide#Plant_Health.2C_Diseases_and_Cures|Plant Health, Diseases and Cures]].
A milk package takes four in-game days to go stale, and seven in-game days to rot.
== Nutritional Information ==
{| border=0 align=left <!-- Table will be in middle of page without this line -->
|
{{Consumables2
|image = Milk.png
|hunger = -10
|thirst = -100
|unhappiness = 0
|perishable = 1
|perishable = 1
|cookable = 0
|cookable = 0
|dangerous uncooked = 0
|unrotten hunger = -7
|unrotten hunger = -7
|unrotten thirst = -100
|unrotten thirst = -100
Line 36: Line 46:
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +20
|rotten unhappiness = +20
|unrottencooked hunger = 0
|unrottencooked unhappiness = 0
|unrottencooked boredom = 0
|rottencooked hunger = 0
|rottencooked unhappiness = 0
|cooked hunger = 0
|cooked unhappiness = 0
|cooked boredom = 0
|burned hunger = 0
|burned boredom = 0
|burned unhappiness = 0
|burned image =
|rotten image = MilkRotten.png
|rotten image = MilkRotten.png
|cooked image =
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br><br>


'''Its Nutritional Values are as follows:'''<br>
==Crafting==
Carbohydrates = 13 <br>
===Farming===
Proteins = 8 <br>
{{Main|Farming}}
Lipids = 2.5 <br>
Milk is used to make [[Mildew Spray|mildew spray]]; a pesticide for combating the [[Farming#Plant Diseases|mildew plant disease]].
Calories = 110 <br><br>
{{Crafting/sandbox2
== Crafting ==
|mildew_spray
{| class="wikitable sortable" style="text-align:center;"  
}}
|-
 
! Name
===Cooking===
! class="unsortable" | Recipe
{{Main|Cooking}}
! class="unsortable" | Description
Milk is a cooking [[Recipe ingredients|ingredient]].
! class="unsortable" | Skill Level
{{Crafting/sandbox2
|cake_batter
|bowl_of_cereal
|muffin_baking_tray_uncooked
}}
 
====Evolved recipes====
Milk is a [[cooking]] [[Recipe ingredients|ingredient]].
 
{{EvolvedRecipesForItem|soup=5|stew=5|oatmeal=5|beverage=5}}
 
==Distribution==
Milk can only be found inside [[refrigerator]]s.
 
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Milk|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Milk distribution
        <span class="mw-customtoggle-togglebox-Milk" 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-Milk">
    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}}
    | 2.81%
    |-
    | all
    | {{ll|fridge}}
    | 10.78%
    |-
    | bakery
    | {{ll|fridge}}
    | 23.28%
    |-
    | bakerykitchen
    | {{ll|fridge}}
    | 23.28%
    |-
    | cafe
    | {{ll|fridge}}
    | 23.28%
    |-
    | cafekitchen
    | {{ll|fridge}}
    | 23.28%
    |-
    | conveniencestore
    | {{ll|fridge}}
    | 23.28%
    |-
    | conveniencestore
    | {{ll|fridge}}
    | 41.14%
    |-
    | cornerstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | cornerstore
    | {{ll|fridge}}
    | 41.14%
    |-
    | deepfry_kitchen
    | {{ll|fridge}}
    | 23.28%
    |-
    | dinerkitchen
    | {{ll|fridge}}
    | 23.28%
    |-
    | donut_kitchenstorage
    | {{ll|fridge}}
    | 23.28%
    |-
    | 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%
    |-
    | italiankitchen
    | {{ll|fridge}}
    | 23.28%
    |-
    | jayschicken_kitchen
    | {{ll|fridge}}
    | 23.28%
    |-
    | jayschicken_kitchen
    | {{ll|fridge}}
    | 41.14%
    |-
    | kitchen_crepe
    | {{ll|fridge}}
    | 23.28%
    |-
    | pharmacy
    | {{ll|fridge}}
    | 23.28%
    |-
    | pharmacy
    | {{ll|fridge}}
    | 41.14%
    |-
    | restaurantkitchen
    | {{ll|fridge}}
    | 23.28%
    |-
    | 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-Milk" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Milk|41.78.16-->
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 2784
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Milk
{
DisplayName = Milk,
DisplayCategory = Food,
Type = Food,
Weight = 1.0,
Icon = Milk,
CantBeFrozen = TRUE,
EvolvedRecipe = HotDrink:2;HotDrinkRed:2;HotDrinkWhite:2;HotDrinkSpiffo:2;HotDrinkTea:2;Beverage:2;Beverage2:2;Oatmeal:2;Soup:5;Stew:5,
FoodType = Milk,
Packaged = TRUE,
DaysFresh = 4,
DaysTotallyRotten = 7,
HungerChange = -10,
ThirstChange = -100,
Calories = 110,
Carbohydrates = 13,
Lipids = 2.5,
Proteins = 8,
CustomContextMenu = Drink,
CustomEatSound = DrinkingFromCarton,
StaticModel = MilkCarton,
WorldStaticModel = Milk_Ground,
Tags = Milk,
}
}}
}}
 
==Trivia==
*The photo of the missing person on the milk carton is a reference to a method that was used in real life to put pictures of missing children on milk cartons so when someone saw them, one could call the authorities to notify. That method was used and started somewhere in December 1984 or January 1985 and was abandoned in 1996 for having little success and scaring the children who saw the photos of the missing children on the milk cartons every morning, see [[Wikipedia:Missing-children milk carton|the Wikipedia article]] for more information.


{{RecipeLookup|2039}}
==See also==
{{RecipeLookup|5016}}
*[[Yoghurt]]
|}
*[[Ice Cream]]
*[[Insecticide Spray]]
*[[Canned Evaporated Milk]]


== Code ==
{{Navbox items|drinks}}
<nowiki>
item Milk
HungerChange = -10,
Weight = 1.0,
AlwaysWelcomeGift = true,
Type = Food,
ThirstChange = -100,
DisplayName = Milk,
Icon = Milk,
        DaysFresh = 4,
        DaysTotallyRotten = 7,
CustomContextMenu = Drink,
CustomEatSound = PZ_DrinkingFromBottle,
      Carbohydrates = 13,
        Proteins = 8,
        Lipids = 2.5,
        Calories = 110,
        Packaged = TRUE,
        CantBeFrozen = TRUE,
</nowiki>


==See Also==
* [[Items#Dairy|Entry in Item List - Dairy]]


{{Navbox/Consumables}}
[[Category:Perishable food]]
[[Category:Consumables]]
[[Category:Items]]
[[Category:Drinks]]
[[Category:Version 34.28]]

Latest revision as of 13:21, 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]
Milk
MilkCarton Model.png
MilkCarton Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
1.0
Properties
Packaged
True
Days fresh
4 days
Days until rotten
7 days
Nutrition
HungerMoodle Icon Hungry.png
-10
ThirstMoodle Icon Thirsty.png
-100
CaloriesCalories
110
CarbohydratesCarbohydrates
13
ProteinsProteins
8
FatFat
2.5
Technical
Item ID
Base.Milk
PlushSpiffo.pngThis article is about fresh milk. For evaporated/condensed milk, see Canned Evaporated Milk.

Milk is a perishable food item used in cooking.

Usage

Consumable properties

Milk 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

Milk.png
Hunger: -10


Milk.png
Hunger: -7
Boredom: +10
Unhappiness: +10

MilkRotten.png
Hunger: -4
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Farming

Main article: Farming

Milk is used to make mildew spray; a pesticide for combating the mildew plant disease.

Product Ingredients Tools Requirements Workstation XP
TZ GardeningSprayCan.png
Mildew Spray
TZ GardeningSprayCan.png Gardening Spray Can (Empty) ×1
Milk.png Milk ×1
none
Profession farmer2.png
Farmer occupation
(or)
MagazineFish.png
The Farming Magazine
none none

Cooking

Main article: Cooking

Milk is a cooking ingredient.

Product Ingredients Tools Requirements Workstation XP
CakeBatter.png
Cake Batter
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
Each of:
Bowl.png Bowl ×1
Butter.png Butter ×15 unit(s)
Yeast.png Yeast ×1
Milk.png Milk ×1
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood.png
Good Cooking Magazine Vol.1
none 2.5 Cooking
Oatmeal.png
Bowl of Cereal
One of:
Milk.png Milk ×1
CannedCondensedMilk.png Canned Evaporated Milk ×1
Each of:
Bowl.png Bowl ×1
Cereal.png Cereal ×5 unit(s)
none none none 0.75 Cooking
Muffintray Batter.png
Muffin Baking Tray (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
OilOlive.png Olive Oil ×1
OilVegetable.png Vegetable Oil ×1
Lard.png Lard ×1
Butter.png Butter ×1
Margarine.png Margarine ×1
One of:
Cornflour.png Corn Flour ×1
Flour.png Flour ×1
Each of:
Muffintray.png Muffin Tray ×1
Bowl.png Empty Bowl ×1
Egg.png Egg (tag) ×2
SugarBrown.png Sugar (tag) ×1
none none none 0.75 Cooking

Evolved recipes

Milk is a cooking ingredient.

Product Nutrition
Soup
Soup
5
Stew
Stew
5
Oatmeal
Oatmeal
5
Beverage
Beverage
5

Distribution

Milk can only be found inside refrigerators.

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

Milk 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 2.81%
all fridge 10.78%
bakery fridge 23.28%
bakerykitchen fridge 23.28%
cafe fridge 23.28%
cafekitchen fridge 23.28%
conveniencestore fridge 23.28%
conveniencestore fridge 41.14%
cornerstore fridge 23.28%
cornerstore fridge 41.14%
deepfry_kitchen fridge 23.28%
dinerkitchen fridge 23.28%
donut_kitchenstorage fridge 23.28%
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%
italiankitchen fridge 23.28%
jayschicken_kitchen fridge 23.28%
jayschicken_kitchen fridge 41.14%
kitchen_crepe fridge 23.28%
pharmacy fridge 23.28%
pharmacy fridge 41.14%
restaurantkitchen fridge 23.28%
zippeestore fridge 23.28%
zippeestore fridge 41.14%

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 Milk
	{
		DisplayName = Milk,
		DisplayCategory = Food,
		Type = Food,
		Weight = 1.0,
		Icon = Milk,
		CantBeFrozen = TRUE,
		EvolvedRecipe = HotDrink:2;HotDrinkRed:2;HotDrinkWhite:2;HotDrinkSpiffo:2;HotDrinkTea:2;Beverage:2;Beverage2:2;Oatmeal:2;Soup:5;Stew:5,
		FoodType = Milk,
		Packaged = TRUE,
		DaysFresh = 4,
		DaysTotallyRotten = 7,
		HungerChange = -10,
		ThirstChange = -100,
		Calories = 110,
		Carbohydrates = 13,
		Lipids = 2.5,
		Proteins = 8,
		CustomContextMenu = Drink,
		CustomEatSound = DrinkingFromCarton,
		StaticModel = MilkCarton,
		WorldStaticModel = Milk_Ground,
		Tags = Milk,
	}

Trivia

  • The photo of the missing person on the milk carton is a reference to a method that was used in real life to put pictures of missing children on milk cartons so when someone saw them, one could call the authorities to notify. That method was used and started somewhere in December 1984 or January 1985 and was abandoned in 1996 for having little success and scaring the children who saw the photos of the missing children on the milk cartons every morning, see the Wikipedia article for more information.

See also