Leek: Difference between revisions

From PZwiki
mNo edit summary
m (Version bump)
(38 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Vegetables}}
{{Page version|41.78.16}}
{{Infobox item
|name=Leek
|model=Leek_Model.png
|icon=Leek.png
|icon_name=Leek
|icon2=LeekRotten.png
 
|icon_name2=Leek (Rotten)
<!--GENERAL-->
|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-->
|item_id=Base.Leek
}}
 
'''Leek''' is a perishable [[food]] [[Items|item]]]].
 
==Usage==
===Consumable properties===
Leek can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables
{{Consumables
|image = Leek.png
|image = Leek.png
|hunger = -15
|hunger = -12
|weight = 0.2
|thirst = 0
|unrotten hunger = -9
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten thirst = 0
|unrotten image = Leek.png
|rotten hunger = -5
|rotten boredom = +20
|rotten unhappiness = +20
|rotten thirst = 0
|perishable = 1
|rotten image = LeekRotten.png
}}
}}
Leeks may be found [[refrigerator]]s. They can be used as [[Salad_Ingredients|ingredients]] in Salads.<br />


==Crafting==
Leek can be preserved to extend their lifespan by using a [[Empty Jar|jar]].
{{Crafting header|ing=6}}
{{Crafting cooking|027|ing=6}}
|}


== Effects ==
==Evolved recipes==
[[Hunger]]: -15
Leek is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|Omelette=6|Soup=12|Stew=12|Pie=12|StirFry=12|Salad=12|RoastedVegetables=12|Rice=12|Pasta=12|}}


===Sack of Leek===
{{Crafting header|ing=1}}
{{Crafting general|057|ing=1}}
|}


== Crafting ==
==Distribution==
{| class="wikitable sortable" style="text-align:center;"  
The loot distributions can be found in the table(s) below.
|-  
 
! Name
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! class="unsortable" | Recipe
! colspan="4" | Containers
! class="unsortable" | Description
|-
{{RecipeLookup|2005}}
! Building/Room
{{RecipeLookup|2006}}
! Container
{{RecipeLookup|2007}}
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="2"|all
|[[fridge]]
|4
|2
|-
|[[fridge]]
|4
|2
|-
|chinesekitchen
|[[fridge]]
|4
|8
|-
|dinerkitchen
|[[fridge]]
|4
|2
|-
|rowspan="2"|gigamart
|[[grocerstand]]
|4
|1
|-
|[[grocerstand]]
|4
|2
|-
|restaurantkitchen
|[[fridge]]
|4
|2
|-
|sushikitchen
|[[fridge]]
|4
|8
|}
|}
Leeks are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]]. They can also be found through [[foraging]].


==See Also==
Sacks of leeks can be found in grocery stores and warehouses.
* [[Farming]]
 
==Gallery==
<gallery>
Leek Model.png|Leek model when placed in the world.
LeekRotten Model.png|Rotten leek model when placed in the world.
</gallery>
 
==Code==
{{CodeBox|[[File:Leek.png]] {{ID|Base.Leek}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 1214
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Leek
{
DisplayName = Leek,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = Leek,
EvolvedRecipe = Omelette:6;Soup:12;Stew:12;Pie:12;Stir fry Griddle Pan:12;Stir fry:12;Salad:6;Roasted Vegetables:12;RicePot:12;RicePan:12;PastaPot:12;PastaPan:12,
FoodType = Vegetables,
DaysFresh = 5,
DaysTotallyRotten = 8,
HungerChange = -12,
ThirstChange = -5,
Calories = 54,
Carbohydrates = 12.59,
Lipids = 0.27,
Proteins = 1.34,
StaticModel = CylinderFood_Green,
WorldStaticModel = Leek_Ground,
}
}}
 
[[File:Sandbag.png]] {{ID|Base.SackProduce_Leek}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 8135
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item SackProduce_Leek
{
DisplayName = Sack of Leeks,
DisplayCategory = Food,
Type = Food,
Weight = 2,
Icon = Sandbag,
CantEat = TRUE,
DaysFresh = 5,
DaysTotallyRotten = 8,
WorldStaticModel = SandBag,
}
}}
}}


{{Navbox/Consumables}}
{{Navbox food}}
{{Navbox/Farming}}


[[Category:Consumables]]
[[Category:Perishable food]]
[[Category:Food]]
[[Category:Items]]
[[Category:Farming]]
[[Category:Perishable Food]]
[[Category:Version 0.2.0p]]

Revision as of 02:41, 28 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Leek
Leek Model.png
Leek (Rotten)
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
5 days
Days until rotten
8 days
Nutrition
HungerMoodle Icon Hungry.png
-12
ThirstMoodle Icon Thirsty.png
-5
CaloriesCalories
54
CarbohydratesCarbohydrates
12.59
ProteinsProteins
1.34
FatFat
0.27
Technical
Item ID
Base.Leek

Leek is a perishable food item]].

Usage

Consumable properties

Leek can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.

Fresh Stale Rotten

Leek.png
Hunger: -12


Leek.png
Hunger: -9
Boredom: +10
Unhappiness: +10

LeekRotten.png
Hunger: -5
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Leek can be preserved to extend their lifespan by using a jar.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5 Ingredient 6
JarWhite.png
Jar of Leeks
2.5 Cooking none JarEmpty2.png
Jar
(consumed)
Jar Lid
Jar Lid
(consumed)
Leek.png
Leek x5
(consumed)
WaterDrop.png
Water
(10 units)

(consumed)
Vinegar.png
Vinegar
(2 units)

(consumed)

(1 unit)

(consumed)

Evolved recipes

Leek is a cooking ingredient.

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
Omelette
Omelette
6

Sack of Leek

Product XP gained Skill(s) Recipe Ingredient 1
Leek.png
Leek x12
0 XP none Sandbag.png
Sack of Leek
(consumed)

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
all fridge 4 2
fridge 4 2
chinesekitchen fridge 4 8
dinerkitchen fridge 4 2
gigamart grocerstand 4 1
grocerstand 4 2
restaurantkitchen fridge 4 2
sushikitchen fridge 4 8

Leeks are often found in refrigerators and grocery displays. They can also be found through foraging.

Sacks of leeks can be found in grocery stores and warehouses.

Gallery

Code

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

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

Retrieved: Build 41.78.16
item Leek
	{
		DisplayName = Leek,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Leek,
		EvolvedRecipe = Omelette:6;Soup:12;Stew:12;Pie:12;Stir fry Griddle Pan:12;Stir fry:12;Salad:6;Roasted Vegetables:12;RicePot:12;RicePan:12;PastaPot:12;PastaPan:12,
		FoodType = Vegetables,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		HungerChange = -12,
		ThirstChange = -5,
		Calories = 54,
		Carbohydrates = 12.59,
		Lipids = 0.27,
		Proteins = 1.34,
		StaticModel = CylinderFood_Green,
		WorldStaticModel = Leek_Ground,
	}

Sandbag.png Base.SackProduce_Leek
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item SackProduce_Leek
	{
		DisplayName = Sack of Leeks,
		DisplayCategory = Food,
		Type = Food,
		Weight = 2,
		Icon = Sandbag,
		CantEat = TRUE,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		WorldStaticModel = SandBag,
	}