mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Add interspecies factor to implantation failure debug message
This commit is contained in:
		
							parent
							
								
									68c4081f11
								
							
						
					
					
						commit
						cb5522b0c3
					
				
					 1 changed files with 6 additions and 3 deletions
				
			
		| 
						 | 
					@ -1502,8 +1502,11 @@ namespace RJW_Menstruation
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    if (Configurations.Debug)
 | 
					                    if (Configurations.Debug)
 | 
				
			||||||
                    {
 | 
					                    {
 | 
				
			||||||
                        float implantChance = Configurations.ImplantationChance * ImplantChance * InterspeciesImplantFactor(egg.fertilizer);
 | 
					                        float interspeciesFactor = InterspeciesImplantFactor(egg.fertilizer);
 | 
				
			||||||
                        Log.Message($"Fertilized egg of {Pawn} failed to implant (chance {implantChance.ToStringPercent()}, father {egg.fertilizer})");
 | 
					                        float implantChance = Configurations.ImplantationChance * ImplantChance * interspeciesFactor;
 | 
				
			||||||
 | 
					                        Log.Message($"Fertilized egg of {Pawn} failed to implant (chance {implantChance.ToStringPercent()}, " +
 | 
				
			||||||
 | 
					                            (interspeciesFactor < 1.0f ? $"interspecies factor {interspeciesFactor.ToStringPercent()}, " : "" ) +
 | 
				
			||||||
 | 
					                            $"father {egg.fertilizer})");
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    deadeggs.Add(egg);
 | 
					                    deadeggs.Add(egg);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue