Add chance to debug implanation log

This commit is contained in:
lutepickle 2023-04-21 07:59:01 -07:00
parent baeff0ea29
commit bf0334d16e
1 changed files with 2 additions and 1 deletions

View File

@ -1453,7 +1453,8 @@ namespace RJW_Menstruation
}
else
{
if (Configurations.Debug) Log.Message($"Fertilized egg of {Pawn} failed to implant (father {egg.fertilizer})");
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})");
deadeggs.Add(egg);
}
}