ui/richtext/RichTextBomb.cs

Declares a RichText component that matches the word "bomb" or "bombs" and replaces it with an image. It sets the image path to textures/ui/bomb.png and hides the original text.

[RichTextPanel( @"\b[Bb]ombs?\b" )]
public class RichTextBomb : RichTextBase
{
	public override string ImagePath => "textures/ui/bomb.png";

	public override bool HideText => true;
}