Crash Helmet: Difference between revisions
mNo edit summary |
(Added a code section and clothing navbox.) |
||
Line 24: | Line 24: | ||
| class_name = item Hat_CrashHelmet | | class_name = item Hat_CrashHelmet | ||
}} | }} | ||
The '''Crash Helmet''' is a helmet | The '''Crash Helmet''' is a helmet worn by motorcyclists. Crash helmets have numerous color variations. | ||
==Usage== | ==Usage== | ||
Crash Helmets completely | 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== | ==Distribution== | ||
Crash helmets can be found on motorcyclist [[zombie]]s. | Crash helmets can be found on motorcyclist [[zombie]]s. | ||
Line 34: | Line 34: | ||
{{Body location|body_location=Hat}} | {{Body location|body_location=Hat}} | ||
== Code == | |||
<!--Comment: all the code related to the item found in txt files should be placed here--> | |||
<!--COMMENT: Current location of Code in directory for updating purposes. Example below shows how to lay it out. ''''' is for bold italic.--> | |||
'''''From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)''''' | |||
<!--COMMENT: Be sure to include this "Retrieved" template, filling in the version of the game the code was retrieved.--> | |||
{{Retrieved|version=41|incver=56}} | |||
<pre> 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, | |||
} | |||
</pre> | |||
{{ | {{Navbox clothing}} |
Revision as of 17:19, 19 November 2021
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
|
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, }