From 24e7f93bccccd167aff7a8bdcd13c22e6d220475 Mon Sep 17 00:00:00 2001 From: lutepickle <28810-lutepickle@users.noreply.gitgud.io> Date: Thu, 7 Jul 2022 12:00:46 -0700 Subject: [PATCH] Cumming inside someone with an IUD adds the full volume. --- .../HediffComps/HediffComp_Menstruation.cs | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs b/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs index 597482d..5c9b43c 100644 --- a/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs +++ b/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs @@ -179,15 +179,6 @@ namespace RJW_Menstruation return res; } } - public float CumInFactor - { - get - { - float res = 1.0f; - if (parent.pawn.health.hediffSet.HasHediff(VariousDefOf.RJW_IUD)) res = 0.01f; - return res; - } - } //make follicular interval into half and double egg lifespan public float CycleFactor { @@ -610,10 +601,10 @@ namespace RJW_Menstruation /// /// /// - public void CumIn(Pawn pawn, float injectedvolume, float fertility = 1.0f, ThingDef filthdef = null) + public void CumIn(Pawn pawn, float volume, float fertility = 1.0f, ThingDef filthdef = null) { - float volume = injectedvolume * CumInFactor; if (volume <= 0) return; + if (parent.pawn.health.hediffSet.HasHediff(VariousDefOf.RJW_IUD)) fertility /= 100f; float cumd = TotalCumPercent; float tmp = TotalCum + volume; if (tmp > CumCapacity) @@ -647,7 +638,7 @@ namespace RJW_Menstruation } cumd = TotalCumPercent - cumd; - parent.pawn.records.AddTo(VariousDefOf.AmountofCreampied, injectedvolume); + parent.pawn.records.AddTo(VariousDefOf.AmountofCreampied, volume); AfterCumIn(pawn); AfterFluidIn(cumd); }