Double Holster: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
m (Remove lines))
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Clothing|Accessories}}
{{Header|Project Zomboid|Items|Clothing|version=Version 41|incver=50}}
{{Page version|41.50}}
{{Infobox item
{{Infobox item
|display_name=Double Holster
|name=Double Holster
|name_colour=Normal
|model=GunHolster_Model.png
|name_text_colour=Normal
|model=GunHolsterDouble.png
|model_width=128px
|model_width=128px
|icon=GunHolsterDouble.png
|weight=0.2
|weight=0.2
|primary_use=Wearable
|primary_use=Wearable
|class_name=HolsterDouble
|item_id=Base.HolsterDouble
}}
}}
A '''double holster''' is used to attach weapons to the character. Items attached this way can easily be equipped with hotkeys.
A '''double holster''' is used to attach weapons to the character. Items attached this way can easily be equipped with hotkeys.
Line 17: Line 16:


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="3"|all
|[[locker]]
|4
|1
|-
|[[militarycrate]]
|4
|6
|-
|[[militarycrate]]
|4
|1
|-
|armysurplus
|[[counter]]
|4
|1
|-
|rowspan="2"|bathroom
|[[locker]]
|4
|0.5
|-
|[[locker]]
|4
|0.5
|-
|office
|[[desk]]
|4
|1
|-
|policestorage
|[[locker]]
|4
|1
|-
|security
|[[locker]]
|4
|0.5
|}
Double holsters can be found in police and military locations, as well as police and military zombies.
Double holsters can be found in police and military locations, as well as police and military zombies.
==Trivia==
*The double holster uses the same 3d model as the [[holster]]


==Code==
==Code==
Line 24: Line 78:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 761
   | source = clothing_others.txt (Project Zomboid directory/media/scripts/clothing/)
   | source = clothing_others.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41.78.16
  | incver = 50
   | code =
   | code =
item HolsterDouble
item HolsterDouble
{
    {
    Weight = 0.2,
        DisplayCategory = Accessory,
    Type = Clothing,
        Weight = 0.2,
    DisplayName = Double Holster,
        Type = Clothing,
    Icon = GunHolsterDouble,
        DisplayName = Double Holster,
    BodyLocation = BeltExtra,
        Icon = GunHolsterDouble,
    ClothingItem = HolsterDouble,
        BodyLocation = BeltExtra,
    AttachmentsProvided = HolsterLeft;HolsterRight,
        ClothingItem = HolsterDouble,
}
        AttachmentsProvided = HolsterLeft;HolsterRight,
  }}
        WorldStaticModel = Holster_Ground,
    }
}}
}}
}}


Line 47: Line 102:
*[[Holster]]
*[[Holster]]


{{Navbox clothing}}
{{Navbox items|accessories}}

Revision as of 06:52, 15 April 2024

Project ZomboidItemsClothingAccessoriesDouble Holster
Spiffo controlyourself.png
This page was last updated for an older version (41.50).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Double Holster
GunHolster Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Wearable
Technical
Item ID
Base.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

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
all locker 4 1
militarycrate 4 6
militarycrate 4 1
armysurplus counter 4 1
bathroom locker 4 0.5
locker 4 0.5
office desk 4 1
policestorage locker 4 1
security locker 4 0.5

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

Trivia

  • The double holster uses the same 3d model as the holster

Code

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

Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

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

See also