Broccoli: Difference between revisions

From PZwiki
(add3d 3d model to infobox)
(Added information about sacks, updated code box)
Line 56: Line 56:
Broccoli is a [[cooking]] [[Recipe Ingredients|ingredient]].
Broccoli is a [[cooking]] [[Recipe Ingredients|ingredient]].
{{EvolvedRecipesForItem|Pizza=9|Omelette=9|Soup=9|Stew=9|Pie=9|StirFry=9|Salad=9|RoastedVegetables=9|Rice=9|Pasta=9|}}
{{EvolvedRecipesForItem|Pizza=9|Omelette=9|Soup=9|Stew=9|Pie=9|StirFry=9|Salad=9|RoastedVegetables=9|Rice=9|Pasta=9|}}
===Sack of Broccoli===
{{Crafting header|ing=1}}
{{Crafting general|050|ing=1}}
|}


==Distribution==
==Distribution==
Broccoli is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
Broccoli is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
Sacks of broccoli can be found in grocery stores and warehouses.


===Farming===
===Farming===
Line 76: Line 83:


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|[[File:Broccoli.png]] {{ID|Base.Broccoli}}<br>
{{Retrieved|version=41|incver=73}}
{{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 1151
  | source = items_food.txt
  | retrieved = true
  | version = 41
  | incver = 78.16
  | code =
item Broccoli
item Broccoli
{
DisplayName = Broccoli,
DisplayName = Broccoli,
DisplayCategory = Food,
DisplayCategory = Food,
Line 97: Line 112:
StaticModel = CylinderFood_Green,
StaticModel = CylinderFood_Green,
WorldStaticModel = Broccoli_Ground,
WorldStaticModel = Broccoli_Ground,
</pre>
}
}}


<pre>
[[File:Sandbag.png]] {{ID|Base.SackProduce_Broccoli}}<br>
item BloomingBroccoli
{{CodeSnip
Type = Food,
  | lang = java
DisplayName = Seeding Broccoli,
  | line = true
Icon = TZ_BloomingBroccoli,
  | start = 8044
Weight = 0.1,
  | source = items_food.txt
HungerChange = -10,
  | retrieved = true
DaysFresh = 4,
  | version = 41
DaysTotallyRotten = 7,
  | incver = 78.16
        Carbohydrates = 2.06,
  | code =
        Proteins = 0.87,
item SackProduce_Broccoli
        Lipids = 0.11,
{
        Calories = 11,
DisplayName = Sack of Broccoli,
</pre>
DisplayCategory = Food,
Type = Food,
Weight = 2,
Icon = Sandbag,
CantEat = TRUE,
DaysFresh = 4,
DaysTotallyRotten = 6,
WorldStaticModel = SandBag,
}
}}
}}


{{Navbox food}}
{{Navbox food}}

Revision as of 13:22, 14 January 2024

Broccoli
Broccoli
Broccoli Broccoli (Rotten)
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 4 days
Days until rotten 6 days
Nutrition
Hunger
Hunger
-9
Thirst
Thirst
-4
Calories
Calories
11
Carbohydrates
Carbohydrates
2.06
Proteins
Proteins
0.87
Fat
Fat
0.11
Technical details
Item ID Base.Broccoli

Broccoli is a perishable food item.

Usage

Consumable properties

Broccoli can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.

Fresh Stale Rotten

Broccoli.png
Hunger: -9


Broccoli.png
Hunger: -6
Boredom: +10
Unhappiness: +10

Rotten Broccoli.png
Hunger: -4
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Broccoli can be preserved to extend its lifespan by using a jar.

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)

Evolved recipes

Broccoli is a cooking ingredient.

Product Nutrition
Soup
Soup
9
Stew
Stew
9
Salad
Salad
9
Stir Fry
Stir Fry
9
Roasted Vegetables
Roasted Vegetables
9
Pie (savory)
Pie (savory)
9
Rice Pot/Saucepan
Rice Pot/Saucepan
9
Pasta Pot/Saucepan
Pasta Pot/Saucepan
9
Omelette
Omelette
9
Pizza
Pizza
9

Sack of Broccoli

Product XP gained Skill(s) Recipe Ingredient 1
Broccoli.png
Broccoli x12
0 XP none Sandbag.png
Sack of Broccoli
(consumed)

Distribution

Broccoli is often found in refrigerators and grocery displays.

Sacks of broccoli can be found in grocery stores and warehouses.

Farming

Broccoli can be grown by farming with broccoli seeds.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
Broccoli CropB.png
Broccoli (crop)
0 XP none Plowed land.png
Plowed Land
(consumed)
TZ BroccoliSeeds.png
Broccoli Seeds x6
(consumed)
WaterDrop.png
Water
(70+ units)

(consumed)

Trivia

  • There is a Seeding Broccoli item in the game files that can be spawned in debug mode. Seeding Broccoli is non-obtainable and there is no mention of it in any changelog and likely just a remnant from the mod created by RJ merged with PZ in 2012.

Gallery

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Broccoli.png Base.Broccoli
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item Broccoli
	{
		DisplayName = Broccoli,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Broccoli,
		EvolvedRecipe = Pizza:9;Omelette:9;Soup:9;Stew:9;Pie:9;Stir fry Griddle Pan:9;Stir fry:9;Salad:9;Roasted Vegetables:9;RicePot:9;RicePan:9;PastaPot:9;PastaPan:9,
		FoodType = Vegetables,
		DaysFresh = 4,
		DaysTotallyRotten = 6,
		HungerChange = -9,
		ThirstChange = -4,
		Calories = 11,
		Carbohydrates = 2.06,
		Lipids = 0.11,
		Proteins = 0.87,
		StaticModel = CylinderFood_Green,
		WorldStaticModel = Broccoli_Ground,
	}

Sandbag.png Base.SackProduce_Broccoli
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item SackProduce_Broccoli
	{
		DisplayName = Sack of Broccoli,
		DisplayCategory = Food,
		Type = Food,
		Weight = 2,
		Icon = Sandbag,
		CantEat = TRUE,
		DaysFresh = 4,
		DaysTotallyRotten = 6,
		WorldStaticModel = SandBag,
	}