Double Holster: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
(→‎Code: code box update)
Line 20: Line 20:


==Code==
==Code==
{{Retrieved|version=41|incver=50}}
{{CodeBox
'''''From clothing_others.txt (Project Zomboid directory/media/scripts/clothing/)'''''
| {{CodeSnip
<pre>
  | lang = java
item HolsterDouble
  | line = true
Weight = 0.2,
  | start = 0
Type = Clothing,
  | source = clothing_others.txt (Project Zomboid directory/media/scripts/clothing/)
DisplayName = Double Holster,
  | retrieved = true
Icon = GunHolsterDouble,
  | version = 41
BodyLocation = BeltExtra,
  | incver = 50
ClothingItem = HolsterDouble,
  | code =
AttachmentsProvided = HolsterLeft;HolsterRight,
item HolsterDouble
</pre>
{
    Weight = 0.2,
    Type = Clothing,
    DisplayName = Double Holster,
    Icon = GunHolsterDouble,
    BodyLocation = BeltExtra,
    ClothingItem = HolsterDouble,
    AttachmentsProvided = HolsterLeft;HolsterRight,
}
  }}
}}


==See also==
==See also==

Revision as of 12:24, 8 January 2024

The Game WorldItemsClothingDouble Holster
Double Holster
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Wearable
Technical
Item ID
HolsterDouble

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

Usage

When equipped, a double holster allows the player to attach handguns to both hips which provides two additional hotbar slots, as well as reduce weight of each attached item by 30% when not held.

Distribution

Double holsters can be found in police and military locations, as well as police and military zombies.

Code

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

Source: ProjectZomboid\media\scripts\clothing_others.txt (Project Zomboid directory/media/scripts/clothing/)

Retrieved: Build 41.50
item HolsterDouble
{
    Weight = 0.2,
    Type = Clothing,
    DisplayName = Double Holster,
    Icon = GunHolsterDouble,
    BodyLocation = BeltExtra,
    ClothingItem = HolsterDouble,
    AttachmentsProvided = HolsterLeft;HolsterRight,
}

See also