Jar of Broccoli: Difference between revisions

From PZwiki
No edit summary
m (Automated CodeBox update)
(22 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Jar of Broccoli}}
{{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 Broccoli
{{Infobox item
|name_colour=Food
|name=Jar of Broccoli
|name_text_colour=Food
|model=JarFoodBroccoli_Model.png
|image=JarGreen_120px.png
|icon=JarGreen.png
|alternate_image=Broccoli.png
|icon_name=Jar of Broccoli
|alternate_link=Broccoli
|alternate_name=Broccoli
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 13: Line 11:
|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
|item_id=Base.CannedBroccoli
}}A '''jar of broccoli''' is a [[Food#Perishable|perishable]] food [[item]].  
}}
 
A '''jar of broccoli''' is a perishable [[food]] [[Items|item]].


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


== 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}}
|}
 
==Distribution==
Jar of broccoli do not spawn naturally and can only be obtained through [[#Crafting|crafting]].


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


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

Revision as of 10:53, 26 March 2024

Project ZomboidItemsFoodPickled foodJar of Broccoli
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 Broccoli
JarFoodBroccoli Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Properties
Days fresh
60 days
Days until rotten
90 days
Cooking
Time until cooked
60 minutes
Time until burned
120 minutes
Technical
Item ID
Base.CannedBroccoli

A jar of broccoli is a perishable food item.

Usage

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)

Distribution

Jar of broccoli do not spawn naturally and can only be obtained through crafting.

Code

CandleLit.png
This section may have claims which require verification.
Editors should verify the article's current content and, while adding content, check new information.
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 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