Holster: Difference between revisions

From PZwiki
m (Automated CodeBox update)
m (Removing trailing whitespace(s))
Line 29: Line 29:
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" |Chance
|-
|-
| rowspan="3"|all  
| rowspan="3"|all
| [[locker]]  
| [[locker]]
| 4  
| 4
| 4
| 4
|-
|-
Line 42: Line 42:
|4
|4
|-
|-
| armysurplus  
| armysurplus
| [[counter]]  
| [[counter]]
| 4  
| 4
| 4
| 4
|-
|-
| rowspan="2"|bathroom  
| rowspan="2"|bathroom
| [[locker]]  
| [[locker]]
| 4  
| 4
| 2
| 2
|-
|-
Line 56: Line 56:
|2
|2
|-
|-
| office  
| office
| [[desk]]  
| [[desk]]
| 4  
| 4
| 4
| 4
|-
|-
| policestorage  
| policestorage
| [[locker]]  
| [[locker]]
| 4  
| 4
| 4
| 4
|-
|-
| security  
| security
| [[locker]]  
| [[locker]]
| 4  
| 4
| 2
| 2
|}
|}

Revision as of 08:07, 28 February 2024

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.50
item HolsterSimple
{
    Weight             = 0.2,
    Type               = Clothing,
    DisplayName        = Holster,
    Icon               = GunHolster,
    BodyLocation       = BeltExtra,
    ClothingItem       = Holster,
    AttachmentsProvided = HolsterRight,
}

See also