ui/richtext/RichTextEvilChest.cs

A RichText panel class for matching the phrase "Evil chest?" (case-insensitive) in rich text. It sets a custom text color and stroke width/color for matched text.

[RichTextPanel( @"\b[Ee]vil chest?\b" )]
public class RichTextEvilChest : RichTextBase
{
	public override Color Color => new Color( 0.75f, 0f, 0f );

	public override float? TextStrokeWidth => 2f;
	public override Color? TextStrokeColor => Color.Black;// new Color( 1f, 0.5f, 0.5f );
}