More Code for Bender Jack It. (Patreon)
Content
That's just a tiny piece of the final score code. Here's the whole thing if you're into really hard code robo-porn. This stuff is almost integrated and since there's about a million possible combinations this will need a lot of balance testing. Once I drop this I'll be asking for feedback on playability.
This is the real scoring code:
//Call this function to set all the TF variables for scoring.
//Init variables.
tf.FryAmbassador = 0; //10000
tf.FryBimbo = 0; //Cahill
tf.FryTrainer = 0; // Randy
tf.FryAlien = 0; // Heather, Leela
tf.FryDom = 0; // Morgan
tf.FryStud = 0; // Breed all
tf.FryDairy = 0; // Milk All
//Amy
tf.AmyTotalEncounter = f.AmyMouth + f.AmyPussy + f.AmyTits + f.AmyAss + f.AmyHasMilk + f.AmyFeet + f.AmyClit;
tf.AmyTotalSperm = f.AmyCumMouthTotal + f.AmyCumPussyTotal + f.AmyCumAssTotal + f.AmyCumTitsTotal + f.AmyCumFaceTotal;
tf.AmyTotalOrgasm = f.AmyMouthOrgasm + f.AmyPussyOrgasm + f.AmyAssOrgasm + f.AmyTitsOrgasm;
if (tf.AmyTotalEncounter == 0){
tf.AmyOrgasmRatio = 0;
}else{
tf.AmyOrgasmRatio = tf.AmyTotalOrgasm / tf.AmyTotalEncounter;
tf.AmyOrgasmRatio = Math.round((tf.AmyOrgasmRatio + Number.EPSILON) * 100) / 100;
}
if (tf.AmyTotalEncounter == 0){
tf.AmyOffspringRatio = 0;
}else{
tf.AmyOffspringRatio = f.AmyOffspring / tf.AmyTotalEncounter;
tf.AmyOffspringRatio = Math.round((tf.AmyOffspringRatio + Number.EPSILON) * 100) / 100;
}
tf.AmyScore = (tf.AmyTotalEncounter + tf.AmyTotalSperm + tf.AmyTotalOrgasm) * (tf.AmyOffspringRatio + tf.AmyOrgasmRatio);
tf.AmyScore = Math.round((tf.AmyScore + Number.EPSILON) * 100) / 100;
//Cahill
tf.CahillTotalEncounter = f.CahillMouth + f.CahillPussy + f.CahillTits + f.CahillAss + f.CahillFeet;
tf.CahillTotalSperm = f.CahillCumMouthTotal + f.CahillCumPussyTotal + f.CahillCumAssTotal + f.CahillCumTitsTotal + f.CahillCumFaceTotal;
tf.CahillTotalOrgasm = f.CahillMouthOrgasm + f.CahillPussyOrgasm + f.CahillAssOrgasm + f.CahillTitsOrgasm;
if (tf.CahillTotalEncounter == 0){
tf.CahillOrgasmRatio = 0;
}else{
tf.CahillOrgasmRatio = tf.CahillTotalOrgasm / tf.CahillTotalEncounter;
tf.CahillOrgasmRatio = Math.round((tf.CahillOrgasmRatio + Number.EPSILON) * 100) / 100;
}
if (tf.CahillTotalEncounter == 0){
tf.CahillOffspringRatio = 0;
}else{
tf.CahillOffspringRatio = f.CahillOffspring / tf.CahillTotalEncounter;
tf.CahillOffspringRatio = Math.round((tf.CahillOffspringRatio + Number.EPSILON) * 100) / 100;
}
tf.CahillScore = (tf.CahillTotalEncounter + tf.CahillTotalSperm + tf.CahillTotalOrgasm) * (tf.CahillOffspringRatio + tf.CahillOrgasmRatio);
tf.CahillScore = Math.round((tf.CahillScore + Number.EPSILON) * 100) / 100;
//Heather
tf.HeatherTotalEncounter = f.HeatherMouthFuck + f.HeatherPussyFuck + f.HeatherTitsFuck + f.HeatherAssFuck + f.HeatherHandsFuck + f.HeatherHasMilk;
tf.HeatherTotalSperm = f.HeatherCumMouthTotal + f.HeatherCumPussyTotal + f.HeatherCumAssTotal + f.HeatherCumTitsTotal + f.HeatherCumFaceTotal;
tf.HeatherTotalOrgasm = f.HeatherMouthOrgasm + f.HeatherPussyOrgasm + f.HeatherAssOrgasm + f.HeatherTitsOrgasm;
if (tf.HeatherTotalEncounter == 0){
tf.HeatherOrgasmRatio = 0;
}else{
tf.HeatherOrgasmRatio = tf.HeatherTotalOrgasm / tf.HeatherTotalEncounter;
tf.HeatherOrgasmRatio = Math.round((tf.HeatherOrgasmRatio + Number.EPSILON) * 100) / 100;
}
if (tf.HeatherTotalEncounter == 0){
tf.HeatherOffspringRatio = 0;
}else{
tf.HeatherOffspringRatio = f.HeatherOffspring / tf.HeatherTotalEncounter;
tf.HeatherOffspringRatio = Math.round((tf.HeatherOffspringRatio + Number.EPSILON) * 100) / 100;
}
tf.HeatherScore = (tf.HeatherTotalEncounter + tf.HeatherTotalSperm + tf.HeatherTotalOrgasm) * (tf.HeatherOffspringRatio + tf.HeatherOrgasmRatio) ;
tf.HeatherScore = Math.round((tf.HeatherScore + Number.EPSILON) * 100) / 100;
//Leela
tf.LeelaTotalEncounter = f.LeelaFuckMouth + f.LeelaFuckPussy + f.LeelaFuckTits + f.LeelaFuckAss + f.LeelaHasMilk;
tf.LeelaTotalSperm = f.LeelaCumMouthTotal + f.LeelaCumPussyTotal + f.LeelaCumAssTotal + f.LeelaCumTitsTotal + f.LeelaCumFaceTotal;
tf.LeelaTotalOrgasm = f.LeelaMouthOrgasm + f.LeelaPussyOrgasm + f.LeelaAssOrgasm + f.LeelaTitsOrgasm;
if (tf.LeelaTotalEncounter == 0){
tf.LeelaOrgasmRatio = 0;
}else{
tf.LeelaOrgasmRatio = tf.LeelaTotalOrgasm / tf.LeelaTotalEncounter;
tf.LeelaOrgasmRatio = Math.round((tf.LeelaOrgasmRatio + Number.EPSILON) * 100) / 100;
}
if (tf.LeelaTotalEncounter == 0){
tf.LeelaOffspringRatio = 0;
}else{
tf.LeelaOffspringRatio = f.LeelaOffspring / tf.LeelaTotalEncounter;
tf.LeelaOffspringRatio = Math.round((tf.LeelaOffspringRatio + Number.EPSILON) * 100) / 100;
}
tf.LeelaScore = (tf.LeelaTotalEncounter + tf.LeelaTotalSperm + tf.LeelaTotalOrgasm) * (tf.LeelaOffspringRatio + tf.LeelaOrgasmRatio);
tf.LeelaScore = Math.round((tf.LeelaScore + Number.EPSILON) * 100) / 100;
//Morgan
tf.MorganTotalEncounter = f.MorganFuckMouth + f.MorganFuckPussy + f.MorganFuckTits + f.MorganFuckAss + f.MorganHasMilk;
tf.MorganTotalSperm = f.MorganCumMouthTotal + f.MorganCumPussyTotal + f.MorganCumAssTotal + f.MorganCumTitsTotal + f.MorganCumFaceTotal;
tf.MorganTotalOrgasm = f.MorganMouthOrgasm + f.MorganPussyOrgasm + f.MorganAssOrgasm + f.MorganTitsOrgasm;
if (tf.MorganTotalEncounter == 0){
tf.MorganOrgasmRatio = 0;
}else{
tf.MorganOrgasmRatio = tf.MorganTotalOrgasm / tf.MorganTotalEncounter;
tf.MorganOrgasmRatio = Math.round((tf.MorganOrgasmRatio + Number.EPSILON) * 100) / 100;
}
if (tf.MorganTotalEncounter == 0){
tf.MorganOffspringRatio = 0;
}else{
tf.MorganOffspringRatio = f.MorganOffspring / tf.MorganTotalEncounter;
tf.MorganOffspringRatio = Math.round((tf.MorganOffspringRatio + Number.EPSILON) * 100) / 100;
}
tf.MorganScore = (tf.MorganTotalEncounter + tf.MorganTotalSperm + tf.MorganTotalOrgasm) * (tf.MorganOffspringRatio + tf.MorganOrgasmRatio);
tf.MorganScore = Math.round((tf.MorganScore + Number.EPSILON) * 100) / 100;
//Randy
tf.RandyTotalEncounter = f.RandyFuckMouth + f.RandyFuckPussy + f.RandyFuckTits + f.RandyFuckAss + f.RandyFuckFeet + f.RandyHasMilk;
tf.RandyTotalSperm = f.RandyCumMouthTotal + f.RandyCumPussyTotal + f.RandyCumAssTotal + f.RandyCumTitsTotal + f.RandyCumFaceTotal;
tf.RandyTotalOrgasm = f.RandyMouthOrgasm + f.RandyPussyOrgasm + f.RandyAssOrgasm + f.RandyTitsOrgasm;
if (tf.RandyTotalEncounter == 0){
tf.RandyOrgasmRatio = 0;
}else{
tf.RandyOrgasmRatio = tf.RandyTotalOrgasm / tf.RandyTotalEncounter;
tf.RandyOrgasmRatio = Math.round((tf.RandyOrgasmRatio + Number.EPSILON) * 100) / 100;
}
if (tf.RandyTotalEncounter == 0){
tf.RandyOffspringRatio = 0;
}else{
tf.RandyOffspringRatio = f.RandyOffspring / tf.RandyTotalEncounter;
tf.RandyOffspringRatio = Math.round((tf.RandyOffspringRatio + Number.EPSILON) * 100) / 100;
}
tf.RandyScore = (tf.RandyTotalEncounter + tf.RandyTotalSperm + tf.RandyTotalOrgasm) * (tf.RandyOffspringRatio + tf.RandyOrgasmRatio);
tf.RandyScore = Math.round((tf.RandyScore + Number.EPSILON) * 100) / 100;
//Fry Score
tf.FryScore = tf.RandyScore + tf.MorganScore + tf.LeelaScore + tf.HeatherScore + tf.CahillScore + tf.AmyScore
tf.FryScore = Math.round((tf.FryScore + Number.EPSILON) * 100) / 100;
//Fry Bimbo
if (f.CahillOffspring > 0) {tf.FryBimbo = 1;}
//Fry Trainer
if {f.RandyAssCapacity >= 75} {
tf.FryTrainer = 2;
}else if (f.RandyAssCapacity >= 25) {
tf.FryTrainer = 1;
}
//Fry Alien
if (f.LeelaOffspring > 0) {tf.FryAlien +=1;}
if (f.HeatherOffspring > 0) {tf.FryAlien +=1;}
//Fry Dom
if {f.TakeMorganCollar == 2} {tf.FryDom = 1'}
//Fry Stud
if (f.AmyOffspring > 0 && f.CahillOffspring > 0 && f.HeatherOffspring > 0 && f.LeelaOffspring > 0 && f.MorganOffspring > 0 && f.RandyOffspring > 0){
tf.FryStud = 1;
}
Fry Dairy
if(f.AmyHasMilk > 0 && f.LeelaHasMilk > 0 && f.HeatherHasMilk > 0 && f.MorganHasMilk > 0 && f.RandyHasMilk > 0){
tf.FryDairy = 1;
}