A RichText panel definition for igniting/fire-related terms in UI rich text. It sets an icon, orange color, text shadow properties, and displays one stat entry for the player's fire ignite chance.
[RichTextPanel( @"\b([Ii]gnite[sd]?|[Ff]ires?|[Ff]lammable)\b" )]
public class RichTextIgnite : RichTextBase
{
public override string Icon => "local_fire_department";
public override Color Color => Color.Orange;
public override float? TextShadowBlur => 3f;
public override Color? TextShadowColor => Color.Orange.WithAlpha( 0.65f );
public override float? TextShadowOffsetY => -2f;
public override RichTextStatEntry[] Stats => [
new(PlayerStat.ShootFireIgniteChance, StatFormat.Percentage)
];
}