mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Compare commits
	
		
			2 commits
		
	
	
		
			c81f94fa04
			...
			ad7919a25b
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
							 | 
						ad7919a25b | ||
| 
							 | 
						d4f8312cee | 
					 4 changed files with 6 additions and 2 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -1429,7 +1429,9 @@ namespace RJW_Menstruation
 | 
			
		|||
                                    pregnancy = HediffMaker.MakeHediff(HediffDefOf.PregnantHuman, Pawn);
 | 
			
		||||
                                    if (Configurations.EnableBiotechTwins)
 | 
			
		||||
                                        pregnancy.TryGetComp<HediffComp_PregeneratedBabies>().AddNewBaby(Pawn, egg.fertilizer);
 | 
			
		||||
                                    ((Hediff_Pregnant)pregnancy).SetParents(Pawn, egg.fertilizer, PregnancyUtility.GetInheritedGeneSet(egg.fertilizer, Pawn));
 | 
			
		||||
                                    Pawn father = egg.fertilizer;
 | 
			
		||||
                                    if (Pawn == father) father = null;
 | 
			
		||||
                                    ((Hediff_Pregnant)pregnancy).SetParents(Pawn, father, PregnancyUtility.GetInheritedGeneSet(father, Pawn));
 | 
			
		||||
                                    Pawn.health.AddHediff(pregnancy);
 | 
			
		||||
                                    pregnant = true;
 | 
			
		||||
                                    deadeggs.Add(egg);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -234,6 +234,7 @@ namespace RJW_Menstruation
 | 
			
		|||
                    {
 | 
			
		||||
                        Pawn baby = comp.PeekBaby();
 | 
			
		||||
                        Pawn thisFather = baby.GetFather() ?? father;
 | 
			
		||||
                        if (thisFather == geneticMother || thisFather == mother) thisFather = null;
 | 
			
		||||
                        baby.relations.ClearAllRelations();   // To keep ApplyBirthOutcome from erroring when it tries to set up relations
 | 
			
		||||
 | 
			
		||||
                        PregnancyUtility.ApplyBirthOutcome_NewTemp(thisOutcome, quality, ritual, genes, geneticMother, birtherThing, thisFather, doctor, lordJobRitual, assignments, preventLetter);
 | 
			
		||||
| 
						 | 
				
			
			@ -293,6 +294,7 @@ namespace RJW_Menstruation
 | 
			
		|||
                    {
 | 
			
		||||
                        Pawn baby = comp.PeekBaby();
 | 
			
		||||
                        Pawn thisFather = baby.GetFather() ?? father;
 | 
			
		||||
                        if (thisFather == geneticMother || thisFather == mother) thisFather = null;
 | 
			
		||||
                        baby.relations.ClearAllRelations();
 | 
			
		||||
 | 
			
		||||
                        PregnancyUtility.ApplyBirthOutcome(outcome, quality, ritual, genes, geneticMother, birtherThing, thisFather, doctor, lordJobRitual, assignments);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 | 
			
		||||
<Manifest>
 | 
			
		||||
	<identifier>RJW Menstruation</identifier>
 | 
			
		||||
	<version>1.5.0.1</version>
 | 
			
		||||
	<version>1.5.0.2</version>
 | 
			
		||||
	<dependencies>
 | 
			
		||||
	</dependencies>
 | 
			
		||||
	<incompatibleWith />
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue