From 730d983810149b118dc03c9b03b7be2e16ea37dd Mon Sep 17 00:00:00 2001 From: Sauceke Date: Mon, 11 Sep 2023 11:21:14 +0300 Subject: [PATCH] [IO] make male orgasms absolutely insane --- src/LoveMachine.IO/InsultOrderGame.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/LoveMachine.IO/InsultOrderGame.cs b/src/LoveMachine.IO/InsultOrderGame.cs index 91c0c029..e18086ef 100644 --- a/src/LoveMachine.IO/InsultOrderGame.cs +++ b/src/LoveMachine.IO/InsultOrderGame.cs @@ -16,7 +16,8 @@ internal sealed class InsultOrderGame : GameAdapter private GameObject femaleRoot; private Animator femaleAnimator; - private Traverse climax; + private Traverse femaleClimax; + private Traverse maleClimax; private Traverse motionId; protected override Dictionary FemaleBoneNames => new Dictionary @@ -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 => @@ -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("MotionID"); @@ -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(); - climax = Traverse.Create(Type.GetType("GameClass, Assembly-CSharp")) + femaleClimax = Traverse.Create(Type.GetType("GameClass, Assembly-CSharp")) .Field("Climax"); + maleClimax = Traverse.Create(FindObjectOfType(Type.GetType( + "SE_Particle_Manager, Assembly-CSharp"))) + .Field("SE0101touch"); } } } \ No newline at end of file