ui/richtext/RichTextBulletLifetime.cs

A small UI rich text panel class that defines a bullet lifetime tag. It sets an icon path, forces the icon to be prepended, overrides displayed text to "lifetime", and sets a color.

[RichTextPanel( @"\b[Bb]ullet [Ll]ifetime\b" )]
public class RichTextBulletLifetime : RichTextBase
{
	public override string ImagePath => "textures/ui/bullet-icon.png";
	public override bool PrependIcon => true;
	public override string TextOverride => "lifetime";

	public override Color Color => new Color( 0.6f, 0.6f, 1f );
}