mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Add eggMultiplier property to vaginas to have more lifetime eggs. Set hydraulic/bionic to 0 and archotech to 4
This commit is contained in:
parent
fe62f2503f
commit
7a1df037ac
4 changed files with 6 additions and 1 deletions
Binary file not shown.
|
@ -59,6 +59,7 @@
|
||||||
<wombTex>Womb/Womb</wombTex>
|
<wombTex>Womb/Womb</wombTex>
|
||||||
<vagTex>Genitals/BionicVagina</vagTex>
|
<vagTex>Genitals/BionicVagina</vagTex>
|
||||||
<infertile>true</infertile>
|
<infertile>true</infertile>
|
||||||
|
<eggMultiplier>0</eggMultiplier>
|
||||||
</li>
|
</li>
|
||||||
</comps>
|
</comps>
|
||||||
</value>
|
</value>
|
||||||
|
@ -73,6 +74,7 @@
|
||||||
<wombTex>Womb/Womb</wombTex>
|
<wombTex>Womb/Womb</wombTex>
|
||||||
<vagTex>Genitals/BionicVagina</vagTex>
|
<vagTex>Genitals/BionicVagina</vagTex>
|
||||||
<infertile>true</infertile>
|
<infertile>true</infertile>
|
||||||
|
<eggMultiplier>0</eggMultiplier>
|
||||||
</li>
|
</li>
|
||||||
</comps>
|
</comps>
|
||||||
</value>
|
</value>
|
||||||
|
@ -94,6 +96,7 @@
|
||||||
<wombTex>Womb/Womb</wombTex>
|
<wombTex>Womb/Womb</wombTex>
|
||||||
<vagTex>Genitals/Vagina</vagTex>
|
<vagTex>Genitals/Vagina</vagTex>
|
||||||
<concealedEstrus>true</concealedEstrus>
|
<concealedEstrus>true</concealedEstrus>
|
||||||
|
<eggMultiplier>4</eggMultiplier>
|
||||||
</li>
|
</li>
|
||||||
</comps>
|
</comps>
|
||||||
</value>
|
</value>
|
||||||
|
|
|
@ -38,6 +38,7 @@ namespace RJW_Menstruation
|
||||||
public bool concealedEstrus = false;
|
public bool concealedEstrus = false;
|
||||||
public SeasonalBreed breedingSeason = SeasonalBreed.Always;
|
public SeasonalBreed breedingSeason = SeasonalBreed.Always;
|
||||||
public int estrusDaysBeforeOvulation = 3;
|
public int estrusDaysBeforeOvulation = 3;
|
||||||
|
public int eggMultiplier = 1;
|
||||||
|
|
||||||
|
|
||||||
public CompProperties_Menstruation()
|
public CompProperties_Menstruation()
|
||||||
|
@ -1067,7 +1068,7 @@ namespace RJW_Menstruation
|
||||||
|
|
||||||
float raceCyclesPerYear = RaceCyclesPerYear();
|
float raceCyclesPerYear = RaceCyclesPerYear();
|
||||||
int lifetimeCycles = (int)(raceCyclesPerYear * (fertEndAge - fertStartAge));
|
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 pawnCyclesPerYear = raceCyclesPerYear * cycleSpeed;
|
||||||
float pawnCyclesElapsed = Mathf.Max((Pawn.ageTracker.AgeBiologicalYearsFloat - fertStartAge) * pawnCyclesPerYear, 0.0f);
|
float pawnCyclesElapsed = Mathf.Max((Pawn.ageTracker.AgeBiologicalYearsFloat - fertStartAge) * pawnCyclesPerYear, 0.0f);
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
Version 1.0.7.5
|
Version 1.0.7.5
|
||||||
- Fix error when one womb's concealed estrus is overwritten by another womb's visible estrus.
|
- 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.
|
- 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
|
Version 1.0.7.4
|
||||||
- Fix errors when using other mods with bad HediffCompProperties.
|
- Fix errors when using other mods with bad HediffCompProperties.
|
||||||
|
|
Loading…
Reference in a new issue