Cowboy Hat

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Cowboy Hat
CowboyHat Black Model.png
CowboyHat Brown Model.png
CowboyHat White Model.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
1
Equipped
Hat
Properties
Insulation
30%
Wind resistance
20%
Technical
Item ID
Base.Hat_Cowboy

The cowboy hat is a fairly common hat often associated with the south of America.

Body location

Protection Hat.png
  • Head

Location

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

Hat_Cowboy distributionShow / 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
closet crate 6.29%
closet crate 10.78%
clothingstorage crate 10.78%
clothingstorage metal_shelves 10.78%
clothingstore counter 10.78%
clothingstore crate 10.78%
clothingstore metal_shelves 10.78%
departmentstorage crate 10.78%
departmentstorage metal_shelves 10.78%
garagestorage crate 6.29%
garagestorage crate 10.78%
livingroom wardrobe 10.78%
shoestore counter 10.78%
sportstorage counter 10.78%
sportstore counter 10.78%
storageunit crate 6.29%
storageunit crate 10.78%
Vehicles
Type Container Effective chance
Clothing Trunk 2.57%

Buildings

Cowboy hats can sometimes be found in clothing stores.

NPCs

Zombies wearing cowboy hats will sometimes spawn at farms.

History

Base.Hat_Cowboy

Version Description
41.78.16 Released on or before this version.

Help PZwiki by adding to this history.

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_Cowboy
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Cowboy Hat,
		ClothingItem = Hat_Cowboy,
		BodyLocation = Hat,
		IconsForTexture = HatCowboyBlack;HatCowboyBrown;HatCowboyWhite,
		CanHaveHoles = false,
		ChanceToFall = 50,
        Insulation = 0.3,
        WindResistance = 0.2,
        BloodLocation = Head,
	}