Party Hat: Difference between revisions
m (→Code: improve) |
(→Code: Fix improve) |
||
Line 44: | Line 44: | ||
==Code== | ==Code== | ||
{{ | {{CodeBox|[[File:PartyHat_Stars.png]] {{ID|Hat_PartyHat_Stars}}<br> | ||
[[File:PartyHat_Stars.png | {{CodeSnip | ||
{{ | |||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
Line 69: | Line 67: | ||
Weight = 0.3, | Weight = 0.3, | ||
} | } | ||
}} | }} | ||
[[File:PartyHat_Stripes.png | [[File:PartyHat_Stripes.png]] {{ID|Hat_PartyHat_TINT}}<br> | ||
{{ | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = true | | line = true |
Revision as of 23:38, 25 March 2024
A party hat is a hat which provides minimal insulation.
Distribution
A party hat can sometimes be found on certain zombies.
Body location
|
Variants
Icon | Name | Description | Item ID |
---|---|---|---|
Party Hat with Stars | Party hat decorated with stars. | Base.Hat_PartyHat_Stars | |
Colored Party Hat | Colored party hat with stripes. | Base.Item_PartyHat_Stripes |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Hat_PartyHat_Stars
Source: ProjectZomboid\media\scripts\clothing\clothing_hats.txt
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,
}
Hat_PartyHat_TINT
Source: ProjectZomboid\media\scripts\clothing\clothing_hats.txt
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,
}