A UI rich-text panel definition that matches the phrase "Attract Range" and displays coin attract stats. It sets an empty icon, a bluish color, and two stat entries for CoinAttractRange and CoinAttractStrength using percentage-diff formatting.
[RichTextPanel( @"\b[Aa]ttract [Rr]ange\b" )]
public class RichTextCoinAttractRange : RichTextBase
{
//public override string Icon => "radar";
public override string Icon => "";
public override Color Color => new Color( 0.75f, 0.75f, 1f );
public override RichTextStatEntry[] Stats => [
new(PlayerStat.CoinAttractRange, StatFormat.PercentageDiff),
new(PlayerStat.CoinAttractStrength, StatFormat.PercentageDiff)
];
}