Add eggMultiplier property to vaginas to have more lifetime eggs. Set hydraulic/bionic to 0 and archotech to 4

This commit is contained in:
lutepickle 2022-09-08 09:57:22 -07:00
parent fe62f2503f
commit 7a1df037ac
4 changed files with 6 additions and 1 deletions

Binary file not shown.

View File

@ -59,6 +59,7 @@
<wombTex>Womb/Womb</wombTex>
<vagTex>Genitals/BionicVagina</vagTex>
<infertile>true</infertile>
<eggMultiplier>0</eggMultiplier>
</li>
</comps>
</value>
@ -73,6 +74,7 @@
<wombTex>Womb/Womb</wombTex>
<vagTex>Genitals/BionicVagina</vagTex>
<infertile>true</infertile>
<eggMultiplier>0</eggMultiplier>
</li>
</comps>
</value>
@ -94,6 +96,7 @@
<wombTex>Womb/Womb</wombTex>
<vagTex>Genitals/Vagina</vagTex>
<concealedEstrus>true</concealedEstrus>
<eggMultiplier>4</eggMultiplier>
</li>
</comps>
</value>

View File

@ -38,6 +38,7 @@ namespace RJW_Menstruation
public bool concealedEstrus = false;
public SeasonalBreed breedingSeason = SeasonalBreed.Always;
public int estrusDaysBeforeOvulation = 3;
public int eggMultiplier = 1;
public CompProperties_Menstruation()
@ -1067,7 +1068,7 @@ namespace RJW_Menstruation
float raceCyclesPerYear = RaceCyclesPerYear();
int lifetimeCycles = (int)(raceCyclesPerYear * (fertEndAge - fertStartAge));
int lifetimeEggs = (int)(lifetimeCycles * avglittersize * Utility.RandGaussianLike(0.70f, 1.30f, 5));
int lifetimeEggs = (int)(lifetimeCycles * avglittersize * Props.eggMultiplier * Utility.RandGaussianLike(0.70f, 1.30f, 5));
float pawnCyclesPerYear = raceCyclesPerYear * cycleSpeed;
float pawnCyclesElapsed = Mathf.Max((Pawn.ageTracker.AgeBiologicalYearsFloat - fertStartAge) * pawnCyclesPerYear, 0.0f);

View File

@ -1,6 +1,7 @@
Version 1.0.7.5
- Fix error when one womb's concealed estrus is overwritten by another womb's visible estrus.
- Climacteric and menopause are now per-womb. Their effect on overall sex drive and satisfaction will depend on the health of any other wombs.
- Added new property to vaginas to multiply the number of eggs available. Archotech vaginas will have quadruple the normal amount.
Version 1.0.7.4
- Fix errors when using other mods with bad HediffCompProperties.