Golf Cap

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]
Golf Cap
GolfHat Tartan Model.png
GolfHat TartanWhite Model.png
GolfHat Tartan2 Model.png
GolfHat Tartan3 Model.png
GolfHat White Model.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Equipped
Hat
Technical
Item ID
Base.Hat_GolfHat
Base.Hat_GolfHatTINT

A golf cap is a clothing item.

Usage

It is one of the hats that the player can start with. A golf cap is a cosmetic hat, as it provides no insulation or protection to the wearer.

Body location

Protection Hat.png
  • Head

Location

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

Hat_GolfHat 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
clothingstorage crate 19.27%
clothingstorage metal_shelves 19.27%
clothingstore counter 15.1%
clothingstore crate 19.27%
clothingstore metal_shelves 19.27%
departmentstorage crate 19.27%
departmentstorage metal_shelves 19.27%
shoestore counter 15.1%
sportstorage counter 15.1%
sportstore counter 15.1%
Vehicles
Type Container Effective chance
Clothing Trunk 3.51%
Hat_GolfHatTINT 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
Bag_GolfBag Golf Bag 1.61%
all locker 2.1%
all wardrobe 2.1%
bedroom wardrobe 2.1%
clothingstorage crate 19.27%
clothingstorage metal_shelves 19.27%
clothingstore counter 15.1%
clothingstore crate 19.27%
clothingstore metal_shelves 19.27%
departmentstorage crate 19.27%
departmentstorage metal_shelves 19.27%
shoestore counter 15.1%
sportstorage counter 15.1%
sportstore counter 15.1%
Vehicles
Type Container Effective chance
Clothing Trunk 3.51%

History

Base.Hat_GolfHatTINT

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

HatGolfTartan.pngHatGolfWhitePlaid.pngHatGolfBluePlaid.pngHatGolfGreenPlaid.png Base.Hat_GolfHat
Source: ProjectZomboid\media\scripts\clothing\clothing_hats.txt

Retrieved: Build 41.78.16
item Hat_GolfHat
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Tartan Golf Cap,
		ClothingItem = Hat_GolfHat,
		BodyLocation = Hat,
		IconsForTexture = HatGolfTartan;HatGolfWhitePlaid;HatGolfBluePlaid;HatGolfGreenPlaid,
		CanHaveHoles = false,
		ChanceToFall = 60,
		Weight = 0.3,
	}

HatGolfWhite.png Base.Hat_GolfHatTINT
Source: ProjectZomboid\media\scripts\clothing\clothing_hats.txt

Retrieved: Build 41.78.16
item Hat_GolfHatTINT
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Golf Cap,
		ClothingItem = Hat_GolfHatTINT,
		BodyLocation = Hat,
		Icon = HatGolfWhite,
		CanHaveHoles = false,
		ChanceToFall = 60,
		Weight = 0.3,
	}

See also