Rename InitializeExtraValues to PostInitialize for consistency
This commit is contained in:
parent
bf37fcb3f2
commit
b09ea9153e
|
@ -17,9 +17,9 @@ namespace RJW_Menstruation
|
||||||
{
|
{
|
||||||
protected bool hadOvulatoryStage = false; // Regardless of whether an egg was actually produced
|
protected bool hadOvulatoryStage = false; // Regardless of whether an egg was actually produced
|
||||||
|
|
||||||
protected override void InitializeExtraValues()
|
protected override void PostInitialize()
|
||||||
{
|
{
|
||||||
base.InitializeExtraValues();
|
base.PostInitialize();
|
||||||
hadOvulatoryStage |= IsEggExist;
|
hadOvulatoryStage |= IsEggExist;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1164,7 +1164,7 @@ namespace RJW_Menstruation
|
||||||
else if (currentIntervalTicks < curStageTicks) curStageTicks = currentIntervalTicks;
|
else if (currentIntervalTicks < curStageTicks) curStageTicks = currentIntervalTicks;
|
||||||
}
|
}
|
||||||
if (crampPain < 0) crampPain = PainRandomizer();
|
if (crampPain < 0) crampPain = PainRandomizer();
|
||||||
InitializeExtraValues();
|
PostInitialize();
|
||||||
|
|
||||||
TakeLoosePregnancy();
|
TakeLoosePregnancy();
|
||||||
|
|
||||||
|
@ -1178,7 +1178,7 @@ namespace RJW_Menstruation
|
||||||
Notify_UpdatedGenes();
|
Notify_UpdatedGenes();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void InitializeExtraValues()
|
protected virtual void PostInitialize()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,9 +26,9 @@ namespace RJW_Menstruation
|
||||||
Props = (CompProperties_PeriodicOvulator)props;
|
Props = (CompProperties_PeriodicOvulator)props;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void InitializeExtraValues()
|
protected override void PostInitialize()
|
||||||
{
|
{
|
||||||
base.InitializeExtraValues();
|
base.PostInitialize();
|
||||||
if (averageCycleIntervalTicks < 0)
|
if (averageCycleIntervalTicks < 0)
|
||||||
{
|
{
|
||||||
averageCycleIntervalTicks = (int)(Props.cycleIntervalDays.RandomInRange * GenDate.TicksPerDay / cycleSpeed);
|
averageCycleIntervalTicks = (int)(Props.cycleIntervalDays.RandomInRange * GenDate.TicksPerDay / cycleSpeed);
|
||||||
|
|
Loading…
Reference in New Issue