Locket: Difference between revisions
AshtoneGrey (talk | contribs) (added "languages") |
(Update distribution file) |
||
(32 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Miscellaneous items|Junk}} | ||
{{ | {{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 | ==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. | |||
<!--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--> | |||
A locket can be found on corpses, in [[purse]]s and in some stores. | |||
== Code == | ==Code== | ||
{{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, | ||
} | MetalValue = 10, | ||
[[ | WorldStaticModel = Locket, | ||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Earrings]] | |||
*[[Wedding Ring]] | |||
{{Navbox items|junk}} |
Latest revision as of 13:09, 30 April 2024
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.
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
Source: ProjectZomboid\media\scripts\newitems.txt
item Locket
{
DisplayCategory = Junk,
Weight = 0.5,
Type = Normal,
DisplayName = Locket,
Icon = Locket,
MetalValue = 10,
WorldStaticModel = Locket,
}