Jar: Difference between revisions

From PZwiki
m (updated where you can find them)
(Update distribution file)
 
(30 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Empty Jar}}
{{Header|Project Zomboid|Items|Equipment|Tools|Cooking tools}}
{{header|The Game World|Items|Tools|type=Tool|version=Version 40|incver=9}}{{Infobox normal
{{Page version|41.78.16}}
|display_name = Empty Jar
{{Infobox item
|name_colour = Tool
|name=Empty Jar
|name_text_colour = Tool
|model=JarEmpty_Model.png
|image = JarEmpty2_120px.png  
|icon=JarEmpty2.png
|alternate_image=JarLid.png
|icon_name=Empty Jar
|alternate_name=Jar Lid
|model2=JarLid_Model.png
|alternate_link=
|icon2=JarLid.png
|alternate_image2=JarBox.png
|icon_name2=Jar Lid
|alternate_name2=Box of Jars
|model3=JarBox_Model.png
|alternate_link2=
|icon3=JarBox.png
|category = Item
|icon_name3=Box of Jars
|weight = 0.2
|category=Item
|primary_use = [[Cooking]] utensil
|weight=0.2 <small>(Jar)</small><br>0.1 <small>(Lid)</small><br>1.8 <small>(Box)</small>
|class_name = Base.EmptyJar
|function=[[Cooking]] utensil
}}{{quote|text=Can be used to pickle food. Requires jar lid.|author=In-game tooltip}}
|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}}
A '''jar''' is a tool used in [[cooking]].


An '''empty 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.


==Usage==
==Crafting==
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.<br><br>
{{Crafting/sandbox2
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>
|empty_jar
Upon opening a jar, the empty jar and vegetables are returned to the character. The jar lid is not reusable.
}}
== Crafting ==
{{Crafting header|ing=1}}
{{Crafting general|023|ing=1}}
{{Crafting table footer}}


===Cooking===
===Cooking===
{{Main|Cooking}}
{{Main|Cooking}}
{{Crafting header|type=food|ing=6}}
{{Crafting/sandbox2
{{Crafting cooking|022|ing=6}} {{Crafting cooking|023|ing=6}} {{Crafting cooking|024|ing=6}} {{Crafting cooking|025|ing=6}} {{Crafting cooking|026|ing=6}} {{Crafting cooking|027|ing=6}} {{Crafting cooking|028|ing=6}} {{Crafting cooking|029|ing=6}} {{Crafting cooking|030|ing=6}}
|jar_of_bell_peppers
{{Crafting table footer}}
|jar_of_broccoli
|jar_of_cabbage
|jar_of_carrots
|jar_of_eggplants
|jar_of_leeks
|jar_of_potatoes
|jar_of_red_radishes
|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.
<!--BOT FLAG|EmptyJar|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>EmptyJar distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-EmptyJar">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Chef
    | {{ll|crate}}
    | 23.28%
    |-
    | Chef
    | {{ll|crate}}
    | 41.14%
    |-
    | Chef
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | Chef
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | all
    | {{ll|other}}
    | 0.71%
    |-
    | bedroom
    | {{ll|crate}}
    | 1.01%
    |-
    | bedroom
    | {{ll|crate}}
    | 23.28%
    |-
    | bedroom
    | {{ll|crate}}
    | 41.14%
    |-
    | closet
    | {{ll|crate}}
    | 1.01%
    |-
    | closet
    | {{ll|crate}}
    | 23.28%
    |-
    | closet
    | {{ll|crate}}
    | 41.14%
    |-
    | empty
    | {{ll|crate}}
    | 2.81%
    |-
    | garagestorage
    | {{ll|crate}}
    | 1.01%
    |-
    | garagestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | garagestorage
    | {{ll|crate}}
    | 41.14%
    |-
    | hall
    | {{ll|counter}}
    | 2.81%
    |-
    | jewelrystore
    | {{ll|counter}}
    | 2.81%
    |-
    | kitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | kitchen
    | {{ll|crate}}
    | 23.28%
    |-
    | kitchen
    | {{ll|crate}}
    | 41.14%
    |-
    | livingroom
    | {{ll|counter}}
    | 19.27%
    |-
    | lobby
    | {{ll|counter}}
    | 2.81%
    |-
    | plazastore1
    | {{ll|counter}}
    | 2.81%
    |-
    | storageunit
    | {{ll|crate}}
    | 1.01%
    |-
    | storageunit
    | {{ll|crate}}
    | 23.28%
    |-
    | storageunit
    | {{ll|crate}}
    | 41.14%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 1.01%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 41.14%
    |}
</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> item EmptyJar
  | lang = java
Type = Normal,
  | line = true
DisplayName = Empty Jar,
  | start = 2683
Icon = JarEmpty2,
  | source = newitems.txt
Weight = 0.2,
  | retrieved = true
Tooltip = Tooltip_Jar,</pre>
  | version = 41.78.16
  | code =
item JarLid
    {
        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> item JarLid
  | lang = java
Type = Normal,
  | line = true
DisplayName = Jar Lid,
  | start = 207
Icon = JarLid,
  | source = newitems.txt
Weight = 0.1,
  | retrieved = true
MetalValue = 10,</pre>
  | version = 41.78.16
  | code =
item BoxOfJars
    {
        DisplayCategory = Material,
        DisplayCategory = Cooking,
        Weight = 1.8,
        Type = Normal,
        DisplayName = Box of Jars,
        Icon = JarBox,
        SurvivalGear = TRUE,
        WorldStaticModel = BoxOfJars,
    }
}}
}}


''Box of Jars'' [[File:JarBox.png]]
==See also==
{{Retrieved|version=40|incver=9}}
*[[Jar Lid]]
<pre>    item BoxOfJars
*[[Sugar]]
Weight = 1.8,
*[[Vinegar]]
Type = Normal,
*[[Items#Food preservation|Food preservation]]
DisplayName = Box of Jars,
 
Icon = JarBox,</pre>
{{Navbox items|tools}}


==See also==
* [[Jar Lid]]
* [[Sugar]]
* [[Vinegar]]
* [[Items#Food preservation|Food preservation]]


{{Navbox/Tools}}
[[Category:Tools]]

Latest revision as of 13:02, 30 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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Chef crate 23.28%
Chef crate 41.14%
Chef metal_shelves 23.28%
Chef metal_shelves 41.14%
all other 0.71%
bedroom crate 1.01%
bedroom crate 23.28%
bedroom crate 41.14%
closet crate 1.01%
closet crate 23.28%
closet crate 41.14%
empty crate 2.81%
garagestorage crate 1.01%
garagestorage crate 23.28%
garagestorage crate 41.14%
hall counter 2.81%
jewelrystore counter 2.81%
kitchen counter 19.27%
kitchen crate 23.28%
kitchen crate 41.14%
livingroom counter 19.27%
lobby counter 2.81%
plazastore1 counter 2.81%
storageunit crate 1.01%
storageunit crate 23.28%
storageunit crate 41.14%
storageunit metal_shelves 1.01%
storageunit metal_shelves 23.28%
storageunit metal_shelves 41.14%

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