mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Compare commits
No commits in common. "8718cca2993391b7c1d1436de8da438f54c09e91" and "08ebaa9db3f016436146063cdaec3ca5692f0462" have entirely different histories.
8718cca299
...
08ebaa9db3
4 changed files with 5 additions and 16 deletions
Binary file not shown.
|
@ -1143,7 +1143,7 @@ namespace RJW_Menstruation
|
|||
if (cums == null) cums = new List<Cum>();
|
||||
if (eggs == null) eggs = new List<Egg>();
|
||||
|
||||
PreInitialize();
|
||||
Notify_UpdatedGenes();
|
||||
|
||||
if (Props.infertile)
|
||||
{
|
||||
|
@ -1180,11 +1180,6 @@ namespace RJW_Menstruation
|
|||
initError = false;
|
||||
}
|
||||
|
||||
protected virtual void PreInitialize()
|
||||
{
|
||||
Notify_UpdatedGenes();
|
||||
}
|
||||
|
||||
protected virtual void InitializeExtraValues()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -21,15 +21,10 @@ namespace RJW_Menstruation
|
|||
|
||||
public new CompProperties_PeriodicOvulator Props;
|
||||
|
||||
protected override void PreInitialize()
|
||||
{
|
||||
base.PreInitialize();
|
||||
Props = (CompProperties_PeriodicOvulator)props;
|
||||
}
|
||||
|
||||
protected override void InitializeExtraValues()
|
||||
{
|
||||
base.InitializeExtraValues();
|
||||
base.InitializeExtraValues();
|
||||
Props = (CompProperties_PeriodicOvulator)props;
|
||||
if (averageCycleIntervalTicks < 0)
|
||||
{
|
||||
averageCycleIntervalTicks = (int)(Props.cycleIntervalDays.RandomInRange * GenDate.TicksPerDay / cycleSpeed);
|
||||
|
@ -45,8 +40,8 @@ namespace RJW_Menstruation
|
|||
protected override float RaceCyclesPerYear()
|
||||
{
|
||||
// Don't bother trying to work seasonal breeding into the math
|
||||
// Base it off of the shortest cycle interval of the vagina
|
||||
return GenDate.DaysPerYear / (Props.cycleIntervalDays.TrueMin / Configurations.CycleAccelerationDefault);
|
||||
// Due to the enormous variation in possible cycle gaps, cheat and base it off the individual
|
||||
return averageCycleIntervalTicks * cycleSpeed / GenDate.TicksPerYear; // cancel out their cycleSpeed from initialization to get their "normal" speed
|
||||
}
|
||||
|
||||
protected override void BeforeSimulator()
|
||||
|
|
|
@ -2,7 +2,6 @@ Version 1.0.9.0
|
|||
- Fix errors when opening the womb dialog of some low fertility pawns.
|
||||
- Updated Traditional Chinese translation by Hydrogen.
|
||||
- New options to update wombs more or less often, defaulting to every hour.
|
||||
- More generous egg allocation for newly spawned periodic ovulators.
|
||||
- Menstruation-related genes will now stay on females during initial pawn setup.
|
||||
|
||||
Version 1.0.8.9
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue