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

◆ dye

int Terraria.Item.dye

The numerical ID of the armor shader in F:Terraria.Graphics.Shaders.GameShaders.Armor this item activates when worn in a dye slot.
If greater than 0, then this item can be equipped into dye slots.
Defaults to 0.

Definition at line 224 of file Item.cs.

Referenced by Terraria.Item.CanCombineStackInWorld(), Terraria.UI.ItemSlot.DyeSwap(), Terraria.ID.ContentSamples.CreativeHelper.GetItemGroup(), Terraria.Item.ResetStats(), Terraria.UI.ItemSlot.SelectEquipPage(), Terraria.Player.SetArmorEffectVisuals(), Terraria.Item.SetDefaults(), Terraria.NPC.SpawnAllowed_DyeTrader(), Terraria.Item.TurnToAir(), and Terraria.Player.UpdateDyes().