Crash Helmet: Difference between revisions
(→Code: code box update) |
m (Automated Formatting) |
||
(16 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Clothing|Headwear|Helmets}} | |||
| | {{Page version|41.65}} | ||
| | {{Infobox item | ||
|name=Crash Helmet | |||
|model=CrashHelmet_Normal.png | |||
| | |icon=HelmetCrash.png | ||
|icon_name=Crash Helmet Icon | |||
| | |||
<!-- General --> | <!-- General --> | ||
| category = Clothing | |category=Clothing | ||
| weight = 1.0 | |weight=1.0 | ||
| | |equipped=Hat | ||
|scratch_defense=100 | |||
| scratch_defense = 100 | |bite_defense=100 | ||
| bite_defense = 100 | |insulation=0.8 | ||
|wind_resistance=0.8 | |||
| insulation = 0.8 | |||
| wind_resistance = 0.8 | |||
<!-- Technical details --> | <!-- Technical details --> | ||
| | |item_id=Base.Hat_CrashHelmet | ||
}}A ''' | }} | ||
A '''crash helmet''' is a helmet worn by motorcyclists. | |||
==Usage== | ==Usage== | ||
Line 31: | Line 29: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 417 | |||
| source = clothing_hats.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Hat_CrashHelmet | 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, | |||
} | } | ||
}} | |||
}} | |||
{{Navbox | ==See also== | ||
{{Navbox items|headwear}} |
Revision as of 07:51, 14 April 2024
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
|
Code
Source: ProjectZomboid\media\scripts\clothing\clothing_hats.txt
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,
}