Milk: Difference between revisions

From PZwiki
(added model to infobox)
(Update distribution file)
 
(57 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{languages|Milk}}
{{Header|Project Zomboid|Items|Food|Drinks}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Milk
{{Infobox item
|name_colour=Food
|name=Milk
|name_text_colour=Food
|model=MilkCarton_Model.png
|image=MilkCarton_Model.png
|icon=Milk.png
|image_width=300px
|icon_name=Milk
|alternate_image=Milk.png
|model2=MilkCarton_Model.png
|alternate_name=Milk
|icon2=MilkRotten.png
|alternate_link=
|icon_name2=Milk (Rotten)
|alternate_image2=MilkRotten.png
|alternate_name2=Milk (Rotten)
|alternate_link2=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 27: Line 24:
|carbohydrates=13
|carbohydrates=13
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Milk
|item_id=Base.Milk
}}'''Milk''' is a [[Food#Perishable|perishable]] food [[item]] used in [[cooking]].  
}}
{{About|fresh milk|evaporated/condensed milk|Canned Evaporated Milk}}
'''Milk''' is a perishable [[food]] [[Items|item]] used in [[cooking]].


==Usage==
==Usage==
===Consumable properties===
===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.
Milk 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 = Milk.png
|image = Milk.png
|hunger = -10
|hunger = -10
Line 50: Line 49:
}}
}}


== Crafting ==
==Crafting==
===Farming===
===Farming===
{{Main|Farming}}
{{Main|Farming}}
Milk (fresh or rotten) is used to make [[Mildew Spray|mildew spray]]; a pesticide for combating the [[Farming#Plant Diseases|mildew plant disease]].
Milk is used to make [[Mildew Spray|mildew spray]]; a pesticide for combating the [[Farming#Plant Diseases|mildew plant disease]].
{{Crafting table header}}
{{Crafting/sandbox2
{{RecipeLookup|5016}}
|mildew_spray
{{Crafting table footer}}
}}
 
===Cooking===
===Cooking===
{{Main|Cooking}}
{{Main|Cooking}}
Milk is a cooking [[Recipe Ingredients|ingredient]].
Milk is a cooking [[Recipe ingredients|ingredient]].
{{Cooking table header}}
{{Crafting/sandbox2
{{RecipeLookup|2039}}
|cake_batter
{{Crafting table footer}}
|bowl_of_cereal
==== Evolved recipes ====
|muffin_baking_tray_uncooked
{{EvolvedRecipesForItem|hotdrink=2}}
}}
 
====Evolved recipes====
Milk is a [[cooking]] [[Recipe ingredients|ingredient]].
 
{{EvolvedRecipesForItem|soup=5|stew=5|oatmeal=5|beverage=5}}


==Distribution==
==Distribution==
Milk is an uncommon item and can only be found inside [[refrigerator]]s.
Milk can only be found inside [[refrigerator]]s.


== Code ==
The loot distributions can be found in the table(s) below.
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
 
{{Retrieved|version=40|incver=7}}
<!--BOT FLAG|Milk|41.78.16-->
<pre> item Milk
{{Clear}}
HungerChange = -10,
<div class="togglebox theme-red">
Weight = 1.0,
    <div>Milk distribution
AlwaysWelcomeGift = true,
        <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>
Type = Food,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Milk">
ThirstChange = -100,
    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">
DisplayName = Milk,
<div class="pz-container">
Icon = Milk,
<div id="containers" style="flex-basis:30%">
        DaysFresh = 4,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
        DaysTotallyRotten = 7,
    |+ {{ll|Containers}}
CustomContextMenu = Drink,
    ! Building/Room
CustomEatSound = PZ_DrinkingFromBottle,
    ! Container
      Carbohydrates = 13,
    ! Effective chance
        Proteins = 8,
    |-
        Lipids = 2.5,
    | GroceryBag1
        Calories = 110,
    | {{ll|GroceryBag1}}
        Packaged = TRUE,
    | 2.81%
        CantBeFrozen = TRUE,</pre>
    |-
    | 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.


==See also==
==See also==
* [[Yoghurt]]
*[[Yoghurt]]
* [[Ice Cream]]
*[[Ice Cream]]
* [[Insecticide Spray]]
*[[Insecticide Spray]]
*[[Canned Evaporated Milk]]
 
{{Navbox items|drinks}}
 


{{Navbox/Consumables}}
[[Category:Perishable food]]

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