mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Give induced ovulators special treatment for danger day
This commit is contained in:
		
							parent
							
								
									7387c0dfe9
								
							
						
					
					
						commit
						7ce860dc1e
					
				
					 3 changed files with 12 additions and 1 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -50,7 +50,18 @@ namespace RJW_Menstruation
 | 
			
		|||
            if (curStage == Stage.Follicular) curStage = Stage.Ovulatory;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public override bool IsDangerDay
 | 
			
		||||
        {
 | 
			
		||||
            get
 | 
			
		||||
            {
 | 
			
		||||
                if (parent.pawn.health.hediffSet.HasHediff(VariousDefOf.RJW_IUD)) return false;
 | 
			
		||||
 | 
			
		||||
                if (curStage == Stage.Follicular || curStage == Stage.ClimactericFollicular) return true;
 | 
			
		||||
                else if ((curStage == Stage.Luteal || curStage == Stage.ClimactericLuteal) && !IsEggExist) return false;
 | 
			
		||||
 | 
			
		||||
                return base.IsDangerDay;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -376,7 +376,7 @@ namespace RJW_Menstruation
 | 
			
		|||
                return !eggs.NullOrEmpty();
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        public bool IsDangerDay
 | 
			
		||||
        public virtual bool IsDangerDay
 | 
			
		||||
        {
 | 
			
		||||
            get
 | 
			
		||||
            {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue