mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Show the chance of implanation in the debug log on failure
This commit is contained in:
		
							parent
							
								
									bf0334d16e
								
							
						
					
					
						commit
						0ff5fa96d0
					
				
					 3 changed files with 6 additions and 3 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -1452,9 +1452,12 @@ namespace RJW_Menstruation
 | 
			
		|||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                else
 | 
			
		||||
                {                    
 | 
			
		||||
                    if (Configurations.Debug)
 | 
			
		||||
                    {
 | 
			
		||||
                        float implantChance = Configurations.ImplantationChance * ImplantChance * InterspeciesImplantFactor(egg.fertilizer);
 | 
			
		||||
                    if (Configurations.Debug) Log.Message($"Fertilized egg of {Pawn} failed to implant (chance {implantChance.ToStringPercent()}, father {egg.fertilizer})");
 | 
			
		||||
                        Log.Message($"Fertilized egg of {Pawn} failed to implant (chance {implantChance.ToStringPercent()}, father {egg.fertilizer})");
 | 
			
		||||
                    }
 | 
			
		||||
                    deadeggs.Add(egg);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue