Holster: Difference between revisions

From PZwiki
m (Removed Testing tag due to Build 41 being stable.)
Line 16: Line 16:


==Usage==
==Usage==
When equipped, a holster allows the player to attach handguns to their right hip which provides an additional hotbar slot, as well as reduce weight of attached item by 30% when not held.
When equipped, a holster allows the player to attach handgun to their right hip which provides an additional hotbar slot, as well as reduce weight of attached item by 30% when not held.


==Code==
==Code==

Revision as of 21:07, 31 December 2022

Holster
Holster
General
Category Item
Encumbrance
Heavy Load
0.2
Function Wearable
Technical details
Base ID HolsterSimple

A holster is used to attach weapons to the character. Items attached this way can easily be equipped with hotkeys.

Distribution

Holsters can be found in police and military locations.

Usage

When equipped, a holster allows the player to attach handgun to their right hip which provides an additional hotbar slot, as well as reduce weight of attached item by 30% when not held.

Code

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

	item HolsterSimple
		Weight			= 0.2,
		Type			= Clothing,
		DisplayName		= Holster,
		Icon			= GunHolster,
		BodyLocation		= BeltExtra,
		ClothingItem		= Holster,
		AttachmentsProvided	= HolsterRight,

See also