ui/richtext/RichTextBarrel.cs

A small RichText tag handler class for a UI system. It declares a RichTextPanel attribute matching the word "barrel" or "barrels" and configures the tag to use a barrel icon image and hide the original text.

[RichTextPanel( @"\b[Bb]arrels?\b" )]
public class RichTextBarrel : RichTextBase
{
	public override string ImagePath => "textures/ui/barrel3.png";
	public override bool HideText => true;
}