A small RichText panel definition that matches XP coin text and replaces it with an icon. It sets the image path to a coin texture, hides the original text, and uses a saturated blue tint for the icon.
[RichTextPanel( @"\b[Xx][Pp] [Cc]oins?\b" )]
public class RichTextXpCoin : RichTextBase
{
public override string ImagePath => "textures/ui/coin2.png";
public override bool HideText => true;
public override Color Color => Color.Blue.Saturate( 0.5f );
}