Jar of Cabbage: Difference between revisions

From PZwiki
(updated to 41.68)
mNo edit summary
Line 1: Line 1:
{{languages}}
{{languages|Jar of Cabbage}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 41|incver=68}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Jar of Cabbage
|display_name=Jar of Cabbage
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=JarFoodCabbage_Model.png
|image=JarGreen 120px.png
|image_width=300px
|alternate_image=Cabbage.png
|alternate_image=JarGreen.png
|alternate_link=Cabbage
|alternate_link=
|alternate_name=Cabbage
|alternate_name=Jar of Cabbage
|alternate_image2=Cabbage.png
|alternate_link2=Cabbage
|alternate_name2=Cabbage
<!--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
|cook_minutes=60
|burn_minutes=120
|burn_minutes=60
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CannedCabbage
|class_name=Base.CannedCabbage
}}A '''jar of cabbage''' is a [[Food#Perishable|perishable]] food [[item]].  
}}'''Jar of cabbage''' is a [[Food#Perishable|perishable]] food [[item]].  


==Usage==
==Usage==
A 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.<br>
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.<br>
Cabbage cannot be eaten directly from the jar, therefore the jar must first be opened, returning the Cabbage, with their usual freshness.
Cabbage cannot be eaten directly from the jar, therefore the jar must first be opened, returning the Cabbage, with their usual freshness.


Line 35: Line 31:
== Code ==
== Code ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=68}}
{{Retrieved|version=41|incver=73}}
<pre> item CannedCabbage
<pre> item CannedCabbage
     {
     {
         DisplayCategory = Food,
         DisplayCategory         = Food,
         Type = Food,
         Type = Food,
         DisplayName = Jar of Cabbage,
         DisplayName = Jar of Cabbage,
         Icon = JarGreen,
         Icon = JarGreen,
         Weight = 0.5,
         Weight = 0.5,
         DaysFresh = 60,
         DaysFresh = 60,
         DaysTotallyRotten = 90,
         DaysTotallyRotten = 90,
         OnCooked           =       CannedFood_OnCooked,
         OnCooked               = CannedFood_OnCooked,
IsCookable         =     TRUE,
        IsCookable         = TRUE,
         MinutesToBurn     =     120,
         MinutesToBurn         = 120,
         MinutesToCook     =     60,
         MinutesToCook         = 60,
         StaticModel = CanClosed,
         StaticModel             = CanClosed,
         WorldStaticModel = JarFoodCabbage_Ground,
         WorldStaticModel       = JarFoodCabbage_Ground,
     }</pre>
     }</pre>



Revision as of 09:22, 4 October 2022

Jar of Cabbage
Jar of Cabbage
Cabbage
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.CannedCabbage

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)

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