Key Ring: Difference between revisions

From PZwiki
m (Automated Formatting)
m (Distribution table update)
Line 47: Line 47:
The loot distributions can be found in the table(s) below.
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;"
<!--BOT FLAG|KeyRing|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
! Building/Room
    <div>KeyRing distribution
! Container
        <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>
! style="width: 3.2em;" | Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-KeyRing">
! style="width: 3.2em;" | Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
|clothingstore
    |+ {{ll|Containers}}
|[[displaycase]]
    ! Building / Room
|4
    ! Container
|4
    ! Rolls
|}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.
    ! 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.


==Code==
==Code==

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