A RichText panel definition for displaying player move speed stats in UI. It sets icon, color, text skew, font weight, and a single stat entry showing the MoveSpeedMultiplier as a percentage difference.
[RichTextPanel( @"\b[Mm]ove ?[Ss]peed\b" )]
public class RichTextMoveSpeed : RichTextBase
{
//public override string Icon => "directions_run";
public override string Icon => "";
public override Color Color => new Color( 0.5f, 0.5f, 0.8f );
public override float? SkewX => -8f;
public override int? FontWeight => 500;
public override RichTextStatEntry[] Stats => [
new(PlayerStat.MoveSpeedMultiplier, StatFormat.PercentageDiff)
];
}