Bucket Hat: Difference between revisions

From PZwiki
m (Cleanup)
(→‎Code: code box update)
Line 22: Line 22:


==Code==
==Code==
'''''From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)'''''<br>
{{CodeBox
{{Retrieved|version=41|incver=65}}
| {{CodeSnip
<pre>
  | lang = java
item Hat_BucketHat
  | line = true
DisplayCategory = Accessory,
  | start = 0
Type = Clothing,
  | source = clothing_hats.txt
DisplayName = Bucket Hat,
  | retrieved = true
ClothingItem = Hat_BucketHat,
  | version = 41
BodyLocation = Hat,
  | incver = 65
Icon = BobHat,
  | code =
CanHaveHoles = false,
item Hat_BucketHat
ChanceToFall = 60,
{
BloodLocation = Head,
  DisplayCategory     = Accessory,
Insulation = 0.5,
  Type                 = Clothing,
WindResistance = 0.3,
  DisplayName         = Bucket Hat,
</pre>
  ClothingItem         = Hat_BucketHat,
  BodyLocation         = Hat,
  Icon                 = BobHat,
  CanHaveHoles         = false,
  ChanceToFall         = 60,
  BloodLocation       = Head,
  Insulation           = 0.5,
  WindResistance       = 0.3,
}
  }}
}}


{{Navbox clothing}}
{{Navbox clothing}}

Revision as of 11:25, 8 January 2024

The Game WorldItemsClothingBucket Hat
Bucket Hat
BobHat.png
General
Category Clothing
Encumbrance
Heavy Load
1.0
Body location Hat
Insulation
Insulation 0.5
Wind resistance 0.3
Technical details
Item ID Base.Hat_BucketHat

A Bucket Hat is a hat that provides no protection but moderate insulation.

Distribution

Bucket hats can be found in clothing stores, lockers, and wardrobes. They can also be found on tourist zombies.

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.65
item Hat_BucketHat
{
  DisplayCategory      = Accessory,
  Type                 = Clothing,
  DisplayName          = Bucket Hat,
  ClothingItem         = Hat_BucketHat,
  BodyLocation         = Hat,
  Icon                 = BobHat,
  CanHaveHoles         = false,
  ChanceToFall         = 60,
  BloodLocation        = Head,
  Insulation           = 0.5,
  WindResistance       = 0.3,
}