Jar of Broccoli: Difference between revisions

From PZwiki
No edit summary
(updated to 41.68)
Line 1: Line 1:
{{languages|Jar of Broccoli}}
{{languages}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 40|incver=7}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 41|incver=68}}{{Infobox food
|display_name=Jar of Broccoli
|display_name=Jar of Broccoli
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=JarGreen_120px.png
|image=JarFoodBroccoli_Model.png
|alternate_image=Broccoli.png
|image_width=300px
|alternate_link=Broccoli
|alternate_image=JarGreen.png
|alternate_name=Broccoli
|alternate_link=Jar of Broccoli
|alternate_name=
|alternate_image2=Broccoli.png
|alternate_link2=Broccoli
|alternate_name2=Broccoli
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 13: Line 17:
|days_fresh=60
|days_fresh=60
|days_rotten=90
|days_rotten=90
|cook_minutes=60
|burn_minutes=120
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CannedBroccoli
|class_name=Base.CannedBroccoli
Line 23: Line 29:
== Crafting ==
== Crafting ==
Broccoli can be pickled to preserve their lifespan by using [[sugar]] and [[vinegar]].
Broccoli can be pickled to preserve their lifespan by using [[sugar]] and [[vinegar]].
{{Cooking table header}}
{{Crafting header|ing=6}}
{{RecipeLookup|2061}}
{{Crafting cooking|023|ing=6}}
{{Crafting table footer}}
|}


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


==See also==
==See also==
* [[Items#Pickled foods|Pickled foods]]
* [[Items/Food#Pickled food|Pickled foods]]
* [[Farming|Farming Guide]]
* [[Farming|Farming Guide]]


{{Navbox/Consumables}}
{{Navbox_food}}

Revision as of 12:55, 12 March 2022

Jar of Broccoli
Jar of Broccoli
JarGreen.png Broccoli
General
Category Food
Encumbrance
Heavy Load
0.5
Days until stale 60 days
Days until rotten 90 days
Cooking
Time until cooked 60 minutes
Time until burned 120 minutes
Technical details
Item ID Base.CannedBroccoli

A jar of broccoli is a perishable food item.

Usage

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

Crafting

Broccoli 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 Broccoli
2.5 Cooking none JarEmpty2.png
Jar
(consumed)
Jar Lid
Jar Lid
(consumed)
Broccoli.png
Broccoli x5
(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.68

    item CannedBroccoli
    {
        DisplayCategory = Food,
        Type				=		Food,
        DisplayName			=		Jar of Broccoli,
        Icon				=		JarGreen,
        Weight				=		0.5,
        DaysFresh 			=		60,
        DaysTotallyRotten 	=	 	90,
        OnCooked            =       CannedFood_OnCooked,
	IsCookable	        =	    TRUE,
        MinutesToBurn	    =	    120,
        MinutesToCook	    =	    60,
        StaticModel = CanClosed,
        WorldStaticModel = JarFoodBroccoli_Ground,
    }

See also