mirror of
				https://github.com/amevarashi/RJW-Sexperience.git
				synced 2024-08-14 23:54:08 +00:00 
			
		
		
		
	Remove RJWUtility.UpdateSatisfactionHIstory method
This commit is contained in:
		
							parent
							
								
									877bea1eb6
								
							
						
					
					
						commit
						7f86dcd236
					
				
					 2 changed files with 3 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -64,8 +64,9 @@ namespace RJWSexperience
 | 
			
		|||
			Pawn pawn = props.pawn;
 | 
			
		||||
			UpdateLust(props, satisfaction);
 | 
			
		||||
			FillCumBuckets(props);
 | 
			
		||||
			RJWUtility.UpdateSatisfactionHIstory(pawn, props.partner, props, satisfaction);
 | 
			
		||||
			pawn.records?.Increment(VariousDefOf.OrgasmCount);
 | 
			
		||||
			if (props.partner != null)
 | 
			
		||||
				pawn.TryGetComp<SexHistoryComp>()?.RecordSatisfaction(props.partner, props, satisfaction);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		private static void FillCumBuckets(SexProps props)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -159,17 +159,7 @@ namespace RJWSexperience
 | 
			
		|||
        {
 | 
			
		||||
            if (partner != null)
 | 
			
		||||
            {
 | 
			
		||||
                SexHistoryComp pawnshistory = pawn.TryGetComp<SexHistoryComp>();
 | 
			
		||||
                pawnshistory?.RecordSex(partner, props);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public static void UpdateSatisfactionHIstory(Pawn pawn, Pawn partner, SexProps props, float satisfaction)
 | 
			
		||||
        {
 | 
			
		||||
            if (partner != null)
 | 
			
		||||
            {
 | 
			
		||||
                SexHistoryComp pawnshistory = pawn.TryGetComp<SexHistoryComp>();
 | 
			
		||||
                pawnshistory?.RecordSatisfaction(partner, props, satisfaction);
 | 
			
		||||
                pawn.TryGetComp<SexHistoryComp>()?.RecordSex(partner, props);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue