mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Log a message if an egg would implant but children are disabled
This commit is contained in:
parent
b70b4a6c90
commit
7f6309466a
1 changed files with 6 additions and 0 deletions
|
@ -1390,6 +1390,12 @@ namespace RJW_Menstruation
|
||||||
deadeggs.Add(egg);
|
deadeggs.Add(egg);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
else if (ModsConfig.BiotechActive && !Find.Storyteller.difficulty.ChildrenAllowed)
|
||||||
|
{
|
||||||
|
if (Configurations.Debug) Log.Message($"Could not implant {Pawn}'s egg due to children being disabled");
|
||||||
|
deadeggs.Add(egg);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
else if (Rand.Chance(Configurations.ImplantationChance * ImplantChance * InterspeciesImplantFactor(egg.fertilizer)))
|
else if (Rand.Chance(Configurations.ImplantationChance * ImplantChance * InterspeciesImplantFactor(egg.fertilizer)))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue