Party Hat: Difference between revisions
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}} | ||
{{Infobox item | {{Infobox item | ||
|name=Party Hat | |name=Party Hat | ||
| | |model=Hat_PartyHat_Stars_model.png | ||
|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== | ||
{{ | {{CodeBox|[[File:PartyHat_Stars.png]] {{ID|Hat_PartyHat_Stars}}<br> | ||
[[File:PartyHat_Stars.png | {{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 | [[File:PartyHat_Stripes.png]] {{ID|Hat_PartyHat_TINT}}<br> | ||
{{ | {{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 | ==See also== | ||
*[[Newspaper Hat]] | |||
{{Navbox items|headwear}} |
Latest revision as of 10:47, 14 April 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,
}