mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Properly set the conditions to not go/stay in the infertile stage for InfertileAction and RecoverAction
This commit is contained in:
		
							parent
							
								
									4504d02245
								
							
						
					
					
						commit
						2bb0871919
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1713,7 +1713,7 @@ namespace RJW_Menstruation
 | 
			
		|||
        {
 | 
			
		||||
            if (curStageHrs >= currentIntervalHours)
 | 
			
		||||
            {
 | 
			
		||||
                if (Pawn.health.capacities.GetLevel(xxx.reproduction) == 0 || EggHealth <= 0 || Pawn.SterileGenes())
 | 
			
		||||
                if (ImplantChance <= 0.0f || EggHealth <= 0)
 | 
			
		||||
                {
 | 
			
		||||
                    GoNextStage(Stage.Infertile);
 | 
			
		||||
                }
 | 
			
		||||
| 
						 | 
				
			
			@ -1735,7 +1735,7 @@ namespace RJW_Menstruation
 | 
			
		|||
 | 
			
		||||
        protected virtual void InfertileAction()
 | 
			
		||||
        {
 | 
			
		||||
            if (Pawn.health.capacities.GetLevel(xxx.reproduction) <= 0 || EggHealth <= 0 || Pawn.SterileGenes())
 | 
			
		||||
            if (ImplantChance <= 0 || EggHealth <= 0)
 | 
			
		||||
            {
 | 
			
		||||
                StayCurrentStageConst(Stage.Infertile);
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue