Egg: Difference between revisions

From PZwiki
(updated to 41.68 + added models + navbox)
m (Simplified redundant links)
(30 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Protein}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Egg
{{Infobox item
|name_colour=Food
|name=Egg
|name_text_colour=Food
|model=Egg_Model.png
|image=Egg_Model.png
|icon=Egg.png
|alternate_image=Egg.png
|model2=EggBoiled_Model.png
|alternate_name=Egg
|icon2=EggBoiled.png
|alternate_link=
|icon_name2=Boiled Egg
|alternate_image2=EggBoiled.png
|model3=EggCarton_Model.png
|alternate_name2=Boiled Egg
|icon3=EggCarton.png
|alternate_link2=
|icon_name3=Egg Carton
|alternate_image3=EggCarton.png
|alternate_name3=Egg Carton
|alternate_link3=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.1<br>'''Carton:''' 1
|weight=0.1<br>1 <small>(carton)</small>
|days_fresh=14
|days_fresh=14 days<br>3 <small>(boiled egg)</small>
|days_rotten=21
|days_rotten=7 days<br>3 <small>(boiled egg)</small>
|cant_be_frozen=True
|cant_be_frozen=True
<!--NUTRITION-->
<!--NUTRITION-->
Line 28: Line 25:
<!--COOKING-->
<!--COOKING-->
|cook_minutes=4
|cook_minutes=4
|burn_minutes=20
|burn_minutes=16
|dangerous_uncooked=True
|dangerous_uncooked=True
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name={{ID|Base.Egg}}<br>{{ID|Base.EggBoiled}}<br>{{ID|Base.EggCarton}}
|item_id=''See [[#Item IDs|Item IDs]]''
}}An '''egg''' is a [[Food#Perishable|perishable]] food [[item]] used in [[cooking]].  
}}
An '''egg''' is a perishable [[food]] [[Items|item]] used in [[cooking]].


==Usage==
==Usage==
=== Consumable properties ===
===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 can give the player food poisoning'''.
Egg can be eaten raw, which can make the [[player]] [[sick]]. Consuming after being cooked will provide the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables
  |image = Egg.png
  |image = Egg.png
  |rotten image = Egg.png
  |rotten image = Egg.png
Line 68: Line 66:
}}
}}


== Crafting ==
==Crafting==
Eggs can be added to or removed from an egg carton.
{{Crafting header|ing=2}}
{{Crafting cooking|006|ing=2}}
{{Crafting cooking|007|ing=2}}
|}
 
===Cooking===
===Cooking===
Eggs can be used in several cooking recipes.
{{Main|Cooking}}
{{Crafting header|ing=7}}
{{Crafting/sandbox2
{{Crafting cooking|108|ing=7}}
|boiled_egg_cooked
{{Crafting cooking|130|ing=7}}
}}
{{Crafting cooking|134|ing=7}}
|}
====Evolved recipes====
{{EvolvedRecipesForItem|stirfry=10|sandwich=10|burger=10|salad=10|roastedvegetables=10|ricepot=10|ricepan=10|Pastapot=10|pastapan=10}}


==Gallery==
===What it makes===
<gallery>
*Egg can be added to or removed from an egg carton.
Egg_Model.png|Egg model
{{Crafting/sandbox2
EggBoiled_Model.png|Boiled Egg model
|egg
EggCarton_Model.png|Egg Carton model
|egg_carton
</gallery>
}}
*Egg can be used in several cooking recipes.
{{Crafting/sandbox2
|cake_batter
|omelette_uncooked
|muffin_baking_tray_uncooked
}}


== Code ==
===Evolved recipes===
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
Egg and boiled egg is a [[cooking]] [[Recipe ingredients|ingredient]].<br>
''Egg'' [[File:Egg.png]]
{{EvolvedRecipesForItem|stirfry=7|roastedvegetables=7|rice=7|pasta=7}}
''Boiled Egg'' [[File:EggBoiled.png]]
{{EvolvedRecipesForItem|sandwich=10|burger=10|salad=10|burrito=10|taco=5|soup=10|stew=10}}


''Egg'' [[File:Egg.png|32px]]
==Item IDs==
{{Retrieved|version=41|incver=68}}
{| class="wikitable theme-red" style="width:30%; text-align: center;"
<pre>    item Egg
! style="width:25%" | Name
    {
! style="width:25%" | Icon
DisplayCategory = Food,
! style="width:50%" | Item ID
HungerChange = -7,
|-
Weight = 0.1,
| Egg
Type = Food,
| [[File:Egg.png]]
DangerousUncooked = TRUE,
| {{ID|Base.Egg}}
DaysFresh = 14,
|-
DaysTotallyRotten = 21,
| Boiled Egg
DisplayName = Egg,
| [[File:EggBoiled.png]]
Icon = Egg,
| {{ID|Base.EggBoiled}}
EvolvedRecipe = Stir fry Griddle Pan:10;Stir fry:10;Sandwich:10|Cooked;Sandwich Baguette:10|Cooked;Burger:10;Salad:10|Cooked;Roasted Vegetables:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10,
|-
FoodType    =  Egg,
| Egg Carton
Carbohydrates = 0.32,
| [[File:EggCarton.png]]
Proteins = 5.55,
| {{ID|Base.EggCarton}}
Lipids = 4.18,
|}
Calories = 63,
WorldStaticModel = Egg,
IsCookable         =         true,
MinutesToBurn     =         20,
MinutesToCook     =         4,
ReplaceOnCooked    =  Base.EggBoiled,
    }</pre>


''Boiled Egg'' [[File:EggBoiled.png|32px]]
==Code==
{{Retrieved|version=41|incver=68}}
{{CodeBox|[[File:Egg.png]] {{ID|Base.Egg}}<br>
<pre>    item EggBoiled
{{CodeSnip
    {
  | lang = java
HungerChange = -10,
  | line = true
Weight = 0.1,
  | start = 2390
Type = Food,
  | source = items_food.txt
DaysFresh = 14,
  | retrieved = true
DaysTotallyRotten = 21,
  | version = 41.78.16
DisplayName = Boiled Egg,
  | code =
Icon = EggBoiled,
item Egg
EvolvedRecipe = Stir fry Griddle Pan:10;Stir fry:10;Sandwich:10|Cooked;Sandwich Baguette:10|Cooked;Burger:10;Salad:10|Cooked;Roasted Vegetables:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10,
{
FoodType   =   Egg,
DisplayName = Egg,
        Carbohydrates = 0.32,
DisplayCategory = Food,
        Proteins = 5.55,
Type = Food,
        Lipids = 4.18,
Weight = 0.1,
        Calories = 63,
Icon = Egg,
        IsCookable         =         true,
DangerousUncooked = TRUE,
        MinutesToBurn     =         20,
EvolvedRecipe = Stir fry Griddle Pan:7;Stir fry:7;Roasted Vegetables:7;RicePot:7;RicePan:7;PastaPot:7;PastaPan:7;Sandwich:7|Cooked;Sandwich Baguette:7|Cooked;Burger:7|Cooked;Salad:7|Cooked;Burrito:7|Cooked;Taco:3|Cooked;Soup:7;Stew:7,
        MinutesToCook     =         5,
FoodType = Egg,
        WorldStaticModel = EggBoiled_Ground,
IsCookable = true,
    }</pre>
/*ReplaceOnCooked = Base.EggBoiled,*/
MinutesToCook = 4,
MinutesToBurn = 20,
DaysFresh = 14,
DaysTotallyRotten = 21,
HungerChange = -7,
Calories = 63,
Carbohydrates = 0.32,
Lipids = 4.18,
Proteins = 5.55,
WorldStaticModel = Egg,
Tags = Egg,
}
}}


''Egg Carton'' [[File:EggCarton.png|32px]]
[[File:EggBoiled.png]] {{ID|Base.EggBoiled}}<br>
{{Retrieved|version=41|incver=68}}
{{CodeSnip
<pre>    item EggCarton
  | lang = java
    {
  | line = true
DisplayCategory = Food,
  | start = 6192
Weight = 1,
  | source = items_food.txt
        Type = Food,
  | retrieved = true
DisplayName = Egg Carton,
  | version = 41.78.16
        Icon = EggCarton,
  | code =
        DaysFresh = 14,
item EggBoiled
        DaysTotallyRotten = 21,
{
        WorldStaticModel = EggCarton,
DisplayName = Boiled Egg,
    }</pre>
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = EggBoiled,
EvolvedRecipe = Sandwich:10;Sandwich Baguette:10;Burger:10;Salad:10;Burrito:10;Taco:5;Soup:10;Stew:10,
FoodType = Egg,
DaysFresh = 3,
DaysTotallyRotten = 6,
HungerChange = -10,
Calories = 63,
Carbohydrates = 0.32,
Lipids = 4.18,
Proteins = 5.55,
WorldStaticModel = EggBoiled_Ground,
EvolvedRecipeName = Egg,
}
}}
 
[[File:EggCarton.png]] {{ID|Base.EggCarton}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 4778
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item EggCarton
{
DisplayName = Egg Carton,
DisplayCategory = Food,
Type = Food,
Weight = 1,
Icon = EggCarton,
DaysFresh = 14,
DaysTotallyRotten = 21,
WorldStaticModel = EggCarton,
}
}}
}}


==See also==
==See also==
*[[Foraging|Foraging Guide]]
*[[Foraging]]
*[[Wild Eggs]]
*[[Wild Eggs]]


{{Navbox_food}}
{{Navbox items|meat}}
 
 
[[Category:Perishable food]]

Revision as of 11:24, 25 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]
Egg
Egg Model.png
EggBoiled Model.png
EggCarton Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
1 (carton)
Properties
Days fresh
14 days
3 (boiled egg) days
Days until rotten
7 days
3 (boiled egg) days
Nutrition
HungerMoodle Icon Hungry.png
-7
CaloriesCalories
63
CarbohydratesCarbohydrates
0.32
ProteinsProteins
5.55
FatFat
4.18
Cooking
Time until cooked
4 minutes
Time until burned
16 minutes
Dangerous uncooked
True
Technical
Item ID

An egg is a perishable food item used in cooking.

Usage

Consumable properties

Egg can be eaten raw, which can make the player sick. Consuming after being cooked will provide the player with some positive effects, however these will become negative the longer it's left to perish.

Fresh Stale Rotten
Uncooked

Egg.png
Hunger: -7


Dangerous uncooked, may cause sickness.

Egg.png
Hunger: -5
Boredom: +10
Unhappiness: +10
Dangerous uncooked, may cause sickness.

Egg.png

Hunger: -3
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Cooked

EggBoiled.png
Hunger: -10

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

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

Burned

EggBoiled.png
Hunger: -3
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Cooking

Main article: Cooking
Product Ingredients Tools Requirements Workstation XP
EggBoiled.png
Boiled Egg (Cooked)
One of:
Egg.png Egg ×1
WildEggs.png Wild Eggs ×1
none none Heat source.gif
Heat source
2.5 Cooking

What it makes

  • Egg can be added to or removed from an egg carton.
Product Ingredients Tools Requirements Workstation XP
Egg.png
Egg
EggCarton.png Egg Carton ×1 none none none none
EggCarton.png
Egg Carton
Egg.png Egg ×12 none none none none
  • Egg can be used in several cooking recipes.
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
PanFull.png
Omelette (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
Egg.png Egg ×2
WildEggs.png Wild Eggs ×2
Each of:
Pan.png Frying Pan ×1
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

Egg and boiled egg is a cooking ingredient.
Egg Egg.png

Product Nutrition
Stir Fry
Stir Fry
7
Roasted Vegetables
Roasted Vegetables
7
Rice Pot/Saucepan
Rice Pot/Saucepan
7
Pasta Pot/Saucepan
Pasta Pot/Saucepan
7

Boiled Egg EggBoiled.png

Product Nutrition
Soup
Soup
10
Stew
Stew
10
Salad
Salad
10
Sandwich
Sandwich
10
Burger
Burger
10
Taco
Taco
5
Burrito
Burrito
10

Item IDs

Name Icon Item ID
Egg Egg.png Base.Egg
Boiled Egg EggBoiled.png Base.EggBoiled
Egg Carton EggCarton.png Base.EggCarton

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Egg.png Base.Egg
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item Egg
	{
		DisplayName = Egg,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = Egg,
		DangerousUncooked = TRUE,
		EvolvedRecipe = Stir fry Griddle Pan:7;Stir fry:7;Roasted Vegetables:7;RicePot:7;RicePan:7;PastaPot:7;PastaPan:7;Sandwich:7

EggBoiled.png Base.EggBoiled
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item EggBoiled
	{
		DisplayName = Boiled Egg,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = EggBoiled,
		EvolvedRecipe = Sandwich:10;Sandwich Baguette:10;Burger:10;Salad:10;Burrito:10;Taco:5;Soup:10;Stew:10,
		FoodType = Egg,
		DaysFresh = 3,
		DaysTotallyRotten = 6,
		HungerChange = -10,
		Calories = 63,
		Carbohydrates = 0.32,
		Lipids = 4.18,
		Proteins = 5.55,
		WorldStaticModel = EggBoiled_Ground,
		EvolvedRecipeName = Egg,
	}

EggCarton.png Base.EggCarton
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item EggCarton
	{
		DisplayName = Egg Carton,
		DisplayCategory = Food,
		Type = Food,
		Weight = 1,
		Icon = EggCarton,
		DaysFresh = 14,
		DaysTotallyRotten = 21,
		WorldStaticModel = EggCarton,
	}

See also