Party Hat: Difference between revisions

From PZwiki
m (→‎Code: improve)
(→‎Code: Fix improve)
Line 44: Line 44:


==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 69: Line 67:
         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

Revision as of 23:38, 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.
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.
Party Hat
Party Hat
Party Hat
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,
	}