Police Deputy Hat: Difference between revisions

From PZwiki
(Extremely minor fix)
(Update distribution file)
 
(26 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Testing|build=[[Build 41]]}}
{{Header|Project Zomboid|Items|Clothing|Headwear|Hats}}
{{languages}}
{{Page version|41.65}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=0|hidecat=true}}
{{Infobox item
{{Infobox clothing
|name=Police Deputy Hat
| display_name = Police Deputy Hat
|model=Hat_Police_Grey_model.png
| name_colour = Clothing
|icon=HatPoliceGrey.png
| name_text_colour = Clothing
| image = HatPoliceGrey.png
| image_width = 250px
<!-- General -->
<!-- General -->
| category = Clothing
|category=Clothing
| weight = 1.0
|weight=1.0
| body_location = Hat
|equipped=Hat
<!-- Insulation -->
|water_resistance=0.20
| water_resistance = 0.20
<!-- Technical details -->
<!-- Technical details -->
| class_name = item Hat_Ranger
|item_id=Base.Hat_Police_Grey
}}The '''Police Deputy Hat''' is a hat that's worn by sheriff's deputies.
}}
The '''police deputy hat''' is a hat that's worn by sheriff's deputies.
 
==Usage==
==Usage==
The police deputy hat provides a minor amount of water resistance. They have a high chance of being knocked off of the wearer's head when they're attacked.
The police deputy hat provides a minor amount of water resistance. They have a high chance of being knocked off of the wearer's head when they're attacked.
==Distribution==
==Distribution==
Police deputy hats can occasionally be found on police [[zombies]]. Police zombies can rarely be found in the vicinity of areas that contain a zombie population. Police zombies can usually be found at police precincts, near police [[vehicle]]s, police barricade vehicle stories and the police intervention variant of the prison escape survivor story.
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Hat_Police_Grey|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Hat_Police_Grey distribution
        <span class="mw-customtoggle-togglebox-Hat_Police_Grey" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Hat_Police_Grey">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | bathroom
    | {{ll|locker}}
    | 10.78%
    |-
    | changeroom
    | {{ll|locker}}
    | 10.78%
    |-
    | closet
    | {{ll|crate}}
    | 6.29%
    |-
    | garagestorage
    | {{ll|crate}}
    | 6.29%
    |-
    | storageunit
    | {{ll|crate}}
    | 6.29%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Hat_Police_Grey" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Hat_Police_Grey|41.78.16-->
Police deputy jackets can be occasionally found on police [[zombies]]. Police zombies can rarely be found in the vicinity of areas that contain a zombie population. Police zombies can usually be found at police precincts, near police [[vehicle]]s, police barricade vehicle stories and the police intervention variant of the prison escape survivor story.
 
==Body location==
==Body location==
{{Body location|body_location=Hat}}
{{Body location|body_location=Hat}}
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 821
  | source = clothing_hats.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Hat_Police_Grey
{
    DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Police Deputy Hat,
ClothingItem = Hat_Police_Grey,
BodyLocation = Hat,
Icon = HatPoliceGrey,
CanHaveHoles = false,
ChanceToFall = 40,
WaterResistance = 0.2,
}
}}
}}
==Trivia==
==Trivia==
*The police deputy hat isn't available for selection in the character creation menu, even for characters with the police officer [[occupation]].
*The police deputy hat isn't available for selection in the character creation menu, even for characters with the police officer [[occupation]].
==See also==
==See also==
*[[Police Motorcycle Helmet]]
*[[Police Motorcycle Helmet]]
Line 36: Line 104:
*[[Police Deputy Pants]]
*[[Police Deputy Pants]]


 
{{Navbox items|headwear}}
{{Navbox clothing}}

Latest revision as of 13:35, 30 April 2024

Project ZomboidItemsClothingHeadwearHatsPolice Deputy Hat
Spiffo controlyourself.png
This page was last updated for an older version (41.65).
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.
Police Deputy Hat
Hat Police Grey model.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
1.0
Equipped
Hat
Properties
Water resistance
20%
Technical
Item ID
Base.Hat_Police_Grey

The police deputy hat is a hat that's worn by sheriff's deputies.

Usage

The police deputy hat provides a minor amount of water resistance. They have a high chance of being knocked off of the wearer's head when they're attacked.

Distribution

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

Hat_Police_Grey distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
bathroom locker 10.78%
changeroom locker 10.78%
closet crate 6.29%
garagestorage crate 6.29%
storageunit crate 6.29%

Police deputy jackets can be occasionally found on police zombies. Police zombies can rarely be found in the vicinity of areas that contain a zombie population. Police zombies can usually be found at police precincts, near police vehicles, police barricade vehicle stories and the police intervention variant of the prison escape survivor story.

Body location

Protection Hat.png
  • Head

Code

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

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

Retrieved: Build 41.78.16
item Hat_Police_Grey
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Police Deputy Hat,
		ClothingItem = Hat_Police_Grey,
		BodyLocation = Hat,
		Icon = HatPoliceGrey,
		CanHaveHoles = false,
		ChanceToFall = 40,
		WaterResistance = 0.2,
	}

Trivia

  • The police deputy hat isn't available for selection in the character creation menu, even for characters with the police officer occupation.

See also