Bucket Hat: Difference between revisions

From PZwiki
m (Cleanup)
m (Automatic formatting)
(18 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=Bucket Hat
{{Page version|41.65}}
| name_colour=Clothing
{{Infobox item
| name_text_colour=Clothing
|name=Bucket Hat
| alternate_image=BobHat.png
|name_colour=Clothing
|name_text_colour=Clothing
|model=Buckethat_Model.png
|icon=BobHat.png
<!-- General -->
<!-- General -->
| category=Clothing
|category=Clothing
| weight=1.0
|weight=1.0
| body_location=Hat
|equipped=Hat
<!-- Insulation -->
|insulation=0.5
| insulation=0.5
|wind_resistance=0.3
| wind_resistance=0.3
<!-- Technical details -->
<!-- Technical details -->
| class_name=Base.Hat_BucketHat
|item_id=Base.Hat_BucketHat
}}A '''Bucket Hat''' is a hat that provides no protection but moderate insulation.
}}
 
A '''nucket hat''' is a hat that provides no protection but moderate insulation.


==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
|-
|rowspan="3"|all
|[[locker]]
|4
|0.1
|-
|[[wardrobe]]
|4
|0.1
|-
|[[wardrobe]]
|4
|0.1
|-
|bathroom
|[[locker]]
|4
|0.1
|-
|bedroom
|[[wardrobe]]
|4
|0.1
|-
|closet
|[[metal_shelves]]
|4
|0.1
|-
|clothingstorage
|[[crate]]
|4
|6
|-
|rowspan="2"|clothingstore
|[[counter]]
|4
|6
|-
|[[counter]]
|4
|6
|-
|hall
|[[locker]]
|4
|0.1
|}
Bucket hats can be found in clothing stores, lockers, and wardrobes. They can also be found on tourist [[zombie]]s.
Bucket hats can be found in clothing stores, lockers, and wardrobes. They can also be found on tourist [[zombie]]s.


Line 22: Line 83:


==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 = 1107
Type = Clothing,
  | source = clothing_hats.txt
DisplayName = Bucket Hat,
  | retrieved = true
ClothingItem = Hat_BucketHat,
  | version = 41.78.16
BodyLocation = Hat,
  | code =
Icon = BobHat,
item Hat_BucketHat
CanHaveHoles = false,
    {
ChanceToFall = 60,
        DisplayCategory = Accessory,
BloodLocation = Head,
        Type = Clothing,
Insulation = 0.5,
        DisplayName = Bucket Hat,
WindResistance = 0.3,
        ClothingItem = Hat_BucketHat,
</pre>
        BodyLocation = Hat,
        Icon = BobHat,
        CanHaveHoles = false,
        ChanceToFall = 60,
        BloodLocation = Head,
        Insulation = 0.5,
        WindResistance = 0.3,
    }
}}
}}


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

Revision as of 15:18, 25 March 2024

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.
Bucket Hat
Buckethat Model.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
1.0
Equipped
Hat
Properties
Insulation
50%
Wind resistance
30%
Technical
Item ID
Base.Hat_BucketHat

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

Distribution

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

Containers
Building/Room Container Rolls Chance
all locker 4 0.1
wardrobe 4 0.1
wardrobe 4 0.1
bathroom locker 4 0.1
bedroom wardrobe 4 0.1
closet metal_shelves 4 0.1
clothingstorage crate 4 6
clothingstore counter 4 6
counter 4 6
hall locker 4 0.1

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.78.16
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,
    }