Compare commits

...

2 commits

Author SHA1 Message Date
lutepickle
0ff5fa96d0 Show the chance of implanation in the debug log on failure 2023-04-22 12:12:53 -07:00
lutepickle
bf0334d16e Add chance to debug implanation log 2023-04-21 07:59:01 -07:00
3 changed files with 6 additions and 2 deletions

Binary file not shown.

View file

@ -1453,7 +1453,11 @@ namespace RJW_Menstruation
} }
else else
{ {
if (Configurations.Debug) Log.Message($"Fertilized egg of {Pawn} failed to implant (father {egg.fertilizer})"); if (Configurations.Debug)
{
float implantChance = Configurations.ImplantationChance * ImplantChance * InterspeciesImplantFactor(egg.fertilizer);
Log.Message($"Fertilized egg of {Pawn} failed to implant (chance {implantChance.ToStringPercent()}, father {egg.fertilizer})");
}
deadeggs.Add(egg); deadeggs.Add(egg);
} }
} }