Jar of Cabbage: Difference between revisions

From PZwiki
(rename)
 
(New infobox + new layout)
Line 1: Line 1:
{{languages}}{{Notice|Short}}
{{languages|Jar of Cabbage}}
 
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Consumables
|display_name=Jar of Cabbage
|image = JarGreen.png
|name_colour=Food
|weight = 0.5
|name_text_colour=Food
}}
|image=JarGreen_120px.png
 
|alternate_image=Cabbage.png
|alternate_link=Cabbage
|alternate_name=Cabbage
<!--GENERAL-->
|category=Food
|weight=0.5
|days_fresh=60
|days_rotten=90
<!--TECHNICAL DETAILS-->
|class_name=Base.CannedCabbage
}}A '''jar of cabbage''' is a [[Food#Perishable|perishable]] food [[item]].


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


== Crafting ==
== Crafting ==
consumption <br>
Cabbage can be pickled to preserve their lifespan by using [[sugar]] and [[vinegar]].
[[File:Water_drop.png|18px|link=Water|Water]] [[Water|Water]] x10 = [[File:UTENSILEmptyWaterBottle.png|18px|link=Water Bottle|Water Bottle]] [[Water Bottle|Water Bottle]](Full)<br>
{{Crafting table header}}
[[File:Vinegar.png|18px|link=Vinegar|Vinegar]] [[Vinegar|Vinegar]] (UseDelta=0.1) x2 = '''0.2'''<br>
[[File:INGREDIENTSugar.png|18px|link=Sugar|Sugar]] [[Sugar|Sugar]] (UseDelta=0.16) x1 = '''0.16''' 
{| class="wikitable sortable" style="text-align:center;"
|-
! Name
! class="unsortable" | Recipe
! class="unsortable" | Description
! Crafting Level
{{RecipeLookup|2060}}
{{RecipeLookup|2060}}
|}
{{Crafting table footer}}


== Code ==
== Code ==
<nowiki>item CannedCabbage
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
    {
{{Retrieved|version=40|incver=7}}
        Type = Food,
<pre> item CannedCabbage
        DisplayName = Jar of Cabbage,
Type = Food,
        Icon = JarGreen,
DisplayName = Jar of Cabbage,
        Weight = 0.5,
Icon = JarGreen,
        DaysFresh = 60,
Weight = 0.5,
        DaysTotallyRotten = 90,
DaysFresh = 60,
        OnCooked           =       CannedFood_OnCooked,
DaysTotallyRotten = 90,
IsCookable         =     TRUE,
OnCooked           = CannedFood_OnCooked,
        MinutesToBurn     =     120,
IsCookable         = TRUE,
        MinutesToCook     =     60,
MinutesToBurn   = 120,
    }</nowiki>
MinutesToCook     = 60,</pre>
 
== History ==
 
{| class="wikitable" width="550" style="text-align:center;"
|-
! Alpha || 
|-
| - || -
|}


==See Also==
==See also==
* [[Items#Food_preservation|Food_preservation]]
* [[Items#Pickled foods|Pickled foods]]
* [[Farming|Farming Guide]]


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Food]]
[[Category:Perishable Food]]

Revision as of 15:35, 18 August 2018

Jar of Cabbage
Jar of Cabbage
Cabbage
General
Category Food
Encumbrance
Heavy Load
0.5
Days until stale 60 days
Days until rotten 90 days
Technical details
Item ID Base.CannedCabbage

A jar of cabbage is a perishable food item.

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.

Crafting

Cabbage can be pickled to preserve their lifespan by using sugar and vinegar. Template:Crafting table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Code

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

	item CannedCabbage
		Type			= Food,
		DisplayName		= Jar of Cabbage,
		Icon			= JarGreen,
		Weight			= 0.5,
		DaysFresh 		= 60,
		DaysTotallyRotten 	= 90,
		OnCooked            	=  CannedFood_OnCooked,
		IsCookable	        = TRUE,
		MinutesToBurn	   	= 120,
		MinutesToCook	    	= 60,

See also

Template:Navbox/Consumables