Egg: Difference between revisions

From PZwiki
(Noted issue with Eggs not cookable but Wild eggs are in Build 34.28.)
(New infobox + new layout (moved wild eggs to individual page))
Line 1: Line 1:
__NOTOC__
{{languages|Egg}}
{{languages|Egg}}
<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 -->
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
<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 -->
|display_name=Egg
<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:Perishable_Food|Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|name_colour=Food
{{Consumables
|name_text_colour=Food
|image=Egg.png
|alternate_image=EggCarton.png
|alternate_name=Egg Carton
|alternate_link=
<!--GENERAL-->
|category=Food
|weight=0.1<br>'''Carton:''' 1
|days_fresh=14
|days_rotten=21
|cant_be_frozen=True
<!--NUTRITION-->
|hunger_change=-10
|calories=63
|lipids=4.18
|proteins=5.55
|carbohydrates=0.32
<!--TECHNICAL DETAILS-->
|class_name=Base.Egg<br>Base.EggCarton
}}An '''egg''' is a [[Food#Perishable|perishable]] food [[item]] used in [[cooking]].
 
==Usage==
=== Consumable properties ===
An Egg can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
|image = Egg.png
|image = Egg.png
|hunger = -10
|hunger = -10
|weight = 0.1
|unrotten hunger = -7
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten image = Egg.png
|rotten hunger = -5
|rotten boredom = +20
|rotten unhappiness = +20
|perishable = 1
|rotten image = Egg.png
}}
}}
An egg is a [[Food#Perishable|perishable]] food item found in many refrigerators of many houses. It is dangerous to consume uncooked and will make the player ill. Eggs are more efficient use is to use it in a recipe. Eggs are required to be pre-cooked before being used in salads or made into sandwiches. Eggs take fourteen in-game days to go stale, and twenty one in-game days to rot.


Due to a oversight, normal eggs cannot be cooked raw, and therefore cannot be used in salads or sandwiches. However, Wild Eggs can be cooked.
== Crafting ==
Eggs can be added to or removed from an egg carton.
{{Cooking table header}}
{{RecipeLookup|2080}}
{{RecipeLookup|2081}}
{{Crafting table footer}}


==Wild Eggs==  
===Cooking===
Wild Eggs can be found via [[Foraging|foraging]]. They have all the same values as regular eggs. [[File:Item_WildEggs.png|32px|A small picture of a wild egg.]]
An egg is required to make [[Cake Batter|cake batter]].
 
{{Cooking table header}}
== Nutritional Information ==
 
'''It's Nutritional Values are as follows:'''<br>
 
Carbohydrates = 0.32 <br>
Proteins = 5.55 <br>
Lipids = 4.18 <br>
Calories = 63
 
==Evolved recipes==
<span style="background-color:#C2FFC2;">'''Uncooked'''</span>
{{EvolvedRecipesForItem
|soup=0|stew=0|salad=0|stirfry=10|roastedvegetables=10|sandwich=0|burger=10|pie=0|cake=0|ricepot=10|ricepan=10|pastapot=10|pastapan=10|}}
<span style="background-color:#EDA5A5;">'''Cooked'''</span>
{{EvolvedRecipesForItem
|soup=0|stew=0|salad=10|sandwich=10|pie=0|cake=0}}
 
==Crafting==
{{Crafting table header}}
{{RecipeLookup|2039}}
{{RecipeLookup|2039}}
{{Crafting table footer}}
{{Crafting table footer}}
====Evolved recipes====
{{EvolvedRecipesForItem|stirfry=10|sandwich=10|burger=10|salad=10|roastedvegetables=10|ricepot=10|ricepan=10|Pastapot=10|pastapan=10}}


== Code ==
== Code ==
''Egg'' [[File:Egg.png|32px|A small picture of egg.]]
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
<nowiki>
 
    item Egg
''Egg'' [[File:Egg.png|32px]]
{{Retrieved|version=40|incver=14}}
<pre> item Egg
HungerChange = -10,
HungerChange = -10,
Weight = 0.1,
Weight = 0.1,
Line 56: Line 76:
         Lipids = 4.18,
         Lipids = 4.18,
         Calories = 63,
         Calories = 63,
         CantBeFrozen = TRUE,
         CantBeFrozen = TRUE,</pre>
</nowiki>
 
''Wild Eggs'' [[File:Item_WildEggs.png|32px|A small picture of a wild egg.]]
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
<nowiki>
 
      item WildEggs
''Egg Carton'' [[File:EggCarton.png|32px]]
        HungerChange = -10,
{{Retrieved|version=40|incver=14}}
        Weight = 0.1,
<pre> item EggCarton
        Type = Food,
Weight = 1,
        DisplayName = Wild Eggs,
Type = Food,
        Icon = WildEggs,
DisplayName = Egg Carton,
        DaysFresh = 14,
Icon = EggCarton,
        DaysTotallyRotten = 21,
DaysFresh = 14,
        IsCookable = TRUE,
DaysTotallyRotten = 21,</pre>
        EvolvedRecipe = Stir fry:10;Sandwich:10|Cooked;Burger:10;Salad:10|Cooked;Roasted Vegetables:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10,
 
        FoodType = Egg,
==See also==
        MinutesToBurn = 30,
*[[Foraging|Foraging Guide]]
        MinutesToCook = 10,
*[[Wild Eggs]]
        DangerousUncooked = TRUE,
        Carbohydrates = 0.32,
        Proteins = 5.55,
        Lipids = 4.18,
        Calories = 63,
        CantBeFrozen = TRUE,
</nowiki>
==See Also==
* [[Foraging]]


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

Revision as of 13:36, 9 September 2018

Egg
Egg
Egg Carton
General
Category Food
Encumbrance
Heavy Load
0.1
Carton: 1
Days until stale 14 days
Days until rotten 21 days
Can't be frozen True
Nutrition
Hunger
Hunger
-10
Calories
Calories
63
Carbohydrates
Carbohydrates
0.32
Proteins
Proteins
5.55
Fat
Fat
4.18
Technical details
Item ID Base.Egg
Base.EggCarton

An egg is a perishable food item used in cooking.

Usage

Consumable properties

An Egg can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. Template:Consumables2

Crafting

Eggs can be added to or removed from an egg carton. Template:Cooking table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Cooking

An egg is required to make cake batter. Template:Cooking table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Evolved recipes

Product Nutrition
Salad
Salad
10
Stir Fry
Stir Fry
10
Roasted Vegetables
Roasted Vegetables
10
Sandwich
Sandwich
10
Burger
Burger
10
Rice Pot/Saucepan
Rice Pot/Saucepan
10
Pasta Pot/Saucepan
Pasta Pot/Saucepan
10

Code

From items.txt (Project Zomboid directory/media/scripts/)

Egg Egg.png Retrieved: Build 40.14

	item Egg
		HungerChange		= -10,
		Weight			= 0.1,
		Type			= Food,
		DangerousUncooked	= TRUE,
		DaysFresh		= 14,
		DaysTotallyRotten	= 21,
		DisplayName		= Egg,
		Icon			= Egg,
		EvolvedRecipe 		= Stir fry:10;Sandwich:10|Cooked;Burger:10;Salad:10|Cooked;Roasted Vegetables:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10,
		FoodType    		= Egg,
        	Carbohydrates 		= 0.32,
        	Proteins 		= 5.55,
        	Lipids 			= 4.18,
        	Calories 		= 63,
        	CantBeFrozen 		= TRUE,

From newitems.txt (Project Zomboid directory/media/scripts/)

Egg Carton EggCarton.png Retrieved: Build 40.14

	item EggCarton
		Weight			= 1,
		Type			= Food,
		DisplayName		= Egg Carton,
		Icon			= EggCarton,
		DaysFresh		= 14,
		DaysTotallyRotten	= 21,

See also

Template:Navbox/Consumables