Onion: Difference between revisions

From PZwiki
(Update of NavBar.)
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Onion}}
{{languages}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 40|incver=7}}{{Infobox food
<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 -->
|display_name=Onion
<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 -->
|name_colour=Food
<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_text_colour=Food
{{Consumables
|image=Onion_120px.png
|image = Onion.png
|alternate_image=OnionRotten.png
|hunger = -10
|alternate_link=
|weight = 0.2
|alternate_name=Onion (Rotten)
}}
<!--GENERAL-->
Onions are a [[Food#Perishable|perishable]] food item that goes bad as time passes. Onions are often inside of [[refrigerator]]s, and in produce bins. Onions take seven in-game days to go stale, and nine in-game days to become rotten.  
|category=Food
|weight=0.2
|days_fresh=7
|days_rotten=9
<!--NUTRITION-->
|hunger_change=-10
|calories=28
|lipids=0.07
|proteins=0.77
|carbohydrates=6.54
<!--TECHNICAL DETAILS-->
|class_name=Base.Onion
}}An '''Onion''' is a [[Food#Perishable|perishable]] food [[item]].


== Nutritional Information ==
==Usage==
{| border=0 align=left
=== Consumable properties ===
|
Onions 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 30: Line 42:
|rotten image = Onion rotten.png
|rotten image = Onion rotten.png
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br><br>


'''It's Nutritional Values are as follows:'''<br>
== Crafting ==
Carbohydrates = 6.54 <br>
=== Evolved recipes ===
Proteins = 0.77 <br>
{{EvolvedRecipesForItem|soup=10|stew=10|pie=10|stirfry=10|sandwich=5|burger=10|salad=10|roastedvegetables=10|ricepot=10|ricepan=10|pastapot=10|pastapan=10|}}
Lipids = 0.07 <br>
Calories = 28 <br><br>


== Evolved Recipes ==
==Distribution==
{{EvolvedRecipesForItem
Onions are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
|soup=10|stew=10|pie=10|stirfry=10|sandwich=5|burger=10|salad=10|roastedvegetables=10|ricepot=10|ricepan=10|pastapot=10|pastapan=10|}}


== Code ==
== Code ==
<nowiki>
<pre> item Onion
item Onion
HungerChange = -10,
HungerChange = -10,
Weight = 0.2,
Weight = 0.2,
Line 53: Line 59:
Icon = Onion,
Icon = Onion,
DaysFresh = 7,
DaysFresh = 7,
EvolvedRecipe = Soup:10;Stew:10;Pie:10;Stir fry:10;Sandwich:5;Burger:10;Salad:10;Roasted  
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,
  Vegetables:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10,
FoodType    = Vegetables,
FoodType    = Vegetables,
         Carbohydrates = 6.54,
         Carbohydrates = 6.54,
         Proteins = 0.77,
         Proteins = 0.77,
         Lipids = 0.07,
         Lipids = 0.07,
         Calories = 28,
         Calories = 28,</pre>
</nowiki>


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

Revision as of 11:59, 18 August 2018

Onion
Onion
Onion (Rotten)
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 7 days
Days until rotten 9 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

An Onion is a perishable food item.

Usage

Consumable properties

Onions 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

Evolved recipes

Product Nutrition
Soup
Soup
10
Stew
Stew
10
Salad
Salad
10
Stir Fry
Stir Fry
10
Roasted Vegetables
Roasted Vegetables
10
Sandwich
Sandwich
5
Burger
Burger
10
Pie (savory)
Pie (savory)
10
Rice Pot/Saucepan
Rice Pot/Saucepan
10
Pasta Pot/Saucepan
Pasta Pot/Saucepan
10

Distribution

Onions are often found in refrigerators and grocery displays.

Code

	item Onion
		HungerChange		= -10,
		Weight			= 0.2,
		Type			= Food,
		DaysTotallyRotten	= 9,
		DisplayName		= Onion,
		Icon			= Onion,
		DaysFresh		= 7,
		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,
        	Carbohydrates 		= 6.54,
        	Proteins 		= 0.77,
        	Lipids 			= 0.07,
        	Calories 		= 28,

Template:Navbox/Consumables