Onion: Difference between revisions

From PZwiki
mNo edit summary
m (Remove 120px, minor fixes)
Line 1: Line 1:
{{languages|Onion}}
{{Languages}}{{Header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 41|incver=73}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Onion
|display_name=Onion
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=Onion_120px.png
|image=Onion.png
|alternate_image=OnionRotten.png
|alternate_image=OnionRotten.png
|alternate_link=
|alternate_link=
Line 27: Line 26:


==Usage==
==Usage==
=== Consumable properties ===
 
===Consumable properties===
Onion can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Onion can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables2
Line 46: Line 46:
}}
}}


== Crafting ==
==Crafting==
 
===What it can make===
===What it can make===
Onion needs to be cut into [[Onion_Slices|slices]] before addition to most recipes.
Onion needs to be cut into [[Onion_Slices|slices]] before addition to most recipes.
Line 62: Line 63:
</gallery>
</gallery>


== Code ==
==Code==
<pre> item Onion
<pre>
item Onion
{
{
DisplayName = Onion,
DisplayName = Onion,
Line 82: Line 84:
WorldStaticModel = Onion_Ground,
WorldStaticModel = Onion_Ground,
EvolvedRecipeName = Mushroom,
EvolvedRecipeName = Mushroom,
}</pre>
}
</pre>


{{Navbox_food}}
{{Navbox food}}

Revision as of 23:30, 25 February 2023

Onion
Onion
Onion (Rotten) Onion Slices
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 7 days
Days until rotten 2 days
Nutrition
Hunger
Hunger
-10
Calories
Calories
28
Carbohydrates
Carbohydrates
6.54
Proteins
Proteins
0.77
Fat
Fat
0.07
Technical details
Item ID Base.Onion

Onion is a perishable food item.

Usage

Consumable properties

Onion 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

What it can make

Onion needs to be cut into slices before addition to most recipes.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Rings.png
Onion Slices x2
0.75 Cooking none
(keep)
Onion.png
Onion
(consumed)

Template:Crafting table footer

Distribution

Onion is often found in refrigerators and grocery displays.

Gallery

Code

	item Onion
	{
		DisplayName = Onion,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Onion,
		/*EvolvedRecipe = Omelette:10;Soup:10;Stew:10;Pie:10;Stir fry Griddle Pan:10;Stir fry:10;Sandwich:5;Sandwich Baguette:5;Burger:10;Salad:10;Roasted Vegetables:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10;Taco:10;Burrito:10,*/
		FoodType = Vegetables,
		DaysFresh = 7,
		DaysTotallyRotten = 9,
		HungerChange = -10,
		Calories = 28,
		Carbohydrates = 6.54,
		Lipids = 0.07,
		Proteins = 0.77,
		StaticModel = RoundFood_Peach,
		WorldStaticModel = Onion_Ground,
		EvolvedRecipeName = Mushroom,
	}