Jar of Leeks: Difference between revisions
(Update link) |
m (Automated CodeBox update) |
||
(15 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Food|Pickled food}} | |||
| | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
|name=Jar of Leeks | |||
|model=JarFoodLeeks_Model.png | |||
| | |icon=JarWhite.png | ||
| | |icon_name=Jar of Leeks | ||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 15: | Line 14: | ||
|burn_minutes=60 | |burn_minutes=60 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.CannedLeek | ||
}}''' | }} | ||
A '''jar of leeks''' is a perishable [[food]] [[Items|item]]. | |||
==Usage== | ==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. | 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. | ||
Line 27: | Line 29: | ||
{{Crafting cooking|027|ing=6}} | {{Crafting cooking|027|ing=6}} | ||
|} | |} | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 2775 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item CannedLeek | |||
{ | { | ||
DisplayCategory | DisplayCategory = Food, | ||
Type | Type = Food, | ||
DisplayName | DisplayName = Jar of Leeks, | ||
Icon | Icon = JarWhite, | ||
Weight | Weight = 0.5, | ||
DaysFresh | DaysFresh = 60, | ||
DaysTotallyRotten = 90, | DaysTotallyRotten = 90, | ||
OnCooked | OnCooked = CannedFood_OnCooked, | ||
IsCookable = TRUE, | |||
MinutesToBurn | MinutesToBurn = 120, | ||
MinutesToCook | MinutesToCook = 60, | ||
StaticModel | StaticModel = CanClosed, | ||
WorldStaticModel | WorldStaticModel = JarFoodLeeks_Ground, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 60: | Line 64: | ||
{{Navbox food}} | {{Navbox food}} | ||
[[Category:Perishable food]] | |||
[[Category:Vegetables]] |
Revision as of 01:33, 25 March 2024
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 |
---|---|---|---|---|---|---|---|---|---|
Jar of Leeks |
2.5 Cooking | none | Jar (consumed) |
Jar Lid (consumed) |
Leek x5 (consumed) |
Water (10 units) (consumed) |
Vinegar (2 units) (consumed) |
(1 unit) (consumed) |
Code
Source: ProjectZomboid\media\scripts\newitems.txt
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,
}