Don't let egglaying animals menstruate.

This commit is contained in:
lutepickle 2024-01-22 11:12:49 -08:00
parent a29aaf50c1
commit 9902c50d81
3 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -396,6 +396,7 @@ namespace RJW_Menstruation
public static bool ShouldCycle(this Pawn pawn)
{
if (!Configurations.EnableAnimalCycle && pawn.IsAnimal()) return false;
if (pawn.GetComp<CompEggLayer>() != null) return false;
if (pawn.RaceHasOviPregnancy()) return false;
if (ModsConfig.BiotechActive && pawn.genes != null &&
pawn.genes.GenesListForReading.Select(gene => gene.def).Intersect(VariousDefOf.EggLayerGenes).Any()) return false;

View File

@ -1,6 +1,7 @@
Version 1.0.9.3
- The biosculptor egg restoration cycle will now give more eggs to races that ovulate more than one egg at a time.
- All pawns can now use all menstruation genes, regardless of gender or having a womb.
- Egglaying animals no longer have a menstrual cycle.
Version 1.0.9.2
- Updated Traditional Chinese translation by Hydrogen.