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
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue