mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Compare commits
No commits in common. "a748a520c0b21a2ebfd3fb8b84c6019af74022b0" and "c93ae8969580e036a46ee4fb142e66e4ab75d8ea" have entirely different histories.
a748a520c0
...
c93ae89695
3 changed files with 2 additions and 10 deletions
|
@ -1459,7 +1459,7 @@ namespace RJW_Menstruation
|
||||||
break;
|
break;
|
||||||
case Hediff_BasePregnancy _:
|
case Hediff_BasePregnancy _:
|
||||||
default:
|
default:
|
||||||
if (Configurations.Debug) Log.Message($"Not adding to existing pregnancy {pregnancy.GetUniqueLoadID()}");
|
if (Configurations.Debug) Log.Message($"Not adding to existing pregnancy {pregnancy?.GetUniqueLoadID()}");
|
||||||
pregnant = true;
|
pregnant = true;
|
||||||
deadeggs.Add(egg);
|
deadeggs.Add(egg);
|
||||||
break;
|
break;
|
||||||
|
@ -1480,7 +1480,7 @@ namespace RJW_Menstruation
|
||||||
float interspeciesFactor = InterspeciesImplantFactor(egg.fertilizer);
|
float interspeciesFactor = InterspeciesImplantFactor(egg.fertilizer);
|
||||||
float implantChance = Configurations.ImplantationChance * ImplantChance * interspeciesFactor;
|
float implantChance = Configurations.ImplantationChance * ImplantChance * interspeciesFactor;
|
||||||
Log.Message($"Fertilized egg of {Pawn} failed to implant (chance {implantChance.ToStringPercent()}, " +
|
Log.Message($"Fertilized egg of {Pawn} failed to implant (chance {implantChance.ToStringPercent()}, " +
|
||||||
((!Mathf.Approximately(interspeciesFactor, 1.0f)) ? $"interspecies factor {interspeciesFactor.ToStringPercent()}, " : "") +
|
(interspeciesFactor != 1.0f ? $"interspecies factor {interspeciesFactor.ToStringPercent()}, " : "") +
|
||||||
$"father {egg.fertilizer})");
|
$"father {egg.fertilizer})");
|
||||||
}
|
}
|
||||||
deadeggs.Add(egg);
|
deadeggs.Add(egg);
|
||||||
|
|
|
@ -92,13 +92,6 @@ namespace RJW_Menstruation
|
||||||
ticksToNextCycle = (int)Utility.VariationRange(averageCycleIntervalTicks, cycleVariability) / 2;
|
ticksToNextCycle = (int)Utility.VariationRange(averageCycleIntervalTicks, cycleVariability) / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void RecoverAction()
|
|
||||||
{
|
|
||||||
base.RecoverAction();
|
|
||||||
if (curStage != Stage.Recover)
|
|
||||||
GoNextStage(Stage.Anestrus);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void AnestrusAction()
|
protected override void AnestrusAction()
|
||||||
{
|
{
|
||||||
if (ticksToNextCycle <= 0 && IsBreedingSeason())
|
if (ticksToNextCycle <= 0 && IsBreedingSeason())
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
Version 1.5.0.0
|
Version 1.5.0.0
|
||||||
- Support for RimWorld 1.5. All future changes to Menstruation will only be for RimWorld 1.5.
|
- Support for RimWorld 1.5. All future changes to Menstruation will only be for RimWorld 1.5.
|
||||||
- Not yet compatible with Animal Genetics. Compatibility will be re-enabled after it is updated for RimWorld 1.5.
|
- Not yet compatible with Animal Genetics. Compatibility will be re-enabled after it is updated for RimWorld 1.5.
|
||||||
- Inactive genes will no longer be applied to wombs.
|
|
||||||
|
|
||||||
Version 1.0.9.4
|
Version 1.0.9.4
|
||||||
- Added graphics for the menstruation genes with thanks to Alpenglow.
|
- Added graphics for the menstruation genes with thanks to Alpenglow.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue