Hockey Helmet: Difference between revisions

From PZwiki
mNo edit summary
(→‎Code: code box update)
Line 26: Line 26:


==Code==
==Code==
'''''From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)'''''
{{CodeBox
{{Retrieved|version=41|incver=65}}
| {{CodeSnip
<pre> item Hat_BicycleHelmet
  | lang = java
DisplayCategory = Accessory,
  | line = true
Type = Clothing,
  | start = 0
DisplayName = Hockey Helmet,
  | source = clothing_hats.txt
ClothingItem = Hat_HockeyHelmet,
  | retrieved = true
BodyLocation = Hat,
  | version = 41
Icon = HelmetHockeyBlack,
  | incver = 65
CanHaveHoles = false,
  | code =
BloodLocation = Head,
item Hat_BicycleHelmet
BiteDefense = 100,
{
ScratchDefense = 100,
  DisplayCategory   = Accessory,
</pre>
  Type             = Clothing,
  DisplayName       = Hockey Helmet,
  ClothingItem     = Hat_HockeyHelmet,
  BodyLocation     = Hat,
  Icon             = HelmetHockeyBlack,
  CanHaveHoles     = false,
  BloodLocation     = Head,
  BiteDefense       = 100,
  ScratchDefense   = 100,
}
  }}
}}


{{Navbox clothing}}
{{Navbox clothing}}

Revision as of 11:58, 8 January 2024

The Game WorldItemsClothingHockey Helmet
Hockey Helmet
Hockey Helmet
General
Category Clothing
Encumbrance
Heavy Load
1.0
Body location Hat
Insulation
Insulation 0
Wind resistance 0
Technical details
Item ID Base.Hat_HockeyHelmet

A Hockey Helmet is a helmet used by hockey players.

Usage

The hockey helmet provides bite and scratch defense.

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.65
item Hat_BicycleHelmet
{
  DisplayCategory   = Accessory,
  Type              = Clothing,
  DisplayName       = Hockey Helmet,
  ClothingItem      = Hat_HockeyHelmet,
  BodyLocation      = Hat,
  Icon              = HelmetHockeyBlack,
  CanHaveHoles      = false,
  BloodLocation     = Head,
  BiteDefense       = 100,
  ScratchDefense    = 100,
}