Significantly improve TEG power generation stability (#37658)

* Significantly improve TEG power generation stability

* Revert "Significantly improve TEG power generation stability"

This reverts commit e88278c0f8dea925a89b240e09e5dbcb84f9d174.

* Reimplement without auto formatting obliterating the entire system

* second round of balancing
This commit is contained in:
ArtisticRoomba
2025-05-26 05:07:49 -07:00
committed by GitHub
parent ba76ceec08
commit 9a910873c8
2 changed files with 11 additions and 1 deletions

View File

@@ -75,4 +75,10 @@ public sealed partial class TegGeneratorComponent : Component
[ViewVariables(VVAccess.ReadWrite)]
[DataField("volumeMax")]
public float VolumeMax = -4;
/// <summary>
/// Smoothing factor used to smooth out power generation.
/// </summary>
[DataField]
public float PowerSmoothingFactor = 0.2f;
}