using Terraria.ID; using Terraria.ModLoader; namespace ExampleMod.Items { public class ExampleDye : ModItem { //PlayerHooks.GetDyeTraderReward(this, list); public override void SetDefaults() { /* this.name = "Gel Dye"; this.width = 20; this.height = 20; this.maxStack = 99; this.value = Item.sellPrice(0, 1, 50, 0); this.rare = 3; */ byte dye = item.dye; item.CloneDefaults(ItemID.GelDye); item.dye = dye; } } }