Jar of Tomatoes: Difference between revisions
(→Code: CodeBox update) |
m (Automated Formatting) |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Pickled food}} | ||
{{Page version|41.78.16}} | |||
{{ | |||
{{Infobox item | {{Infobox item | ||
|name=Jar of Tomatoes | |name=Jar of Tomatoes | ||
Line 7: | Line 6: | ||
|icon=JarBrown.png | |icon=JarBrown.png | ||
|icon_name=Jar of Tomatoes | |icon_name=Jar of Tomatoes | ||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 19: | Line 15: | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|item_id=Base.CannedTomato | |item_id=Base.CannedTomato | ||
}}'''Jar of tomatoes''' is a [[ | }} | ||
'''Jar of tomatoes''' is a perishable [[food]] [[Items|item]]. | |||
==Usage== | ==Usage== | ||
Jar of tomatoes is used to preserve [[tomato]]es 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. | Jar of tomatoes is used to preserve [[tomato]]es 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. | ||
Tomatoes cannot be eaten directly from the jar, therefore the jar must first be opened, returning the tomatoes, with their usual freshness. | Tomatoes cannot be eaten directly from the jar, therefore the jar must first be opened, returning the tomatoes, with their usual freshness. | ||
==Crafting== | ==Crafting== | ||
Tomatoes can be pickled to preserve their lifespan by using [[sugar]] and [[vinegar]]. | Tomatoes can be pickled to preserve their lifespan by using [[sugar]] and [[vinegar]]. | ||
{{Crafting | {{Crafting/sandbox2 | ||
|jar_of_tomatoes | |||
}} | |||
==Code== | ==Code== | ||
Line 35: | Line 33: | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 2707 | |||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item CannedTomato | item CannedTomato | ||
{ | { | ||
DisplayCategory = Food, | |||
Type = Food, | |||
DisplayName = Jar of Tomatoes, | |||
Icon = JarBrown, | |||
Weight = 0.5, | |||
DaysFresh = 60, | |||
DaysTotallyRotten = 90, | |||
OnCooked = CannedFood_OnCooked, | |||
IsCookable = TRUE, | |||
MinutesToBurn = 120, | |||
MinutesToCook = 60, | |||
StaticModel = CanClosed, | |||
WorldStaticModel = JarFoodTomatoes_Ground, | |||
} | } | ||
}} | |||
}} | }} | ||
Line 64: | Line 62: | ||
*[[Farming]] | *[[Farming]] | ||
{{Navbox | {{Navbox items|preserved_food}} | ||
[[Category:Perishable food]] | [[Category:Perishable food]] | ||
[[Category:Vegetables]] | [[Category:Vegetables]] |
Latest revision as of 09:25, 14 April 2024
Jar of tomatoes is a perishable food item.
Usage
Jar of tomatoes is used to preserve tomatoes 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.
Tomatoes cannot be eaten directly from the jar, therefore the jar must first be opened, returning the tomatoes, with their usual freshness.
Crafting
Tomatoes can be pickled to preserve their lifespan by using sugar and vinegar.
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Jar of Tomatoes |
One of: Brown Sugar ×1 Sugar ×1 Sugar Packet ×1 Each of: Jar ×1 Jar Lid ×1 Tomato ×5 Water ×10 unit(s) Vinegar ×2 unit(s) |
none | none | none | 2.5 Cooking |
Code
Source: ProjectZomboid\media\scripts\newitems.txt
item CannedTomato
{
DisplayCategory = Food,
Type = Food,
DisplayName = Jar of Tomatoes,
Icon = JarBrown,
Weight = 0.5,
DaysFresh = 60,
DaysTotallyRotten = 90,
OnCooked = CannedFood_OnCooked,
IsCookable = TRUE,
MinutesToBurn = 120,
MinutesToCook = 60,
StaticModel = CanClosed,
WorldStaticModel = JarFoodTomatoes_Ground,
}