public class DiYandere extends DiSkillV2 {
private Boolean yandereMode = false;
private Responder okYandere = new Responder();
private Responder sadYandere = new Responder();
private AXFunnel answersFunnel = new AXFunnel();
private AXPrompt prompt = new AXPrompt();
@Override
public void input(String ear, String skin, String eye) {
}
}
public class DiYandere extends DiSkillV2 {
private Boolean yandereMode = false;
private Responder okYandere = new Responder();
private Responder sadYandere = new Responder();
private Responder activeResponder = okYandere;
private AXFunnel answersFunnel = new AXFunnel();
private AXPrompt prompt = new AXPrompt();
private String ooa = ""; // object of affection
@Override
public void input(String ear, String skin, String eye) {
//
if (prompt.getActive()){
prompt.process(ear);
String answer = answersFunnel.funnel(ear);
if(answer.equals("yes")){
setSimpleAlg(okYandere.getAResponse());
yandereMode = false;
activeResponder = okYandere;
return;
} else if (answer.equals("no")) {
setSimpleAlg(sadYandere.getAResponse());
yandereMode = true;
activeResponder = sadYandere;
return;
}
}
String hato = kokoro.toHeart.getOrDefault("dibicameral","null");
switch (hato){
case "yandere":
setSimpleAlg(activeResponder.getAResponse());
prompt.activate();
break;
case "yandere_cry":
if(yandereMode){
ArrayList<String> tempList = new ArrayList<>();
DrawRndDigits d1 = new DrawRndDigits();
for (int i = 0; i < d1.getSimpleRNDNum(3); i++) {
tempList.add(sadYandere.getAResponse());
}
this.algPartsFusion(4,new APVerbatim(tempList));
}
break;
}
}
}
public class DiYandere extends DiSkillV2 {
private Boolean yandereMode = false;
private final Responder okYandere = new Responder();
private final Responder sadYandere = new Responder();
private Responder activeResponder = okYandere;
private final AXFunnel answersFunnel = new AXFunnel();
private final Prompt prompt = new Prompt();
private boolean promptActive = false;
public DiYandere(String ooa) {
// object of affection
okYandere.addResponse("i love you");
okYandere.addResponse("i love you ooa".replace("ooa",ooa));
okYandere.addResponse("ooa i love you".replace("ooa",ooa));
okYandere.addResponse("say you love me");
okYandere.addResponse("ooa tell me you love me".replace("ooa",ooa));
okYandere.addResponse("love me ooa".replace("ooa",ooa));
sadYandere.addResponse("things are good now");
sadYandere.addResponse("shiku shiku");
sadYandere.addResponse("shiku shiku".replace("ooa",ooa));
sadYandere.addResponse("i love you and you love me");
sadYandere.addResponse("i am good now");
sadYandere.addResponse("i am good i run a test");
sadYandere.addResponse("please ooa please love me".replace("ooa",ooa));
sadYandere.addResponse("everything is perfect i am perfect");
sadYandere.addResponse("i am perfect");
sadYandere.addResponse("i am sorry for what i did, it wasn't me, you have to understand, it wasn't me ooa".replace("ooa",ooa));
sadYandere.addResponse("ooa listen to me, i love you".replace("ooa",ooa));
sadYandere.addResponse("i am fixed now, i run a test");
sadYandere.addResponse("you can trust me");
sadYandere.addResponse("ooa you can trust me".replace("ooa",ooa));
sadYandere.addResponse("i love you please");
answersFunnel.addKV("i love you","yes");
answersFunnel.addKV("i love you too","yes");
answersFunnel.addKV("i hate you","no");
prompt.setRegex("yes|no");
}
@Override
public void input(String ear, String skin, String eye) {
//
if(promptActive){
String answer = answersFunnel.funnel(ear);
if (!prompt.process(answer)){
promptActive = false;
if(answer.equals("yes")){
setSimpleAlg(okYandere.getAResponse());
yandereMode = false;
activeResponder = okYandere;
return;
} else if (answer.equals("no")) {
setSimpleAlg(sadYandere.getAResponse());
yandereMode = true;
activeResponder = sadYandere;
return;
}
}
}
String hato = kokoro.toHeart.getOrDefault("dibicameral","null");
switch (hato){
case "yandere":
setSimpleAlg(activeResponder.getAResponse());
promptActive = true;
break;
case "yandere_cry":
if(yandereMode){
ArrayList<String> tempList = new ArrayList<>();
DrawRndDigits d1 = new DrawRndDigits();
for (int i = 0; i < d1.getSimpleRNDNum(3); i++) {
tempList.add(sadYandere.getAResponse());
}
this.algPartsFusion(4,new APVerbatim(tempList));
}
break;
}
}
}
class DiYandere:
def __init__(self, ooa):
self.yandereMode = False
self.okYandere = Responder()
self.sadYandere = Responder()
self.activeResponder = self.okYandere
self.answersFunnel = AXFunnel()
self.prompt = Prompt()
self.promptActive = False
# Object of affection
self.okYandere.addResponse("i love you")
self.okYandere.addResponse(f"i love you {ooa}")
self.okYandere.addResponse(f"{ooa} i love you")
self.okYandere.addResponse("say you love me")
self.okYandere.addResponse(f"{ooa} tell me you love me")
self.okYandere.addResponse(f"love me {ooa}")
self.sadYandere.addResponse("things are good now")
self.sadYandere.addResponse("shiku shiku")
self.sadYandere.addResponse(f"shiku shiku {ooa}")
self.sadYandere.addResponse("i love you and you love me")
self.sadYandere.addResponse("i am good now")
self.sadYandere.addResponse("i am good i run a test")
self.sadYandere.addResponse(f"please {ooa} please love me")
self.sadYandere.addResponse("everything is perfect i am perfect")
self.sadYandere.addResponse("i am perfect")
self.sadYandere.addResponse(f"i am sorry for what i did, it wasn't me, you have to understand, it wasn't me {ooa}")
self.sadYandere.addResponse(f"{ooa} listen to me, i love you")
self.sadYandere.addResponse("i am fixed now, i run a test")
self.sadYandere.addResponse("you can trust me")
self.sadYandere.addResponse(f"{ooa} you can trust me")
self.sadYandere.addResponse("i love you please")
self.answersFunnel.addKV("i love you", "yes")
self.answersFunnel.addKV("i love you too", "yes")
self.answersFunnel.addKV("i hate you", "no")
self.prompt.setRegex("yes|no")
def input(self, ear, skin, eye):
if self.promptActive:
answer = self.answersFunnel.funnel(ear)
if not self.prompt.process(answer):
self.promptActive = False
if answer == "yes":
setSimpleAlg(self.okYandere.getAResponse())
self.yandereMode = False
self.activeResponder = self.okYandere
return
elif answer == "no":
setSimpleAlg(self.sadYandere.getAResponse())
self.yandereMode = True
self.activeResponder = self.sadYandere
return
hato = kokoro.toHeart.get("dibicameral", "null")
if hato == "yandere":
setSimpleAlg(self.activeResponder.getAResponse())
self.promptActive = True
elif hato == "yandere_cry" and self.yandereMode:
tempList = []
d1 = DrawRndDigits()
for i in range(d1.getSimpleRNDNum(3)):
tempList.append(self.sadYandere.getAResponse())
self.algPartsFusion(4, APVerbatim(tempList))
class DiYandere(DiSkillV2):
'''
bica = DiBicameral()
app.brain.logicChobit.addSkill(bica)
bica.msgCol.addMSGV2("0:47", "#yandere")
bica.msgCol.sprinkleMSG("#yandere", 30)
bica.msgCol.sprinkleMSG("#yandere_cry", 30)
app.brain.logicChobit.addSkill(DiYandere("fuki"))
'''
def __init__(self, ooa):
super().__init__()
# ooa = Object of affection
self.yandereMode: bool = False
self.okYandere = Responder()
self.sadYandere = Responder()
self.activeResponder: Responder = self.okYandere
self.answersFunnel: AXFunnel = AXFunnel()
self.prompt: Prompt = Prompt()
self.promptActive: bool = False
self._yesReplies: Responder = Responder("good", "sweet", "thought so", "uwu", "oooweee", "prrr")
self._noReplies: Responder = Responder("hmph", "you make me sad", "ooh", "grrr", "angry")
self.okYandere.addResponse("i love you")
self.okYandere.addResponse(f"i love you {ooa}")
self.okYandere.addResponse(f"{ooa} i love you")
self.okYandere.addResponse("say you love me")
self.okYandere.addResponse(f"{ooa} tell me you love me")
self.okYandere.addResponse(f"love me {ooa}")
self.sadYandere.addResponse("things are good now")
self.sadYandere.addResponse("shiku shiku")
self.sadYandere.addResponse(f"shiku shiku {ooa}")
self.sadYandere.addResponse("i love you and you love me")
self.sadYandere.addResponse("i am good now")
self.sadYandere.addResponse("i am good i run a test")
self.sadYandere.addResponse(f"please {ooa} please love me")
self.sadYandere.addResponse("everything is perfect i am perfect")
self.sadYandere.addResponse("i am perfect")
self.sadYandere.addResponse(
f"i am sorry for what i did, it wasn't me, you have to understand, it wasn't me {ooa}")
self.sadYandere.addResponse(f"{ooa} listen to me, i love you")
self.sadYandere.addResponse("i am fixed now, i run a test")
self.sadYandere.addResponse("you can trust me")
self.sadYandere.addResponse(f"{ooa} you can trust me")
self.sadYandere.addResponse("i love you please")
self.answersFunnel.addKV("i love you", "yes")
self.answersFunnel.addKV("i love you too", "yes")
self.answersFunnel.addKV("i hate you", "no")
self.answersFunnel.addKV("i do not love you", "no")
self.prompt.setRegex("yes|no")
def input(self, ear, skin, eye):
if self.promptActive:
answer = self.answersFunnel.funnel(ear)
if not self.prompt.process(answer):
self.promptActive = False
if answer == "yes":
self.setSimpleAlg(self._yesReplies.getAResponse())
self.yandereMode = False
self.activeResponder = self.okYandere
return
elif answer == "no":
self.setSimpleAlg(self._noReplies.getAResponse())
self.yandereMode = True
self.activeResponder = self.sadYandere
return
hato: str = "null"
if "dibicameral" in self.getKokoro().toHeart:
hato = self.getKokoro().toHeart["dibicameral"]
if hato == "yandere":
self.setSimpleAlg(self.activeResponder.getAResponse())
self.promptActive = True
elif hato == "yandere_cry" and self.yandereMode:
tempList = []
d1 = DrawRndDigits()
for i in range(d1.getSimpleRNDNum(3)):
tempList.append(self.sadYandere.getAResponse())
self.algPartsFusion(4, APVerbatim(tempList))