Crash Helmet: 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=0|hidecat=true}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=65|hidecat=true}}
{{Infobox clothing
{{Infobox clothing
| display_name = Crash Helmet
| display_name = Crash Helmet
Line 21: Line 21:
| wind_resistance = 0.8
| wind_resistance = 0.8
<!-- Technical details -->
<!-- Technical details -->
| class_name = item Hat_CrashHelmet
| class_name = Base.Hat_CrashHelmet
}}
}}
The '''Crash Helmet''' is a helmet worn by motorcyclists. Crash helmets have numerous color variations.
A '''Crash Helmet''' is a helmet worn by motorcyclists.


==Usage==
==Usage==
Line 39: Line 39:


<!--COMMENT: Be sure to include this "Retrieved" template, filling in the version of the game the code was retrieved.-->
<!--COMMENT: Be sure to include this "Retrieved" template, filling in the version of the game the code was retrieved.-->
{{Retrieved|version=41|incver=56}}
{{Retrieved|version=41|incver=65}}
<pre> item Hat_CrashHelmet
<pre> item Hat_CrashHelmet
{
DisplayCategory = Accessory,
Type = Clothing,
Type = Clothing,
DisplayName = Crash Helmet,
DisplayName = Crash Helmet,
ClothingItem = Hat_CrashHelmet,
ClothingItem = Hat_CrashHelmet,
BodyLocation = Hat,
BodyLocation = Hat,
Icon = HelmetCrash,
Icon = HelmetCrash,
BloodLocation = Head,
BloodLocation = Head,
CanHaveHoles = false,
CanHaveHoles = false,
        BiteDefense = 100,
BiteDefense = 100,
        ScratchDefense = 100,
ScratchDefense = 100,
        ChanceToFall = 0,
ChanceToFall = 0,
        Insulation = 0.8,
Insulation = 0.8,
        WindResistance = 0.8,
WindResistance = 0.8,
}
</pre>
</pre>


{{Navbox clothing}}
{{Navbox clothing}}

Revision as of 01:46, 1 February 2022

The Game WorldItemsClothingCrash Helmet
Crash Helmet
Crash Helmet
Crash Helmet Icon
General
Category Clothing
Encumbrance
Heavy Load
1.0
Body location Hat
Protection
Scratch defense 100
Bite defense 100
Insulation
Insulation 0.8
Wind resistance 0.8
Technical details
Item ID Base.Hat_CrashHelmet

A Crash Helmet is a helmet worn by motorcyclists.

Usage

Crash Helmets completely protect the wearer's head from scratches and bites. Motorcycle helmets provide a great amount of insulation and wind resistance. The helmet also has a very low chance of falling off when the wearer is attacked.

Distribution

Crash helmets can be found on motorcyclist zombies.

Body location

Protection Hat.png
  • Head

Code

From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)

Retrieved: Build 41.65

	item Hat_CrashHelmet
		DisplayCategory	= Accessory,
		Type		= Clothing,
		DisplayName	= Crash Helmet,
		ClothingItem	= Hat_CrashHelmet,
		BodyLocation	= Hat,
		Icon		= HelmetCrash,
		BloodLocation	= Head,
		CanHaveHoles	= false,
		BiteDefense	= 100,
		ScratchDefense	= 100,
		ChanceToFall	= 0,
		Insulation	= 0.8,
		WindResistance	= 0.8,