diff --git a/1.4/Assemblies/RJW_Menstruation.dll b/1.4/Assemblies/RJW_Menstruation.dll index f311d60..3c05d62 100644 Binary files a/1.4/Assemblies/RJW_Menstruation.dll and b/1.4/Assemblies/RJW_Menstruation.dll differ diff --git a/1.4/source/RJW_Menstruation/RJW_Menstruation/Hediff_MultiplePregnancy.cs b/1.4/source/RJW_Menstruation/RJW_Menstruation/Hediff_MultiplePregnancy.cs index 3c284e3..ecbe702 100644 --- a/1.4/source/RJW_Menstruation/RJW_Menstruation/Hediff_MultiplePregnancy.cs +++ b/1.4/source/RJW_Menstruation/RJW_Menstruation/Hediff_MultiplePregnancy.cs @@ -411,12 +411,12 @@ namespace RJW_Menstruation allowFood: false, allowAddictions: false, relationWithExtraPawnChanceFactor: 0, - //fixedMelanin: melanin, fixedLastName: lastname, kind: BabyPawnKindDecider(mother, father), //fixedIdeo: mother.Ideo, forbidAnyTitle: true, - forceNoBackstory: true + forceNoBackstory: true, + forcedEndogenes: PregnancyUtility.GetInheritedGenes(father, mother) ); int division = 1; @@ -435,17 +435,7 @@ namespace RJW_Menstruation { firstbaby = baby; request.FixedGender = baby.gender; - - if (baby.story != null) - { - // firstheadpath = (string)baby.story.GetMemberValue("headGraphicPath"); - // if (firstheadpath == null) - // { - // Graphic_Multi head = GraphicDatabaseHeadRecords.GetHeadRandom(baby.gender, baby.story.SkinColor, baby.story.crownType, true); - // if (head != null) baby.story.SetMemberValue("headGraphicPath", head.GraphicPath); - // firstheadpath = (string)baby.story.GetMemberValue("headGraphicPath"); - // } - } + request.ForcedEndogenes = baby.genes?.Endogenes.Select(gene => gene.def).ToList(); } else { @@ -453,11 +443,9 @@ namespace RJW_Menstruation if (baby.story != null) { + baby.story.headType = firstbaby.story.headType; baby.story.hairDef = firstbaby.story.hairDef; - //baby.story.hairColor = firstbaby.story.hairColor; baby.story.bodyType = firstbaby.story.bodyType; - //baby.story.crownType = firstbaby.story.crownType; - //baby.story.SetMemberValue("headGraphicPath", firstheadpath); } if (baby.IsHAR()) diff --git a/About/Manifest.xml b/About/Manifest.xml index 1b4fe98..cd2bc5c 100644 --- a/About/Manifest.xml +++ b/About/Manifest.xml @@ -1,7 +1,7 @@ RJW Menstruation - 1.0.7.6 + 1.0.8.0 diff --git a/LoadFolders.xml b/LoadFolders.xml index c2d3849..4179abb 100644 --- a/LoadFolders.xml +++ b/LoadFolders.xml @@ -11,4 +11,9 @@
  • 1.3/MilkModule
  • + +
  • 1.4
  • +
  • 1.4/RJW Menstruation Race Support
  • + +
    \ No newline at end of file diff --git a/changelogs.txt b/changelogs.txt index 2c0b7e2..0e21230 100644 --- a/changelogs.txt +++ b/changelogs.txt @@ -1,4 +1,5 @@ -Version 1.0.7.6 +Version 1.0.8.0 + - Partial support for RimWorld 1.4 - Updated Traditional Chinese translation by Hydrogen Version 1.0.7.5