Tin Foil 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:
{{Notice|Stub}}
{{Notice|Stub}}
{{languages}}
{{languages}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=0|hidecat=true}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=65|hidecat=true}}
{{Infobox clothing
{{Infobox clothing
| display_name=Tin Foil Hat
| display_name=Tin Foil Hat
Line 17: Line 17:
<!-- Technical details -->
<!-- Technical details -->
| ingredients=[[Aluminum]]
| ingredients=[[Aluminum]]
| class_name=Hat_TinFoilHat
| class_name=Base.Hat_TinFoilHat
}}
}}
A '''tin foil hat''' is a hat made from aluminum that can be found in the world.  
A '''tin foil hat''' is a hat made from aluminum that can be found in the world.  
Line 23: Line 23:
==Distribution==
==Distribution==
Random house events exist in which a number of infected and corpses will be wearing tin foil hats.
Random house events exist in which a number of infected and corpses will be wearing tin foil hats.
== Body Location ==
{{Body location|body_location=Hat}}


==Code==
==Code==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)'''''
 
{{Retrieved|version=41|incver=65}}
{{Retrieved|version=41|incver=56}}
<pre> item Hat_TinFoilHat
<pre> item Hat_TinFoilHat
DisplayCategory = Accessory,
Type = Clothing,
Type = Clothing,
DisplayName = Tin Foil Hat,
DisplayName = Tin Foil Hat,

Revision as of 00:03, 23 January 2022

Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.
The Game WorldItemsClothingTin Foil Hat
Tin Foil Hat
Tin Foil Hat
File:TinFoilHat.png
General
Category Clothing
Encumbrance
Heavy Load
0.3
Body location Hat
Insulation
Insulation 0.10
Technical details
Ingredients Aluminum
Item ID Base.Hat_TinFoilHat

A tin foil hat is a hat made from aluminum that can be found in the world.

Distribution

Random house events exist in which a number of infected and corpses will be wearing tin foil hats.

Body Location

Protection Hat.png
  • Head

Code

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

	item Hat_TinFoilHat
		DisplayCategory	= Accessory,
		Type		= Clothing,
		DisplayName	= Tin Foil Hat,
		ClothingItem	= Hat_TinFoilHat,
		BodyLocation	= Hat,
		Icon		= FoilHat,
		Weight		= 0.1,
		CanHaveHoles	= false,
		ChanceToFall	= 60,
		Insulation	= 0.10,
		Weight		= 0.3,