Key: Difference between revisions
m (Automated header update.) |
m (Automated Formatting for Infobox and Section Headers) |
||
Line 21: | Line 21: | ||
|item_id=Base.Key1<br>Base.Key2<br>Base.Key3<br>Base.Key4<br>Base.Key5 | |item_id=Base.Key1<br>Base.Key2<br>Base.Key3<br>Base.Key4<br>Base.Key5 | ||
}} | }} | ||
{{About|key to open doors|key to open padlocks|Key (Padlock)|a car key|Car Key}} | {{About|key to open doors|key to open padlocks|Key (Padlock)|a car key|Car Key}} | ||
A '''key''' is used to lock and unlock [[doors]] in the game. | A '''key''' is used to lock and unlock [[doors]] in the game. |
Revision as of 07:36, 7 March 2024
Base.Key2
Base.Key3
Base.Key4
Base.Key5
- This article is about key to open doors. For key to open padlocks, see Key (Padlock). For a car key, see Car Key.
A key is used to lock and unlock doors in the game.
Usage
Locking and unlocking
Keys are connected to garage doors and regular door around the house, hovering over the key in your inventory will highlight the doors it is connected to in yellow. If it is in the player's inventory, the "Unlock Door" context option will appear when selecting a door.
Distribution
A key is a common item. Although it is possible to find keys in containers such as counters, dressers, and crates, it is much more common to find them on the corpses of zombies that were inside or in the vicinity of the building. If a door exists, it is likely to have a key that corresponds to it.
Code
Source: ProjectZomboid\media\scripts\newitems.txt
item Key1
{
DisplayCategory = Security,
Weight = 0,
Type = Key,
DisplayName = Key,
Icon = Key1,
MetalValue = 5,
WorldStaticModel = Key,
}