ui/richtext/RichTextMissile.cs

A small UI rich text element class that matches the word 'missile' or 'Missiles' and displays an image. It sets the image path to a missile texture and hides the matched text.

[RichTextPanel( @"\b[Mm]issiles?\b" )]
public class RichTextMissile : RichTextBase
{
	public override string ImagePath => "textures/ui/missile3.png";

	public override bool HideText => true;
	//public override Color Color => Color.Gray.Saturate( 0.5f );
}