Jar of Broccoli: Difference between revisions

From PZwiki
(updated to 41.68)
m (Automated CodeBox update)
(21 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Pickled food}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 41|incver=68}}{{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=JarFoodBroccoli_Model.png
|icon=JarGreen.png
|image_width=300px
|icon_name=Jar of Broccoli
|alternate_image=JarGreen.png
|alternate_link=Jar of Broccoli
|alternate_name=
|alternate_image2=Broccoli.png
|alternate_link2=Broccoli
|alternate_name2=Broccoli
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 20: Line 14:
|burn_minutes=120
|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]].
{{Crafting header|ing=6}}
{{Crafting header|ing=6}}
Line 33: Line 30:
|}
|}


== Code ==
==Distribution==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
Jar of broccoli do not spawn naturally and can only be obtained through [[#Crafting|crafting]].
{{Retrieved|version=41|incver=68}}
 
<pre>    item CannedBroccoli
==Code==
{{Unverified|section=true}}
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 2843
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item CannedBroccoli
     {
     {
         DisplayCategory = Food,
         DisplayCategory = Food,
Line 46: Line 54:
         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 = JarFoodBroccoli_Ground,
         WorldStaticModel = JarFoodBroccoli_Ground,
     }</pre>
     }  
}}
}}


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


{{Navbox_food}}
[[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