Jar of Leeks: Difference between revisions

From PZwiki
mNo edit summary
m (Remove 120px, minor fixes)
Line 1: Line 1:
{{languages|Jar of Leeks}}
{{Languages}}{{Header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 41|incver=73}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Jar of Leeks
|display_name=Jar of Leeks
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=JarWhite 120px.png
|image=JarWhite.png
|alternate_image=Leek.png
|alternate_image=Leek.png
|alternate_link=Leek
|alternate_link=Leek
Line 23: Line 22:
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]].
{{Crafting header|ing=6}}
{{Crafting header|ing=6}}
Line 34: Line 33:
</gallery>
</gallery>


== Code ==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=73}}
{{Retrieved|version=41|incver=73}}
<pre> item CannedLeek
<pre>
item CannedLeek
     {
     {
         DisplayCategory        = Food,
         DisplayCategory        = Food,
Line 56: Line 56:


==See also==
==See also==
* [[Items/Food#Pickled food|Pickled foods]]
*[[Items/Food#Pickled food|Pickled foods]]
* [[Farming|Farming Guide]]
*[[Farming]]


{{Navbox_food}}
{{Navbox food}}

Revision as of 23:22, 20 February 2023

Jar of Leeks
Jar of Leeks
Leek
General
Category Food
Encumbrance
Heavy Load
0.5
Days until stale 60 days
Days until rotten 30 days
Cooking
Time until cooked 60 minutes
Time until burned 60 minutes
Technical details
Item ID Base.CannedLeek

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)

Gallery

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.73

	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