Double Holster: Difference between revisions
VaileasysBot (talk | contribs) m (→top: Replace "Infobox_normal" with "Infobox_item") |
(→Code: code box update) |
||
Line 20: | Line 20: | ||
==Code== | ==Code== | ||
{{ | {{CodeBox | ||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 0 | |||
| source = clothing_others.txt (Project Zomboid directory/media/scripts/clothing/) | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 50 | |||
| code = | |||
item HolsterDouble | |||
{ | |||
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
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
Source: ProjectZomboid\media\scripts\clothing_others.txt (Project Zomboid directory/media/scripts/clothing/)
item HolsterDouble
{
Weight = 0.2,
Type = Clothing,
DisplayName = Double Holster,
Icon = GunHolsterDouble,
BodyLocation = BeltExtra,
ClothingItem = HolsterDouble,
AttachmentsProvided = HolsterLeft;HolsterRight,
}