If the interspecies factor is somehow > 1, let it be displayed in the egg implant failure message
This commit is contained in:
parent
b0ea928a50
commit
1dcd67c97c
|
@ -1480,7 +1480,7 @@ namespace RJW_Menstruation
|
||||||
float interspeciesFactor = InterspeciesImplantFactor(egg.fertilizer);
|
float interspeciesFactor = InterspeciesImplantFactor(egg.fertilizer);
|
||||||
float implantChance = Configurations.ImplantationChance * ImplantChance * interspeciesFactor;
|
float implantChance = Configurations.ImplantationChance * ImplantChance * interspeciesFactor;
|
||||||
Log.Message($"Fertilized egg of {Pawn} failed to implant (chance {implantChance.ToStringPercent()}, " +
|
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})");
|
$"father {egg.fertilizer})");
|
||||||
}
|
}
|
||||||
deadeggs.Add(egg);
|
deadeggs.Add(egg);
|
||||||
|
|
Loading…
Reference in New Issue