Jar: Difference between revisions

From PZwiki
(added models to infobox & updated weight)
(Update codebox, Remove gallery, update to B41)
Line 1: Line 1:
{{Languages}}
{{Languages}}
{{Header|Project Zomboid|Items|Tools|type=Tool|version=Version 40|incver=9}}
{{Header|Project Zomboid|Items|Tools|type=Tool|version=Version 41|incver=78.16}}
{{Infobox item
{{Infobox item
|display_name=Empty Jar
|display_name=Empty Jar
Line 52: Line 52:


A box of jars is very rare, only appearing in houseware stores, grocery store counters, rural supply stores, and rarely in houses.
A box of jars is very rare, only appearing in houseware stores, grocery store counters, rural supply stores, and rarely in houses.
==Gallery==
<gallery style="image-rendering:optimizeSpeed;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:optimize-contrast;image-rendering:pixelated;image-rendering:crisp-edges;-ms-interpolation-mode:nearest-neighbor">
JarEmpty_Model.png|Model for an empty jar. 
JarLid_Model.png|Model for a jar lid.
JarBox_Model.png|Model for a box of jars.
</gallery>


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|[[File:JarEmpty2.png]] {{ID|EmptyJar}}<br>
 
{{CodeSnip
''Empty Jar'' [[File:JarEmpty2.png]]
  | lang = java
{{Retrieved|version=40|incver=9}}
  | line = true
<pre>
  | start = 2671
item EmptyJar
  | source = newitems.txt
{
  | retrieved = true
Type = Normal,
  | version = 41.78.16
DisplayName = Empty Jar,
  | code =
Icon = JarEmpty2,
    item EmptyJar
Weight = 0.2,
{
Tooltip = Tooltip_Jar,
    DisplayCategory = Cooking,
}
Type = Normal,
</pre>
DisplayName = Empty Jar,
Icon = JarEmpty2,
Weight = 0.2,
Tooltip = Tooltip_Jar,
SurvivalGear = TRUE,
WorldStaticModel = EmptyJar,
}
}}


''Jar Lid'' [[File:JarLid.png]]
[[File:JarLid.png]] {{ID|JarLid}}<br>
{{Retrieved|version=40|incver=9}}
{{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 2683
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item JarLid
item JarLid
{
    {
Type = Normal,
        DisplayCategory = Cooking,
DisplayName = Jar Lid,
        Type = Normal,
Icon = JarLid,
        DisplayName = Jar Lid,
Weight = 0.1,
        Icon = JarLid,
MetalValue = 10,
        Weight = 0.1,
}
        MetalValue = 10,
</pre>
        SurvivalGear = TRUE,
        WorldStaticModel = LidJar,
    }
}}


''Box of Jars'' [[File:JarBox.png]]
[[File:JarBox.png]] {{ID|BoxOfJars}}<br>
{{Retrieved|version=40|incver=9}}
{{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 207
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
     item BoxOfJars
     item BoxOfJars
{
    {
Weight = 1.8,
        DisplayCategory = Material,
Type = Normal,
        DisplayCategory = Cooking,
DisplayName = Box of Jars,
        Weight = 1.8,
Icon = JarBox,
        Type = Normal,
}
        DisplayName = Box of Jars,
 
        Icon = JarBox,
</pre>
        SurvivalGear = TRUE,
        WorldStaticModel = BoxOfJars,
    }
}}
}}


==See also==
==See also==

Revision as of 09:54, 2 February 2024

Jar
JarEmpty Model.png
JarLid Model.png
JarBox Model.png
General
Category
Item
Encumbrance
Moodle Icon HeavyLoad.png
0.2 (Jar)
0.1 (Lid)
1.8 (Box)
Function
Cooking utensil
Technical
Item ID
Base.EmptyJar
Base.JarLid
Base.BoxOfJars
Can be used to pickle food. Requires jar lid.
— In-game tooltip

A jar is a tool used in cooking.

Usage

An empty jar, along with a jar lid, can be used to pickle certain foods, preserving them for a much longer time. Box or jars can be unpacked for 6 jars. Jarred food is fresh for 60 days and stale for another 30 days.

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.

Upon opening a jar, the empty jar and vegetables are returned to the character. The jar lid is not reusable.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1
JarEmpty2.png
Empty Jar x6
0 XP none Box of Jars
Box of Jars
(consumed)

Cooking

Main article: Cooking
Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5 Ingredient 6
JarBrown.png
Jar of Bell Peppers
2.5 Cooking none JarEmpty2.png
Jar
(consumed)
Jar Lid
Jar Lid
(consumed)
BellPepper.png
Bell Pepper x5
(consumed)
WaterDrop.png
Water
(10 units)

(consumed)
Vinegar.png
Vinegar
(2 units)

(consumed)

(1 unit)

(consumed)
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)
JarGreen.png
Jar of Cabbage
2.5 Cooking none JarEmpty2.png
Jar
(consumed)
Jar Lid
Jar Lid
(consumed)
Cabbage.png
Cabbage x3
(consumed)
WaterDrop.png
Water
(10 units)

(consumed)
Vinegar.png
Vinegar
(2 units)

(consumed)

(1 unit)

(consumed)
JarBrown.png
Jar of Carrots
2.5 Cooking none JarEmpty2.png
Jar
(consumed)
Jar Lid
Jar Lid
(consumed)
Carrots.png
Carrots x5
(consumed)
WaterDrop.png
Water
(10 units)

(consumed)
Vinegar.png
Vinegar
(2 units)

(consumed)

(1 unit)

(consumed)
JamPurple.png
Jar of Eggplants
2.5 Cooking none JarEmpty2.png
Jar
(consumed)
Jar Lid
Jar Lid
(consumed)
Eggplant.png
Eggplant x5
(consumed)
WaterDrop.png
Water
(10 units)

(consumed)
Vinegar.png
Vinegar
(2 units)

(consumed)

(1 unit)

(consumed)
JarWhite.png
Jar of Leeks
2.5 Cooking none JarEmpty2.png
Jar
(consumed)
Jar Lid
Jar Lid
(consumed)
Leek.png
Leek x5
(consumed)
WaterDrop.png
Water
(10 units)

(consumed)
Vinegar.png
Vinegar
(2 units)

(consumed)

(1 unit)

(consumed)
JarWhite.png
Jar of Potatoes
2.5 Cooking none JarEmpty2.png
Jar
(consumed)
Jar Lid
Jar Lid
(consumed)
Potato.png
Potato x5
(consumed)
WaterDrop.png
Water
(10 units)

(consumed)
Vinegar.png
Vinegar
(2 units)

(consumed)

(1 unit)

(consumed)
JarBrown.png
Jar of Radishes
2.5 Cooking none JarEmpty2.png
Jar
(consumed)
Jar Lid
Jar Lid
(consumed)
Radish.png
Radish x5
(consumed)
WaterDrop.png
Water
(10 units)

(consumed)
Vinegar.png
Vinegar
(2 units)

(consumed)

(1 unit)

(consumed)
JarBrown.png
Jar of Tomatoes
2.5 Cooking none JarEmpty2.png
Jar
(consumed)
Jar Lid
Jar Lid
(consumed)
Tomato.png
Tomato x5
(consumed)
WaterDrop.png
Water
(10 units)

(consumed)
Vinegar.png
Vinegar
(2 units)

(consumed)

(1 unit)

(consumed)

Distribution

Empty jars and jar lids are quite rare and can be found in kitchen counters, tool stores, bars, and cafes.

A box of jars is very rare, only appearing in houseware stores, grocery store counters, rural supply stores, and rarely in houses.

Code

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

JarEmpty2.png EmptyJar
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item EmptyJar
	{
	    DisplayCategory = Cooking,
		Type				=		Normal,
		DisplayName			=		Empty Jar,
		Icon				=		JarEmpty2,
		Weight				=		0.2,
		Tooltip = Tooltip_Jar,
		SurvivalGear = TRUE,
		WorldStaticModel = EmptyJar,
	}

JarLid.png JarLid
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item JarLid
    {
        DisplayCategory = Cooking,
        Type				=		Normal,
        DisplayName			=		Jar Lid,
        Icon				=		JarLid,
        Weight				=		0.1,
        MetalValue = 10,
        SurvivalGear = TRUE,
        WorldStaticModel = LidJar,
    }

JarBox.png BoxOfJars
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item BoxOfJars
    {
        DisplayCategory = Material,
        DisplayCategory = Cooking,
        Weight	=	1.8,
        Type	=	Normal,
        DisplayName	=	Box of Jars,
        Icon	=	JarBox,
        SurvivalGear = TRUE,
        WorldStaticModel = BoxOfJars,
    }

See also