TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ hairDye

int Terraria.Item.hairDye = -1

The numerical ID of the hair shader in F:Terraria.Graphics.Shaders.GameShaders.Hair this item will apply to the player when used.
If greater than -1, then this item is a hair dye.
Defaults to -1.

Definition at line 309 of file Item.cs.

Referenced by Terraria.ID.ContentSamples.CreativeHelper.GetItemGroup(), Terraria.Player.ItemCheck_Inner(), Terraria.Item.ResetStats(), Terraria.Item.SetDefaults(), and Terraria.Item.SetDefaults2().