Key: Difference between revisions

From PZwiki
m (Move alt images to infobox, remove gallery since packlock model belons to Key (Padlock))
m (200px model)
Line 4: Line 4:
|name_text_colour=Normal
|name_text_colour=Normal
|image=Key_Model.png
|image=Key_Model.png
|image_width=120px
|image_width=200px
|alternate_image=Key1.png
|alternate_image=Key1.png
|alternate_name=Key
|alternate_name=Key

Revision as of 15:19, 25 June 2023

Template:Infobox normal

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