Key Ring: Difference between revisions

From PZwiki
m (Automated Formatting for Infobox and Section Headers)
m (Automated CodeBox update)
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
{{Stub}}
{{Stub}}
{{Infobox item
{{Infobox item
|name = Key Ring
|name=Key Ring
|model = KeyRing_Model.png
|model=KeyRing_Model.png
|icon= KeyRing.png
|icon=KeyRing.png
|icon_name= Key Ring
|icon_name=Key Ring
|category = Container
|category=Container
|weight = 0
|weight=0
|capacity = {{Tooltip|1|Cannot hold anything other than keys}}
|capacity={{Tooltip|1|Cannot hold anything other than keys}}
|metal_value = 5
|metal_value=5
|item_id = Base.KeyRing
|item_id=Base.KeyRing
}}
}}


Line 47: Line 47:


==Distribution==
==Distribution==
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.
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|clothingstore
|[[displaycase]]
|4
|4
|}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==
Line 54: Line 68:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start =
   | start = 2954
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
item KeyRing
item KeyRing
     {
     {
         DisplayCategory = Container,
         DisplayCategory = Container,
Line 70: Line 84:
         MetalValue = 5,
         MetalValue = 5,
         WorldStaticModel = KeyRing_Ground,
         WorldStaticModel = KeyRing_Ground,
     }
     }  
  }}
}}
}}
}}


Line 92: Line 106:
[[Category:Wearable containers]]
[[Category:Wearable containers]]


{{Navbox equipment}}
{{Navbox equipment|containers}}

Revision as of 10:55, 26 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.
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.

Containers
Building/Room Container Rolls Chance
clothingstore displaycase 4 4

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