mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Compare commits
No commits in common. "c93ae8969580e036a46ee4fb142e66e4ab75d8ea" and "be05766fba69bb3a87bff26349925ae2efea8eff" have entirely different histories.
c93ae89695
...
be05766fba
3 changed files with 3 additions and 7 deletions
|
@ -658,7 +658,7 @@ namespace RJW_Menstruation
|
||||||
opcache = -1;
|
opcache = -1;
|
||||||
|
|
||||||
if (Pawn.genes == null || !ModsConfig.BiotechActive) return;
|
if (Pawn.genes == null || !ModsConfig.BiotechActive) return;
|
||||||
foreach (MenstruationModExtension extension in Pawn.genes.GenesListForReading.Where(gene => gene.Active).Select(gene => gene.def.GetModExtension<MenstruationModExtension>()).Where(ext => ext != null))
|
foreach (MenstruationModExtension extension in Pawn.genes.GenesListForReading.Select(gene => gene.def.GetModExtension<MenstruationModExtension>()).Where(ext => ext != null))
|
||||||
{
|
{
|
||||||
eggLifeSpanTicks = (int)(eggLifeSpanTicks * extension.eggLifeTimeFactor);
|
eggLifeSpanTicks = (int)(eggLifeSpanTicks * extension.eggLifeTimeFactor);
|
||||||
if (extension.alwaysEstrus) estrusLevel = EstrusLevel.Visible;
|
if (extension.alwaysEstrus) estrusLevel = EstrusLevel.Visible;
|
||||||
|
|
|
@ -94,10 +94,7 @@ namespace RJW_Menstruation
|
||||||
Pawn baby = PawnGenerator.GeneratePawn(request);
|
Pawn baby = PawnGenerator.GeneratePawn(request);
|
||||||
if (baby == null) break;
|
if (baby == null) break;
|
||||||
PregnancyCommon.SetupBabyXenotype(mother, father, baby); // Probably redundant with Biotech post-birth xenotyping
|
PregnancyCommon.SetupBabyXenotype(mother, father, baby); // Probably redundant with Biotech post-birth xenotyping
|
||||||
// HAR and some xenotype mods don't randomize graphics until it's rendered
|
// baby.Drawer.renderer.graphics.ResolveAllGraphics();
|
||||||
// So poke it early
|
|
||||||
baby.Drawer.renderer.renderTree.EnsureInitialized(PawnRenderFlags.DrawNow);
|
|
||||||
|
|
||||||
if (division > 1)
|
if (division > 1)
|
||||||
{
|
{
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
|
|
|
@ -332,8 +332,7 @@ namespace RJW_Menstruation
|
||||||
PregnancyCommon.SetupBabyXenotype(mother, father, baby);
|
PregnancyCommon.SetupBabyXenotype(mother, father, baby);
|
||||||
// HAR and some xenotype mods don't randomize graphics until it's rendered
|
// HAR and some xenotype mods don't randomize graphics until it's rendered
|
||||||
// So poke it early
|
// So poke it early
|
||||||
baby.Drawer.renderer.renderTree.EnsureInitialized(PawnRenderFlags.DrawNow);
|
// baby.Drawer.renderer.graphics.ResolveAllGraphics();
|
||||||
|
|
||||||
if (division > 1)
|
if (division > 1)
|
||||||
{
|
{
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue