Jar of Cabbage: Difference between revisions
VaileasysBot (talk | contribs) (→top: New infobox upgrade - Food) |
(→Code: CodeBox update) |
||
Line 30: | Line 30: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = false | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 73 | |||
| code = | |||
item CannedCabbage | |||
{ | |||
DisplayCategory = Food, | |||
Type = Food, | |||
DisplayName = Jar of Cabbage, | |||
Icon = JarGreen, | |||
Weight = 0.5, | |||
DaysFresh = 60, | |||
DaysTotallyRotten = 90, | |||
OnCooked = CannedFood_OnCooked, | |||
IsCookable = TRUE, | |||
MinutesToBurn = 120, | |||
MinutesToCook = 60, | |||
StaticModel = CanClosed, | |||
WorldStaticModel = JarFoodCabbage_Ground, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 09:55, 31 January 2024
A jar of cabbage is a perishable food item.
Usage
Jar of cabbage is used to preserve cabbage longer than their standard 2 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.
Cabbage cannot be eaten directly from the jar, therefore the jar must first be opened, returning the Cabbage, with their usual freshness.
Crafting
Cabbage 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 Cabbage |
2.5 Cooking | none | Jar (consumed) |
Jar Lid (consumed) |
Cabbage x3 (consumed) |
Water (10 units) (consumed) |
Vinegar (2 units) (consumed) |
(1 unit) (consumed) |
Code
Source: ProjectZomboid\media\scripts\newitems.txt
item CannedCabbage
{
DisplayCategory = Food,
Type = Food,
DisplayName = Jar of Cabbage,
Icon = JarGreen,
Weight = 0.5,
DaysFresh = 60,
DaysTotallyRotten = 90,
OnCooked = CannedFood_OnCooked,
IsCookable = TRUE,
MinutesToBurn = 120,
MinutesToCook = 60,
StaticModel = CanClosed,
WorldStaticModel = JarFoodCabbage_Ground,
}