mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Refactor luteal a smidge, apply cramp pain to seasonal breeders coming into season
This commit is contained in:
		
							parent
							
								
									a0b2e224bc
								
							
						
					
					
						commit
						3a8c28ff16
					
				
					 1 changed files with 6 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -1442,21 +1442,13 @@ namespace RJW_Menstruation
 | 
			
		|||
            if (curStageHrs > currentIntervalHours)
 | 
			
		||||
            {
 | 
			
		||||
                eggs.Clear();
 | 
			
		||||
                if (Props.bleedingIntervalDays == 0)
 | 
			
		||||
                {
 | 
			
		||||
                    GoNextStage(Stage.Follicular);
 | 
			
		||||
                }
 | 
			
		||||
                else if (EggHealth < 1f / 4f || (EggHealth < 1f / 3f && Rand.Range(0.0f, 1.0f) < 0.3f)) //skips bleeding
 | 
			
		||||
                if (EggHealth < 1f / 4f || (EggHealth < 1f / 3f && Rand.Range(0.0f, 1.0f) < 0.3f)) //skips bleeding
 | 
			
		||||
                {
 | 
			
		||||
                    GoNextStage(Stage.Follicular);
 | 
			
		||||
                }
 | 
			
		||||
                else
 | 
			
		||||
                {
 | 
			
		||||
                    GoNextStage(Stage.Bleeding);
 | 
			
		||||
                    if (crampPain >= 0.05f)
 | 
			
		||||
                    {
 | 
			
		||||
                        AddCrampPain();
 | 
			
		||||
                    }
 | 
			
		||||
                    GoFollicularOrBleeding();
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            else if (!eggs.NullOrEmpty())
 | 
			
		||||
| 
						 | 
				
			
			@ -1674,6 +1666,10 @@ namespace RJW_Menstruation
 | 
			
		|||
            else
 | 
			
		||||
            {
 | 
			
		||||
                GoNextStage(Stage.Bleeding);
 | 
			
		||||
                if (crampPain >= 0.05f)
 | 
			
		||||
                {
 | 
			
		||||
                    AddCrampPain();
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue