Key: Difference between revisions

From PZwiki
m (200px model)
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Tools|type=Tool|version=Version 40|incver=40}}{{Infobox normal
{{Languages}}{{Header|The Game World|Items|Tools|type=Tool|version=Version 40|incver=40}}{{Infobox item
|display_name=Key (Door)
|display_name=Key (Door)
|name_colour=Normal
|name_colour=Normal
|name_text_colour=Normal
|name_text_colour=Normal
|image=Key_Model.png
|model=Key_Model.png
|image_width=200px
|model_width=200px
|alternate_image=Key1.png
|icon=Key1.png
|alternate_name=Key
|icon_name=Key
|alternate_image2=Key2.png
|icon2=Key2.png
|alternate_name2=Key
|icon_name2=Key
|alternate_image3=Key3.png
|icon3=Key3.png
|alternate_name3=Key
|icon_name3=Key
|alternate_image4=Key4.png
|icon4=Key4.png
|alternate_name4=Key
|icon_name4=Key
|alternate_image5=Key5.png
|icon5=Key5.png
|alternate_name5=Key
|icon_name5=Key
|weight=0.0
|weight=0.0
|primary_use=Lock doors and unlock doors
|primary_use=Lock doors and unlock doors

Revision as of 06:33, 23 September 2023

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

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