A small RichText panel class that matches the word 'landmine' (or 'landmines') in rich text and displays an orange landmine image instead of the text.
[RichTextPanel( @"\b[Ll]andmines?\b" )]
public class RichTextLandmine : RichTextBase
{
public override string ImagePath => "textures/ui/landmine.png";
public override bool HideText => true;
public override Color Color => Color.Orange.Saturate( 0.5f );
}