mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Do the post-pregnancy breast growth for Biotech births.
This commit is contained in:
		
							parent
							
								
									fe20e9d78b
								
							
						
					
					
						commit
						86aef06981
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -110,6 +110,16 @@ namespace RJW_Menstruation
 | 
			
		|||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    [HarmonyPatch(typeof(PregnancyUtility), nameof(PregnancyUtility.ApplyBirthOutcome))]
 | 
			
		||||
    public class ApplyBirthOutcome_Patch
 | 
			
		||||
    {
 | 
			
		||||
        public static void PostFix(Thing birtherThing)
 | 
			
		||||
        {
 | 
			
		||||
            if (birtherThing is Pawn pawn && !pawn.health.Dead)
 | 
			
		||||
                pawn.GetBreastComp()?.GaveBirth();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    [HarmonyPatch(typeof(PregnancyUtility), nameof(PregnancyUtility.TryTerminatePregnancy))]
 | 
			
		||||
    public class TryTerminatePregnancy_Patch
 | 
			
		||||
    {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue