Beret: Difference between revisions

From PZwiki
(Added variants, updated code)
(Removed peaked army cap, the peaked army cap isn't actually a beret, the item sprite is just wrong.)
Line 51: Line 51:
| -
| -
| {{ID|Base.Hat_BeretArmy}}
| {{ID|Base.Hat_BeretArmy}}
|-
| <span id="PeakedArmyCap">[[File:HatBeretArmy.png]]</span>
| Peaked Army Cap
| 0.3
| 15%
| 10%
| {{ID|Base.Hat_PeakedCapArmy}}
|-
|-
|}
|}
Line 96: Line 89:
BloodLocation = Head,
BloodLocation = Head,
Weight = 0.5,
Weight = 0.5,
</pre>
[[File:HatBeretArmy.png|Peaked Army Cap]] ''Peaked Army Cap''
{{Retrieved|version=41|incver=65}}
<pre> item Hat_PeakedCapArmy
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Peaked Army Cap,
ClothingItem = Hat_PeakedCapArmy,
BodyLocation = Hat,
Icon = HatBeretArmy,
CanHaveHoles = false,
ChanceToFall = 60,
BloodLocation = Head,
Insulation = 0.15,
WindResistance = 0.1,
Weight = 0.3,
</pre>
</pre>


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

Revision as of 19:10, 12 April 2022

Beret
Beret
BeretGrey.png BeretGreen.png HatBeretArmy.png
General
Category Clothing
Encumbrance
Heavy Load
See Variants
Body location Hat
Insulation
Insulation See Variants
Wind resistance See Variants
Technical details
Item ID See Variants

A beret is a hat with no protection and low insulation.

Body Location

Protection Hat.png
  • Head

Variants

There are three variants of the beret.

Icon Name Weight Insulation Wind Resistance Base ID
BeretGrey.png Beret 0.5 30% - Base.Hat_Beret
BeretGreen.png Army Beret 0.5 30% - Base.Hat_BeretArmy


Trivia

  • The beret was created as a French fashion clothing item but was also adopted by the US Army. By 1979, berets in the military were restricted to being worn by special forces and ranger units.

Code

From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)
Beret Beret Retrieved: Build 41.65

	item Hat_Beret
		DisplayCategory	= Accessory,
		Type		= Clothing,
		DisplayName	= Beret,
		ClothingItem	= Hat_Beret,
		BodyLocation	= Hat,
		Icon		= BeretGrey,
		CanHaveHoles	= false,
		ChanceToFall	= 60,
		Insulation	= 0.3,
		BloodLocation	= Head,
		Weight		= 0.5,

Army Beret Army Beret Retrieved: Build 41.65

	item Hat_BeretArmy
		DisplayCategory	= Accessory,
		Type		= Clothing,
		DisplayName	= Army Beret,
		ClothingItem	= Hat_BeretArmy,
		BodyLocation	= Hat,
		Icon		= BeretGreen,
		CanHaveHoles	= false,
		ChanceToFall	= 60,
		Insulation	= 0.3,
		BloodLocation	= Head,
		Weight		= 0.5,