Skip to content

Commit

Permalink
[IO] make male orgasms absolutely insane
Browse files Browse the repository at this point in the history
  • Loading branch information
Sauceke committed Sep 11, 2023
1 parent 4b77005 commit 730d983
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/LoveMachine.IO/InsultOrderGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ internal sealed class InsultOrderGame : GameAdapter

private GameObject femaleRoot;
private Animator femaleAnimator;
private Traverse<bool> climax;
private Traverse<bool> femaleClimax;
private Traverse<bool> maleClimax;
private Traverse<string> motionId;

protected override Dictionary<Bone, string> FemaleBoneNames => new Dictionary<Bone, string>
Expand All @@ -39,6 +40,8 @@ internal sealed class InsultOrderGame : GameAdapter

protected override float PenisSize => 0.5f;

protected override float MinOrgasmDurationSecs => 0.5f;

protected override int AnimationLayer => 0;

protected override MethodInfo[] StartHMethods =>
Expand All @@ -58,7 +61,8 @@ protected override string GetPose(int girlIndex) =>

protected override bool IsIdle(int girlIndex) => idleMotions.Contains(motionId.Value);

protected override bool IsOrgasming(int girlIndex) => climax.Value;
protected override bool IsOrgasming(int girlIndex) =>
femaleClimax.Value || maleClimax.Value;

protected override void SetStartHInstance(object animeController) =>
motionId = Traverse.Create(animeController).Field<string>("MotionID");
Expand All @@ -68,8 +72,11 @@ protected override IEnumerator UntilReady()
yield return new WaitForSeconds(5f);
femaleRoot = GameObject.Find("CH01/CH0001") ?? GameObject.Find("CH02/CH0002");
femaleAnimator = femaleRoot.GetComponent<Animator>();
climax = Traverse.Create(Type.GetType("GameClass, Assembly-CSharp"))
femaleClimax = Traverse.Create(Type.GetType("GameClass, Assembly-CSharp"))
.Field<bool>("Climax");
maleClimax = Traverse.Create(FindObjectOfType(Type.GetType(
"SE_Particle_Manager, Assembly-CSharp")))
.Field<bool>("SE0101touch");
}
}
}

1 comment on commit 730d983

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
10 0 0 10 100

Passed Tests

Name ⏱️ Duration Suite
Linear Command Count 0.094 s Secrossphere Demo Test Suite
Linear Command Timing 0.002 s Secrossphere Demo Test Suite
Linear Command Position 0.041 s Secrossphere Demo Test Suite
Linear Command Duration 0.031 s Secrossphere Demo Test Suite
Vibrate Command Count 0.002 s Secrossphere Demo Test Suite
Vibrate Command Timing 0.002 s Secrossphere Demo Test Suite
Rotate Command Count 0.005 s Secrossphere Demo Test Suite
Rotate Command Timing 0.001 s Secrossphere Demo Test Suite
Battery Level 0.002 s Secrossphere Demo Test Suite
Kill Switch 6.124 s Secrossphere Demo Test Suite

Please sign in to comment.