Leek: Difference between revisions

From PZwiki
(Update of NavBar.)
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Leek}}
{{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=Leek
<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=Leek_120px.png
|image = Leek.png
|alternate_image=LeekRotten.png
|hunger = -12
|alternate_link=
|weight = 0.2
|alternate_name=Leek (Rotten)
}}
<!--GENERAL-->
Leeks are [[Food#Perishable|perishable]] food items that goes bad as time passes, when outside of a [[refrigerator]]. Leeks are often found within houses, inside of refrigerators, and in produce bins. Leeks take five in-game days to go stale, and eight in-game days to rot.
|category=Food
|weight=0.2
|days_fresh=5
|days_rotten=8
<!--NUTRITION-->
|hunger_change=-12
|thirst_change=-5
|calories=54
|lipids=0.27
|proteins=1.34
|carbohydrates=12.59
<!--TECHNICAL DETAILS-->
|class_name=Base.Leek
}}A '''leek''' is a [[Food#Perishable|perishable]] food [[item]].  


== Nutritional Information ==
==Usage==
{| border=0 align=left
=== Consumable properties ===
|
Leeks 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 = Leek.png
|image = Leek.png
Line 30: Line 43:
|rotten image = LeekRotten.png
|rotten image = LeekRotten.png
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''It's Nutritional Values are as follows:'''<br>
Carbohydrates = 12.59 <br>
Proteins = 1.34 <br>
Lipids = 0.27 <br>
Calories = 54 <br><br>
== Crafting ==
== Crafting ==
 
Leeks can be preserved to extend its lifespan by using a [[Empty_Jar|jar]].
Leeks can be preserved for long periods using jars using the ingredients below.
{{Crafting table header}}
{| class="wikitable sortable" style="text-align:center;"
|-
! Name
! class="unsortable" | Recipe
! class="unsortable" | Description
{{RecipeLookup|2057}}
{{RecipeLookup|2057}}
|}
{{Crafting table footer}}
<br>
== Evolved recipes ==
{{EvolvedRecipesForItem|soup=12|stew=12|pie=12|stirfry=12|salad=12|roastedvegetables=12|ricepot=12|ricepan=12|pastapot=12|pastapan=12|}}


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


== Code ==
== Code ==
<nowiki>
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
item Leek
{{Retrieved|version=40|incver=7}}
<pre> item Leek
         HungerChange = -12,
         HungerChange = -12,
         Weight = 0.2,
         Weight = 0.2,
Line 70: Line 71:
         Proteins = 1.34,
         Proteins = 1.34,
         Lipids = 0.27,
         Lipids = 0.27,
       Calories = 54,
       Calories = 54,</pre>
</nowiki>


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

Revision as of 11:47, 18 August 2018

Leek
Leek
Leek (Rotten)
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 5 days
Days until rotten 8 days
Nutrition
Hunger
Hunger
-12
Thirst
Thirst
-5
Calories
Calories
54
Carbohydrates
Carbohydrates
12.59
Proteins
Proteins
1.34
Fat
Fat
0.27
Technical details
Item ID Base.Leek

A leek is a perishable food item.

Usage

Consumable properties

Leeks 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

Leeks can be preserved to extend its lifespan by using a jar. Template:Crafting table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Evolved recipes

Product Nutrition
Soup
Soup
12
Stew
Stew
12
Salad
Salad
12
Stir Fry
Stir Fry
12
Roasted Vegetables
Roasted Vegetables
12
Pie (savory)
Pie (savory)
12
Rice Pot/Saucepan
Rice Pot/Saucepan
12
Pasta Pot/Saucepan
Pasta Pot/Saucepan
12

Distribution

Leeks are often found in refrigerators and grocery displays.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.7

	item Leek
        	HungerChange		= -12,
        	Weight			= 0.2,
        	Type			= Food,
        	DaysTotallyRotten	= 8,
        	DisplayName		= Leek,
        	Icon			= Leek,
        	DaysFresh		= 5,
        	EvolvedRecipe 		= Soup:12;Stew:12;Pie:12;Stir fry:12;Salad:12;Roasted Vegetables:12;RicePot:12;RicePan:12;PastaPot:12;PastaPan:12,
        	FoodType    		= Vegetables,
		Carbohydrates 		= 12.59,
        	Proteins 		= 1.34,
        	Lipids 			= 0.27,
       	 	Calories 		= 54,

Template:Navbox/Consumables