Locket: Difference between revisions

From PZwiki
(added "languages")
(Update distribution file)
 
(32 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages|Locket}}
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}}
{{Items
{{Page version|41.78.16}}
|image = Locket.png  
{{Reupload|Missing 3D model}}
|weight = 0.5
{{Infobox item
|name=Locket
<!--|model=Locket_Model.png --COMMENT: model image to go here -->
|icon=Locket.png
|category=Junk
|weight=0.5
|function=''None''
|material=Metal
|material_value=10
|item_id=Base.Locket
}}
}}
A '''locket''' is currently a useless item, and often considered as ''junk''.


A rare jewelry item found on corpses that currently has no current use. Two vaguely recognizable human faces can be found on the icon
==Usage==
A locket is a jewelry item and has no use, being added purely for the purpose of clutter, creating more realism for the player when looting.


<!--== Crafting ==
==Distribution==
ITEM NAME can be used in the following recipes:
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|Locket|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Locket distribution
        <span class="mw-customtoggle-togglebox-Locket" 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-Locket">
    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
    |-
    | all
    | {{ll|inventoryfemale}}
    | 1.01%
    |-
    | all
    | {{ll|inventorymale}}
    | 1.01%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Locket" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Locket|41.78.16-->


{| class="wikitable" width="550" style="text-align:center;"
A locket can be found on corpses, in [[purse]]s and in some stores.
|-
! Ingredients || Other Items || Output || Description
|-
| Ingredient + [[Ingredient]] || None || [[What the recipe makes]] || Brief description of what it makes.
|}-->


== Code ==
==Code==
<nowiki>item Locket
{{CodeBox
{
| {{CodeSnip
Weight = 0.5,
  | lang = java
  | line = true
  | start = 1799
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Locket
{
    DisplayCategory = Junk,
Weight = 0.5,
Type = Normal,
Type = Normal,
DisplayName = Locket,
DisplayName = Locket,
Icon = Locket,
Icon = Locket,
}</nowiki>
MetalValue = 10,
[[Category:items]]
WorldStaticModel = Locket,
}
}}
}}
 
==See also==
*[[Earrings]]
*[[Wedding Ring]]
 
{{Navbox items|junk}}

Latest revision as of 13:09, 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]
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D model
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Locket
Locket
General
Category
Junk
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Function
None
Properties
Material
Metal
Metal quantity
10
Technical
Item ID
Base.Locket

A locket is currently a useless item, and often considered as junk.

Usage

A locket is a jewelry item and has no use, being added purely for the purpose of clutter, creating more realism for the player when looting.

Distribution

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

Locket 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
all inventoryfemale 1.01%
all inventorymale 1.01%

A locket can be found on corpses, in purses and in some stores.

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Locket
	{
	    DisplayCategory = Junk,
		Weight	=	0.5,
		Type	=	Normal,
		DisplayName	=	Locket,
		Icon	=	Locket,
		MetalValue = 10,
		WorldStaticModel = Locket,
	}

See also