Key Ring: Difference between revisions
m (Added model image) |
(Update distribution file) |
||
(20 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Equipment|Security}} | |||
{{ | {{Page version|41.78.16}} | ||
{{Infobox | {{Infobox item | ||
| | |name=Key Ring | ||
| | |model=KeyRing_Model.png | ||
|icon=KeyRing.png | |||
|icon_name=Key Ring | |||
| | |category=Container | ||
| | |weight=0 | ||
| category = Container | |capacity={{Tooltip|1|Cannot hold anything other than keys}} | ||
| weight = 0 | |metal_value=5 | ||
| capacity = {{Tooltip|1|Cannot hold anything other than keys}} | |item_id=Base.KeyRing | ||
}}A '''key ring''' is a container for storing keys. | }} | ||
A '''key ring''' is a container for storing [[Security#Keys|keys]]. | |||
==Usage== | ==Usage== | ||
A key ring is used to store keys, reducing clutter in the player's inventory. It can only be used to store keys or key related items, including: [[Car Key|car keys]], [[padlock]]s and [[Combination Padlock|combination padlocks]]. | |||
===Items it can store=== | |||
{| class="wikitable theme-red" style="text-align:center;" | |||
!Item | |||
! [[File:Moodle_Icon_HeavyLoad.png|link=Moodles#Heavy Load|Encumbrance]] | |||
! Lock/Unlock | |||
|- | |||
| [[File:Key1.png]][[File:Key2.png]][[File:Key3.png]][[File:Key4.png]][[File:Key5.png]]<br>[[Key|Key (door)]] | |||
| 0 | |||
| [[File:DoorKnob.png|link=Doorknob]] | |||
|- | |||
| [[File:CarKey.png]]<br>[[Car Key]] | |||
| 0 | |||
| [[Vehicles]] | |||
|- | |||
| [[File:KeyPadlock1.png]]<br>[[Key (Padlock)]] | |||
| 0 | |||
| [[File:Padlock.png|link=Padlock]] | |||
|- | |||
| [[File:Padlock.png]]<br>[[Padlock]] | |||
| 0.2 | |||
| [[File:Wooden Crate1.png|link=Wooden Crate|32px]][[File:Wooden Crate2.png|link=Wooden Crate|32px]][[File:MetalCrate.png|link=Metal Crate|32px]] | |||
|- | |||
| [[File:PadlockDigital.png]]<br>[[Combination Padlock]] | |||
| 0.2 | |||
| [[File:Wooden Crate1.png|link=Wooden Crate|32px]][[File:Wooden Crate2.png|link=Wooden Crate|32px]][[File:MetalCrate.png|link=Metal Crate|32px]] | |||
|} | |||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|KeyRing|41.78.16--> | |||
{{Clear}} | |||
== | <div class="togglebox theme-red"> | ||
<div>KeyRing distribution | |||
<span class="mw-customtoggle-togglebox-KeyRing" 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-KeyRing"> | |||
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 | ||
|- | |||
| clothingstore | |||
| {{ll|displaycase}} | |||
| 10.78% | |||
|- | |||
| electronicsstore | |||
| {{ll|displaycase}} | |||
| 10.78% | |||
|- | |||
| giftstore | |||
| {{ll|displaycase}} | |||
| 10.78% | |||
|- | |||
| leatherclothesstore | |||
| {{ll|displaycase}} | |||
| 10.78% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-KeyRing" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|KeyRing|41.78.16--> | |||
Every character will start with a key ring, therefore it can be found on every [[zombie]]. It has a 40% chance to spawn with the key to the house the character started in. | |||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 2954 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item KeyRing | |||
{ | |||
DisplayCategory = Container, | |||
Weight = 0, | |||
Type = Container, | |||
DisplayName = Key Ring, | |||
Icon = KeyRing, | |||
Capacity = 1, | |||
OnlyAcceptCategory = Key, | |||
MetalValue = 5, | |||
WorldStaticModel = KeyRing_Ground, | |||
} | |||
}} | |||
}} | |||
==History== | ==History== | ||
{| class=" | {| class="wikitable theme-red" width="550" style="text-align: center;" | ||
|- | |- | ||
! colspan="2" | Alpha | ! colspan="2" | Alpha | ||
|- | |- | ||
| Ver31.9 || Added to game. | | Ver31.9 || Added to game. | ||
Line 61: | Line 121: | ||
==See also== | ==See also== | ||
*[[Key | *[[Key]] | ||
*[[Key (Padlock)]] | *[[Key (Padlock)]] | ||
*[[Padlock]] | *[[Padlock]] | ||
{{Navbox | [[Category:Wearable containers]] | ||
{{Navbox items|containers}} |
Latest revision as of 13:04, 30 April 2024
A key ring is a container for storing keys.
Usage
A key ring is used to store keys, reducing clutter in the player's inventory. It can only be used to store keys or key related items, including: car keys, padlocks and combination padlocks.
Items it can store
Item | Lock/Unlock | |
---|---|---|
Key (door) |
0 | |
Car Key |
0 | Vehicles |
Key (Padlock) |
0 | |
Padlock |
0.2 | |
Combination Padlock |
0.2 |
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
clothingstore | displaycase | 10.78% |
electronicsstore | displaycase | 10.78% |
giftstore | displaycase | 10.78% |
leatherclothesstore | displaycase | 10.78% |
Every character will start with a key ring, therefore it can be found on every zombie. It has a 40% chance to spawn with the key to the house the character started in.
Code
Source: ProjectZomboid\media\scripts\newitems.txt
item KeyRing
{
DisplayCategory = Container,
Weight = 0,
Type = Container,
DisplayName = Key Ring,
Icon = KeyRing,
Capacity = 1,
OnlyAcceptCategory = Key,
MetalValue = 5,
WorldStaticModel = KeyRing_Ground,
}
History
Alpha | |
---|---|
Ver31.9 | Added to game. |
Ver35.26 | Now only a 40% chance to spawn with your house key. |