mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Don't show stage or time to next stage for pawns that don't cycle
This commit is contained in:
		
							parent
							
								
									f70c2ad585
								
							
						
					
					
						commit
						80611882c9
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
					@ -794,7 +794,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            get
 | 
					            get
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                if (Pawn.Dead) return null;
 | 
					                if (Pawn.Dead || !Pawn.ShouldCycle()) return null;
 | 
				
			||||||
                StringBuilder tip = new StringBuilder();
 | 
					                StringBuilder tip = new StringBuilder();
 | 
				
			||||||
                tip.Append(Translations.Dialog_WombInfo01);
 | 
					                tip.Append(Translations.Dialog_WombInfo01);
 | 
				
			||||||
                tip.Append(": ");
 | 
					                tip.Append(": ");
 | 
				
			||||||
| 
						 | 
					@ -816,7 +816,11 @@ namespace RJW_Menstruation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public override string CompDebugString()
 | 
					        public override string CompDebugString()
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            if (Pawn.Dead || curStage == Stage.None || curStage == Stage.Infertile || curStage == Stage.Pregnant) return null;
 | 
					            if (Pawn.Dead ||
 | 
				
			||||||
 | 
					                !Pawn.ShouldCycle() ||
 | 
				
			||||||
 | 
					                curStage == Stage.None ||
 | 
				
			||||||
 | 
					                curStage == Stage.Infertile ||
 | 
				
			||||||
 | 
					                curStage == Stage.Pregnant) return null;
 | 
				
			||||||
            StringBuilder debugString = new StringBuilder();
 | 
					            StringBuilder debugString = new StringBuilder();
 | 
				
			||||||
            debugString.Append($"Time to next state: ");
 | 
					            debugString.Append($"Time to next state: ");
 | 
				
			||||||
            debugString.Append(GenDate.ToStringTicksToPeriod(TicksToNextStage()));
 | 
					            debugString.Append(GenDate.ToStringTicksToPeriod(TicksToNextStage()));
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue