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
|
@ -1499,11 +1499,14 @@ namespace RJW_Menstruation
|
|||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
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})");
|
||||
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()}, " : "" ) +
|
||||
$"father {egg.fertilizer})");
|
||||
}
|
||||
deadeggs.Add(egg);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue