mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Little cleanups
This commit is contained in:
		
							parent
							
								
									5050e192ed
								
							
						
					
					
						commit
						02200b2bfa
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -213,7 +213,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        PregnancyUtility.ApplyBirthOutcome(thisOutcome, quality, ritual, genes, geneticMother, birtherThing, thisFather, doctor, lordJobRitual, assignments);
 | 
					                        PregnancyUtility.ApplyBirthOutcome(thisOutcome, quality, ritual, genes, geneticMother, birtherThing, thisFather, doctor, lordJobRitual, assignments);
 | 
				
			||||||
                        // No more babies if mom dies halfway through. Unrealistic maybe, but saves a lot of headache in ApplyBirthOutcome
 | 
					                        // No more babies if mom dies halfway through. Unrealistic maybe, but saves a lot of headache in ApplyBirthOutcome
 | 
				
			||||||
                        if (mother.health.Dead) break;
 | 
					                        if (mother.Dead) break;
 | 
				
			||||||
                        if (xxx.is_human(baby))
 | 
					                        if (xxx.is_human(baby))
 | 
				
			||||||
                            mother.records.Increment(xxx.CountOfBirthHuman);
 | 
					                            mother.records.Increment(xxx.CountOfBirthHuman);
 | 
				
			||||||
                        else if (xxx.is_animal(baby))
 | 
					                        else if (xxx.is_animal(baby))
 | 
				
			||||||
| 
						 | 
					@ -266,7 +266,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
                        baby.relations.ClearAllRelations();
 | 
					                        baby.relations.ClearAllRelations();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        PregnancyUtility.ApplyBirthOutcome(outcome, quality, ritual, genes, geneticMother, birtherThing, thisFather, doctor, lordJobRitual, assignments);
 | 
					                        PregnancyUtility.ApplyBirthOutcome(outcome, quality, ritual, genes, geneticMother, birtherThing, thisFather, doctor, lordJobRitual, assignments);
 | 
				
			||||||
                        if (mother.health.Dead) break;
 | 
					                        if (mother.Dead) break;
 | 
				
			||||||
                        if (xxx.is_human(baby))
 | 
					                        if (xxx.is_human(baby))
 | 
				
			||||||
                            mother.records.Increment(xxx.CountOfBirthHuman);
 | 
					                            mother.records.Increment(xxx.CountOfBirthHuman);
 | 
				
			||||||
                        else if (xxx.is_animal(baby))
 | 
					                        else if (xxx.is_animal(baby))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -117,7 +117,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        public static void Postfix(Thing birtherThing)
 | 
					        public static void Postfix(Thing birtherThing)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            if (birtherThing is Pawn pawn && !pawn.health.Dead)
 | 
					            if (birtherThing is Pawn pawn && !pawn.Dead)
 | 
				
			||||||
                pawn.GetBreastComp()?.GaveBirth();
 | 
					                pawn.GetBreastComp()?.GaveBirth();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue