mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
apply semen on orgasm
This commit is contained in:
parent
205ac07f40
commit
f4dea37d79
3 changed files with 7 additions and 3 deletions
Binary file not shown.
|
@ -196,12 +196,14 @@ namespace Rimworld_Animations {
|
|||
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") {
|
||||
if (AnimationSettings.applySemenOnAnimationOrgasm && (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))
|
||||
if(anim.sexTypes.Contains((pawn.jobs.curDriver as JobDriver_Sex).sexType)) {
|
||||
SemenHelper.calculateAndApplySemen(pawn, partner, (pawn.jobs.curDriver as JobDriver_Sex).sexType);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ using UnityEngine;
|
|||
namespace Rimworld_Animations {
|
||||
public class AnimationSettings : ModSettings {
|
||||
|
||||
public static bool orgasmQuiver, rapeShiver, soundOverride = true, hearts = true, controlGenitalRotation = false;
|
||||
public static bool orgasmQuiver, rapeShiver, soundOverride = true, hearts = true, controlGenitalRotation = false, applySemenOnAnimationOrgasm = false;
|
||||
public static float shiverIntensity = 2f;
|
||||
|
||||
public override void ExposeData() {
|
||||
|
@ -20,6 +20,7 @@ namespace Rimworld_Animations {
|
|||
Scribe_Values.Look(ref orgasmQuiver, "orgasmQuiver");
|
||||
Scribe_Values.Look(ref rapeShiver, "rapeShiver");
|
||||
Scribe_Values.Look(ref hearts, "heartsOnLovin");
|
||||
Scribe_Values.Look(ref applySemenOnAnimationOrgasm, "applySemenOnOrgasm", false);
|
||||
Scribe_Values.Look(ref soundOverride, "rjwAnimSoundOverride", true);
|
||||
Scribe_Values.Look(ref shiverIntensity, "shiverIntensity", 2f);
|
||||
|
||||
|
@ -41,6 +42,7 @@ namespace Rimworld_Animations {
|
|||
|
||||
listingStandard.CheckboxLabeled("Enable Sound Override", ref AnimationSettings.soundOverride);
|
||||
listingStandard.CheckboxLabeled("Control Genital Rotation", ref AnimationSettings.controlGenitalRotation);
|
||||
listingStandard.CheckboxLabeled("Apply semen on animation orgasm", ref AnimationSettings.applySemenOnAnimationOrgasm);
|
||||
listingStandard.CheckboxLabeled("Enable Orgasm Quiver", ref AnimationSettings.orgasmQuiver);
|
||||
listingStandard.CheckboxLabeled("Enable Rape Shiver", ref AnimationSettings.rapeShiver);
|
||||
listingStandard.CheckboxLabeled("Enable hearts during lovin'", ref AnimationSettings.hearts);
|
||||
|
|
Loading…
Reference in a new issue