Bandana: Difference between revisions

From PZwiki
m (Added body location column to variants table)
(Updated code section)
Line 84: Line 84:


== Code ==
== Code ==
'''''From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)'''''<br>
[[File:Handkerchief_Red.png|Bandana (Face)]] ''Bandana (Face)''
{{Retrieved|version=41|incver=65}}
<pre> item Hat_BandanaMask
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Bandana (Face),
ClothingItem = Hat_BandanaMask,
BodyLocation = Mask,
ClothingItemExtra = Hat_Bandana;Hat_BandanaTied,
ClothingItemExtraOption = UntieBandana;TieBandana,
IconsForTexture = Handkerchief_Black;Handkerchief_Blue;Handkerchief_Red,
CanHaveHoles = false,
ChanceToFall = 30,
Insulation = 0.10,
Weight = 0.1,
</pre>
[[File:Handkerchief.png|Bandana (Face)]] ''Bandana (Face, Multicoloured)''
{{Retrieved|version=41|incver=65}}
<pre> item Hat_BandanaMaskTINT
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Bandana (Face),
ClothingItem = Hat_BandanaMaskTINT,
BodyLocation = Mask,
ClothingItemExtra = Hat_BandanaTINT;Hat_BandanaTiedTINT,
ClothingItemExtraOption = UntieBandana;TieBandana,
Icon = Handkerchief,
CanHaveHoles = false,
ChanceToFall = 30,
Insulation = 0.10,
Weight = 0.1,
</pre>
[[File:BandanaRed.png|Bandana (Head)]] ''Bandana (Head)''
{{Retrieved|version=41|incver=65}}
{{Retrieved|version=41|incver=65}}
<pre> item Hat_Bandana
<pre> item Hat_Bandana
Line 94: Line 128:
ClothingItemExtra = Hat_BandanaTied;Hat_BandanaMask,
ClothingItemExtra = Hat_BandanaTied;Hat_BandanaMask,
ClothingItemExtraOption = TieBandana;TieBandanaFace,
ClothingItemExtraOption = TieBandana;TieBandanaFace,
CanHaveHoles = false,
ChanceToFall = 30,
Insulation = 0.10,
Weight = 0.1,
</pre>
[[File:BandanaBlack.png|Bandana (Head)]] ''Bandana (Head, Multicoloured)''
{{Retrieved|version=41|incver=65}}
<pre> item Hat_BandanaTINT
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Bandana (Head),
ClothingItem = Hat_BandanaTINT,
BodyLocation = Hat,
Icon = BandanaBlack,
ClothingItemExtra = Hat_BandanaTiedTINT;Hat_BandanaMaskTINT,
ClothingItemExtraOption = TieBandana;TieBandanaFace,
CanHaveHoles = false,
ChanceToFall = 30,
Insulation = 0.10,
Weight = 0.1,
</pre>
[[File:RamboBandanna_Red.png|Bandana (Tied)]] ''Bandana (Tied)''
{{Retrieved|version=41|incver=65}}
<pre> item Hat_BandanaTied
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Bandana (Tied),
ClothingItem = Hat_BandanaTied,
BodyLocation = Hat,
IconsForTexture = RamboBandanna_Black;RamboBandanna_Blue;RamboBandanna_Red,
ClothingItemExtra = Hat_Bandana;Hat_BandanaMask,
ClothingItemExtraOption = UntieBandana;TieBandanaFace,
CanHaveHoles = false,
ChanceToFall = 30,
Insulation = 0.10,
Weight = 0.1,
</pre>
[[File:RamboBandana.png|Bandana (Tied)]] ''Bandana (Tied, Multicoloured)''
{{Retrieved|version=41|incver=65}}
<pre> item Hat_BandanaTiedTINT
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Bandana (Tied),
ClothingItem = Hat_BandanaTiedTINT,
BodyLocation = Hat,
ClothingItemExtra = Hat_BandanaTINT;Hat_BandanaMaskTINT,
ClothingItemExtraOption = UntieBandana;TieBandanaFace,
Icon = RamboBandanna,
CanHaveHoles = false,
CanHaveHoles = false,
ChanceToFall = 30,
ChanceToFall = 30,

Revision as of 00:39, 20 January 2022

Bandana
Bandana
Handkerchief.png BandanaBlack.png RamboBandana.png
General
Category Clothing
Encumbrance
Heavy Load
0.1
Body location See Variants
Insulation
Insulation 0.10
Technical details
Item ID See Variants

A bandana is an item of clothing that offers minimal insulation.

Usage

A bandana can be tied onto the player's face or head, depending on how it is worn when equipping. Offering 10% insulation it is more of a cosmetic item than utility clothing.

Distribution

A bandana can be found in clothing stores, on dead zombies, and in homes.

Body Location

Protection Hat.png
  • Head

Variants

Icon Name Description Body Location Base ID
Bandana (Black)Bandana (Blue)Bandana (Red) Bandana (Face) Bandana worn as a mask Mask Base.Hat_BandanaMask
Bandana Bandana (Face) Multicoloured bandana worn as a mask Mask Base.Hat_BandanaMaskTINT
Bandana (Black)Bandana (Blue)Bandana (Red) Bandana (Head) Bandana worn on the head Hat Base.Hat_Bandana
Bandana Bandana (Head) Multicoloured bandana worn on the head Hat Base.Hat_BandanaTINT
Bandana (Black)Bandana (Blue)Bandana (Red) Bandana (Tied) Bandana worn tied around the head Hat Base.Hat_BandanaTied
Bandana (Tied) Bandana (Tied) Multicoloured bandana worn tied around the head Hat Base.Hat_BandanaTiedTINT

Trivia

  • The tied bandana image files are called 'RamboBandanna', a reference to the Rambo movies wherein the main character wears a bandana in a similar style.

Code

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

	item Hat_BandanaMask
		DisplayCategory		= Accessory,
		Type			= Clothing,
		DisplayName		= Bandana (Face),
		ClothingItem		= Hat_BandanaMask,
		BodyLocation		= Mask,
		ClothingItemExtra	= Hat_Bandana;Hat_BandanaTied,
		ClothingItemExtraOption	= UntieBandana;TieBandana,
		IconsForTexture		= Handkerchief_Black;Handkerchief_Blue;Handkerchief_Red,
		CanHaveHoles		= false,
		ChanceToFall		= 30,
		Insulation		= 0.10,
		Weight			= 0.1,

Bandana (Face) Bandana (Face, Multicoloured) Retrieved: Build 41.65

	item Hat_BandanaMaskTINT
		DisplayCategory		= Accessory,
		Type			= Clothing,
		DisplayName		= Bandana (Face),
		ClothingItem		= Hat_BandanaMaskTINT,
		BodyLocation		= Mask,
		ClothingItemExtra	= Hat_BandanaTINT;Hat_BandanaTiedTINT,
		ClothingItemExtraOption	= UntieBandana;TieBandana,
		Icon			= Handkerchief,
		CanHaveHoles		= false,
		ChanceToFall		= 30,
		Insulation		= 0.10,
		Weight			= 0.1,

Bandana (Head) Bandana (Head) Retrieved: Build 41.65

	item Hat_Bandana
		DisplayCategory		= Accessory,
		Type			= Clothing,
		DisplayName		= Bandana (Head),
		ClothingItem		= Hat_Bandana,
		BodyLocation		= Hat,
		IconsForTexture		= BandanaBlack;BandanaBlue;BandanaRed,
		ClothingItemExtra	= Hat_BandanaTied;Hat_BandanaMask,
		ClothingItemExtraOption	= TieBandana;TieBandanaFace,
		CanHaveHoles		= false,
		ChanceToFall		= 30,
		Insulation		= 0.10,
		Weight			= 0.1,

Bandana (Head) Bandana (Head, Multicoloured) Retrieved: Build 41.65

	item Hat_BandanaTINT
		DisplayCategory		= Accessory,
		Type			= Clothing,
		DisplayName		= Bandana (Head),
		ClothingItem		= Hat_BandanaTINT,
		BodyLocation		= Hat,
		Icon			= BandanaBlack,
		ClothingItemExtra	= Hat_BandanaTiedTINT;Hat_BandanaMaskTINT,
		ClothingItemExtraOption	= TieBandana;TieBandanaFace,
		CanHaveHoles		= false,
		ChanceToFall		= 30,
		Insulation		= 0.10,
		Weight			= 0.1,

Bandana (Tied) Bandana (Tied) Retrieved: Build 41.65

	item Hat_BandanaTied
		DisplayCategory		= Accessory,
		Type			= Clothing,
		DisplayName		= Bandana (Tied),
		ClothingItem		= Hat_BandanaTied,
		BodyLocation		= Hat,
		IconsForTexture		= RamboBandanna_Black;RamboBandanna_Blue;RamboBandanna_Red,
		ClothingItemExtra	= Hat_Bandana;Hat_BandanaMask,
		ClothingItemExtraOption	= UntieBandana;TieBandanaFace,
		CanHaveHoles		= false,
		ChanceToFall		= 30,
		Insulation		= 0.10,
		Weight			= 0.1,

Bandana (Tied) Bandana (Tied, Multicoloured) Retrieved: Build 41.65

	item Hat_BandanaTiedTINT
		DisplayCategory		= Accessory,
		Type			= Clothing,
		DisplayName		= Bandana (Tied),
		ClothingItem		= Hat_BandanaTiedTINT,
		BodyLocation		= Hat,
		ClothingItemExtra	= Hat_BandanaTINT;Hat_BandanaMaskTINT,
		ClothingItemExtraOption	= UntieBandana;TieBandanaFace,
		Icon			= RamboBandanna,
		CanHaveHoles		= false,
		ChanceToFall		= 30,
		Insulation		= 0.10,
		Weight			= 0.1,