Jar of Leeks: Difference between revisions

From PZwiki
No edit summary
m (Automated CodeBox update)
(19 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Jar of Leeks}}
{{Header|Project Zomboid|Items|Food|Pickled food}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Jar of Leeks
{{Infobox item
|name_colour=Food
|name=Jar of Leeks
|name_text_colour=Food
|model=JarFoodLeeks_Model.png
|image=JarWhite_120px.png
|icon=JarWhite.png
|alternate_image=Leek.png
|icon_name=Jar of Leeks
|alternate_link=Leek
|alternate_name=Leek
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.5
|weight=0.5
|days_fresh=60
|days_fresh=60
|days_rotten=90
|days_rotten=30
|cook_minutes=60
|burn_minutes=60
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CannedLeek
|item_id=Base.CannedLeek
}}A '''jar of leeks''' is a [[Food#Perishable|perishable]] food [[item]].  
}}
 
A '''jar of leeks''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
A jar of leeks is used to preserve [[leek]] longer than their standard 5 days of freshness. After jarring, it is necessary to cook the jar of food in a [[heat source]]. Otherwise, the food will rot as fast as if it were not jarred.<br>
Jar of leeks is used to preserve [[leek]] longer than their standard 5 days of freshness. After jarring, it is necessary to cook the jar of food in a [[heat source]]. Otherwise, the food will rot as fast as if it were not jarred.
 
Leek cannot be eaten directly from the jar, therefore the jar must first be opened, returning the leek, with their usual freshness.
Leek cannot be eaten directly from the jar, therefore the jar must first be opened, returning the leek, with their usual freshness.


== Crafting ==
==Crafting==
Leeks can be pickled to preserve their lifespan by using [[sugar]] and [[vinegar]].
Leeks can be pickled to preserve their lifespan by using [[sugar]] and [[vinegar]].
{{Cooking table header}}
{{Crafting header|ing=6}}
{{RecipeLookup|2057}}
{{Crafting cooking|027|ing=6}}
{{Crafting table footer}}
|}


== Code ==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=7}}
| {{CodeSnip
<pre> item CannedLeek
  | lang = java
        Type = Food,
  | line = true
        DisplayName = Jar of Leeks,
  | start = 2775
      Icon = JarWhite,
  | source = newitems.txt
        Weight = 0.5,
  | retrieved = true
        DaysFresh = 60,
  | version = 41.78.16
        DaysTotallyRotten = 90,
  | code =
        OnCooked           = CannedFood_OnCooked,
item CannedLeek
IsCookable         = TRUE,
    {
        MinutesToBurn     = 120,
        DisplayCategory = Food,
        MinutesToCook     = 60,</pre>
        Type = Food,
        DisplayName = Jar of Leeks,
        Icon = JarWhite,
        Weight = 0.5,
        DaysFresh = 60,
        DaysTotallyRotten = 90,
        OnCooked           =       CannedFood_OnCooked,
IsCookable         =     TRUE,
        MinutesToBurn     =     120,
        MinutesToCook     =     60,
        StaticModel = CanClosed,
        WorldStaticModel = JarFoodLeeks_Ground,
    }
}}
}}


==See also==
==See also==
* [[Items#Pickled foods|Pickled foods]]
*[[Food#Pickled food|Pickled foods]]
* [[Farming|Farming Guide]]
*[[Farming]]
 
{{Navbox food}}


{{Navbox/Consumables}}
[[Category:Perishable food]]
[[Category:Vegetables]]

Revision as of 01:33, 25 March 2024

Project ZomboidItemsFoodPickled foodJar of Leeks
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Jar of Leeks
JarFoodLeeks Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Properties
Days fresh
60 days
Days until rotten
30 days
Cooking
Time until cooked
60 minutes
Time until burned
60 minutes
Technical
Item ID
Base.CannedLeek

A jar of leeks is a perishable food item.

Usage

Jar of leeks is used to preserve leek longer than their standard 5 days of freshness. After jarring, it is necessary to cook the jar of food in a heat source. Otherwise, the food will rot as fast as if it were not jarred.

Leek cannot be eaten directly from the jar, therefore the jar must first be opened, returning the leek, with their usual freshness.

Crafting

Leeks can be pickled to preserve their lifespan by using sugar and vinegar.

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)

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item CannedLeek
    {
        DisplayCategory = Food,
        Type				=		Food,
        DisplayName			=		Jar of Leeks,
        Icon				=		JarWhite,
        Weight				=		0.5,
        DaysFresh 			=		60,
        DaysTotallyRotten 	=	 	90,
        OnCooked            =       CannedFood_OnCooked,
		IsCookable	        =	    TRUE,
        MinutesToBurn	    =	    120,
        MinutesToCook	    =	    60,
        StaticModel = CanClosed,
        WorldStaticModel = JarFoodLeeks_Ground,
    }

See also