mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Simulate pawns in caravans and pods
This commit is contained in:
parent
257a20797c
commit
e0855fdf24
3 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
using RimWorld;
|
using RimWorld;
|
||||||
|
using RimWorld.Planet;
|
||||||
using rjw;
|
using rjw;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
@ -161,7 +162,7 @@ namespace RJW_Menstruation
|
||||||
public bool ShouldSimulate()
|
public bool ShouldSimulate()
|
||||||
{
|
{
|
||||||
if (!Configurations.EnableAnimalCycle && Pawn.IsAnimal()) return false;
|
if (!Configurations.EnableAnimalCycle && Pawn.IsAnimal()) return false;
|
||||||
if (Pawn.Spawned) return true;
|
if (Pawn.Spawned || Pawn.IsCaravanMember() || PawnUtility.IsTravelingInTransportPodWorldObject(Pawn)) return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -552,7 +552,7 @@ namespace RJW_Menstruation
|
||||||
public bool ShouldSimulate()
|
public bool ShouldSimulate()
|
||||||
{
|
{
|
||||||
if (!Configurations.EnableAnimalCycle && Pawn.IsAnimal()) return false;
|
if (!Configurations.EnableAnimalCycle && Pawn.IsAnimal()) return false;
|
||||||
if (Pawn.Spawned) return true;
|
if (Pawn.Spawned || Pawn.IsCaravanMember() || PawnUtility.IsTravelingInTransportPodWorldObject(Pawn)) return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@ Version 1.0.7.4
|
||||||
- Fix errors when using mods with bad HediffCompProperties.
|
- Fix errors when using mods with bad HediffCompProperties.
|
||||||
- Fix egg appearing to be fertilized in womb display when it isn't.
|
- Fix egg appearing to be fertilized in womb display when it isn't.
|
||||||
- Induced ovulators will start with a lower number of eggs, but reasonably enough for a long breeding life. IUDs or sex with poor fertility partners may result in early menopause.
|
- Induced ovulators will start with a lower number of eggs, but reasonably enough for a long breeding life. IUDs or sex with poor fertility partners may result in early menopause.
|
||||||
|
- Pawns on caravans and in transport pods will still be simulated.
|
||||||
- Updated max size areola images by wruf.
|
- Updated max size areola images by wruf.
|
||||||
- Title addition on pregnancy removed to match RJW 5.1.0.
|
- Title addition on pregnancy removed to match RJW 5.1.0.
|
||||||
- Improve compatibility with RJW 5.1.0 for multiple wombs.
|
- Improve compatibility with RJW 5.1.0 for multiple wombs.
|
||||||
|
|
Loading…
Reference in a new issue