Show the pre-ovulation graphic on induced ovulators during sex.

This commit is contained in:
lutepickle 2022-08-27 08:04:39 -07:00
parent 71e6a2dd5c
commit d88a71bd61
3 changed files with 7 additions and 1 deletions

Binary file not shown.

View File

@ -179,7 +179,12 @@ namespace RJW_Menstruation
case HediffComp_Menstruation.Stage.Follicular:
case HediffComp_Menstruation.Stage.ClimactericFollicular:
if (!includeOvary) break;
if (comp is HediffComp_InducedOvulator) break;
if (comp is HediffComp_InducedOvulator)
{
if (comp.Pawn.jobs.curDriver is JobDriver_Sex job && (job.Sexprops?.sexType == xxx.rjwSextype.Vaginal || job.Sexprops?.sexType == xxx.rjwSextype.DoublePenetration))
return ContentFinder<Texture2D>.Get("Ovaries/Ovary_01", true);
else break;
}
if (comp.curStageHrs > comp.CurStageIntervalHours - 30) // Approximate time for ovulation to occur
return ContentFinder<Texture2D>.Get("Ovaries/Ovary_01", true);
else break;

View File

@ -1,5 +1,6 @@
Version 1.0.7.3
- Properly display multiple icons for pawns with multiple wombs.
- Show the 'about to ovulate' icon in the womb dialog for induced ovulators during vaginal sex.
Version 1.0.7.2
- Fix errors when trying to open dev actions when HAR is not installed.