Ranger Hat: Difference between revisions

From PZwiki
m (Minor fixes, added code section)
m (Automated Formatting)
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Clothing|Headwear|Hats}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=65|hidecat=true}}
{{Page version|41.65}}
{{Infobox clothing
{{Infobox item
| display_name = Ranger Hat
|name=Ranger Hat
| name_colour = Clothing
|model=Hat_Ranger_model.png
| name_text_colour = Clothing
|icon=HatRanger.png
| alternate_image = HatRanger.png
<!-- General -->
<!-- General -->
| category = Clothing
|category=Clothing
| weight = 1.0
|weight=1.0
| body_location = Hat
|equipped=Hat
<!-- Insulation -->
|insulation=0.45
| insulation = 0.45
|wind_resistance=0.40
| wind_resistance = 0.40
|water_resistance=0.25
| water_resistance = 0.25
<!-- Technical details -->
<!-- Technical details -->
| class_name = Base.Hat_Ranger
|item_id=Base.Hat_Ranger
}}The '''Ranger Hat''' is a hat that's used by park rangers throughout [[Knox Country]].
}}
The '''ranger hat''' is a hat that's used by park rangers throughout [[Knox Country]].
 
==Usage==
==Usage==
The ranger hat provides a decent amount of insulation, wind resistance and a minor amount of water resistance. Ranger hats have a high chance of being knocked off of the wearer when they're attacked.
The ranger hat provides a decent amount of insulation, wind resistance and a minor amount of water resistance. Ranger hats have a high chance of being knocked off of the wearer when they're attacked.
==Distribution==
==Distribution==
Ranger hats can be found on ranger [[zombie]]s.
Ranger hats can be found on ranger [[zombie]]s.
==Body location==
==Body location==
{{Body location|body_location=Hat}}
{{Body location|body_location=Hat}}
== Code ==
 
'''''From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)'''''
{{Retrieved|version=41|incver=65}}
<pre> item Hat_Ranger
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Ranger Hat,
ClothingItem = Hat_Ranger,
BodyLocation = Hat,
Icon = HatRanger,
CanHaveHoles = false,
ChanceToFall = 40,
BloodLocation = Head,
Insulation = 0.45,
WindResistance = 0.40,
WaterResistance = 0.25,
</pre>
==Trivia==
==Trivia==
*The ranger hat isn't available for selection by those with the park ranger [[occupation]] in the character creation menu.
*The ranger hat isn't available for selection by those with the park ranger [[occupation]] in the character creation menu.


==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 849
  | source = clothing_hats.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Hat_Ranger
{
    DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Ranger Hat,
ClothingItem = Hat_Ranger,
BodyLocation = Hat,
Icon = HatRanger,
CanHaveHoles = false,
ChanceToFall = 40,
        BloodLocation = Head,
        Insulation = 0.45,
        WindResistance = 0.40,
        WaterResistance = 0.25,
    }
}}
}}
==See also==
*[[Ranger Jacket]]
*[[Ranger Pants]]
*[[Ranger Shirt]]
*[[Ranger T-shirt]]


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

Latest revision as of 11:28, 14 April 2024

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.
Ranger Hat
Hat Ranger model.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
1.0
Equipped
Hat
Properties
Insulation
45%
Wind resistance
40%
Water resistance
25%
Technical
Item ID
Base.Hat_Ranger

The ranger hat is a hat that's used by park rangers throughout Knox Country.

Usage

The ranger hat provides a decent amount of insulation, wind resistance and a minor amount of water resistance. Ranger hats have a high chance of being knocked off of the wearer when they're attacked.

Distribution

Ranger hats can be found on ranger zombies.

Body location

Protection Hat.png
  • Head

Trivia

  • The ranger hat isn't available for selection by those with the park ranger occupation in the character creation menu.

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_Ranger
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Ranger Hat,
		ClothingItem = Hat_Ranger,
		BodyLocation = Hat,
		Icon = HatRanger,
		CanHaveHoles = false,
		ChanceToFall = 40,
        BloodLocation = Head,
        Insulation = 0.45,
        WindResistance = 0.40,
        WaterResistance = 0.25,
    }

See also