Egg: Difference between revisions

From PZwiki
mNo edit summary
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Notice|outdated}}
{{languages|Egg}}
{{languages}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
{{Consumables
|display_name=Egg
|name_colour=Food
|name_text_colour=Food
|image=Egg_120px.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 ===
A cooked Egg can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. Uncooked eggs will give you food poisoning.
{{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 perishable food item found in many refrigerators of many houses. It can be eaten without modification, however, it does little against hunger and there is a chance to become ill. A more efficient use is to use it in a recipe. Egg can be added to a stir fry or sandwich when raw, a burger, salad or roast vegetables when cooked.


== Effects ==
[[Hunger]]: -10
== Crafting ==
== Crafting ==
{| class="wikitable sortable" style="text-align:center;"
Eggs can be added to or removed from an egg carton.
|-
{{Cooking table header}}
! Name
{{RecipeLookup|2080}}
! class="unsortable" | Recipe
{{RecipeLookup|2081}}
! class="unsortable" | Description
{{Crafting table footer}}
{{RecipeLookup|2006}}
 
{{RecipeLookup|2007}}
===Cooking===
|}
An egg is required to make [[Cake Batter|cake batter]].
==Wild Eggs==
{{Cooking table header}}
Wild Eggs can be found via [[Foraging]]. They have all the same values as regular eggs, but can't be used in recipes.
{{RecipeLookup|2039}}
{{Consumables
{{Crafting table footer}}
|image = Item_WildEggs.png
====Evolved recipes====
|hunger = -10
{{EvolvedRecipesForItem|stirfry=10|sandwich=10|burger=10|salad=10|roastedvegetables=10|ricepot=10|ricepan=10|Pastapot=10|pastapan=10}}
|weight = 0.1
}}


== Code ==
== Code ==
<nowiki>item Egg
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{
 
HungerChange = -10,
''Egg'' [[File:Egg.png|32px]]
Weight = 0.1,
{{Retrieved|version=40|incver=14}}
Type = Food,
<pre> item Egg
DangerousUncooked = TRUE,
HungerChange = -10,
DaysTotallyRotten = 21,
Weight = 0.1,
DisplayName = Egg,
Type = Food,
Icon = Egg,
DangerousUncooked = TRUE,
DaysFresh = 14,
DaysFresh = 14,
EvolvedRecipe = Stir fry:10;Sandwich:10|Cooked;Burger:10;Salad:10|Cooked;Roasted Vegetables:10,
DaysTotallyRotten = 21,
FoodType   =   Meat,
DisplayName = Egg,
} </nowiki>
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,</pre>
 
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
 
''Egg Carton'' [[File:EggCarton.png|32px]]
{{Retrieved|version=40|incver=14}}
<pre> item EggCarton
Weight = 1,
Type = Food,
DisplayName = Egg Carton,
Icon = EggCarton,
DaysFresh = 14,
DaysTotallyRotten = 21,</pre>
 
==See also==
*[[Foraging|Foraging Guide]]
*[[Wild Eggs]]


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Food]]
[[Category:Perishable Food]]
[[Category:Version 0.2.0p]]

Revision as of 08:28, 12 October 2020

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

A cooked Egg can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. Uncooked eggs will give you food poisoning. 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