Key Ring: Difference between revisions
m (Automated navbox update) |
(Automated distribution table) |
||
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== |
Revision as of 12:08, 20 March 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.
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
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. |