USA Crash Helmet: Difference between revisions

From PZwiki
mNo edit summary
(Add code)
 
(19 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Testing|build=[[Build 41]]}}
{{Header|Project Zomboid|Items|Clothing|Headwear|Helmets}}
{{languages}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=0|hidecat=true}}
{{Infobox item
{{Infobox clothing
|name=USA Crash Helmet
| display_name = USA Crash Helmet
|model=CrashHelmet_Stars3D.png
| name_colour = Clothing
|icon=HelmetMotorcycleFlag.png
| name_text_colour = Clothing
|icon_name=USA Crash Helmet Icon
| image = CrashHelmet_Stars3D.png
| image_width = 300px
| alternate_image = HelmetMotorcycleFlag.png
| alternate_name = USA Crash Helmet Icon
 
<!-- General -->
<!-- General -->
| category = Clothing
|category=Clothing
| weight = 1.0
|weight=1.0
| body_location = Hat
|equipped=Hat
<!-- Speed -->
|combat_speed=0.95
| combat_speed = 0.95
|scratch_defense=100
<!-- Protection -->
|bite_defense=100
| scratch_defense = 100
|insulation=0.8
| bite_defense = 100
|wind_resistance=0.8
<!-- Insulation -->
| insulation = 0.8
| wind_resistance = 0.8
<!-- Technical details -->
<!-- Technical details -->
| class_name = item Hat_CrashHelmet_Stars
|item_id=item Hat_CrashHelmet_Stars
}}
}}
The '''USA Crash Helmet''' is a variant of the [[Crash Helmet]] that's used by motorcyclists.
The '''USA Crash Helmet''' is a variant of the [[Crash Helmet]] that's used by motorcyclists.
Line 34: Line 26:
{{Body location|body_location=Hat}}
{{Body location|body_location=Hat}}


==Code==
{{CodeBox|
{{CodeSnip
  | lang = java
  | line = true
  | start = 467
  | source = clothing_hats.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Hat_CrashHelmet_Stars
{
    DisplayCategory = Accessory,
Type = Clothing,
DisplayName = USA Crash Helmet,
ClothingItem = Hat_CrashHelmet_Stars,
BodyLocation = Hat,
Icon = HelmetMotorcycleFlag,
BloodLocation = FullHelmet,
CanHaveHoles = false,
CombatSpeedModifier = 0.95,
BiteDefense = 100,
        ScratchDefense = 100,
        ChanceToFall = 0,
        Insulation = 0.8,
        WindResistance = 0.8,
}
}}
}}


==See also==


{{clear}}
{{Navbox items|headwear}}

Latest revision as of 10:36, 2 May 2024

Project ZomboidItemsClothingHeadwearHelmetsUSA Crash Helmet
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
USA Crash Helmet
CrashHelmet Stars3D.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
1.0
Equipped
Hat
Properties
Combat speed
95%
Scratch defence
100%
Bite defence
100%
Insulation
80%
Wind resistance
80%
Technical
Item ID
item Hat_CrashHelmet_Stars

The USA Crash Helmet is a variant of the Crash Helmet that's used by motorcyclists.

Usage

The USA crash helmet completely protects the wearer's head from scratches and bites at the cost of a minor penalty to combat-speed. Crash helmets provide a great amount of insulation and wind resistance. The helmet has a very low chance of falling off when the wearer is attacked.

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_Stars
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = USA Crash Helmet,
		ClothingItem = Hat_CrashHelmet_Stars,
		BodyLocation = Hat,
		Icon = HelmetMotorcycleFlag,
		BloodLocation = FullHelmet,
		CanHaveHoles = false,
		CombatSpeedModifier = 0.95,
		BiteDefense = 100,
        ScratchDefense = 100,
        ChanceToFall = 0,
        Insulation = 0.8,
        WindResistance = 0.8,
	}

See also