ui/richtext/RichTextBoomerangIcon.cs

A RichText panel class that matches the word "boomerang" or "boomerang-item(s)" and replaces it with an icon. It sets ImagePath to a boomerang texture and hides the original matching text.

using Sandbox;

[RichTextPanel( @"\b[Bb]oomerang-items?\b" )]
public class RichTextBoomerangIcon : RichTextBase
{
	public override string ImagePath => "textures/ui/boomerang.png";
	public override bool HideText => true;
}