Bandana: Difference between revisions

From PZwiki
Line 6: Line 6:


==In_Game_Code==
==In_Game_Code==
== item Hat_Bandana
'''''From: (Project Zomboid directory/media/scripts/)'''''
{
</pre>{
                item Hat_Bandana
Type = Clothing,
Type = Clothing,
DisplayName = Bandana (Head),
DisplayName = Bandana (Head),
Line 14: Line 15:
IconsForTexture = BandanaBlack;BandanaBlue;BandanaRed,
IconsForTexture = BandanaBlack;BandanaBlue;BandanaRed,
ClothingItemExtra = Hat_BandanaTied;Hat_BandanaMask,
ClothingItemExtra = Hat_BandanaTied;Hat_BandanaMask,
        ClothingItemExtraOption = TieBandana;TieBandanaFace,
                ClothingItemExtraOption = TieBandana;TieBandanaFace,
CanHaveHoles = false,
CanHaveHoles = false,
ChanceToFall = 5,
ChanceToFall = 5,
Insulation = 0.10,
Insulation = 0.10,
Weight = 0.1,
Weight = 0.1,
} ==
}</pre>

Revision as of 15:39, 7 September 2021

A Bandana is an item of clothing that can be found in clothing stores, on dead zombies, and in homes randomly.

Usage

A bandana can be tied onto the player's Bandana or Bandana, depending on how it is worn when equipping. Offering 10% insulation it is more of a cosmetic item rather than utility clothing, also weighing a mere 0.1 in-game.

In_Game_Code

From: (Project Zomboid directory/media/scripts/)

{

               item Hat_Bandana

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 = 5, Insulation = 0.10, Weight = 0.1,

}