mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Remove maxaerolaincrement, the realistic amount is just too small for the display
This commit is contained in:
parent
c30aef672a
commit
4b6b4c87ee
1 changed files with 2 additions and 9 deletions
|
@ -48,7 +48,6 @@ namespace RJW_Menstruation
|
|||
|
||||
protected long ageOfLastBirth = 0;
|
||||
protected float maxBreastIncrement = -1f;
|
||||
protected float maxAreolaIncrement = -1f;
|
||||
protected float breastSizeIncreased = 0f;
|
||||
protected string debugGrowthStatus = "(Growth/shrink not yet calculated; run for 1.5h to update)";
|
||||
protected float nippleProgress = 0f;
|
||||
|
@ -153,7 +152,6 @@ namespace RJW_Menstruation
|
|||
}
|
||||
Scribe_Values.Look(ref ageOfLastBirth, "ageOfLastBirth", ageOfLastBirth, true);
|
||||
Scribe_Values.Look(ref maxBreastIncrement, "maxBreastIncrement", maxBreastIncrement, true);
|
||||
Scribe_Values.Look(ref maxAreolaIncrement, "maxAreolaIncrement", maxAreolaIncrement, true);
|
||||
Scribe_Values.Look(ref breastSizeIncreased, "breastSizeIncreased", breastSizeIncreased, true);
|
||||
Scribe_Values.Look(ref nippleProgress, "nippleProgress", nippleProgress, true);
|
||||
Scribe_Values.Look(ref baseAlpha, "baseAlpha", baseAlpha, true);
|
||||
|
@ -218,10 +216,6 @@ namespace RJW_Menstruation
|
|||
{
|
||||
maxBreastIncrement = Utility.RandGaussianLike(0.088f, 0.202f);
|
||||
}
|
||||
if (maxAreolaIncrement <= 0f)
|
||||
{
|
||||
maxAreolaIncrement = Utility.RandGaussianLike(0.0375f, 0.1125f);
|
||||
}
|
||||
if (ageOfLastBirth == 0)
|
||||
{
|
||||
ageOfLastBirth = CalculateLastBirth();
|
||||
|
@ -238,7 +232,6 @@ namespace RJW_Menstruation
|
|||
{
|
||||
baseNipple = Utility.RandGaussianLike(0.0f, 1.0f);
|
||||
}
|
||||
CalculateNipples();
|
||||
UpdateNipples();
|
||||
loaded = true;
|
||||
HugsLibController.Instance.TickDelayScheduler.ScheduleCallback(action, GetNextUpdate(), parent.pawn);
|
||||
|
@ -329,6 +322,7 @@ namespace RJW_Menstruation
|
|||
public void AdjustNippleProgress(float amount)
|
||||
{
|
||||
nippleProgress = Mathf.Clamp01(nippleProgress + amount);
|
||||
UpdateNipples();
|
||||
}
|
||||
|
||||
public void AdjustNippleSizeImmediately(float amount)
|
||||
|
@ -346,7 +340,7 @@ namespace RJW_Menstruation
|
|||
public void UpdateNipples()
|
||||
{
|
||||
cachedAlpha = baseAlpha + nippleProgress * nippleChange;
|
||||
cachedAreola = baseAreola + nippleProgress * maxAreolaIncrement;
|
||||
cachedAreola = baseAreola + nippleProgress * nippleChange;
|
||||
cachedNipple = baseNipple + nippleProgress * nippleChange;
|
||||
|
||||
cachedColor = Colors.CMYKLerp(parent.pawn.story?.SkinColor ?? Color.white, Props.BlackNippleColor, Alpha);
|
||||
|
@ -364,7 +358,6 @@ namespace RJW_Menstruation
|
|||
public void CopyBreastProperties(HediffComp_Breast original)
|
||||
{
|
||||
maxBreastIncrement = original.maxBreastIncrement;
|
||||
maxAreolaIncrement = original.maxAreolaIncrement;
|
||||
baseAlpha = original.baseAlpha;
|
||||
baseAreola = original.baseAreola;
|
||||
baseNipple = original.baseNipple;
|
||||
|
|
Loading…
Reference in a new issue