Crash Helmet: Difference between revisions

From PZwiki
(Added a code section and clothing navbox.)
m (Removed Testing tag due to Build 41 being stable.)
Line 1: Line 1:
{{Testing|build=[[Build 41]]}}
{{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=0|hidecat=true}}

Revision as of 20:32, 26 December 2021

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 item Hat_CrashHelmet

The Crash Helmet is a helmet worn by motorcyclists. Crash helmets have numerous color variations.

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.56

  item Hat_CrashHelmet
	{
		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,
	}