Added a flag to check for 'can rape' for animals

This commit is contained in:
Vegapnk 2024-06-06 10:26:34 +02:00
parent a0ca9e1da4
commit fda2580c9f
3 changed files with 17 additions and 3 deletions

View file

@ -29,8 +29,13 @@ namespace RJW_Genes
{
if (ends_manhunter)
EndManHunter(animal);
ForceBreedingJob(toBeBred, animal);
breeder_counter++;
if (!RJW_Genes_Settings.animalMatingPulseCheckForGenitals || rjw.xxx.can_rape(animal))
{
ForceBreedingJob(toBeBred, animal);
breeder_counter++;
}
}
ModLog.Message($"{breeder_counter} of {animals.Count()} Animals in range are trying to breed {toBeBred}");
}