Jar of Cabbage: Difference between revisions

From PZwiki
m (Update link)
(added model to infobox)
Line 3: Line 3:
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=JarGreen.png
|image=JarFoodCabbage_Model.png
|alternate_image=Cabbage.png
|image_width=200px
|alternate_link=Cabbage
|alternate_image=JarGreen.png
|alternate_name=Cabbage
|alternate_name=Jar of Cabbage
|alternate_link=
|alternate_image2=Cabbage.png
|alternate_link2=Cabbage
|alternate_name2=Cabbage
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 16: Line 20:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CannedCabbage
|class_name=Base.CannedCabbage
}}'''Jar of cabbage''' is a [[Food#Perishable|perishable]] food [[item]].  
}}A '''jar of cabbage''' is a [[Food#Perishable|perishable]] food [[item]].  


==Usage==
==Usage==

Revision as of 06:18, 25 June 2023

Template:Infobox foodA jar of cabbage is a perishable food item.

Usage

Jar of cabbage is used to preserve cabbage longer than their standard 2 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.
Cabbage cannot be eaten directly from the jar, therefore the jar must first be opened, returning the Cabbage, with their usual freshness.

Crafting

Cabbage 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
JarGreen.png
Jar of Cabbage
2.5 Cooking none JarEmpty2.png
Jar
(consumed)
Jar Lid
Jar Lid
(consumed)
Cabbage.png
Cabbage x3
(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 CannedCabbage
    {
        DisplayCategory         = Food,
        Type			= Food,
        DisplayName		= Jar of Cabbage,
        Icon			= JarGreen,
        Weight			= 0.5,
        DaysFresh 		= 60,
        DaysTotallyRotten 	= 90,
        OnCooked                = CannedFood_OnCooked,
        IsCookable	        = TRUE,
        MinutesToBurn	        = 120,
        MinutesToCook	        = 60,
        StaticModel             = CanClosed,
        WorldStaticModel        = JarFoodCabbage_Ground,
    }

See also