Skip to content

Commit

Permalink
[AGH] Add more female bones
Browse files Browse the repository at this point in the history
  • Loading branch information
Sauceke committed Dec 20, 2021
1 parent 76c6be6 commit 803b050
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions LoveMachine.AGH/HoukagoRinkanButtplugController.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using LoveMachine.Core;
using UnityEngine;

namespace LoveMachine.AGH
{
public abstract class HoukagoRinkanButtplugController : ButtplugController
{
private static readonly List<string> SayaBones = new List<string>
{
"CH01/CH0001/CH01_pussy00",
"bip01 L Finger1Nub",
"BF01_tongue01",
"HS_Breast_LL"
};

private static readonly List<string> ElenaBones = new List<string>
{
"CH02/CH0002/CH01_pussy00",
"bip01 L Finger1Nub_02",
"BF01_tongue01_02",
"HS_Breast_LL_02"
};

protected override int HeroineCount => 1;

protected override bool IsHardSex => true;
Expand All @@ -16,18 +33,12 @@ public abstract class HoukagoRinkanButtplugController : ButtplugController
protected override bool IsHSceneInterrupted => false;

protected override Animator GetFemaleAnimator(int girlIndex)
=> GameObject.Find("CH01/CH0001")?.GetComponent<Animator>()
?? GameObject.Find("CH02/CH0002")?.GetComponent<Animator>();
=> (GameObject.Find("CH01/CH0001") ?? GameObject.Find("CH02/CH0002"))
.GetComponent<Animator>();

protected override List<Transform> GetFemaleBones(int girlIndex)
{
var chara = GameObject.Find("CH01") != null ? "CH01/CH0001/" : "CH02/CH0002/";
return new List<Transform>
{
// there are CH01 prefixed bones under CH02, wtf
GameObject.Find(chara + "CH01_pussy00").transform
};
}
=> (GameObject.Find("CH01") != null ? SayaBones : ElenaBones)
.Select(bone => GameObject.Find(bone).transform).ToList();

protected override Transform GetMaleBone()
=> GameObject.Find("PC01/PC/HS_kiten_PC/PC00Bip/PC00Bip Pelvis").transform;
Expand Down

0 comments on commit 803b050

Please sign in to comment.