ui/richtext/RichTextMaxHp.cs

A RichText panel class that matches text like "Max HP" and displays a stat icon and value. It sets icon, color, text shadow parameters, and exposes one stat entry for PlayerStat.MaxHp formatted as an integer.

Reflection
[RichTextPanel( @"\b[Mm]ax [Hh][Pp]\b" )]
public class RichTextMaxHp : RichTextBase
{
	//public override string Icon => "favorite";
	public override string Icon => "";

	public override Color Color => new Color( 0.9f, 0.5f, 0.6f );

	public override float? TextShadowBlur => 3f;
	public override Color? TextShadowColor => new Color( 0.6f, 0.3f, 0.4f, 0.5f );
	public override float? TextShadowOffsetY => 0f;

	public override RichTextStatEntry[] Stats => [
		new(PlayerStat.MaxHp, StatFormat.Int)
	];
}