A RichText panel definition for an "Item Attract Strength" stat display. It specifies an icon and two stat entries (CoinAttractRange and CoinAttractStrength) formatted as percentage differences.
[RichTextPanel( @"\b([Ii]tem )?[Aa]ttract [Ss]trength\b" )]
public class RichTextItemAttractStrength : RichTextBase
{
public override string Icon => "toll";
public override RichTextStatEntry[] Stats => [
new(PlayerStat.CoinAttractRange, StatFormat.PercentageDiff),
new(PlayerStat.CoinAttractStrength, StatFormat.PercentageDiff)
];
}