Holster: Difference between revisions

From PZwiki
(Automated infobox update)
Tag: Reverted
m (Remove lines))
(16 intermediate revisions by 2 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=Holster
|name=Holster
|name_colour=Normal
|name_text_colour=Normal
|model=GunHolster_Model.png
|model=GunHolster_Model.png
|model_width=128px
|model_width=128px
Line 10: Line 8:
|weight=0.2
|weight=0.2
|primary_use=Wearable
|primary_use=Wearable
|class_name=Base.HolsterSimple
|item_id=Base.HolsterSimple
}}
}}
A '''holster''' is used to attach weapons to the character. Items attached this way can easily be equipped with hotkeys.
A '''holster''' is used to attach weapons to the character. Items attached this way can easily be equipped with hotkeys.
Line 17: Line 15:
When equipped, a holster allows the player to attach a handgun to their right hip which provides an additional hotbar slot, as well as reduce weight of the attached item by 30% when not held.
When equipped, a holster allows the player to attach a handgun to their right hip which provides an additional hotbar slot, as well as reduce weight of the attached item by 30% when not held.


{{clear}}
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.
Line 24: Line 21:
! colspan="4" | Containers
! colspan="4" | Containers
|-
|-
!Building/Room
! Building/Room
!Container
! Container
! style="width: 3.2em;" |Rolls
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" | Chance
|-
|-
| rowspan="3"|all  
|rowspan="3"|all
| [[locker]]  
|[[locker]]
| 4  
|4
| 4
|4
|-
|-
|[[militarycrate]]
|[[militarycrate]]
Line 42: Line 39:
|4
|4
|-
|-
| armysurplus  
|armysurplus
| [[counter]]  
|[[counter]]
| 4  
|4
| 4
|4
|-
|-
| rowspan="2"|bathroom  
|rowspan="2"|bathroom
| [[locker]]  
|[[locker]]
| 4  
|4
| 2
|2
|-
|-
|[[locker]]
|[[locker]]
Line 56: Line 53:
|2
|2
|-
|-
| office  
|office
| [[desk]]  
|[[desk]]
| 4  
|4
| 4
|-
| policestorage
| [[locker]]
| 4
| 4
|-
| security
| [[locker]]
| 4
| 2
|}
Holsters can be found in police and military locations, and on police and military zombies.
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 0
  | source = clothing_others.txt
  | retrieved = true
  | version = 41
  | incver = 50
  | code =
item HolsterSimple
{
    Weight            = 0.2,
    Type              = Clothing,
    DisplayName        = Holster,
    Icon              = GunHolster,
    BodyLocation      = BeltExtra,
    ClothingItem      = Holster,
    AttachmentsProvided = HolsterRight,
}
  }}
}}
 
==See also==
*[[Belt]]
*[[Double Holster]]
 
{{navbox clothing}{Languages}}
{{Header|Project Zomboid|Items|Clothing|version=Version 41|incver=50}}
{{Infobox item
|display_name=Holster
|name_colour=Normal
|name_text_colour=Normal
|model=GunHolster_Model.png
|model_width=128px
|icon=GunHolster.png
|weight=0.2
|primary_use=Wearable
|class_name=Base.HolsterSimple
}}
A '''holster''' is used to attach weapons to the character. Items attached this way can easily be equipped with hotkeys.
 
==Usage==
When equipped, a holster allows the player to attach a handgun to their right hip which provides an additional hotbar slot, as well as reduce weight of the attached item by 30% when not held.
 
{{clear}}
==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
| 4
|-
|[[militarycrate]]
|4
|4
|6
|-
|-
|[[militarycrate]]
|policestorage
|[[locker]]
|4
|4
|4
|4
|-
|-
| armysurplus
|security
| [[counter]]
| 4
| 4
|-
| rowspan="2"|bathroom
| [[locker]]
| 4
| 2
|-
|[[locker]]
|[[locker]]
|4
|4
|2
|2
|-
| office
| [[desk]]
| 4
| 4
|-
| policestorage
| [[locker]]
| 4
| 4
|-
| security
| [[locker]]
| 4
| 2
|}
|}
Holsters can be found in police and military locations, and on police and military zombies.
Holsters can be found in police and military locations, and on police and military zombies.
Line 180: Line 75:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 748
   | source = clothing_others.txt
   | source = clothing_others.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41.78.16
  | incver = 50
   | code =
   | code =
item HolsterSimple
item HolsterSimple
{
    {
    Weight             = 0.2,
        DisplayCategory = Accessory,
    Type               = Clothing,
        Weight = 0.2,
    DisplayName       = Holster,
        Type = Clothing,
    Icon               = GunHolster,
        DisplayName = Holster,
    BodyLocation       = BeltExtra,
        Icon = GunHolster,
    ClothingItem       = Holster,
        BodyLocation = BeltExtra,
    AttachmentsProvided = HolsterRight,
        ClothingItem = Holster,
}
        AttachmentsProvided = HolsterRight,
  }}
        WorldStaticModel = Holster_Ground,
    }
}}
}}
}}


Line 203: Line 99:
*[[Double Holster]]
*[[Double Holster]]


{{navbox clothing}}
{{Navbox items}}

Revision as of 07:04, 15 April 2024

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.
Holster
GunHolster Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Wearable
Technical
Item ID
Base.HolsterSimple

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

Usage

When equipped, a holster allows the player to attach a handgun to their right hip which provides an additional hotbar slot, as well as reduce weight of the 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 4
militarycrate 4 6
militarycrate 4 4
armysurplus counter 4 4
bathroom locker 4 2
locker 4 2
office desk 4 4
policestorage locker 4 4
security locker 4 2

Holsters can be found in police and military locations, and on police and military zombies.

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 HolsterSimple
    {
        DisplayCategory = Accessory,
        Weight	=	0.2,
        Type	=	Clothing,
        DisplayName	=	Holster,
        Icon	=	GunHolster,
        BodyLocation = BeltExtra,
        ClothingItem = Holster,
        AttachmentsProvided = HolsterRight,
        WorldStaticModel = Holster_Ground,
    }

See also