Jar of Cabbage: Difference between revisions

From PZwiki
m (Automated Formatting)
 
(25 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Jar of Cabbage}}
{{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 Cabbage
{{Infobox item
|name_colour=Food
|name=Jar of Cabbage
|name_text_colour=Food
|model=JarFoodCabbage_Model.png
|image=JarGreen_120px.png
|icon=JarGreen.png
|alternate_image=Cabbage.png
|icon_name=Jar of Cabbage
|alternate_link=Cabbage
|alternate_name=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
|burn_minutes=60
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CannedCabbage
|item_id=Base.CannedCabbage
}}A '''jar of cabbage''' is a [[Food#Perishable|perishable]] food [[item]].  
}}
A '''jar of cabbage''' is a perishable [[food]] [[Items|item]].


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


== Crafting ==
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]].
Cabbage can be pickled to preserve their lifespan by using [[sugar]] and [[vinegar]].
{{Cooking table header}}
{{Crafting/sandbox2
{{RecipeLookup|2060}}
|jar_of_cabbage
{{Crafting table footer}}
}}


== Code ==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=7}}
| {{CodeSnip
<pre> item CannedCabbage
  | lang = java
Type = Food,
  | line = true
DisplayName = Jar of Cabbage,
  | start = 2826
Icon = JarGreen,
  | source = newitems.txt
Weight = 0.5,
  | retrieved = true
DaysFresh = 60,
  | version = 41.78.16
DaysTotallyRotten = 90,
  | code =
OnCooked           = CannedFood_OnCooked,
item CannedCabbage
IsCookable         = TRUE,
    {
MinutesToBurn   = 120,
        DisplayCategory = Food,
MinutesToCook     = 60,</pre>
        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==
==See also==
* [[Items#Pickled foods|Pickled foods]]
*[[Food#Pickled food|Pickled foods]]
* [[Farming|Farming Guide]]
*[[Farming]]
 
{{Navbox items|preserved_food}}
 


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

Latest revision as of 09:24, 14 April 2024

Project ZomboidItemsFoodPickled foodJar of Cabbage
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 Cabbage
JarFoodCabbage 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.CannedCabbage

A 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 Ingredients Tools Requirements Workstation XP
JarGreen.png
Jar of Cabbage
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Cabbage.png Cabbage ×3
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking

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 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