Golf Cap

From PZwiki
(Redirected from Golf Cap)
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D models
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Golf Cap
Tartan Golf Cap
Tartan Golf Cap
Tartan Golf Cap
Tartan Golf Cap
Golf Cap
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

Distribution

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

Hat_GolfHat distribution Show / Hide
Containers
Building / Room Container Rolls Chance
clothingstorage crate 4 8.0
clothingstore counter 4 6.0
Vehicles
Vehicle Type/Location Rolls Chance
ClothingTruckBed 4 0.8
Hat_GolfHatTINT distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced GolfLockers 4 10.0
all Bag_GolfBag 1 2.0
all locker 4 0.2
all wardrobe 4 0.2
clothingstorage crate 4 8.0
clothingstore counter 4 6.0
Vehicles
Vehicle Type/Location Rolls Chance
ClothingTruckBed 4 0.8

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