Key Ring: Difference between revisions

From PZwiki
m (added move notice)
m (Distribution table update)
 
(30 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{languages|Key Ring}}
{{Header|Project Zomboid|Items|Equipment|Security}}
{{Notice|Short}}
{{Page version|41.78.16}}
{{move|Key}}
{{Infobox item
{{Consumables
|name=Key Ring
|image = KeyRing.png
|model=KeyRing_Model.png
|weight = 0
|icon=KeyRing.png
|icon_name=Key Ring
|category=Container
|weight=0
|capacity={{Tooltip|1|Cannot hold anything other than keys}}
|metal_value=5
|item_id=Base.KeyRing
}}
}}
A '''key ring''' is an item given automatically when the character is created. There is a 40% chance to spawn with a key: the key to the house the player spawned in. When additional keys are found, this is the place to put them. Items that are not keys cannot be put on the key ring.
A '''key ring''' is a container for storing [[Security#Keys|keys]].


A key is a pretty common item to find. Although it is possible to find keys in [[containers]] such as [[Containers#Counters|counters]], [[Containers#Bedroom Storage|dressers]], and [[Containers#Crates|crates]], it is much more common to find them on the [[corpse]]s of [[zombie]]s that were inside or in the vicinity of the building. If a [[door]] exists, it has a pretty decent chance to have a key that corresponds to it. However, if you find a key, you have probably already broken into the building the key is in, so it is very rare to find a useful key.
==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]].


Door Key[[File:Key1.png]][[File:Key2.png]][[File:Key3.png]][[File:Key4.png]][[File:Key5.png]]
===Items it can store===
Padlock Key [[File:KeyPadlock1.png]]
{| class="wikitable theme-red" style="text-align:center;"
<!--
!Item
== Crafting ==
! [[File:Moodle_Icon_HeavyLoad.png|link=Moodles#Heavy Load|Encumbrance]]
{| class="wikitable sortable" style="text-align:center;"
! Lock/Unlock
|-
|-
! Name
| [[File:Key1.png]][[File:Key2.png]][[File:Key3.png]][[File:Key4.png]][[File:Key5.png]]<br>[[Key|Key (door)]]
! class="unsortable" | Recipe
| 0
! class="unsortable" | Description
| [[File:DoorKnob.png|link=Doorknob]]
! Crafting Level
|-
{{RecipeLookup|}}
| [[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]]
|}
|}
-->
== Code ==
<nowiki>
item KeyRing
Weight = 0,
Type = Container,
DisplayName = Key Ring,
Icon = KeyRing,
Capacity = 1,
OnlyAcceptCategory = Key,
</nowiki>


== History ==
==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">
    <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
    |-
    | clothingstore
    | {{ll|displaycase}}
    | 4
    | 4.0
    |}
</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.


{| class="wikitable" width="550" style="text-align:center;"
==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==
{| 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 46: Line 108:
|}
|}


==See Also==
==See also==
* [[Padlock]]
*[[Key]]
 
*[[Key (Padlock)]]
*[[Padlock]]


[[Category:Wearable containers]]


<!--
{{Navbox items|containers}}
{{Navbox/Consumables}}
-->

Latest revision as of 15:50, 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]
Key Ring
KeyRing Model.png
General
Category
Container
Encumbrance
Moodle Icon HeavyLoad.png
0
Properties
Capacity
1
Technical
Item ID
Base.KeyRing

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 Encumbrance Lock/Unlock
Key1.pngKey2.pngKey3.pngKey4.pngKey5.png
Key (door)
0 DoorKnob.png
CarKey.png
Car Key
0 Vehicles
KeyPadlock1.png
Key (Padlock)
0 Padlock.png
Padlock.png
Padlock
0.2 Wooden Crate1.pngWooden Crate2.pngMetalCrate.png
PadlockDigital.png
Combination Padlock
0.2 Wooden Crate1.pngWooden Crate2.pngMetalCrate.png

Distribution

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

KeyRing distribution Show / Hide
Containers
Building / Room Container Rolls Chance
clothingstore displaycase 4 4.0

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 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 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.

See also