Compare commits

..

No commits in common. "8f497764cb64610bcda193fcd4983f098bc7212f" and "4949cac289bafa231785faf109f9c94ae611f354" have entirely different histories.

4 changed files with 4 additions and 3 deletions

View file

@ -78,6 +78,7 @@ namespace RJW_Menstruation
kind: babyPawnKind,
faction: mother.Faction,
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 }),
forceNoIdeo: true,
forcedEndogenes: PregnancyUtility.GetInheritedGenes(father, mother),
@ -95,7 +96,7 @@ namespace RJW_Menstruation
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
// So poke it early
baby.Drawer.renderer.EnsureGraphicsInitialized();
baby.Drawer.renderer.renderTree.EnsureInitialized(PawnRenderFlags.DrawNow);
if (division > 1)
{

View file

@ -332,7 +332,7 @@ namespace RJW_Menstruation
PregnancyCommon.SetupBabyXenotype(mother, father, baby);
// HAR and some xenotype mods don't randomize graphics until it's rendered
// So poke it early
baby.Drawer.renderer.EnsureGraphicsInitialized();
baby.Drawer.renderer.renderTree.EnsureInitialized(PawnRenderFlags.DrawNow);
if (division > 1)
{

View file

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

View file

@ -2,7 +2,6 @@ Version 1.5.0.0
- Support for RimWorld 1.5. All future changes to Menstruation will only be for RimWorld 1.5.
- Updated Traditional Chinese translation by Hydrogen.
- Inactive genes will no longer be applied to wombs.
- Fix babies becoming the wrong pawnkind in some scenarios.
Version 1.0.9.4
- Added graphics for the menstruation genes with thanks to Alpenglow.