Onion: Difference between revisions

From PZwiki
mNo edit summary
m (Updated onion)
Line 1: Line 1:
{{languages|Onion}}
{{languages|Onion}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 40|incver=7}}{{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
Line 15: Line 15:
|weight=0.2
|weight=0.2
|days_fresh=7
|days_fresh=7
|days_rotten=9
|days_rotten=2
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-10
|hunger_change=-10
Line 24: Line 24:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Onion
|class_name=Base.Onion
}}An '''onion''' is a [[Food#Perishable|perishable]] food [[item]].
}}'''Onion''' is a [[Food#Perishable|perishable]] food [[item]].


==Usage==
==Usage==
=== Consumable properties ===
=== Consumable properties ===
An 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
|image = Onion.png
|image = Onion.png
Line 48: Line 48:
== Crafting ==
== Crafting ==
===Cooking===
===Cooking===
Onion needs to be sliced into [[Onion_Slices|onion slices]] before addition to most recipes.
Onion needs to be cut into [[Onion_Slices|onion slices]] before addition to most recipes.
{{Crafting header|ing=2}}
{{Crafting header|ing=2}}
{{Crafting cooking|137|ing=2}}
{{Crafting cooking|137|ing=2}}
Line 54: Line 54:


==Distribution==
==Distribution==
Onions are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
Onion is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
 
==Gallery==
<gallery>
File:Onion Model.png|Onion model when placed in the world.
File:OnionRotten Model.png|Rotten onion model when placed in the world.
</gallery>


== Code ==
== Code ==
<pre> item Onion
<pre> item Onion
HungerChange = -10,
{
Weight = 0.2,
DisplayName = Onion,
Type = Food,
DisplayCategory = Food,
DaysTotallyRotten = 9,
Type = Food,
DisplayName = Onion,
Weight = 0.2,
Icon = Onion,
Icon = Onion,
DaysFresh = 7,
/*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,*/
EvolvedRecipe = Soup:10;Stew:10;Pie:10;Stir fry:10;Sandwich:5;Burger:10;Salad:10;Roasted Vegetables:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10,
FoodType = Vegetables,
FoodType   = Vegetables,
DaysFresh = 7,
        Carbohydrates = 6.54,
DaysTotallyRotten = 9,
        Proteins = 0.77,
HungerChange = -10,
        Lipids = 0.07,
Calories = 28,
        Calories = 28,</pre>
Carbohydrates = 6.54,
Lipids = 0.07,
Proteins = 0.77,
StaticModel = RoundFood_Peach,
WorldStaticModel = Onion_Ground,
EvolvedRecipeName = Mushroom,
}</pre>


{{Navbox_food}}
{{Navbox_food}}

Revision as of 11:13, 29 September 2022

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

Cooking

Onion needs to be cut into onion 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,
	}