Skip to content

Commit

Permalink
[HKR] tentacles + use multi-penis feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Sauceke committed Nov 18, 2023
1 parent 4c85771 commit a8e01cb
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions src/LoveMachine.HKR/HolyKnightRiccaGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ namespace LoveMachine.HKR;

internal class HolyKnightRiccaGame : TimelineGameAdapter
{
private GameObject SceneRoot => GameObject.Find("ATDTimeline");

private static readonly string[] dickBasePaths =
{
"DEF-testicle",
"ORG-testicle",
"DEF-Ovipositor",
"mainTentacle03_013",
"hellbeetle/Base/belly/belly_001/belly_002/tail"
};

Expand All @@ -30,34 +33,30 @@ internal class HolyKnightRiccaGame : TimelineGameAdapter
AccessTools.Method("ATD.UIController, ATDAssemblyDifinition:OnDestroy")
};

protected override Traverse Director => Traverse.Create(FindObjectOfType<PlayableDirector>());

protected override Traverse Timeline =>
Traverse.Create(FindObjectOfType<PlayableDirector>().playableAsset.Cast<TimelineAsset>());

protected override string TrackName => "Cut Track Asset";

protected override Dictionary<Bone, string> FemaleBoneNames => new()
{
{ Bone.Vagina, "DEF-clitoris" },
{ Bone.Mouth, "MouseTransform" }
};

protected override int HeroineCount => 1;

protected override int MaxHeroineCount => 1;

protected override bool IsHardSex => true;

protected override float PenisSize => 0.1f;
protected override Transform PenisBase => throw new NotImplementedException();

protected override Transform PenisBase => dickBasePaths
.Select(GameObject.Find)
.First(go => go != null)
.transform;
protected override Transform[] PenisBases => dickBasePaths
.SelectMany(path => FindDeepChildrenByPath(SceneRoot, path))
.ToArray();

protected override GameObject GetFemaleRoot(int girlIndex) =>
GameObject.Find("ricasso/root");
protected override GameObject GetFemaleRoot(int girlIndex) => GameObject.Find("ricasso/root");

protected override bool IsIdle(int girlIndex) => false;

protected override Traverse Director => Traverse.Create(FindObjectOfType<PlayableDirector>());

protected override Traverse Timeline =>
Traverse.Create(FindObjectOfType<PlayableDirector>().playableAsset.Cast<TimelineAsset>());

protected override string TrackName => "Cut Track Asset";
}

1 comment on commit a8e01cb

@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.007 s Secrossphere Demo Test Suite
Linear Command Timing 0.001 s Secrossphere Demo Test Suite
Linear Command Position 0.001 s Secrossphere Demo Test Suite
Linear Command Duration 0.007 s Secrossphere Demo Test Suite
Vibrate Command Count 0.027 s Secrossphere Demo Test Suite
Vibrate Command Timing 0.055 s Secrossphere Demo Test Suite
Rotate Command Count 0.006 s Secrossphere Demo Test Suite
Rotate Command Timing 0 s Secrossphere Demo Test Suite
Battery Level 0 s Secrossphere Demo Test Suite
Kill Switch 6.003 s Secrossphere Demo Test Suite

Please sign in to comment.