Key: Difference between revisions

From PZwiki
m (Remove (Door))
m (→‎top: category project: "The Game World")
Line 1: Line 1:
{{Languages}}
{{Languages}}
{{Header|The Game World|Items|Tools|type=Tool|version=Version 40|incver=40}}
{{Header|Project Zomboid|Items|Tools|type=Tool|version=Version 40|incver=40}}
{{Infobox item
{{Infobox item
|display_name=Key
|display_name=Key

Revision as of 12:06, 9 January 2024

Key
Key Model.png
Key
Key
Key
Key
General
Encumbrance
Moodle Icon HeavyLoad.png
0.0
Function
Lock doors and unlock doors
Technical
Item ID
Base.Key
PlushSpiffo.pngThis article is about key to open doors. For key to open padlocks, see Key (Padlock). For a car key, see Car Key.

Regular keys are 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

It can be found on dead zombies.

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50

	item Key1
	        DisplayCategory = Security,
		Weight	=	0,
		Type	=	Key,
		DisplayName	=	Key,
		Icon	=	Key1,
		MetalValue = 5,
		WorldStaticModel = Key,

See also