Compare commits

...

2 commits

Author SHA1 Message Date
lutepickle
f368f643f4 Update version number and changelog 2022-10-24 18:02:25 -07:00
lutepickle
5888458c46 Properly inherit genes from parents and copy to identical twins 2022-10-24 17:49:58 -07:00
5 changed files with 12 additions and 18 deletions

Binary file not shown.

View file

@ -411,12 +411,12 @@ namespace RJW_Menstruation
allowFood: false, allowFood: false,
allowAddictions: false, allowAddictions: false,
relationWithExtraPawnChanceFactor: 0, relationWithExtraPawnChanceFactor: 0,
//fixedMelanin: melanin,
fixedLastName: lastname, fixedLastName: lastname,
kind: BabyPawnKindDecider(mother, father), kind: BabyPawnKindDecider(mother, father),
//fixedIdeo: mother.Ideo, //fixedIdeo: mother.Ideo,
forbidAnyTitle: true, forbidAnyTitle: true,
forceNoBackstory: true forceNoBackstory: true,
forcedEndogenes: PregnancyUtility.GetInheritedGenes(father, mother)
); );
int division = 1; int division = 1;
@ -435,17 +435,7 @@ namespace RJW_Menstruation
{ {
firstbaby = baby; firstbaby = baby;
request.FixedGender = baby.gender; request.FixedGender = baby.gender;
request.ForcedEndogenes = baby.genes?.Endogenes.Select(gene => gene.def).ToList();
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");
// }
}
} }
else else
{ {
@ -453,11 +443,9 @@ namespace RJW_Menstruation
if (baby.story != null) if (baby.story != null)
{ {
baby.story.headType = firstbaby.story.headType;
baby.story.hairDef = firstbaby.story.hairDef; baby.story.hairDef = firstbaby.story.hairDef;
//baby.story.hairColor = firstbaby.story.hairColor;
baby.story.bodyType = firstbaby.story.bodyType; baby.story.bodyType = firstbaby.story.bodyType;
//baby.story.crownType = firstbaby.story.crownType;
//baby.story.SetMemberValue("headGraphicPath", firstheadpath);
} }
if (baby.IsHAR()) if (baby.IsHAR())

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest> <Manifest>
<identifier>RJW Menstruation</identifier> <identifier>RJW Menstruation</identifier>
<version>1.0.7.6</version> <version>1.0.8.0</version>
<dependencies> <dependencies>
</dependencies> </dependencies>
<incompatibleWith /> <incompatibleWith />

View file

@ -11,4 +11,9 @@
<li IfModActive="rjw.milk.humanoid">1.3/MilkModule</li> <li IfModActive="rjw.milk.humanoid">1.3/MilkModule</li>
<!-- <li IfModActive="rjw.sexperience">1.3/SexperienceModule</li> --> <!-- <li IfModActive="rjw.sexperience">1.3/SexperienceModule</li> -->
</v1.3> </v1.3>
<v1.4>
<li>1.4</li>
<li IfModActive="Abraxas.RJW.RaceSupport">1.4/RJW Menstruation Race Support</li>
<!-- <li IfModActive="rjw.milk.humanoid">1.3/MilkModule</li> -->
</v1.4>
</loadFolders> </loadFolders>

View file

@ -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 - Updated Traditional Chinese translation by Hydrogen
Version 1.0.7.5 Version 1.0.7.5