ABsitter

Creamer

Well-known member
Messages
822
#1
@adolf512
review my code please, it has much more features I want but it is at a point I'd like you to review it

Java:
package chobit;

public class DISitter extends DISkill {
    private PlayGround playGround = new PlayGround();
    private DISkillUtils diSkillUtil = new DISkillUtils();
    // isDiapered
    private int algMode = 0;
    private int outAlg = 0;
    private TimeGate timeGate = new TimeGate();
    public DISitter(Kokoro kokoro) {
        super(kokoro);
        // TODO Auto-generated constructor stub
    }

    @Override
    public void input(String ear, String skin, String eye) {
        // triggers
        triggers(ear, skin, eye);
        // algMode (continual algs of triggers)
        algMode(ear, skin, eye);
    }

    @Override
    public void output(Neuron noiron) {
        switch (outAlg) {
        case 1:
            noiron.algParts.add(diSkillUtil.verbatimGorithm(new APVerbatim("ok little one")));
            outAlg = 0;
            break;
        case 2:
            noiron.algParts.add(
                    diSkillUtil.verbatimGorithm(new APVerbatim("no you may not", "it is passed your curfew baby")));
            outAlg = 0;
            break;
        case 101:
            noiron.algParts.add(diSkillUtil.verbatimGorithm(new APVerbatim("no you may not fuck me")));
            outAlg = 0;
            break;
        case 102:
            noiron.algParts.add(diSkillUtil.verbatimGorithm(new APVerbatim("go humpies in your diapy")));
            outAlg = 0;
            break;
        case 300:
            noiron.algParts.add(diSkillUtil.verbatimGorithm(new APVerbatim("yes you have to")));
            outAlg = 0;
            break;
        case 301:
            noiron.algParts.add(diSkillUtil.verbatimGorithm(new APVerbatim("then be a big boy and stop fussing")));
            outAlg = 0;
            break;
        default:
            break;
        }
    }

    public void triggers(String ear, String skin, String eye) {
        if (ear.contains("go outside")) {
            if (playGround.isDayTime()) {
                outAlg = 1;
            } else {
                outAlg = 2;
            }
        }
        if ((ear.contains("can") || ear.contains("may")) && ear.contains("fuck you")) {
            algMode = 101;
            timeGate.close(2);
            outAlg = 101;
        }
        if (ear.contains("do I have to wear diapers")) {
            timeGate.close(2);
            outAlg = 300;
            algMode = 300;
        }
    }

    public void algMode(String ear, String skin, String eye) {
        switch (algMode) {
        case 101:
            if (!timeGate.isClosed()) {
                algMode = 0;
            } else {
                if (ear.contains("but I am a big boy") || ear.contains("please")) {
                    timeGate.close(2);
                    outAlg = 102;
                }
            }
            break;
        case 300:
            if (!timeGate.isClosed()) {
                algMode = 0;
            } else {
                if (ear.contains("but I am a big boy")) {
                    timeGate.close(2);
                    outAlg = 301;
                }
            }
            break;
        default:
            break;
        }
    }
}
 

Creamer

Well-known member
Messages
822
#2
Java:
package chobit;

public class DISitter extends DISkill {
    private PlayGround playGround = new PlayGround();
    private DISkillUtils diSkillUtil = new DISkillUtils();
    // isDiapered
    private int algMode = 0;
    private int outAlg = 0;
    private TimeGate timeGate = new TimeGate();
    public DISitter(Kokoro kokoro) {
        super(kokoro);
        // TODO Auto-generated constructor stub
    }

    @Override
    public void input(String ear, String skin, String eye) {
        // triggers
        triggers(ear, skin, eye);
        // algMode (continual algs of triggers)
        algMode(ear, skin, eye);
    }

    @Override
    public void output(Neuron noiron) {
        switch (outAlg) {
        case 1:
            noiron.algParts.add(diSkillUtil.verbatimGorithm(new APVerbatim("ok little one")));
            outAlg = 0;
            break;
        case 2:
            noiron.algParts.add(
                    diSkillUtil.verbatimGorithm(new APVerbatim("no you may not", "it is passed your curfew baby")));
            outAlg = 0;
            break;
        case 101:
            noiron.algParts.add(diSkillUtil.verbatimGorithm(new APVerbatim("no you may not fuck me")));
            outAlg = 0;
            break;
        case 102:
            noiron.algParts.add(diSkillUtil.verbatimGorithm(new APVerbatim("go humpies in your diapy")));
            outAlg = 0;
            break;
        case 103:
            noiron.algParts.add(diSkillUtil.verbatimGorithm(new APVerbatim("you have a diaper dont you")));
            outAlg = 0;
            break;
        case 300:
            noiron.algParts.add(diSkillUtil.verbatimGorithm(new APVerbatim("yes you have to")));
            outAlg = 0;
            break;
        case 301:
            noiron.algParts.add(diSkillUtil.verbatimGorithm(new APVerbatim("then be a big boy and stop fussing")));
            outAlg = 0;
            break;
        default:
            break;
        }
    }

    public void triggers(String ear, String skin, String eye) {
        if (ear.contains("go outside")) {
            if (playGround.isDayTime()) {
                outAlg = 1;
            } else {
                outAlg = 2;
            }
        }
        if ((ear.contains("can") || ear.contains("may")) && ear.contains("fuck you")) {
            algMode = 101;
            timeGate.close(2);
            outAlg = 101;
        }
        if (ear.contains("i need to pee") || ear.contains("go potty")) {
            outAlg = 103;
        }
        if (ear.contains("do I have to wear diapers")) {
            timeGate.close(2);
            outAlg = 300;
            algMode = 300;
        }
    }

    public void algMode(String ear, String skin, String eye) {
        switch (algMode) {
        case 101:
            if (!timeGate.isClosed()) {
                algMode = 0;
            } else {
                if (ear.contains("but I am a big boy") || ear.contains("please")) {
                    timeGate.close(2);
                    outAlg = 102;
                }
            }
            break;
        case 300:
            if (!timeGate.isClosed()) {
                algMode = 0;
            } else {
                if (ear.contains("but I am a big boy")) {
                    timeGate.close(2);
                    outAlg = 301;
                }
            }
            break;
        default:
            break;
        }
    }
}
so that is more or less the first part, and it is scalable to more nice possibilities. Im not thinking clearly, I think my 2nd self is asleep or something
hard to code without his dark energy. tho I dislike him.
 

Creamer

Well-known member
Messages
822
#5
https://www.youtube.com/watch?v=LAzYd1rjvtM

I feel the evil energy pumping again. oh I hate and contempt foids, oh how I despise humans.

ok so the next 2 section of the sitter skill are :
******************
*PUNISHMENTS*
******************
triggers ->
lecture
punishment

and

*************
*ACTIVITIES*
*************

time based triggers ->
activity


the section activities are stand alones, one section shouldn't interfere with the other.
in other word she can't forget about a punishment if she suddenly wants to sing the user a lullabye
#####################
//also I want to think how the prophesy module would fit into this to auto self summon algs
 

Creamer

Well-known member
Messages
822
#8
test
go outside

can may fuck you
if (ear.contains("but I am a big boy") || ear.contains("please")) {

i need to pee
go potty


do I have to wear diapers
if (ear.contains("but I am a big boy")) {

also twicked the recognition engine to eng only, succesful test, but have to document.
 

Creamer

Well-known member
Messages
822
#12
I fap so much thinking about her putting me in time out.
grabbing me by the arm, and sitting me down to stare at the wall till she comes to get me, looking into my eyes
asking if I had learned my lesson. I'm such a sicko. on the bright side this isn't very complex of an alg
 

Creamer

Well-known member
Messages
822
#13
I simply couldn't stop fapping to it, I had planned so much to do today but I stayed up for 7 hours just fapping non
stop to the above, I must have jizzed 6 or 7 times. I had also rubbed that durex lube on my peepee, it may be a reason
or maybe the spicy souce I had eaten at the morning of yesterday. I guess its the thought of a female genually caring for me.
who knows really.
 
Top