Party Hat: Difference between revisions

From PZwiki
m (→‎Code: improve)
m (Automated Formatting)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Header|Project Zomboid|Items|Clothing|Headwear|Hats}}
{{Header|Project Zomboid|Items|Clothing|Headwear|Hats}}
{{Page version|41.65}}
{{Page version|41.65}}
{{Reupload|Missing 3D models}}
{{Infobox item
{{Infobox item
|name=Party Hat
|name=Party Hat
|name_colour=Clothing
|model=Hat_PartyHat_Stars_model.png
|name_text_colour=Clothing
|icon=PartyHat_Stars.png
|icon=PartyHat_Stars.png
|model2=PartyHat_Stripes_model.png
|icon2=PartyHat_Stripes.png
|icon2=PartyHat_Stripes.png
<!-- General -->
<!-- General -->
Line 16: Line 15:
|item_id=''See [[#Variants|Variants]]''
|item_id=''See [[#Variants|Variants]]''
}}
}}
A '''party hat''' is a hat which provides minimal insulation.
A '''party hat''' is a hat which provides minimal insulation.


Line 44: Line 42:


==Code==
==Code==
{{Improve|section=true|Group following the new style}}
{{CodeBox|[[File:PartyHat_Stars.png]] {{ID|Hat_PartyHat_Stars}}<br>
[[File:PartyHat_Stars.png|Party Hat with Stars]] ''Party Hat with Stars''
{{CodeSnip
{{CodeBox
| {{CodeSnip
   | lang = java
   | lang = java
   | line = true
   | line = true
Line 68: Line 64:
         Insulation = 0.10,
         Insulation = 0.10,
         Weight = 0.3,
         Weight = 0.3,
}
}
}}
}}
}}


[[File:PartyHat_Stripes.png|Colored Party Hat]] ''Colored Party Hat''
[[File:PartyHat_Stripes.png]] {{ID|Hat_PartyHat_TINT}}<br>
{{CodeBox
{{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = true
   | line = true
Line 95: Line 89:
         Insulation = 0.10,
         Insulation = 0.10,
         Weight = 0.3,
         Weight = 0.3,
}  
}
}}
}}
}}
}}


{{Navbox clothing|headwear}}
==See also==
*[[Newspaper Hat]]
 
{{Navbox items|headwear}}

Latest revision as of 10:47, 14 April 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.
Party Hat
Hat PartyHat Stars model.png
PartyHat Stripes model.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Equipped
Hat
Properties
Insulation
10%
Technical
Item ID

A party hat is a hat which provides minimal insulation.

Distribution

A party hat can sometimes be found on certain zombies.

Body location

Protection Hat.png
  • Head

Variants

Icon Name Description Item ID
Party Hat with Stars Party Hat with Stars Party hat decorated with stars. Base.Hat_PartyHat_Stars
Colored Party Hat Colored Party Hat Colored party hat with stripes. Base.Item_PartyHat_Stripes

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

PartyHat Stars.png Hat_PartyHat_Stars
Source: ProjectZomboid\media\scripts\clothing\clothing_hats.txt

Retrieved: Build 41.78.16
item Hat_PartyHat_Stars
	{
	    DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = Party Hat with Stars,
        ClothingItem = Hat_PartyHat_Stars,
        BodyLocation = Hat,
        Icon = PartyHat_Stars,
        Weight = 0.1,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Insulation = 0.10,
        Weight = 0.3,
	}

PartyHat Stripes.png Hat_PartyHat_TINT
Source: ProjectZomboid\media\scripts\clothing\clothing_hats.txt

Retrieved: Build 41.78.16
item Hat_PartyHat_TINT
	{
	    DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = Coloured Party Hat,
        ClothingItem = Hat_PartyHat_TINT,
        BodyLocation = Hat,
        Icon = PartyHat_Stripes,
        Weight = 0.1,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Insulation = 0.10,
        Weight = 0.3,
	}

See also