Visor

From PZwiki
Revision as of 04:29, 23 January 2022 by Omar (talk | contribs) (→‎Code: Fixed colored visor image)
Visor
HatVisorBlack.png HatVisorRed.png HatVisorWhite.png
General
Category Clothing
Encumbrance
Heavy Load
0.3
Body location Hat
Technical details
Item ID Base.Hat_VisorBlack
Base.Hat_VisorRed
Base.Hat_Visor_WhiteTINT

A visor is an item of clothing that provides no protection or insulation.

Usage

A visor provides no insulation or protection, but it can be used a cosmetic item.

Distribution

A visor can be found in clothing stores, inside golf bags, and on certain zombies.

Body Location

Protection Hat.png
  • Head

Code

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

	item Hat_VisorBlack
		DisplayCategory	= Accessory,
		Type		= Clothing,
		DisplayName	= Visor,
		ClothingItem	= Hat_VisorBlack,
		BodyLocation	= Hat,
		Icon		= HatVisorBlack,
		CanHaveHoles	= false,
		ChanceToFall	= 60,
		Weight		= 0.3,

Visor (Red) Visor (Red) Retrieved: Build 41.65

	item Hat_VisorRed
		DisplayCategory	= Accessory,
		Type		= Clothing,
		DisplayName	= Visor,
		ClothingItem	= Hat_VisorRed,
		BodyLocation	= Hat,
		Icon		= HatVisorRed,
		CanHaveHoles	= false,
		ChanceToFall	= 60,
		Weight		= 0.3,

Visor (Colored) Visor (Colored) Retrieved: Build 41.65

	item Hat_Visor_WhiteTINT
		DisplayCategory	= Accessory,
		Type		= Clothing,
		DisplayName	= Visor,
		ClothingItem	= Hat_Visor_WhiteTINT,
		BodyLocation	= Hat,
		Icon		= HatVisorWhite,
		CanHaveHoles	= false,
		ChanceToFall	= 60,
		Weight		= 0.3,