mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Shift breeder from implant chance to ovulation chane. It would overflow back down anyways.
This commit is contained in:
		
							parent
							
								
									2798d923b1
								
							
						
					
					
						commit
						65b69eaf76
					
				
					 1 changed files with 7 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -307,6 +307,7 @@ namespace RJW_Menstruation
 | 
			
		|||
                        }
 | 
			
		||||
                        else part.TransformValue(StatRequest.For(Pawn), ref ovulationChance);
 | 
			
		||||
                    }       
 | 
			
		||||
                    if (Pawn.Has(Quirk.Breeder)) ovulationChance *= 10.0f;
 | 
			
		||||
                    try
 | 
			
		||||
                    {
 | 
			
		||||
                        calculatingOvulationChance = true;
 | 
			
		||||
| 
						 | 
				
			
			@ -322,8 +323,6 @@ namespace RJW_Menstruation
 | 
			
		|||
            get
 | 
			
		||||
            {
 | 
			
		||||
                float factor = 1.0f;
 | 
			
		||||
                if (Pawn.Has(Quirk.Breeder)) factor = 10.0f;
 | 
			
		||||
 | 
			
		||||
                if (ModsConfig.BiotechActive && xxx.is_human(Pawn))
 | 
			
		||||
                {
 | 
			
		||||
                    // Implant factor will be based solely on pawn age, plus any rollover from ovulation chance
 | 
			
		||||
| 
						 | 
				
			
			@ -333,7 +332,10 @@ namespace RJW_Menstruation
 | 
			
		|||
                    if (ovulationOverflow > 1.0f) factor *= ovulationOverflow;
 | 
			
		||||
                    return Props.baseImplantationChanceFactor * FertilityModifier * factor;
 | 
			
		||||
                }
 | 
			
		||||
                else return Pawn.health.capacities.GetLevel(xxx.reproduction) * Props.baseImplantationChanceFactor * FertilityModifier * factor;
 | 
			
		||||
                else
 | 
			
		||||
                {
 | 
			
		||||
                    return Pawn.health.capacities.GetLevel(xxx.reproduction) * Props.baseImplantationChanceFactor * FertilityModifier * factor;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue