public TextObject GetModifiedItemName()
        {
            if (this.ItemModifier == null)
            {
                return(this.Item.Name);
            }
            HorseComponent horseComponent = this.Item.HorseComponent;
            TextObject     textObject;

            if (!TextObject.IsNullOrEmpty(horseComponent?.ModifiedName) && this.ItemModifier == null)
            {
                textObject = horseComponent.ModifiedName;
            }
            else
            {
                textObject = this.ItemModifier.Name;
                textObject.SetTextVariable("ITEMNAME", this.Item.Name);
            }
            return(textObject);
        }