If the interspecies factor is somehow > 1, let it be displayed in the egg implant failure message

This commit is contained in:
lutepickle 2024-03-20 14:48:40 -07:00
parent b0ea928a50
commit 1dcd67c97c
1 changed files with 1 additions and 1 deletions

View File

@ -1480,7 +1480,7 @@ namespace RJW_Menstruation
float interspeciesFactor = InterspeciesImplantFactor(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()}, " : "") +
(interspeciesFactor != 1.0f ? $"interspecies factor {interspeciesFactor.ToStringPercent()}, " : "") +
$"father {egg.fertilizer})");
}
deadeggs.Add(egg);