mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Animals will prefer partners in estrus
This commit is contained in:
		
							parent
							
								
									749caa150a
								
							
						
					
					
						commit
						71f3ba9585
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -168,6 +168,8 @@ namespace RJW_Menstruation
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        public static void Postfix(ref float __result, Pawn fucker, Pawn fucked)
 | 
					        public static void Postfix(ref float __result, Pawn fucker, Pawn fucked)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 | 
					            if (__result <= 0) return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (HediffComp_Menstruation.IsInEstrus(fucker, true) && PregnancyHelper.CanImpregnate(fucked, fucker))
 | 
					            if (HediffComp_Menstruation.IsInEstrus(fucker, true) && PregnancyHelper.CanImpregnate(fucked, fucker))
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                __result *= (1f + GetNetFertility(fucker, fucked) / 4);
 | 
					                __result *= (1f + GetNetFertility(fucker, fucked) / 4);
 | 
				
			||||||
| 
						 | 
					@ -176,6 +178,10 @@ namespace RJW_Menstruation
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                __result *= (1f + GetNetFertility(fucker, fucked) / 40);
 | 
					                __result *= (1f + GetNetFertility(fucker, fucked) / 40);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            else if(xxx.is_animal(fucker) && HediffComp_Menstruation.IsInEstrus(fucked, true) && PregnancyHelper.CanImpregnate(fucker, fucked))
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                __result *= 1.25f;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue