Jar of Broccoli: Difference between revisions

From PZwiki
m (fixed days_rotten & burn_minutes values)
m (Automated CodeBox update)
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Header|Project Zomboid|Items|Food|Pickled food}}
|display_name=Jar of Broccoli
{{Page version|41.78.16}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Jar of Broccoli
|image=JarFoodBroccoli_Model.png
|model=JarFoodBroccoli_Model.png
|image_width=200px
|icon=JarGreen.png
|alternate_image=JarGreen.png
|icon_name=Jar of Broccoli
|alternate_name=Jar of Broccoli
|alternate_link=
|alternate_image2=Broccoli.png
|alternate_link2=Broccoli
|alternate_name2=Broccoli
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 19: 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==
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.


Line 34: Line 32:
==Distribution==
==Distribution==
Jar of broccoli do not spawn naturally and can only be obtained through [[#Crafting|crafting]].
Jar of broccoli do not spawn naturally and can only be obtained through [[#Crafting|crafting]].
==Gallery==
<gallery>
JarFoodBroccoli_Model.png|Model for: [[File:JarGreen.png]]
</gallery>


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Unverified|section=true}}
{{Retrieved|version=41|incver=73}}
{{CodeBox
<pre>
| {{CodeSnip
    item CannedBroccoli
  | lang = java
  | line = true
  | start = 2843
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item CannedBroccoli
     {
     {
         DisplayCategory = Food,
         DisplayCategory = Food,
         Type = Food,
         Type = Food,
         DisplayName = Jar of Bell Peppers,
         DisplayName = Jar of Broccoli,
         Icon = JarBrown,
         Icon = JarGreen,
         Weight = 0.5,
         Weight = 0.5,
         DaysFresh = 60,
         DaysFresh = 60,
         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 = JarFoodBellPeppers_Ground,
         WorldStaticModel = JarFoodBroccoli_Ground,
     }
     }  
</pre>
}}
}}


==See also==
==See also==
Line 67: Line 68:


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