Compare commits

...

4 commits

4 changed files with 3 additions and 4 deletions

View file

@ -78,7 +78,6 @@ namespace RJW_Menstruation
kind: babyPawnKind, kind: babyPawnKind,
faction: mother.Faction, faction: mother.Faction,
allowDowned: true, allowDowned: true,
// fixedLastName seems not to actually do anything, as we eventually end up in PawnBioAndNameGenerator.NameResolvedFrom, which ignores its forcedLastName argument
fixedLastName: (string)RandomLastName.Invoke(null, new object[] { mother, mother, xxx.is_human(father) ? father : null }), fixedLastName: (string)RandomLastName.Invoke(null, new object[] { mother, mother, xxx.is_human(father) ? father : null }),
forceNoIdeo: true, forceNoIdeo: true,
forcedEndogenes: PregnancyUtility.GetInheritedGenes(father, mother), forcedEndogenes: PregnancyUtility.GetInheritedGenes(father, mother),
@ -96,7 +95,7 @@ namespace RJW_Menstruation
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 // 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.EnsureGraphicsInitialized();
if (division > 1) if (division > 1)
{ {

View file

@ -332,7 +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.EnsureGraphicsInitialized();
if (division > 1) if (division > 1)
{ {

View file

@ -108,7 +108,6 @@ namespace RJW_Menstruation
else comp = partner.GetRandomMenstruationComp(); else comp = partner.GetRandomMenstruationComp();
if (comp == null) if (comp == null)
{ {
if (Configurations.Debug) ModLog.Message("used original rjw method: Comp missing");
return true; return true;
} }
else if (AndroidsCompatibility.IsAndroid(pawn) && !AndroidsCompatibility.AndroidPenisFertility(pawn)) else if (AndroidsCompatibility.IsAndroid(pawn) && !AndroidsCompatibility.AndroidPenisFertility(pawn))

View file

@ -2,6 +2,7 @@ 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.
- Updated Traditional Chinese translation by Hydrogen. - Updated Traditional Chinese translation by Hydrogen.
- Inactive genes will no longer be applied to wombs. - Inactive genes will no longer be applied to wombs.
- Fix babies becoming the wrong pawnkind in some scenarios.
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.