mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Have the implanation debug messages give the hediff IDs
This commit is contained in:
parent
6e255a0d4e
commit
66e2b3494b
1 changed files with 2 additions and 2 deletions
|
@ -1194,14 +1194,14 @@ namespace RJW_Menstruation
|
||||||
}
|
}
|
||||||
else if (Rand.Range(0.0f, 1.0f) <= Configurations.ImplantationChance * ImplantFactor * InterspeciesImplantFactor(egg.fertilizer))
|
else if (Rand.Range(0.0f, 1.0f) <= Configurations.ImplantationChance * ImplantFactor * InterspeciesImplantFactor(egg.fertilizer))
|
||||||
{
|
{
|
||||||
if (Configurations.Debug) Log.Message($"Implanting fertilized egg of {Pawn}, father {egg.fertilizer}");
|
if (Configurations.Debug) Log.Message($"Implanting fertilized egg of {Pawn} into {parent}, father {egg.fertilizer}");
|
||||||
if (pregnancy != null)
|
if (pregnancy != null)
|
||||||
{
|
{
|
||||||
if (Configurations.UseMultiplePregnancy && Configurations.EnableHeteroOvularTwins)
|
if (Configurations.UseMultiplePregnancy && Configurations.EnableHeteroOvularTwins)
|
||||||
{
|
{
|
||||||
if (pregnancy is Hediff_MultiplePregnancy h)
|
if (pregnancy is Hediff_MultiplePregnancy h)
|
||||||
{
|
{
|
||||||
if (Configurations.Debug) Log.Message($"Adding to existing pregnancy");
|
if (Configurations.Debug) Log.Message($"Adding to existing pregnancy {h}");
|
||||||
h.AddNewBaby(Pawn, egg.fertilizer);
|
h.AddNewBaby(Pawn, egg.fertilizer);
|
||||||
}
|
}
|
||||||
pregnant = true;
|
pregnant = true;
|
||||||
|
|
Loading…
Reference in a new issue