Santa Hat: Difference between revisions

From PZwiki
m (Removed Testing tag due to Build 41 being stable.)
m (Minor fixes, updated code)
Line 1: Line 1:
{{languages}}
{{languages}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=56}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=65}}
{{Infobox clothing
{{Infobox clothing
| display_name=Santa Hat
| display_name=Santa Hat
Line 19: Line 19:
| wind_resistance=0.25
| wind_resistance=0.25
<!-- Technical details -->
<!-- Technical details -->
| class_name=Hat_SantaHat
| class_name=Base.Hat_SantaHat<br>Base.Hat_SantaHatGreen
}}
}}
A '''Santa hat''' is a hat that provides no protection and moderate insulation.
A '''Santa hat''' is a hat that provides no protection and moderate insulation.
Line 30: Line 30:


== Code ==
== Code ==
{{Retrieved|version=41|incver=56}}
'''''From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)'''''<br>
[[File:HatSantaRed.png|Santa Hat (Red)]] ''Santa Hat (Red)''
{{Retrieved|version=41|incver=65}}
<pre> item Hat_SantaHat
<pre> item Hat_SantaHat
DisplayCategory = Accessory,
Type = Clothing,
Type = Clothing,
DisplayName = Santa Hat,
DisplayName = Santa Hat,
Line 37: Line 40:
BodyLocation = Hat,
BodyLocation = Hat,
Icon = HatSantaRed,
Icon = HatSantaRed,
CanHaveHoles = false,
ChanceToFall = 80,
BloodLocation = Head,
Insulation = 0.80,
WindResistance = 0.25,
Weight = 0.5,
</pre>
[[File:HatSantaGreen.png|Santa Hat (Green)]] ''Santa Hat (Green)''
{{Retrieved|version=41|incver=65}}
<pre> item Hat_SantaHatGreen
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Green Santa Hat,
ClothingItem = Hat_SantaHAtGreen,
BodyLocation = Hat,
Icon = HatSantaGreen,
CanHaveHoles = false,
CanHaveHoles = false,
ChanceToFall = 80,
ChanceToFall = 80,

Revision as of 23:48, 22 January 2022

Santa Hat
Santa Hat
HatSantaRed.png HatSantaGreen.png
General
Category Clothing
Encumbrance
Heavy Load
0.5
Body location Hat
Insulation
Insulation 0.80
Wind resistance 0.25
Technical details
Item ID Base.Hat_SantaHat
Base.Hat_SantaHatGreen

A Santa hat is a hat that provides no protection and moderate insulation.

Usage

A Santa hat is a hat that provides decent insulation and can be a fairly effective combatant to the cold.

Body Location

Protection Hat.png
  • Head

Code

From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)
Santa Hat (Red) Santa Hat (Red) Retrieved: Build 41.65

	item Hat_SantaHat
		DisplayCategory	= Accessory,
		Type		= Clothing,
		DisplayName	= Santa Hat,
		ClothingItem	= Hat_SantaHAt,
		BodyLocation	= Hat,
		Icon		= HatSantaRed,
		CanHaveHoles	= false,
		ChanceToFall	= 80,
		BloodLocation	= Head,
		Insulation	= 0.80,
		WindResistance	= 0.25,
		Weight		= 0.5,

Santa Hat (Green) Santa Hat (Green) Retrieved: Build 41.65

	item Hat_SantaHatGreen
		DisplayCategory	= Accessory,
		Type		= Clothing,
		DisplayName	= Green Santa Hat,
		ClothingItem	= Hat_SantaHAtGreen,
		BodyLocation	= Hat,
		Icon		= HatSantaGreen,
		CanHaveHoles	= false,
		ChanceToFall	= 80,
		BloodLocation	= Head,
		Insulation	= 0.80,
		WindResistance	= 0.25,
		Weight		= 0.5,