Holster: Difference between revisions

From PZwiki
m (→‎Usage: Added weight reduction info)
m (Added see also section)
Line 17: Line 17:
Holsters can be found in police and military locations.
Holsters can be found in police and military locations.


== 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 handguns 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==
{{Retrieved|version=41|incver=50}}
{{Retrieved|version=41|incver=50}}
'''''From clothing_others.txt (Project Zomboid directory/media/scripts/clothing/)'''''
'''''From clothing_others.txt (Project Zomboid directory/media/scripts/clothing/)'''''
Line 32: Line 32:
AttachmentsProvided = HolsterRight,
AttachmentsProvided = HolsterRight,
</pre>
</pre>
==See also==
*[[Belt]]
*[[Double Holster]]

Revision as of 08:21, 6 June 2021

Profession engineer.png
This is a testing feature.
This article is about an item or mechanic that is currently in testing and not part of the stable version of the game.
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 handguns 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