using Godot; public partial class StatsComponent : Node { // No longer exported here! public EntityStats RuntimeStats { get; private set; } // We call this manually from the Player script public void Initialize(EntityStats baseStats) { if (baseStats != null) { RuntimeStats = (EntityStats)baseStats.Duplicate(); } else { GD.PrintErr("CRITICAL: StatsComponent received null BaseStats!"); } } }