Key (Padlock)

From PZwiki
Project ZomboidItemsEquipmentSecurityKey (Padlock)
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
WhiskeyHalf.png
This article may be in need of improvement.
Add "Usage" section and describe how to use.
Editors are encouraged to add any missing information to the article, while verifying that the article's current content is correct.
Key (Padlock)
KeyPadlock Model.png
General
Category
Security
Encumbrance
Moodle Icon HeavyLoad.png
0.0
Function
Unlock the linked Padlock
Technical
Item ID
Base.KeyPadlock

A key (for padlock) is used to lock and unlock player-crafted crates after a padlock has been used on them.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item CombinationPadlock
	{
	    DisplayCategory = Security,
		Weight	=	0.2,
		Type	=	Key,
		DisplayName	=	Combination Padlock,
		Icon	=	PadlockDigital,
        DigitalPadlock =   TRUE,
        MetalValue = 15,
        Tooltip = Tooltip_Padlock,
        WorldStaticModel = CombinationPadlock,
	}

See also