mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Cumming inside someone with an IUD adds the full volume.
This commit is contained in:
		
							parent
							
								
									c7a2f0c55d
								
							
						
					
					
						commit
						24e7f93bcc
					
				
					 1 changed files with 3 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		|||
        /// <param name="injectedvolume"></param>
 | 
			
		||||
        /// <param name="fertility"></param>
 | 
			
		||||
        /// <param name="filthdef"></param>
 | 
			
		||||
        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);
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue