ui/richtext/RichTextMaxHp.cs

A RichText panel class that matches occurrences of "Max HP" (case-insensitive) and displays a stat icon, color, shadow and the player's MaxHp stat formatted as an integer. It configures UI presentation only.

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)
	];
}