Jar: Difference between revisions

From PZwiki
m (Faalagorn moved page Jar to Jar over redirect: Water containers pages don't list empty, so let's do that for empty jar as well)
m (Distribution table update)
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Tools|type=Tool|version=Version 40|incver=9}}{{Infobox item
{{Header|Project Zomboid|Items|Equipment|Tools|Cooking tools}}
|display_name=Empty Jar
{{Page version|41.78.16}}
|name_colour=Tool
{{Infobox item
|name_text_colour=Tool
|name=Empty Jar
|model=JarEmpty_Model.png
|model=JarEmpty_Model.png
|icon=JarEmpty2.png
|icon=JarEmpty2.png
|icon_name=Empty Jar
|icon_name=Empty Jar
|model2=JarLid_Model.png
|icon2=JarLid.png
|icon2=JarLid.png
|icon_name2=Jar Lid
|icon_name2=Jar Lid
|model3=JarBox_Model.png
|icon3=JarBox.png
|icon3=JarBox.png
|icon_name3=Box of Jars
|icon_name3=Box of Jars
|category=Item
|category=Item
|weight=0.2
|weight=0.2 <small>(Jar)</small><br>0.1 <small>(Lid)</small><br>1.8 <small>(Box)</small>
|primary_use=[[Cooking]] utensil
|function=[[Cooking]] utensil
|class_name=Base.EmptyJar
|item_id=Base.EmptyJar<br>Base.JarLid<br>Base.BoxOfJars
}}{{quote|text=Can be used to pickle food. Requires jar lid.|author=In-game tooltip}}
}}
An '''empty jar''' is a tool used in [[cooking]].
{{Quote|text=Can be used to pickle food. Requires jar lid.|author=In-game tooltip}}
A '''jar''' is a tool used in [[cooking]].


==Usage==
==Usage==
An empty jar, along with a '''jar lid''', can be used to pickle certain foods, preserving them for a much longer time. Jarred food is fresh for 60 days and stale for another 30 days.
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.


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.<br><br>
Upon opening a jar, the empty jar and vegetables are returned to the character. The jar lid is not reusable.
Upon opening a jar, the empty jar and vegetables are returned to the character. The jar lid is not reusable.


==Crafting==
==Crafting==
{{Crafting header|ing=1}}
{{Crafting/sandbox2
{{Crafting general|023|ing=1}}
|empty_jar
|}
}}


===Cooking===
===Cooking===
{{Main|Cooking}}
{{Main|Cooking}}
{{Crafting header|type=food|ing=6}}
{{Crafting/sandbox2
{{Crafting cooking|022|ing=6}}
|jar_of_bell_peppers
{{Crafting cooking|023|ing=6}}
|jar_of_broccoli
{{Crafting cooking|024|ing=6}}
|jar_of_cabbage
{{Crafting cooking|025|ing=6}}
|jar_of_carrots
{{Crafting cooking|026|ing=6}}
|jar_of_eggplants
{{Crafting cooking|027|ing=6}}
|jar_of_leeks
{{Crafting cooking|028|ing=6}}
|jar_of_potatoes
{{Crafting cooking|029|ing=6}}
|jar_of_red_radishes
{{Crafting cooking|030|ing=6}}
|jar_of_tomatoes
|}
}}


==Distribution==
==Distribution==
Empty jars and jar lids are quite rare and can be found in kitchen [[Containers#Counters|counters]], tool stores, bars, and cafes.
The loot distributions can be found in the table(s) below.
 
A box of jars is very rare, only appearing in houseware stores, grocery store counters, rural supply stores, and rarely in houses.
 


==Gallery==
<!--BOT FLAG|EmptyJar|41.78.16-->
<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">
{{clear}}
JarEmpty_Model.png|Model for an empty jar.
<div class="togglebox theme-red">
JarLid_Model.png|Model for a jar lid.
    <div>EmptyJar distribution
JarBox_Model.png|Model for a box of jars.
        <span class="mw-customtoggle-togglebox-EmptyJar" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
</gallery>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-EmptyJar">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|other}}
    | 1
    | 0.5
    |-
    | bedroom
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | bedroom
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | bedroom
    | {{ll|crate}}
    | 1
    | 1.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | empty
    | {{ll|crate}}
    | 4
    | 0.5
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-EmptyJar" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|EmptyJar|41.78.16-->


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


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


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


==See also==
==See also==
Line 103: Line 182:
*[[Items#Food preservation|Food preservation]]
*[[Items#Food preservation|Food preservation]]


{{Navbox equipment}}
{{Navbox items|tools}}
 
 
[[Category:Tools]]

Revision as of 15:49, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Empty 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 Ingredients Tools Requirements Workstation XP
JarEmpty2.png
Empty Jar ×6
JarBox.png Box of Jars ×1 none none none none

Cooking

Main article: Cooking
Product Ingredients Tools Requirements Workstation XP
JarBrown.png
Jar of Bell Peppers
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
BellPepper.png Bell Pepper ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarGreen.png
Jar of Broccoli
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Broccoli.png Broccoli ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarGreen.png
Jar of Cabbage
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Cabbage.png Cabbage ×3
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarBrown.png
Jar of Carrots
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Carrots.png Carrots ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JamPurple.png
Jar of Eggplants
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Eggplant.png Eggplant ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarWhite.png
Jar of Leeks
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Leek.png Leek ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarWhite.png
Jar of Potatoes
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Potato.png Potato ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarBrown.png
Jar of Radishes
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Radish.png Radish ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarBrown.png
Jar of Tomatoes
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Tomato.png Tomato ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking

Distribution

The loot distributions can be found in the table(s) below.

EmptyJar distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all other 1 0.5
bedroom crate 4 10.0
bedroom crate 4 20.0
bedroom crate 1 1.0
closet crate 4 20.0
closet crate 4 10.0
empty crate 4 0.5
kitchen counter 4 8.0

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