Jar of Broccoli: Difference between revisions
m (Automated linking update) |
m (Automated CodeBox update) |
||
Line 38: | Line 38: | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 2843 | |||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item CannedBroccoli | |||
{ | { | ||
DisplayCategory = Food, | DisplayCategory = Food, | ||
Line 58: | Line 59: | ||
StaticModel = CanClosed, | StaticModel = CanClosed, | ||
WorldStaticModel = JarFoodBroccoli_Ground, | WorldStaticModel = JarFoodBroccoli_Ground, | ||
} | } | ||
}} | |||
}} | }} | ||
Revision as of 10:53, 26 March 2024
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 |
---|---|---|---|---|---|---|---|---|---|
Jar of Broccoli |
2.5 Cooking | none | Jar (consumed) |
Jar Lid (consumed) |
Broccoli x5 (consumed) |
Water (10 units) (consumed) |
Vinegar (2 units) (consumed) |
(1 unit) (consumed) |
Distribution
Jar of broccoli do not spawn naturally and can only be obtained through crafting.
Code
Source: ProjectZomboid\media\scripts\newitems.txt
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,
}