Air Force Helmet: Difference between revisions

From PZwiki
m (Fixed body location)
(Update distribution file)
 
(28 intermediate revisions by 4 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=65}}
{{Page version|41.65}}
{{Infobox clothing
{{Infobox item
| display_name=Air Force Helmet
|name=Air Force Helmet
| name_colour=Clothing
|model=HelmetSP_Model.png
| name_text_colour=Clothing
|icon=HelmetSP.png
| alternate_image=HelmetSP.png
<!-- General -->
<!-- General -->
| category=Clothing
|category=Clothing
| weight=1.0
|weight=1.0
| body_location=FullHat
|equipped=FullHat
<!-- Speed -->
|combat_speed=0.95
| combat_speed = 0.95
|bite_defense=100
<!-- Protection -->
|scratch_defense=100
| bite_defense = 100
|insulation=0.70
| scratch_defense = 100
|wind_resistance=0.70
<!-- Insulation -->
|water_resistance=1.0
| insulation=0.70
| wind_resistance=0.70
| water_resistance=1.0
<!-- Technical details -->
<!-- Technical details -->
| class_name=Base.Hat_SPHhelmet
|item_id=Base.Hat_SPHhelmet
}}
}}
An '''air force helmet''' is a hat that provides moderate insulation and great protection.
An '''air force helmet''' is a hat that provides moderate insulation and great protection.
Line 26: Line 22:
==Usage==
==Usage==
An air force helmet can be used to protect the wearer from attacks to the head.
An air force helmet can be used to protect the wearer from attacks to the head.
==Body location==
{{Body location|body_location=Hat}}


==Distribution==
==Distribution==
Air force helmets can be found in army bases and on certain [[zombie]]s.
The loot distributions can be found in the table(s) below.


==Body Location==
<!--BOT FLAG|Hat_SPHhelmet|41.78.16-->
{{Body location|body_location=Hat}}
{{Clear}}
<div class="togglebox theme-red">
    <div>Hat_SPHhelmet distribution
        <span class="mw-customtoggle-togglebox-Hat_SPHhelmet" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Hat_SPHhelmet">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | armyhanger
    | {{ll|locker}}
    | 10.78%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Hat_SPHhelmet" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Hat_SPHhelmet|41.78.16-->


==Code==
==Code==
'''''From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)'''''
{{CodeBox
{{Retrieved|version=41|incver=65}}
| {{CodeSnip
<pre> item Hat_SPHhelmet
  | lang = java
DisplayCategory = Accessory,
  | line = true
Type = Clothing,
  | start = 937
DisplayName = Airforce Helmet,
  | source = clothing_hats.txt
ClothingItem = Hat_SPHhelmet,
  | retrieved = true
BodyLocation = FullHat,
  | version = 41.78.16
BloodLocation = FullHelmet,
  | code =
Icon = HelmetSP,
item Hat_SPHhelmet
CanHaveHoles = false,
{
CombatSpeedModifier = 0.95,
    DisplayCategory = Accessory,
BiteDefense = 100,
Type = Clothing,
ScratchDefense = 100,
DisplayName = Airforce Helmet,
ChanceToFall = 0,
ClothingItem = Hat_SPHhelmet,
Insulation = 0.70,
BodyLocation = FullHat,
WindResistance = 0.70,
BloodLocation = FullHelmet,
WaterResistance = 1.0,
Icon = HelmetSP,
</pre>
CanHaveHoles = false,
CombatSpeedModifier = 0.95,
BiteDefense = 100,
        ScratchDefense = 100,
        ChanceToFall = 0,
        Insulation = 0.70,
        WindResistance = 0.70,
        WaterResistance = 1.0,
}
}}
}}
 
==See also==


{{Navbox clothing}}
{{Navbox items|headwear}}

Latest revision as of 11:54, 30 April 2024

Project ZomboidItemsClothingHeadwearHelmetsAir Force Helmet
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.
Air Force Helmet
HelmetSP Model.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
1.0
Equipped
FullHat
Properties
Combat speed
95%
Scratch defence
100%
Bite defence
100%
Insulation
70%
Wind resistance
70%
Water resistance
100%
Technical
Item ID
Base.Hat_SPHhelmet

An air force helmet is a hat that provides moderate insulation and great protection.

Usage

An air force helmet can be used to protect the wearer from attacks to the head.

Body location

Protection Hat.png
  • Head

Distribution

The loot distributions can be found in the table(s) below.

Hat_SPHhelmet distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
armyhanger locker 10.78%

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_SPHhelmet
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Airforce Helmet,
		ClothingItem = Hat_SPHhelmet,
		BodyLocation = FullHat,
		BloodLocation = FullHelmet,
		Icon = HelmetSP,
		CanHaveHoles = false,
		CombatSpeedModifier = 0.95,
		BiteDefense = 100,
        ScratchDefense = 100,
        ChanceToFall = 0,
        Insulation = 0.70,
        WindResistance = 0.70,
        WaterResistance = 1.0,
	}

See also