mirror of
				https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
				synced 2024-08-15 00:43:45 +00:00 
			
		
		
		
	semen on orgasm sfx
removed dev anim testing code (causing only Cowgirl to play)
This commit is contained in:
		
							parent
							
								
									1707afaa4d
								
							
						
					
					
						commit
						205ac07f40
					
				
					 5 changed files with 34 additions and 2 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -97,6 +97,7 @@
 | 
			
		|||
    <Compile Include="Source\Patches\HarmonyPatch_ShowHairWithHats.cs" />
 | 
			
		||||
    <Compile Include="Source\Patches\Harmony_PatchAll.cs" />
 | 
			
		||||
    <Compile Include="Source\Patches\rjwPatches\HarmonyPatch_DoLovinAnimationPatch.cs" />
 | 
			
		||||
    <Compile Include="Source\Patches\rjwPatches\HarmonyPatch_DrawSemen.cs" />
 | 
			
		||||
    <Compile Include="Source\Patches\rjwPatches\HarmonyPatch_JobDriver_SexBaseInitiator.cs" />
 | 
			
		||||
    <Compile Include="Source\Patches\rjwPatches\HarmonyPatch_JoinInBedGiveJob.cs" />
 | 
			
		||||
    <Compile Include="Source\Patches\rjwPatches\HarmonyPatch_SexTick.cs" />
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -77,10 +77,10 @@ namespace Rimworld_Animations {
 | 
			
		|||
                    }
 | 
			
		||||
 | 
			
		||||
                    //TESTING ANIMATIONS ONLY REMEMBER TO COMMENT OUT BEFORE PUSH
 | 
			
		||||
                    
 | 
			
		||||
                    /*
 | 
			
		||||
                    if (x.defName != "Cowgirl")
 | 
			
		||||
                        return false;
 | 
			
		||||
                    
 | 
			
		||||
                    */
 | 
			
		||||
                    
 | 
			
		||||
 | 
			
		||||
                    if (x.actors[i].isFucking && !rjw.xxx.can_fuck(localParticipants[i])) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -195,6 +195,15 @@ namespace Rimworld_Animations {
 | 
			
		|||
            //play sound effect
 | 
			
		||||
            if(rjw.RJWSettings.sounds_enabled && clip.SoundEffects.ContainsKey(clipTicks) && AnimationSettings.soundOverride) {
 | 
			
		||||
                SoundDef.Named(clip.SoundEffects[clipTicks]).PlayOneShot(new TargetInfo(pawn.Position, pawn.Map));
 | 
			
		||||
 | 
			
		||||
                if((pawn?.jobs?.curDriver is JobDriver_Sex) && clip.SoundEffects[clipTicks] == "Cum") {
 | 
			
		||||
 | 
			
		||||
                    Pawn partner = (pawn.jobs.curDriver as JobDriver_Sex)?.Partner;
 | 
			
		||||
 | 
			
		||||
                    if(anim.sexTypes.Contains((pawn.jobs.curDriver as JobDriver_Sex).sexType))
 | 
			
		||||
                        SemenHelper.calculateAndApplySemen(pawn, partner, (pawn.jobs.curDriver as JobDriver_Sex).sexType);
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
            }
 | 
			
		||||
            if(AnimationSettings.orgasmQuiver && clip.quiver.ContainsKey(clipTicks)) {
 | 
			
		||||
                quiver = clip.quiver[clipTicks];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										22
									
								
								Source/Patches/rjwPatches/HarmonyPatch_DrawSemen.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								Source/Patches/rjwPatches/HarmonyPatch_DrawSemen.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,22 @@
 | 
			
		|||
/*
 | 
			
		||||
 * Todo: Ask to make SemenSplatch and DrawSemen public
 | 
			
		||||
 * 
 | 
			
		||||
 * 
 | 
			
		||||
 * using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
using rjw;
 | 
			
		||||
using HarmonyLib;
 | 
			
		||||
 | 
			
		||||
namespace Rimworld_Animations {
 | 
			
		||||
    [HarmonyPatch("DrawSemen")]
 | 
			
		||||
    public static class HarmonyPatch_DrawSemen {
 | 
			
		||||
 | 
			
		||||
        public static void Prefix(ref Dictionary<string, SemenSplatch>) {
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}*/
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue