Key Ring: Difference between revisions
(Update header &categories &code &infobox & rewrote some sections, consolidating info and reducing jargon & moved variants to a table for keys it can hold) |
m (Removing trailing whitespace(s)) |
||
Line 54: | Line 54: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
Line 77: | Line 77: | ||
{| class="wikitable theme-red" width="550" style="text-align: center;" | {| 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. |
Revision as of 08:22, 28 February 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
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. |