Crash Helmet: Difference between revisions

From PZwiki
m (Removed Testing tag due to Build 41 being stable.)
m (Automated Formatting)
(21 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Clothing|Headwear|Helmets}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=0|hidecat=true}}
{{Page version|41.65}}
{{Infobox clothing
{{Infobox item
| display_name = Crash Helmet
|name=Crash Helmet
| name_colour = Clothing
|model=CrashHelmet_Normal.png
| name_text_colour = Clothing
|icon=HelmetCrash.png
| image = CrashHelmet_Normal.png
|icon_name=Crash Helmet Icon
| image_width = 300px
| alternate_image = HelmetCrash.png
| alternate_name = Crash Helmet Icon
 
<!-- General -->
<!-- General -->
| category = Clothing
|category=Clothing
| weight = 1.0
|weight=1.0
| body_location = Hat
|equipped=Hat
<!-- Protection -->
|scratch_defense=100
| scratch_defense = 100
|bite_defense=100
| bite_defense = 100
|insulation=0.8
<!-- Insulation -->
|wind_resistance=0.8
| insulation = 0.8
| wind_resistance = 0.8
<!-- Technical details -->
<!-- Technical details -->
| class_name = item Hat_CrashHelmet
|item_id=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==
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.
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 no chance of falling off when the wearer is attacked.
 
==Distribution==
==Distribution==
Crash helmets can be found on motorcyclist [[zombie]]s.
Crash helmets can be found on motorcyclist [[zombie]]s, as well as Repair Shops and sporting goods stores.


==Body location==
==Body location==
{{Body location|body_location=Hat}}
{{Body location|body_location=Hat}}


== Code ==
==Code==
<!--Comment: all the code related to the item found in txt files should be placed here-->
{{CodeBox
<!--COMMENT: Current location of Code in directory for updating purposes. Example below shows how to lay it out. ''''' is for bold italic.-->
| {{CodeSnip
'''''From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)'''''
  | lang = java
 
  | line = true
<!--COMMENT: Be sure to include this "Retrieved" template, filling in the version of the game the code was retrieved.-->
  | start = 417
{{Retrieved|version=41|incver=56}}
  | source = clothing_hats.txt
<pre>  item Hat_CrashHelmet
  | retrieved = true
  | version = 41.78.16
  | code =
item Hat_CrashHelmet
{
{
    DisplayCategory = Accessory,
Type = Clothing,
Type = Clothing,
DisplayName = Crash Helmet,
DisplayName = Crash Helmet,
Line 55: Line 54:
         WindResistance = 0.8,
         WindResistance = 0.8,
}
}
</pre>
}}
}}


{{Navbox clothing}}
==See also==
{{Navbox items|headwear}}

Revision as of 07:51, 14 April 2024

Spiffo controlyourself.png
This page was last updated for an older version (41.65).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Crash Helmet
CrashHelmet Normal.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
1.0
Equipped
Hat
Properties
Scratch defence
100%
Bite defence
100%
Insulation
80%
Wind resistance
80%
Technical
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 no chance of falling off when the wearer is attacked.

Distribution

Crash helmets can be found on motorcyclist zombies, as well as Repair Shops and sporting goods stores.

Body location

Protection Hat.png
  • Head

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\clothing\clothing_hats.txt

Retrieved: Build 41.78.16
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,
	}

See also