Police Trooper Hat: Difference between revisions

From PZwiki
m (→‎See also: Fix link)
m (Automatic formatting)
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Clothing|version=Version 41|incver=65}}{{Infobox clothing
{{Header|Project Zomboid|Items|Clothing|Headwear|Hats}}
| display_name = Police Trooper Hat
{{Page version|41.65}}
| name_colour = Clothing
{{Reupload|Missing 3D model}}
| name_text_colour = Clothing
{{Infobox item
| image =
|name=Police Trooper Hat
| image_width = 200px
|icon=HatPoliceBlue.png
| alternate_image = HatPoliceBlue.png
<!-- 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 = Base.Hat_Police
|item_id=Base.Hat_Police
}}A '''Police Trooper Hat''' is a hat that's worn by police troopers.
}}
 
A '''police trooper hat''' is a hat that's worn by police troopers.


==Usage==
==Usage==
Line 20: Line 20:


==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
|-
|bathroom
|[[locker]]
|4
|4
|-
|closet
|[[crate]]
|4
|2
|-
|pawnshopoffice
|[[crate]]
|4
|4
|}
Police trooper 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.
Police trooper 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.


Line 26: Line 51:


==Code==
==Code==
'''''From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)'''''
{{CodeBox
{{Retrieved|version=41|incver=65}}
| {{CodeSnip
<pre>
  | lang = java
item Hat_Police
  | line = true
DisplayCategory = Accessory,
  | start = 809
Type = Clothing,
  | source = clothing_hats.txt
DisplayName = Police Trooper Hat,
  | retrieved = true
ClothingItem = Hat_Police,
  | version = 41.78.16
BodyLocation = Hat,
  | code =
Icon = HatPoliceBlue,
item Hat_Police
CanHaveHoles = false,
{
ChanceToFall = 40,
    DisplayCategory = Accessory,
WaterResistance = 0.2,
Type = Clothing,
</pre>
DisplayName = Police Trooper Hat,
ClothingItem = Hat_Police,
BodyLocation = Hat,
Icon = HatPoliceBlue,
CanHaveHoles = false,
ChanceToFall = 40,
WaterResistance = 0.2,
}
}}
}}


==Trivia==
==Trivia==
Line 55: Line 89:
*[[Police Deputy Pants]]
*[[Police Deputy Pants]]


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

Revision as of 17:52, 25 March 2024

Project ZomboidItemsClothingHeadwearHatsPolice Trooper 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.
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D model
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Police Trooper Hat
Police Trooper Hat
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
1.0
Equipped
Hat
Properties
Water resistance
20%
Technical
Item ID
Base.Hat_Police

A police trooper hat is a hat that's worn by police troopers.

Usage

The police trooper 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.

Containers
Building/Room Container Rolls Chance
bathroom locker 4 4
closet crate 4 2
pawnshopoffice crate 4 4

Police trooper 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 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
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Police Trooper Hat,
		ClothingItem = Hat_Police,
		BodyLocation = Hat,
		Icon = HatPoliceBlue,
		CanHaveHoles = false,
		ChanceToFall = 40,
		WaterResistance = 0.2,
	}

Trivia

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

See also