From 96a566c45c66fb874a2248b55b65be66d31d37ae Mon Sep 17 00:00:00 2001
From: Arkerthan <arkerthan@gmail.com>
Date: Mon, 1 Mar 2021 18:47:30 +0100
Subject: [PATCH] code style, use camelCase

---
 src/npc/generate/generateMarketSlave.js       | 172 ++++-----
 src/npc/generate/generateNewSlaveJS.js        |  23 +-
 src/npc/generate/heroCreator.js               |   9 +-
 src/npc/generate/lawCompliance.js             |  11 +-
 src/npc/generate/newSlaveIntro.js             |   7 +-
 src/npc/importSlave.js                        |   1 -
 src/npc/interaction/killSlave.js              |   3 -
 .../slaveOnSlaveFeeding/fSlaveFeed.js         |   6 +-
 src/npc/startingGirls/startingGirls.js        |   1 -
 src/npc/startingGirls/startingGirlsPassage.js |   1 -
 src/npc/surgery/bodySwap/bodySwap.js          |   2 +-
 src/npc/surgery/fatGraft.js                   |   7 +-
 src/npc/surgery/surgery.js                    |   2 +-
 src/npc/surgery/surgeryDegradation.js         | 325 +++++++++---------
 14 files changed, 290 insertions(+), 280 deletions(-)

diff --git a/src/npc/generate/generateMarketSlave.js b/src/npc/generate/generateMarketSlave.js
index b538cc9bd2c..115b015ab0c 100644
--- a/src/npc/generate/generateMarketSlave.js
+++ b/src/npc/generate/generateMarketSlave.js
@@ -19,10 +19,10 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				r += `Newly enslaved MILFs are strongly favored for training. `;
 				if (V.pedo_mode === 1) {
 					SGProp.minAge = 24;
-					SGProp.maxAge = V.retirementAge-1;
+					SGProp.maxAge = V.retirementAge - 1;
 				} else {
 					SGProp.minAge = 36;
-					SGProp.maxAge = V.retirementAge-1;
+					SGProp.maxAge = V.retirementAge - 1;
 				}
 			} else {
 				r += `Promising slaves are trained without special sorting based on age. `;
@@ -48,7 +48,6 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				slave = GenerateNewSlave(null, SGProp);
 			}
 
-
 			slave.origin = "$He was enslaved and trained by your corporation.";
 			slave.devotion = jsRandom(-30, 0);
 			slave.trust = jsRandom(-45, -25);
@@ -209,7 +208,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 						slave.faceShape = "androgynous";
 					}
 					slave.faceImplant = 20;
-					slave.face = Math.clamp(slave.face+20, -100, 100);
+					slave.face = Math.clamp(slave.face + 20, -100, 100);
 				}
 				if ((slave.ageImplant !== 1) && (slave.visualAge >= 25)) {
 					applyAgeImplant(slave);
@@ -265,28 +264,28 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 			if (V.corp.SpecHormones === 1) {
 				r += `It applies almost universal female hormone therapy. `;
 				if (slave.dick > 0) {
-					slave.dick = Math.clamp(slave.dick-1, 1, 6);
+					slave.dick = Math.clamp(slave.dick - 1, 1, 6);
 				}
 				if (slave.balls > 0) {
-					slave.balls = Math.clamp(slave.balls-1, 1, 6);
+					slave.balls = Math.clamp(slave.balls - 1, 1, 6);
 				}
 				if (slave.clit > 0) {
-					slave.clit = Math.clamp(slave.clit-1, 0, 3);
+					slave.clit = Math.clamp(slave.clit - 1, 0, 3);
 				}
 				if ((slave.voice < 3) && (slave.voice > 0)) {
-					slave.voice = Math.clamp(slave.voice+1, 1, 3);
+					slave.voice = Math.clamp(slave.voice + 1, 1, 3);
 				}
 				if ((slave.vagina > -1) && (slave.ovaries !== 0) && (slave.vaginaLube < 2)) {
-					slave.vaginaLube = Math.clamp(slave.vaginaLube+1, 0, 2);
+					slave.vaginaLube = Math.clamp(slave.vaginaLube + 1, 0, 2);
 				}
-				if (((slave.butt-slave.buttImplant) < 2)) {
-					slave.butt = Math.clamp(slave.butt+1, 0, 10);
+				if (((slave.butt - slave.buttImplant) < 2)) {
+					slave.butt = Math.clamp(slave.butt + 1, 0, 10);
 				}
-				if (((slave.boobs-slave.boobsImplant) < 500)) {
-					slave.boobs = Math.clamp(slave.boobs+400, 0, 10000);
+				if (((slave.boobs - slave.boobsImplant) < 500)) {
+					slave.boobs = Math.clamp(slave.boobs + 400, 0, 10000);
 				}
 				if (slave.face <= 95) {
-					slave.face = Math.clamp(slave.face+20, -100, 100);
+					slave.face = Math.clamp(slave.face + 20, -100, 100);
 				}
 				if ((slave.faceShape === "masculine")) {
 					slave.faceShape = "androgynous";
@@ -294,11 +293,11 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 					slave.faceShape = "normal";
 				}
 				if (slave.physicalAge < 25) {
-					slave.shoulders = Math.clamp(slave.shoulders-1, -2, 2);
-					slave.hips = Math.clamp(slave.hips+1, -2, 2);
+					slave.shoulders = Math.clamp(slave.shoulders - 1, -2, 2);
+					slave.hips = Math.clamp(slave.hips + 1, -2, 2);
 				}
 				if ((slave.muscles > 30) && (slave.diet !== "muscle building") && !(V.corp.SpecMuscle > 3)) {
-					slave.muscles = Math.clamp(slave.muscles-10, 0, 30);
+					slave.muscles = Math.clamp(slave.muscles - 10, 0, 30);
 				}
 				if ((slave.nipples === "tiny")) {
 					slave.nipples = "cute";
@@ -308,28 +307,28 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				}
 				slave.devotion += jsRandom(5, 10);
 				slave.trust += jsRandom(5, 10);
-				slave.attrXY = Math.clamp(slave.attrXY+jsRandom(5, 10), 0, 100);
+				slave.attrXY = Math.clamp(slave.attrXY + jsRandom(5, 10), 0, 100);
 			} else if (V.corp.SpecHormones === 2) {
 				r += `It applies almost universal male hormone therapy. `;
 				if (slave.dick > 0) {
-					slave.dick = Math.clamp(slave.dick+1, 1, 6);
+					slave.dick = Math.clamp(slave.dick + 1, 1, 6);
 				}
 				if (slave.balls > 0) {
-					slave.balls = Math.clamp(slave.balls+1, 1, 6);
+					slave.balls = Math.clamp(slave.balls + 1, 1, 6);
 				}
 				if ((slave.clit > 0) && (slave.dick === 0)) {
-					slave.clit = Math.clamp(slave.clit+1, 0, 3);
+					slave.clit = Math.clamp(slave.clit + 1, 0, 3);
 				}
 				if (slave.voice > 1) {
-					slave.voice = Math.clamp(slave.voice-1, 1, 3);
+					slave.voice = Math.clamp(slave.voice - 1, 1, 3);
 				}
 				if ((slave.vagina > -1) && (slave.vaginaLube > 0)) {
-					slave.vaginaLube = Math.clamp(slave.vaginaLube-1, 0, 2);
+					slave.vaginaLube = Math.clamp(slave.vaginaLube - 1, 0, 2);
 				}
-				slave.butt = Math.clamp(slave.butt-1, 0, 10);
-				slave.boobs = Math.clamp(slave.boobs-400, 0, 10000);
+				slave.butt = Math.clamp(slave.butt - 1, 0, 10);
+				slave.boobs = Math.clamp(slave.boobs - 400, 0, 10000);
 				if (slave.face > 10) {
-					slave.face = Math.clamp(slave.face-20, -100, 100);
+					slave.face = Math.clamp(slave.face - 20, -100, 100);
 				}
 				if (slave.faceShape === "androgynous" || slave.faceShape === "masculine" || slave.faceShape === "normal") {
 					slave.faceShape = "masculine";
@@ -337,11 +336,11 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 					slave.faceShape = "androgynous";
 				}
 				if (slave.physicalAge < 25) {
-					slave.shoulders = Math.clamp(slave.shoulders+1, -2, 2);
-					slave.hips = Math.clamp(slave.hips-1, -2, 2);
+					slave.shoulders = Math.clamp(slave.shoulders + 1, -2, 2);
+					slave.hips = Math.clamp(slave.hips - 1, -2, 2);
 				}
 				if ((slave.muscles <= 95) && (slave.diet !== "slimming")) {
-					slave.muscles = Math.clamp(slave.muscles+20, 0, 3);
+					slave.muscles = Math.clamp(slave.muscles + 20, 0, 3);
 				}
 				if ((slave.nipples === "huge")) {
 					slave.nipples = "cute";
@@ -351,7 +350,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				}
 				slave.devotion -= jsRandom(5, 10);
 				slave.trust -= jsRandom(5, 10);
-				slave.attrXX = Math.clamp(slave.attrXX+jsRandom(5, 10), 0, 100);
+				slave.attrXX = Math.clamp(slave.attrXX + jsRandom(5, 10), 0, 100);
 			} else {
 				r += `It does not use hormones on a systematic level. `;
 			}
@@ -423,23 +422,23 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 			if (V.corp.SpecImplants === 1) {
 				r += `Slaves are given tasteful breast, butt, and lip implants. `;
 				slave.buttImplant = 1;
-				slave.butt = Math.clamp(slave.butt+slave.buttImplant, 0, 10);
+				slave.butt = Math.clamp(slave.butt + slave.buttImplant, 0, 10);
 				slave.buttImplantType = "normal";
 				slave.boobsImplant = 600;
-				slave.boobs = Math.clamp(slave.boobs+slave.boobsImplant, 0, 10000);
+				slave.boobs = Math.clamp(slave.boobs + slave.boobsImplant, 0, 10000);
 				slave.boobsImplantType = "normal";
 				slave.lipsImplant = 20;
-				slave.lips = Math.clamp(slave.lips+slave.lipsImplant, 0, 55);
+				slave.lips = Math.clamp(slave.lips + slave.lipsImplant, 0, 55);
 			} else if (V.corp.SpecImplants === 2) {
 				r += `Slaves are given absurd breast, butt, and lip implants. `;
 				slave.buttImplant = 4;
 				slave.buttImplantType = "fillable";
-				slave.butt = Math.clamp(slave.butt+slave.buttImplant, 0, 10);
+				slave.butt = Math.clamp(slave.butt + slave.buttImplant, 0, 10);
 				slave.boobsImplant = 2400;
 				slave.boobsImplantType = "advanced fillable";
-				slave.boobs = Math.clamp(slave.boobs+slave.boobsImplant, 0, 10000);
+				slave.boobs = Math.clamp(slave.boobs + slave.boobsImplant, 0, 10000);
 				slave.lipsImplant = 60;
-				slave.lips = Math.clamp(slave.lipsImplant+slave.buttImplant, 0, 100);
+				slave.lips = Math.clamp(slave.lipsImplant + slave.buttImplant, 0, 100);
 			} else {
 				r += `Slaves are not given breast, butt, or lip implants. `;
 			}
@@ -462,7 +461,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 		case "neighbor": {
 			const neighborID = (typeof V.arcologies[numArcology] === 'object') ? numArcology : 1;
 			const neighbor = V.arcologies[neighborID];
-			const opinion = Math.clamp(Math.trunc(App.Neighbor.opinion(V.arcologies[0], neighbor)/20), -10, 10);
+			const opinion = Math.clamp(Math.trunc(App.Neighbor.opinion(V.arcologies[0], neighbor) / 20), -10, 10);
 
 			let genes = "";
 			if (neighbor.FSSubjugationist > 20) {
@@ -486,19 +485,19 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 			slave.origin = "You bought $him from ";
 			slave.origin += neighbor.name;
 			slave.origin += ".";
-			slave.devotion = -20 + Math.trunc(neighbor.prosperity/10) + jsRandom(0, 10);
-			slave.trust = -20 + Math.trunc(neighbor.prosperity/10) + jsRandom(0, 10);
-			setHealth(slave, -50 + Math.trunc(neighbor.prosperity/25) + jsRandom(0, 5), Math.max(15 - neighbor.prosperity/20 + normalRandInt(0, 2), 0), Math.max(15 - neighbor.prosperity/20 + normalRandInt(0, 2), 0), undefined, Math.max(jsRandom(10, 40) - neighbor.prosperity/15, 10));
+			slave.devotion = -20 + Math.trunc(neighbor.prosperity / 10) + jsRandom(0, 10);
+			slave.trust = -20 + Math.trunc(neighbor.prosperity / 10) + jsRandom(0, 10);
+			setHealth(slave, -50 + Math.trunc(neighbor.prosperity / 25) + jsRandom(0, 5), Math.max(15 - neighbor.prosperity / 20 + normalRandInt(0, 2), 0), Math.max(15 - neighbor.prosperity / 20 + normalRandInt(0, 2), 0), undefined, Math.max(jsRandom(10, 40) - neighbor.prosperity / 15, 10));
 			if (jsRandom(1, 100) < neighbor.prosperity / 10 + 50) {
 				slave.health.illness = 0;
 			}
 			if (slave.vagina > 0) {
-				slave.skill.vaginal += Math.clamp(neighbor.prosperity/2, 15, 100);
+				slave.skill.vaginal += Math.clamp(neighbor.prosperity / 2, 15, 100);
 			}
 			if (slave.anus > 0) {
-				slave.skill.anal += Math.clamp(neighbor.prosperity/2, 15, 100);
+				slave.skill.anal += Math.clamp(neighbor.prosperity / 2, 15, 100);
 			}
-			slave.skill.oral += Math.clamp(neighbor.prosperity/2, 15, 100);
+			slave.skill.oral += Math.clamp(neighbor.prosperity / 2, 15, 100);
 			slave.attrKnown = 1;
 			slave.fetishKnown = 1;
 			if (slave.accent >= 3) {
@@ -582,7 +581,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				r += `They all show signs of intensive hormone therapy. `;
 				slave.chem += jsRandom(10, 100);
 				if (slave.dick > 0) {
-					slave.boobs += 100*jsRandom(0, 4);
+					slave.boobs += 100 * jsRandom(0, 4);
 					slave.butt += jsRandom(0, 2);
 					if (slave.hips < 2) {
 						slave.hips += jsRandom(0, 1);
@@ -616,7 +615,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 						}
 					}
 				} else {
-					slave.boobs -= 100*jsRandom(0, 2);
+					slave.boobs -= 100 * jsRandom(0, 2);
 					slave.butt -= jsRandom(0, 1);
 					if (slave.hips > -2) {
 						slave.hips -= jsRandom(0, 1);
@@ -683,7 +682,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				}
 				if (neighbor.FSRepopulationFocus === "unset" && neighbor.FSBodyPurist === "unset") {
 					if (isFertile(slave) && slave.vagina > 0 && jsRandom(1, 10) === 9) {
-						slave.abortionTat = jsRandom(1, (Math.min(slave.physicalAge-V.fertilityAge, slave.physicalAge-V.minimumSlaveAge))*2);
+						slave.abortionTat = jsRandom(1, (Math.min(slave.physicalAge - V.fertilityAge, slave.physicalAge - V.minimumSlaveAge)) * 2);
 					}
 				}
 				let i = 0;
@@ -757,18 +756,18 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 					slave.energy -= 30;
 				}
 				if (slave.vagina > 0) {
-					slave.skill.vaginal += Math.clamp(neighbor.prosperity/2, 20, 100);
+					slave.skill.vaginal += Math.clamp(neighbor.prosperity / 2, 20, 100);
 					slave.skill.vaginal = Math.clamp(slave.skill.vaginal, 50, 100);
 				}
 				if (slave.anus > 0) {
-					slave.skill.anal += Math.clamp(neighbor.prosperity/2, 20, 100);
+					slave.skill.anal += Math.clamp(neighbor.prosperity / 2, 20, 100);
 					slave.skill.anal = Math.clamp(slave.skill.anal, 50, 100);
 				}
-				slave.skill.oral += Math.clamp(neighbor.prosperity/2, 20, 100);
+				slave.skill.oral += Math.clamp(neighbor.prosperity / 2, 20, 100);
 				slave.skill.oral = Math.clamp(slave.skill.oral, 50, 100);
-				slave.skill.entertainment += Math.clamp(neighbor.prosperity/2, 20, 100);
+				slave.skill.entertainment += Math.clamp(neighbor.prosperity / 2, 20, 100);
 				slave.skill.entertainment = Math.clamp(slave.skill.entertainment, 50, 100);
-				slave.skill.whoring += Math.clamp(neighbor.prosperity/2, 20, 100);
+				slave.skill.whoring += Math.clamp(neighbor.prosperity / 2, 20, 100);
 				slave.skill.whoring = Math.clamp(slave.skill.whoring, 50, 100);
 				slave.sexualFlaw = "none";
 				slave.behavioralFlaw = "none";
@@ -808,7 +807,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 			} else if (neighbor.FSTransformationFetishist > 80) {
 				r += `They vary in terms of what size their implants are, not whether they have them. `;
 				slave.chem += jsRandom(10, 100);
-				slave.boobsImplant = 200*jsRandom(2, 20);
+				slave.boobsImplant = 200 * jsRandom(2, 20);
 				if (slave.boobsImplant > 10000) {
 					slave.boobsImplantType = "hyper fillable";
 				} else if (slave.boobsImplant > 2200) {
@@ -836,7 +835,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				slave.lips += slave.lipsImplant;
 				if (neighbor.FSTransformationFetishistResearch === 1 && jsRandom(1, 100) <= 20) {
 					r += `This one's implants are unusually large; a showcase of what ${his} home arcology is capable of. `;
-					slave.boobsImplant += 200*jsRandom(100, 200);
+					slave.boobsImplant += 200 * jsRandom(100, 200);
 					slave.boobs += slave.boobsImplant;
 					slave.boobsImplantType = "hyper fillable";
 					slave.buttImplant += jsRandom(7, 12);
@@ -872,7 +871,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 			if (neighbor.FSSlimnessEnthusiast > 20) {
 				r += `They're never overweight, and are often quite lithe. `;
 				if (slave.boobs > 400) {
-					slave.boobs -= 100*jsRandom(0, 2);
+					slave.boobs -= 100 * jsRandom(0, 2);
 				}
 				if (slave.butt > 3) {
 					slave.butt -= jsRandom(0, 2);
@@ -890,7 +889,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				r += `Their butts are usually imposing, but their tits are what's often most impressive. `;
 				slave.chem += jsRandom(10, 100);
 				if (slave.boobs < 5000) {
-					slave.boobs += 100*jsRandom(5, 50);
+					slave.boobs += 100 * jsRandom(5, 50);
 				}
 				if (slave.butt < 6) {
 					slave.butt += jsRandom(2, 4);
@@ -900,7 +899,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				}
 				if (neighbor.FSAssetExpansionistResearch === 1 && jsRandom(1, 100) <= 20) {
 					r += `This one is unusually large; a showcase of what ${his} home arcology is capable of. `;
-					slave.boobs = 200*jsRandom(100, 200);
+					slave.boobs = 200 * jsRandom(100, 200);
 					slave.butt = jsRandom(10, 20);
 					if (slave.dick > 0 && V.seeDicks !== 0) {
 						slave.dick = jsRandom(20, 30);
@@ -975,7 +974,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				r += `Lactation is nearly universal among them, sometimes in ludicrous quantities. They tend to have huge udders, as well. `;
 				slave.chem += jsRandom(10, 100);
 				if (slave.boobs < 5000) {
-					slave.boobs += 100*jsRandom(5, 50);
+					slave.boobs += 100 * jsRandom(5, 50);
 				}
 				if (slave.lactation === 0) {
 					slave.lactation = jsEither([0, 1, 1, 1, 1, 2]);
@@ -996,7 +995,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				if (slave.balls < 20) {
 					slave.balls += jsRandom(5, 20);
 				}
-				slave.scrotum = slave.balls-5;
+				slave.scrotum = slave.balls - 5;
 				slave.prostate = jsEither([1, 1, 1, 2, 2, 3]);
 				if (slave.muscles < 30) {
 					slave.muscles += jsRandom(0, 20);
@@ -1336,7 +1335,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 			slave.behavioralFlaw = jsEither(["anorexic", "arrogant", "bitchy", "devout", "gluttonous", "hates men", "hates women", "hates women", "liberated", "odd"]);
 			slave.sexualFlaw = jsEither(["apathetic", "crude", "hates anal", "hates oral", "hates penetration", "idealistic", "judgemental", "repressed", "shamefast"]);
 			if (jsRandom(1, 2) === 1) {
-				let slaveGen = jsRandom(2, 8)*200;
+				let slaveGen = jsRandom(2, 8) * 200;
 				slave.boobs += slaveGen;
 				slave.boobsImplant += slaveGen;
 				if (slave.boobsImplant > 1000) {
@@ -1353,8 +1352,8 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				slave.lipsImplant += slaveGen;
 				slave.waist = Math.clamp(slave.waist, -100, 15);
 				if (slave.face < 40) {
-					slave.faceImplant = 20*jsRandom(0, 1);
-					slave.face = Math.clamp(slave.face+slave.faceImplant, -100, 100);
+					slave.faceImplant = 20 * jsRandom(0, 1);
+					slave.face = Math.clamp(slave.face + slave.faceImplant, -100, 100);
 				}
 				if (slave.physicalAge >= 30) {
 					if (jsRandom(0, 1) > 0) {
@@ -1591,11 +1590,11 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 			slave.height = jsRandom(160, 210);
 			slave.butt = jsRandom(4, 10);
 			if (V.GRI.schoolUpgrade === 2) {
-				slave.boobs = 200*jsRandom(15, 30);
+				slave.boobs = 200 * jsRandom(15, 30);
 				slave.lactation = 2;
 				slave.lactationDuration = 2;
 			} else {
-				slave.boobs = 200*jsRandom(4, 20);
+				slave.boobs = 200 * jsRandom(4, 20);
 			}
 			slave.nipples = jsEither(["huge", "inverted"]);
 			slave.areolae = jsEither([0, 1, 2, 3, 4]);
@@ -1644,19 +1643,19 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 			setHealth(slave, 100, Math.max(normalRandInt(10, 4), 0), Math.max(normalRandInt(5, 4), 0), 0, jsRandom(5, 20));
 			slave.heightImplant = 1;
 			slave.height += 10;
-			slave.buttImplant = (4-slave.butt);
+			slave.buttImplant = (4 - slave.butt);
 			slave.buttImplantType = "normal";
 			slave.butt += slave.buttImplant;
-			slave.boobsImplant = (2000-slave.boobs);
+			slave.boobsImplant = (2000 - slave.boobs);
 			slave.boobs += slave.boobsImplant;
 			slave.boobsImplantType = "fillable";
 			slave.nipples = "tiny";
 			slave.areolae = 0;
 			slave.clit = 0;
-			slave.lipsImplant = (20-slave.lips);
+			slave.lipsImplant = (20 - slave.lips);
 			slave.lips += slave.lipsImplant;
 			slave.faceImplant = 40;
-			slave.face = Math.clamp(slave.face+slave.faceImplant, -100, 100);
+			slave.face = Math.clamp(slave.face + slave.faceImplant, -100, 100);
 			slave.faceShape = "normal";
 			slave.anus = 0;
 			slave.vagina = 0;
@@ -1826,7 +1825,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				slave.slaveName = App.Data.misc.cowSlaveNames.random();
 				slave.slaveSurname = 0;
 				slave.butt = jsEither([2, 2, 3, 3, 3, 4, 4]);
-				slave.boobs = ((slave.physicalAge*100)*2)+jsEither([-100, -100, 0, 0, 100, 100, 200, 200, 300, 500]);
+				slave.boobs = ((slave.physicalAge * 100) * 2) + jsEither([-100, -100, 0, 0, 100, 100, 200, 200, 300, 500]);
 				slave.lactation = 0;
 				slave.lactationAdaptation = 0;
 				slave.lactationDuration = 0;
@@ -1857,7 +1856,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				slave.collar = "leather with cowbell";
 				slave.brand["right thigh"] = "the logo of the Cattle Ranch";
 			} else if (V.TCR.schoolUpgrade === 1 && jsRandom(1, 100) <= 20) {
-				SGProp.minAge = V.potencyAge+1;
+				SGProp.minAge = V.potencyAge + 1;
 				SGProp.maxAge = 24;
 				SGProp.ageOverridesPedoMode = 1;
 				SGProp.disableDisability = 1;
@@ -1913,7 +1912,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				slave.origin = "You bought $him from The Cattle Ranch.";
 				slave.career = "a dairy cow";
 				slave.butt = jsEither([3, 3, 4, 4, 4, 5, 6]);
-				slave.boobs = ((slave.physicalAge*100)*2)+jsEither([-100, -100, 0, 0, 100, 100, 200, 200, 300, 500]);
+				slave.boobs = ((slave.physicalAge * 100) * 2) + jsEither([-100, -100, 0, 0, 100, 100, 200, 200, 300, 500]);
 				slave.lactation = 1;
 				slave.lactationDuration = 2;
 				slave.lactationAdaptation = 100;
@@ -1965,7 +1964,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 			SGProp.maxAge = 29;
 			SGProp.ageOverridesPedoMode = 1;
 			SGProp.disableDisability = 1;
-			if (V.TFS.schoolUpgrade === 3 && V.TFS.compromiseWeek+15 <= V.week) {
+			if (V.TFS.schoolUpgrade === 3 && V.TFS.compromiseWeek + 15 <= V.week) {
 				slave = GenerateNewSlave(null, SGProp);
 			} else {
 				slave = GenerateNewSlave("XY", SGProp);
@@ -1979,7 +1978,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				slave.intelligence = -60;
 				slave.hips = 0;
 				slave.face = jsEither([35, 35, 35, 75, 100]);
-				if (V.TFS.schoolUpgrade === 3 && V.TFS.compromiseWeek+15 <= V.week) {
+				if (V.TFS.schoolUpgrade === 3 && V.TFS.compromiseWeek + 15 <= V.week) {
 					if (slave.genes === "XY") {
 						slave.balls = 6;
 						slave.scrotum = slave.balls;
@@ -2011,7 +2010,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				slave.intelligence = -30;
 				slave.hips = 1;
 				slave.face = jsEither([35, 35, 35, 75, 100]);
-				if (V.TFS.schoolUpgrade === 3 && V.TFS.compromiseWeek+15 <= V.week) {
+				if (V.TFS.schoolUpgrade === 3 && V.TFS.compromiseWeek + 15 <= V.week) {
 					if (slave.genes === "XY") {
 						slave.balls = 7;
 						slave.scrotum = slave.balls;
@@ -2039,7 +2038,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				slave.intelligence = 0;
 				slave.hips = 2;
 				slave.face = jsEither([35, 35, 75, 75, 100]);
-				if (V.TFS.schoolUpgrade === 3 && V.TFS.compromiseWeek+15 <= V.week) {
+				if (V.TFS.schoolUpgrade === 3 && V.TFS.compromiseWeek + 15 <= V.week) {
 					if (slave.genes === "XY") {
 						slave.balls = 8;
 						slave.scrotum = slave.balls;
@@ -2103,7 +2102,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				slave.intelligence = 60;
 				slave.hips = 2;
 				slave.face = jsEither([35, 75, 100, 100, 100]);
-				if (V.TFS.schoolUpgrade === 3 && V.TFS.compromiseWeek+15 <= V.week) {
+				if (V.TFS.schoolUpgrade === 3 && V.TFS.compromiseWeek + 15 <= V.week) {
 					if (slave.genes === "XY") {
 						slave.balls = 10;
 						slave.scrotum = slave.balls;
@@ -2132,10 +2131,10 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				slave.anus = 3;
 				slave.fetish = "dom";
 			}
-			slave.chem = 100+(sisterAge*50);
-			slave.butt = sisterAge+jsRandom(2, 4);
-			slave.boobs = 50*((10*sisterAge)+jsRandom(10, 20));
-			slave.dick = sisterAge+jsRandom(1, 2);
+			slave.chem = 100 + (sisterAge * 50);
+			slave.butt = sisterAge + jsRandom(2, 4);
+			slave.boobs = 50 * ((10 * sisterAge) + jsRandom(10, 20));
+			slave.dick = sisterAge + jsRandom(1, 2);
 			if (slave.foreskin > 0) {
 				slave.foreskin = slave.dick;
 			}
@@ -2166,7 +2165,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 			if (V.TFS.schoolUpgrade === 2) {
 				slave.energy = 100;
 			} else {
-				slave.energy = slave.physicalAge+jsRandom(20, 30);
+				slave.energy = slave.physicalAge + jsRandom(20, 30);
 			}
 			slave.devotion = jsRandom(30, 40);
 			slave.trust = jsRandom(60, 75);
@@ -2228,7 +2227,10 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 			setHealth(slave, jsRandom(60, 80), 0, Math.max(normalRandInt(0, 2), 0), 0, jsRandom(5, 20));
 			const minHeight = jsRandom(170, 180);
 			if (V.HA.schoolUpgrade === 2) {
-				slave.height = Math.trunc(Math.clamp(Height.random(slave, {limitMult: [2, 15], spread: 0.1}), minHeight, 274));
+				slave.height = Math.trunc(Math.clamp(Height.random(slave, {
+					limitMult: [2, 15],
+					spread: 0.1
+				}), minHeight, 274));
 				slave.muscles = jsRandom(40, 80);
 			} else {
 				slave.height = Math.trunc(Math.clamp(Height.random(slave, {limitMult: [1, 4]}), minHeight, 274));
@@ -2332,7 +2334,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				if (V.retirementAge > 56) {
 					SGProp.maxAge = 55;
 				} else {
-					SGProp.maxAge = V.retirementAge-2;
+					SGProp.maxAge = V.retirementAge - 2;
 				}
 			}
 			SGProp.disableDisability = 1;
@@ -2584,7 +2586,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				if (V.retirementAge > 56) {
 					SGProp.maxAge = 55;
 				} else {
-					SGProp.maxAge = V.retirementAge-2;
+					SGProp.maxAge = V.retirementAge - 2;
 				}
 			}
 			SGProp.disableDisability = 1;
@@ -2775,7 +2777,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				if (V.retirementAge > 66) {
 					SGProp.maxAge = 65;
 				} else {
-					SGProp.maxAge = V.retirementAge-2;
+					SGProp.maxAge = V.retirementAge - 2;
 				}
 			}
 			SGProp.disableDisability = 1;
@@ -2891,7 +2893,7 @@ globalThis.generateMarketSlave = function(market = "kidnappers", numArcology = 1
 				if (V.retirementAge > 56) {
 					SGProp.maxAge = 55;
 				} else {
-					SGProp.maxAge = V.retirementAge-2;
+					SGProp.maxAge = V.retirementAge - 2;
 				}
 			}
 			SGProp.disableDisability = 1;
diff --git a/src/npc/generate/generateNewSlaveJS.js b/src/npc/generate/generateNewSlaveJS.js
index bee39efea26..5883841ac84 100644
--- a/src/npc/generate/generateNewSlaveJS.js
+++ b/src/npc/generate/generateNewSlaveJS.js
@@ -26,6 +26,7 @@ globalThis.GenerateNewSlave = (function() {
 	let x = {};
 	/** @type {App.Entity.SlaveState} */
 	let slave;
+
 	/**
 	 * @returns {App.Entity.SlaveState}
 	 * @param {?string} sex "XY" or "XX", or "" or null to use default rules
@@ -38,7 +39,15 @@ globalThis.GenerateNewSlave = (function() {
 	 * @param {FC.Zeroable<FC.Race>|"nonslave"} [Obj.race] Sets race. Special value "nonslave" chooses a race that is valid for a free citizen of your arcology (avoiding races that are automatically enslaved by policy).
 	 * @param {number} [Obj.disableDisability=0] 0 or 1.
 	 */
-	function GenerateNewSlave(sex, {minAge, maxAge, ageOverridesPedoMode, mature, nationality, race, disableDisability} = {}) {
+	function GenerateNewSlave(sex, {
+		minAge,
+		maxAge,
+		ageOverridesPedoMode,
+		mature,
+		nationality,
+		race,
+		disableDisability
+	} = {}) {
 		x.minAge = minAge || 0;
 		x.maxAge = maxAge || 999;
 		x.ageOverridesPedoMode = ageOverridesPedoMode || 0;
@@ -1748,7 +1757,7 @@ globalThis.GenerateNewSlave = (function() {
 			}
 		}
 		if (slave.geneticQuirks.macromastia === 2) {
-			slave.boobs += jsRandom(1 * slave.physicalAge, 3 * slave.physicalAge) * 100;
+			slave.boobs += jsRandom(slave.physicalAge, 3 * slave.physicalAge) * 100;
 			slave.boobs = Math.clamp(slave.boobs, 300, 5000);
 		}
 		if (slave.geneticQuirks.gigantomastia === 3) {
@@ -1759,7 +1768,7 @@ globalThis.GenerateNewSlave = (function() {
 			}
 		}
 		if (slave.geneticQuirks.gigantomastia === 2) {
-			slave.boobs += jsRandom(1 * slave.physicalAge, 20 * slave.physicalAge) * 100;
+			slave.boobs += jsRandom(slave.physicalAge, 20 * slave.physicalAge) * 100;
 			if (slave.geneticQuirks.macromastia === 2) {
 				slave.boobs = Math.clamp(slave.boobs, 300, 100000);
 			} else {
@@ -1830,13 +1839,13 @@ globalThis.GenerateNewSlave = (function() {
 
 globalThis.generateSalonModifications = function(slave) {
 	/* hair dyes*/
-	if ( (jsRandom(1, 50) === 1) || ((jsRandom(1, 20) === 1) && ["southern european", "white"].includes(slave.race)) ) {
+	if ((jsRandom(1, 50) === 1) || ((jsRandom(1, 20) === 1) && ["southern european", "white"].includes(slave.race))) {
 		slave.hColor = jsEither(["jet black", "black", "black", "dark brown", "brown", "chestnut", "chocolate", "amber", "golden", "blonde", "blonde", "blonde", "platinum blonde", "platinum blonde", "auburn", "ginger", "copper"]);
 		if (jsRandom(1, 10) === 1 || (["jet black", "black", "dark brown", "brown", "chestnut", "chocolate"].includes(slave.hColor) && jsRandom(1, 10) !== 1)) {
 			slave.eyebrowHColor = slave.hColor;
 		}
 		slave.override_H_Color = 1;
-	} else if ( (jsRandom(1, 100) === 1) || ((jsRandom(1, 20) === 1) && ["a barber", "a barista", "a bimbo", "a blogger", "a camgirl", "a camwhore", "a cheerleader", "a child actress", "a clown", "a club recruiter", "a cocktail waitress", "a comedian", "a cosmetologist", "a dominatrix", "a gang member", "a house DJ", "an idol", "a juvenile delinquent", "a magician's assistant", "a medium", "a mime", "a musician", "a party girl", "a poet", "a political activist", "a porn star", "a radio show host", "a stage magician", "a street performer", "a stripper", "a student", "a video game streamer", "an actress", "an artist", "an aspiring pop star"].includes(slave.career)) ) {
+	} else if ((jsRandom(1, 100) === 1) || ((jsRandom(1, 20) === 1) && ["a barber", "a barista", "a bimbo", "a blogger", "a camgirl", "a camwhore", "a cheerleader", "a child actress", "a clown", "a club recruiter", "a cocktail waitress", "a comedian", "a cosmetologist", "a dominatrix", "a gang member", "a house DJ", "an idol", "a juvenile delinquent", "a magician's assistant", "a medium", "a mime", "a musician", "a party girl", "a poet", "a political activist", "a porn star", "a radio show host", "a stage magician", "a street performer", "a stripper", "a student", "a video game streamer", "an actress", "an artist", "an aspiring pop star"].includes(slave.career))) {
 		slave.hColor = jsEither(["platinum blonde", "platinum blonde", "blazing red", "blue-violet", "blue", "burgundy", "dark blue", "deep red", "green-yellow", "green", "grey", "neon blue", "neon green", "neon pink", "pink", "ivory", "purple", "red", "sea green", "silver"]);
 		if (jsRandom(1, 3) === 1) {
 			slave.eyebrowHColor = slave.hColor;
@@ -1849,7 +1858,7 @@ globalThis.generateSalonModifications = function(slave) {
 	}
 
 	/* hair style*/
-	if ( (["black", "mixed race"].includes(slave.race) && (jsRandom(1, 3) === 1)) || (jsRandom(1, 15) === 1) ) {
+	if ((["black", "mixed race"].includes(slave.race) && (jsRandom(1, 3) === 1)) || (jsRandom(1, 15) === 1)) {
 		slave.hStyle = jsEither(["dreadlocks", "cornrows", "afro"]);
 	} else if (jsRandom(1, 5) === 1) {
 		slave.hStyle = jsEither(["curled", "bun", "luxurious", "permed"]);
@@ -1872,7 +1881,7 @@ globalThis.generateSalonModifications = function(slave) {
 
 	/* sun and spray tanning */
 	if (skinToneLevel(slave.origSkin) < 13) {
-		if ( (jsRandom(1, 40) === 1) || (["a bimbo", "an exotic dancer", "a trophy wife", "a party girl"].includes(slave.career) && (jsRandom(1, 10) === 1)) ) {
+		if ((jsRandom(1, 40) === 1) || (["a bimbo", "an exotic dancer", "a trophy wife", "a party girl"].includes(slave.career) && (jsRandom(1, 10) === 1))) {
 			slave.skin = "spray tanned";
 		} else if (skinToneLevel(slave.origSkin) > 3) {
 			let tan_chance = jsRandom(1, 50);
diff --git a/src/npc/generate/heroCreator.js b/src/npc/generate/heroCreator.js
index c8bc7a0000d..69ada836db9 100644
--- a/src/npc/generate/heroCreator.js
+++ b/src/npc/generate/heroCreator.js
@@ -19,19 +19,16 @@ App.Utils.buildHeroArray = function() {
 	}
 	App.UI.DOM.renderPassage("custom Slaves Database"); // populate V.heroSlaves from user DB
 	chunks.push(V.heroSlaves);
-	let array =	[].concat(...chunks);
+	let array = [].concat(...chunks);
 	delete V.heroSlaves;
 
 	for (let hero = 0; hero < array.length; hero++) {
 		if (V.seePreg !== 1 && [900089, 900102].includes(array[hero].ID)) {
 			array.splice(hero, 1);
 			hero--;
-			continue;
-		}
-		if (V.heroSlavesPurchased.includes(array[hero].ID)) {
+		} else if (V.heroSlavesPurchased.includes(array[hero].ID)) {
 			array.splice(hero, 1);
 			hero--;
-			continue;
 		}
 	}
 
@@ -201,7 +198,7 @@ App.Utils.getHeroSlave = function(heroSlave) {
 /**
  * Marks limbs to be removed when going trough App.Utils.getHeroSlave.
  * Does not actually remove limbs, only use on slaves that go through App.Utils.getHeroSlave!!
- * @param {{}}hero
+ * @param {{}} hero
  * @param {string} limb
  */
 App.Utils.removeHeroLimbs = function(hero, limb = "all") {
diff --git a/src/npc/generate/lawCompliance.js b/src/npc/generate/lawCompliance.js
index 52b53183589..8c570bdc153 100644
--- a/src/npc/generate/lawCompliance.js
+++ b/src/npc/generate/lawCompliance.js
@@ -663,7 +663,10 @@ App.Desc.lawCompliance = function(slave, market = 0) {
 	}
 
 	function heightAdvancedSMRup() {
-		slave.height = Math.round(Height.random(slave, {skew: V.policies.SMR.height.advancedSMR, limitMult: [0, 5 * V.policies.SMR.height.advancedSMR]}));
+		slave.height = Math.round(Height.random(slave, {
+			skew: V.policies.SMR.height.advancedSMR,
+			limitMult: [0, 5 * V.policies.SMR.height.advancedSMR]
+		}));
 		let t = [`While ${he} was in the slave pens, ${he} saw that slaves on the shorter end of the height curve were immediately designated as menials and Fuckdolls.`];
 		if (slave.physicalAge < 16) {
 			t.push(`${He} is <span class="gold">terrified</span> that if ${he} doesn't keep growing, ${he}'ll be reassigned on the spot without a second thought.`);
@@ -676,7 +679,10 @@ App.Desc.lawCompliance = function(slave, market = 0) {
 	}
 
 	function heightAdvancedSMRdown() {
-		slave.height = Math.round(Height.random(slave, {skew: V.policies.SMR.height.advancedSMR, limitMult: [0, 5 * V.policies.SMR.height.advancedSMR]}));
+		slave.height = Math.round(Height.random(slave, {
+			skew: V.policies.SMR.height.advancedSMR,
+			limitMult: [0, 5 * V.policies.SMR.height.advancedSMR]
+		}));
 		let t = [`While ${he} was in the slave pens, ${he} saw that slaves on the taller end of the height curve were immediately designated as menials and Fuckdolls.`];
 		if (slave.physicalAge < 16) {
 			t.push(`${He} is <span class="gold">terrified</span> that if ${he} goes through a growth spurt, ${he}'ll be reassigned on the spot without a second thought.`);
@@ -688,7 +694,6 @@ App.Desc.lawCompliance = function(slave, market = 0) {
 		return t.join(" ");
 	}
 
-
 	function intelligenceBasicSMR() {
 		if (slave.intelligence <= -15) {
 			slave.intelligence = Intelligence.random({limitIntelligence: [0, 40]});
diff --git a/src/npc/generate/newSlaveIntro.js b/src/npc/generate/newSlaveIntro.js
index 8a222670a66..fcc177501b0 100644
--- a/src/npc/generate/newSlaveIntro.js
+++ b/src/npc/generate/newSlaveIntro.js
@@ -250,7 +250,6 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest =
 			}
 		}
 
-
 		slave.oldDevotion = slave.devotion;
 		slave.oldTrust = slave.trust;
 
@@ -3498,7 +3497,7 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest =
 							} else {
 								r.push(`be pushed to the ground. Standing over ${him}, staring ${him} down as ${he} peeks around your firm globe of a middle, you order ${him} to worship your pregnancy.`);
 								if (slave.fetish === "pregnancy") {
-									r.push(`${He} complies eagerly. ${He} begins with sucking your popped navel before running ${his} tongue across the taut, smooth surface of your pregnancy. Once ${he} has finished with your belly, ${he} lowers ${himself} under it to begin work on your needy pussy. Before long, ${his} overzealous efforts have you quaking in pleasure, rousing your ${(PC.pregType === 1) ? `child` : `children`}. Once ${he} finishes you off, ${he} returns to rubbing your belly, soothing your rowdy ${(PC.pregType === 1) ? `child`:`children`}and <span class="hotpink">solidifying ${his} place</span> beneath you.`);
+									r.push(`${He} complies eagerly. ${He} begins with sucking your popped navel before running ${his} tongue across the taut, smooth surface of your pregnancy. Once ${he} has finished with your belly, ${he} lowers ${himself} under it to begin work on your needy pussy. Before long, ${his} overzealous efforts have you quaking in pleasure, rousing your ${(PC.pregType === 1) ? `child` : `children`}. Once ${he} finishes you off, ${he} returns to rubbing your belly, soothing your rowdy ${(PC.pregType === 1) ? `child` : `children`}and <span class="hotpink">solidifying ${his} place</span> beneath you.`);
 									slave.devotion += 15;
 								} else {
 									r.push(`${He} shifts ${his} gaze between your middle and your face, not sure what to do. Losing patience, you toss a tube of cream at ${him}. ${He} shakily massages it onto your stretched skin, missing spots, much to your pleasure. With reason, you force ${him} onto ${his} back, turn around, and plant your needy cunt directly onto ${his} face. Struggling to breath under your weight, ${he} begins eating you out in desperation. After coaxing ${him} to massage your belly as ${he} does, you quickly climax across ${his} face and gently lift yourself off the coughing ${girl}. ${He} now <span class="hotpink">understands ${his} place in life</span> and is <span class="gold">terrified</span> about what ${he} will have to do if ${he} wants to survive.`);
@@ -3661,7 +3660,7 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest =
 										} else {
 											r.push(`You knew ${he} had a breast fetishist and ${his} eagerness to lighten a lactating ${womanP} proves that.`);
 										}
-										r.push(`A kick from within startles you from your thoughts; you pat your gravid middle, reassuring your ${(PC.pregType === 1) ? `child`:`children`} that you'll make sure to save some milk for them. ${He}'s already starting to <span class="hotpink">show understanding of ${his} place</span> and even <span class="mediumaquamarine">beginning to build trust</span> with you.`);
+										r.push(`A kick from within startles you from your thoughts; you pat your gravid middle, reassuring your ${(PC.pregType === 1) ? `child` : `children`} that you'll make sure to save some milk for them. ${He}'s already starting to <span class="hotpink">show understanding of ${his} place</span> and even <span class="mediumaquamarine">beginning to build trust</span> with you.`);
 										slave.devotion += 15;
 										slave.trust += 15;
 									} else {
@@ -4088,7 +4087,6 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest =
 							slave.trust -= 10;
 						}
 
-
 						return r.join(" ");
 					},
 
@@ -4765,6 +4763,7 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest =
 			healthDamage(slave, 10);
 		}
 	}
+
 	function newChild() {
 		let linkArray;
 		let p = document.createElement("p");
diff --git a/src/npc/importSlave.js b/src/npc/importSlave.js
index 41f75f33112..48b9ca60954 100644
--- a/src/npc/importSlave.js
+++ b/src/npc/importSlave.js
@@ -1,4 +1,3 @@
-
 App.UI.SlaveInteract.importSlave = function() {
 	const el = new DocumentFragment();
 	App.UI.DOM.appendNewElement("span", el, `Paste the code into the text box and press enter: `);
diff --git a/src/npc/interaction/killSlave.js b/src/npc/interaction/killSlave.js
index 27b4644cc7c..20eff7df1cc 100644
--- a/src/npc/interaction/killSlave.js
+++ b/src/npc/interaction/killSlave.js
@@ -37,8 +37,6 @@ App.UI.SlaveInteract.killSlave = function(slave) {
 
 	return frag;
 
-
-
 	// MARK: Text Functions
 
 	function intro() {
@@ -162,7 +160,6 @@ App.UI.SlaveInteract.killSlave = function(slave) {
 			}
 		}
 
-
 		if (disableReasons) {
 			links.push(App.UI.DOM.disabledLink(combatLinkText, disableReasons));
 		} else {
diff --git a/src/npc/interaction/slaveOnSlaveFeeding/fSlaveFeed.js b/src/npc/interaction/slaveOnSlaveFeeding/fSlaveFeed.js
index 8badbbd789c..960de0b6bc1 100644
--- a/src/npc/interaction/slaveOnSlaveFeeding/fSlaveFeed.js
+++ b/src/npc/interaction/slaveOnSlaveFeeding/fSlaveFeed.js
@@ -248,7 +248,7 @@ globalThis.FSlaveFeed = function(slave, milkTap) {
 			} else {
 				r.push(`awkwardly`);
 			}
-			r.push(`brings ${his} lips to ${his} relative's nipple${(canAchieveErection(slave)) ? `, ${his} cock steadily hardening at the perversion of suckling from ${his} child`:``}.`);
+			r.push(`brings ${his} lips to ${his} relative's nipple${(canAchieveErection(slave)) ? `, ${his} cock steadily hardening at the perversion of suckling from ${his} child` : ``}.`);
 		} else if (areSisters(slave, milkTap) === 1) {
 			r.push(`${He} readily gets in position to`);
 			if (canTaste(slave)) {
@@ -642,7 +642,7 @@ globalThis.FSlaveFeed = function(slave, milkTap) {
 				if (milkTap.weight > 95) {
 					r.push(`soft`);
 				}
-				r.push(`thighs. Getting comfortable, you reach around to ${his2} immense mammaries and begin kneading them in time to your thrusts. After some time, and several loads blown ${(milkTap.belly >= 1500) ? `onto the rounded belly of the sobbing cow`: ``}, is ${slave.slaveName} bloated with enough milk.`);
+				r.push(`thighs. Getting comfortable, you reach around to ${his2} immense mammaries and begin kneading them in time to your thrusts. After some time, and several loads blown ${(milkTap.belly >= 1500) ? `onto the rounded belly of the sobbing cow` : ``}, is ${slave.slaveName} bloated with enough milk.`);
 			} else {
 				r.push(`With a lack of holes to penetrate, you simply wrap your arms around ${milkTap.slaveName} and begin fondling and milking ${his2} luscious breasts. After some time, ${slave.slaveName} is finally bloated to your desired size.`);
 			}
@@ -1298,7 +1298,7 @@ globalThis.FSlaveFeed = function(slave, milkTap) {
 		r = [];
 
 		if (slave.preg > 3 && slave.pregKnown === 0 && slave.inflation > 1) {
-			r.push(`It becomes abundantly clear that something is wrong with ${slave.slaveName} as ${he} struggles to down ${his} thick meal. Before ${his} health can be affected further, you pull ${him} into a medical exam. While most of the tests come back normal, one in particular catches your eye; <span class="lime">${he} is pregnant${(slave.preg > 10) ? `and surprisingly far along` :``}.</span> ${he} should be able to still handle at least two liters of cum, however.`);
+			r.push(`It becomes abundantly clear that something is wrong with ${slave.slaveName} as ${he} struggles to down ${his} thick meal. Before ${his} health can be affected further, you pull ${him} into a medical exam. While most of the tests come back normal, one in particular catches your eye; <span class="lime">${he} is pregnant${(slave.preg > 10) ? `and surprisingly far along` : ``}.</span> ${he} should be able to still handle at least two liters of cum, however.`);
 			deflate(slave);
 			slave.pregKnown = 1;
 			_pregDiscovery = 1;
diff --git a/src/npc/startingGirls/startingGirls.js b/src/npc/startingGirls/startingGirls.js
index cd00a299ff6..3d68889032d 100644
--- a/src/npc/startingGirls/startingGirls.js
+++ b/src/npc/startingGirls/startingGirls.js
@@ -1248,7 +1248,6 @@ App.StartingGirls.profile = function(slave, cheat = false) {
 		.addValueList(App.Data.misc.baseNationalities)
 		.pulldown();
 
-
 	if (V.seeRace === 1) {
 		options.addOption(`${His} ethnicity is`, "race", slave).showTextBox().pulldown()
 			.addValueList(Array.from(App.Data.misc.filterRaces, (k => [k[1], k[0]])));
diff --git a/src/npc/startingGirls/startingGirlsPassage.js b/src/npc/startingGirls/startingGirlsPassage.js
index f7116d7c87e..fdf4148c8cf 100644
--- a/src/npc/startingGirls/startingGirlsPassage.js
+++ b/src/npc/startingGirls/startingGirlsPassage.js
@@ -145,7 +145,6 @@ App.StartingGirls.passage = function() {
 				), "indent")
 					.append(App.UI.DOM.makeElement("span", " Inexpensive potential to become a great right hand woman", "note"));
 
-
 				if (V.seeExtreme !== 0) {
 					App.UI.DOM.appendNewElement("div", el, App.UI.DOM.link(
 						"Wellspring",
diff --git a/src/npc/surgery/bodySwap/bodySwap.js b/src/npc/surgery/bodySwap/bodySwap.js
index ee9e342304b..36b5f856666 100644
--- a/src/npc/surgery/bodySwap/bodySwap.js
+++ b/src/npc/surgery/bodySwap/bodySwap.js
@@ -325,7 +325,7 @@ globalThis.bodySwapSelection = function(soul) {
 globalThis.huskSwapSelection = function(body) {
 	const el = new DocumentFragment();
 	const cost = 10000;
-	App.UI.DOM.appendNewElement("div", el, `"This operation is neither simple nor is it perfected. There are extreme health risks involved and no guarantee of success. Strap a slave into your remote surgery to consent to the operation. Indentured servants${(V.incubator > 0) || (V.nurseryChildren) ? ` and slaves with reserved children`:``} are not eligible."
+	App.UI.DOM.appendNewElement("div", el, `"This operation is neither simple nor is it perfected. There are extreme health risks involved and no guarantee of success. Strap a slave into your remote surgery to consent to the operation. Indentured servants${(V.incubator > 0) || (V.nurseryChildren) ? ` and slaves with reserved children` : ``} are not eligible."
 	`, "scene-intro");
 	App.UI.DOM.appendNewElement("div", el, `Select the slave whose mind will be transferred into the waiting husk. Amputated slaves must not be wearing prosthetics. This operation will cost ${cashFormat(cost)}.`);
 
diff --git a/src/npc/surgery/fatGraft.js b/src/npc/surgery/fatGraft.js
index 31c91ffe32d..287102ef65c 100644
--- a/src/npc/surgery/fatGraft.js
+++ b/src/npc/surgery/fatGraft.js
@@ -5,7 +5,7 @@
  */
 App.UI.SlaveInteract.fatGraft = function(slave) {
 	const frag = new DocumentFragment();
-	let availableFat = Math.round(slave.weight/10);
+	let availableFat = Math.round(slave.weight / 10);
 	let boobFat = 0;
 	let buttFat = 0;
 
@@ -64,7 +64,7 @@ App.UI.SlaveInteract.fatGraft = function(slave) {
 		// Ass
 		p = App.UI.DOM.appendNewElement("p", el);
 		linkArray = [];
-		App.UI.DOM.appendNewElement("div", p, `${num(buttFat*buttCost)} units of fat will be added to ${his} ass for a size gain of ${buttFat}.`);
+		App.UI.DOM.appendNewElement("div", p, `${num(buttFat * buttCost)} units of fat will be added to ${his} ass for a size gain of ${buttFat}.`);
 		if (availableFat / buttCost > 1) {
 			linkArray.push(
 				App.UI.DOM.link(
@@ -78,7 +78,7 @@ App.UI.SlaveInteract.fatGraft = function(slave) {
 			);
 		} else if (availableFat) {
 			linkArray.push(App.UI.DOM.disabledLink(`Not enough fat remains to increase ${his} butt an entire size.`, []));
-		}else {
+		} else {
 			linkArray.push(App.UI.DOM.disabledLink(`No more fat available.`, []));
 		}
 		if (buttFat > 0) {
@@ -98,6 +98,7 @@ App.UI.SlaveInteract.fatGraft = function(slave) {
 		App.UI.DOM.appendNewElement("div", p, App.UI.DOM.generateLinksStrip(linkArray));
 		return el;
 	}
+
 	function refresh() {
 		V.boobFat = boobFat;
 		V.buttFat = buttFat;
diff --git a/src/npc/surgery/surgery.js b/src/npc/surgery/surgery.js
index a9343bd4d42..9d3f4af50a3 100644
--- a/src/npc/surgery/surgery.js
+++ b/src/npc/surgery/surgery.js
@@ -360,7 +360,7 @@ App.Medicine.Surgery.sizingProcedures = function() {
 		if (options.replace && slave.indentureRestrictions < 2 && curSize > 0) {
 			if (!areStringsInstalled && curSize < 600) {
 				r.push(helper.replaceImplants("string", "string", 400));
-			} else if (areStringsInstalled){
+			} else if (areStringsInstalled) {
 				// we have engorged string implants, suggest replacing with normal implants of similar size
 				if (curSize > 10000) {
 					if (largeImplantsAvailable) {
diff --git a/src/npc/surgery/surgeryDegradation.js b/src/npc/surgery/surgeryDegradation.js
index c49682b9f04..c052d20b632 100644
--- a/src/npc/surgery/surgeryDegradation.js
+++ b/src/npc/surgery/surgeryDegradation.js
@@ -8,22 +8,22 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 	const {heP} = getPronouns(V.PC).appendSuffix("P");
 	const boobFat = V.boobFat;
 	const buttFat = V.buttFat;
-	const _pubertyAge = Math.min(slave.pubertyAgeXX, slave.pubertyAgeXY);
-	let _hairChanges = 0;
-	let _hair = '';
-	let _hairLand = `at ${his} feet`;
-	const _cervixPumpAcheLocation = (V.surgeryType === "cervixPump") ? "vagina" : "anus";
-	const _cervixPumpLocation = (V.surgeryType === "cervixPump") ? "cervix" : "rectum";
-	let _sense;
-	let _voiceLevel;
-	let _voiceReaction;
-	const _genitalChanges = [];
-	const _physicalChanges = [];
-	const _statusChanges = [];
+	const pubertyAge = Math.min(slave.pubertyAgeXX, slave.pubertyAgeXY);
+	let hairChanges = 0;
+	let hair = '';
+	let hairLand = `at ${his} feet`;
+	const cervixPumpAcheLocation = (V.surgeryType === "cervixPump") ? "vagina" : "anus";
+	const cervixPumpLocation = (V.surgeryType === "cervixPump") ? "cervix" : "rectum";
+	let sense;
+	let voiceLevel;
+	let voiceReaction;
+	const genitalChanges = [];
+	const physicalChanges = [];
+	const statusChanges = [];
 	const hands = (hasBothArms(slave)) ? "hands" : "hand";
 
 	Enunciate(slave);
-	const _heGlaresDaggers = (canSee(slave)) ? `${he} glares daggers` : `${his} face contorts with distaste`;
+	const heGlaresDaggers = (canSee(slave)) ? `${he} glares daggers` : `${his} face contorts with distaste`;
 
 	/* disallow surgery for slaves on certain assignments */
 	switch (slave.assignment) {
@@ -46,7 +46,7 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 		}
 	}
 
-	const _slaveDevotion = slave.devotion;
+	const slaveDevotion = slave.devotion;
 
 	if (slave.health.condition < random(-100, -80) && !["body hair removal", "braces", "chem castrate", "eyebrow removal", "hair removal", "insemination", "removeBraces", "removeCosmeticBraces"].includes(V.surgeryType)) {
 		r.push(`${slave.slaveName} <span class="health.dec">has died from complications of surgery.</span>`);
@@ -110,9 +110,9 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 					r.push(`${He} immediately notices the lack of an immense weight hanging off ${his} chest. ${His} face fills with resentment as ${his} flatness dawns on ${him}.`);
 				}
 				if (hasAnyArms(slave)) {
-					r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${_heGlaresDaggers}.`);
+					r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${heGlaresDaggers}.`);
 				} else {
-					r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${_heGlaresDaggers}.`);
+					r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${heGlaresDaggers}.`);
 				}
 				r.push(`${He} loved ${his} enormous breasts, and they were apparently swiped from off ${his} chest by the person ${he} was just beginning to entrust ${himself} to. <span class="mediumorchid">${He} sees this as a betrayal by you.</span> As with all invasive surgery <span class="health.dec">${his} health has been affected.</span> ${He} is now <span class="gold">terribly afraid</span> that you may chose to steal something else ${he} loves, even though it was your intent to preserve them.`);
 				slave.trust -= 40;
@@ -210,9 +210,9 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 					r.push(`${He} immediately notices the lack of an immense weight hanging off ${his} chest. ${His} face fills with resentment as ${his} flatness dawns on ${him}.`);
 				}
 				if (hasAnyArms(slave)) {
-					r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${_heGlaresDaggers}.`);
+					r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${heGlaresDaggers}.`);
 				} else {
-					r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${_heGlaresDaggers}.`);
+					r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${heGlaresDaggers}.`);
 				}
 				r.push(`${He} loved ${his} huge breasts, and they were apparently swiped from off ${his} chest by the person ${he} was just beginning to entrust ${himself} to. <span class="mediumorchid">${He} sees this as a betrayal by you.</span> As with all invasive surgery <span class="health.dec">${his} health has been affected.</span> ${He} is now <span class="gold">terribly afraid</span> that you may chose to steal something else ${he} loves, even though it was your intent to preserve them.`);
 				slave.trust -= 40;
@@ -245,9 +245,9 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 					r.push(`The sudden lack of weight on ${his} chest fills ${him} with resentment.`);
 				}
 				if (hasAnyArms(slave)) {
-					r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${_heGlaresDaggers}.`);
+					r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${heGlaresDaggers}.`);
 				} else {
-					r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${_heGlaresDaggers}.`);
+					r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${heGlaresDaggers}.`);
 				}
 				r.push(`${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view this apparent surgical theft as a cruel imposition.</span> As with all invasive surgery <span class="health.dec">${his} health has been affected.</span> ${He} is now <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 				slave.trust -= 10;
@@ -321,41 +321,41 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 				r.push(`and is detailed the modifications done to ${his} body, assuming ${he} hasn't already realized them.`);
 			}
 		}
-		const _rels = V.slaves.filter((s) => areRelated(s, slave) && (s.ID !== slave.relationshipTarget));
+		const relations = V.slaves.filter((s) => areRelated(s, slave) && (s.ID !== slave.relationshipTarget));
 		switch (V.surgeryType) {
 			case "fuckdoll":
-				for (const _rel of _rels) {
-					const {he2, his2} = getPronouns(_rel).appendSuffix("2");
-					if (isParentP(slave, _rel) || isParentP(_rel, slave)) {
-						r.push(`${_rel.slaveName} will be <span class="mediumorchid">horrified</span> and <span class="gold">afraid</span> when ${he2} finds out that ${his2} ${relativeTerm(_rel, slave)} is now a Fuckdoll.`);
-						_rel.devotion -= 40;
-						_rel.trust -= 40;
-					}
-					switch (areSisters(slave, _rel)) {
+				for (const relation of relations) {
+					const {he2, his2} = getPronouns(relation).appendSuffix("2");
+					if (isParentP(slave, relation) || isParentP(relation, slave)) {
+						r.push(`${relation.slaveName} will be <span class="mediumorchid">horrified</span> and <span class="gold">afraid</span> when ${he2} finds out that ${his2} ${relativeTerm(relation, slave)} is now a Fuckdoll.`);
+						relation.devotion -= 40;
+						relation.trust -= 40;
+					}
+					switch (areSisters(slave, relation)) {
 						case 1:
-							r.push(`${_rel.slaveName} will be <span class="mediumorchid">horrified</span> and <span class="gold">afraid</span> when ${he2} finds out that ${his2} twin is now a Fuckdoll. Is ${he2} next?`);
-							_rel.devotion -= 50;
-							_rel.trust -= 50;
+							r.push(`${relation.slaveName} will be <span class="mediumorchid">horrified</span> and <span class="gold">afraid</span> when ${he2} finds out that ${his2} twin is now a Fuckdoll. Is ${he2} next?`);
+							relation.devotion -= 50;
+							relation.trust -= 50;
 							break;
 						case 2:
-							r.push(`${_rel.slaveName} will be <span class="mediumorchid">horrified</span> and <span class="gold">afraid</span> when ${he2} finds out that ${his2} ${sister} is now a Fuckdoll.`);
-							_rel.devotion -= 40;
-							_rel.trust -= 40;
+							r.push(`${relation.slaveName} will be <span class="mediumorchid">horrified</span> and <span class="gold">afraid</span> when ${he2} finds out that ${his2} ${sister} is now a Fuckdoll.`);
+							relation.devotion -= 40;
+							relation.trust -= 40;
 							break;
 						case 3:
-							r.push(`${_rel.slaveName} will be <span class="mediumorchid">horrified</span> and <span class="gold">afraid</span> when ${he2} finds out that ${his2} half-${sister} is now a Fuckdoll.`);
-							_rel.devotion -= 30;
-							_rel.trust -= 30;
+							r.push(`${relation.slaveName} will be <span class="mediumorchid">horrified</span> and <span class="gold">afraid</span> when ${he2} finds out that ${his2} half-${sister} is now a Fuckdoll.`);
+							relation.devotion -= 30;
+							relation.trust -= 30;
 					}
 				}
 				if (slave.relationship > 0) {
 					const rel = getSlave(slave.relationshipTarget);
 					if (rel) {
 						const {he2, his2} = getPronouns(rel).appendSuffix("2");
-						const _relTerm = relativeTerm(rel, slave);
+						const relTerm = relativeTerm(rel, slave);
 						r.push(`${rel.slaveName} will be <span class="mediumorchid">horrified</span> and <span class="gold">afraid</span> when ${he2} finds out that ${his2}`);
-						if (_relTerm !== null) {
-							r.push(`${_relTerm} and`);
+						if (relTerm !== null) {
+							r.push(`${relTerm} and`);
 						}
 						if (slave.relationship > 4) {
 							r.push(wife);
@@ -549,10 +549,12 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 				if (slave.fetish !== "mindbroken" && slave.fuckdoll === 0) {
 					if (slave.devotion > 50) {
 						r.push(`${He} is <span class="hotpink">grateful</span> for ${his} improved vision, and knowing how much you invested in ${him} makes ${him} <span class="mediumaquamarine">trust you more</span> as well.`);
-						slave.devotion += 10; slave.trust += 10;
+						slave.devotion += 10;
+						slave.trust += 10;
 					} else if (slave.devotion > 20) {
 						r.push(`${He} has mixed feelings about ${his} new eyes, but ${he}'s <span class="mediumaquamarine">aware</span> how valuable such implants are, and ${he} already <span class="hotpink">accepted</span> that you have complete control over ${his} body.`);
-						slave.devotion += 5; slave.trust += 10;
+						slave.devotion += 5;
+						slave.trust += 10;
 					} else {
 						r.push(`${He} is <span class="gold">disturbed</span> that you replaced ${his} eyes with artificial ones and afraid of increased control over ${him} that such device grants.`);
 						slave.devotion -= 5;
@@ -933,9 +935,9 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 					}
 					r.push(`with resentment.`);
 					if (hasAnyArms(slave)) {
-						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${heGlaresDaggers}.`);
 					} else {
-						r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${heGlaresDaggers}.`);
 					}
 					r.push(`${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view these fake breasts as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is now <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 					slave.trust -= 10;
@@ -1180,9 +1182,9 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 					}
 					r.push(`with resentment.`);
 					if (hasAnyArms(slave)) {
-						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${heGlaresDaggers}.`);
 					} else {
-						r.push(`${He}'s still sore, so ${he} keeps ${his} body still, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} keeps ${his} body still, but ${heGlaresDaggers}.`);
 					}
 					r.push(`${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim; a notion that is likely only going to strengthen once ${he} realizes just how fuckable ${his} tits have become. For now, <span class="mediumorchid">${he} seems to view ${his} altered nipples as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is now <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 					slave.trust -= 10;
@@ -1230,9 +1232,9 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 					}
 					r.push(`with resentment.`);
 					if (hasAnyArms(slave)) {
-						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${heGlaresDaggers}.`);
 					} else {
-						r.push(`${He}'s still sore, so ${he} keeps ${his} body still, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} keeps ${his} body still, but ${heGlaresDaggers}.`);
 					}
 					r.push(`${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view ${his} altered nipples as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is now <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 					slave.trust -= 10;
@@ -1289,9 +1291,9 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 						r.push(`The sudden lack of weight on ${his} chest fills ${him} with resentment.`);
 					}
 					if (hasAnyArms(slave)) {
-						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${heGlaresDaggers}.`);
 					} else {
-						r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${heGlaresDaggers}.`);
 					}
 					r.push(`${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view this surgical theft as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is now <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 					slave.trust -= 10;
@@ -1358,9 +1360,9 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 						r.push(`${He} immediately notices the lack of an immense weight hanging off ${his} chest. ${His} face fills with resentment as ${his} flatness dawns on ${him}.`);
 					}
 					if (hasAnyArms(slave)) {
-						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${heGlaresDaggers}.`);
 					} else {
-						r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${heGlaresDaggers}.`);
 					}
 					r.push(`${He} loved ${his} enormous breasts, and they were swiped from off ${his} chest by the person ${he} was just beginning to entrust ${himself} to. <span class="mediumorchid">${He} sees this as a betrayal by you.</span> As with all invasive surgery <span class="health.dec">${his} health has been affected.</span> ${He} is now <span class="gold">terribly afraid</span> that you may chose to steal something else ${he} loves.`);
 					slave.trust -= 40;
@@ -1463,9 +1465,9 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 						r.push(`${He} immediately notices the lack of an immense weight hanging off ${his} chest. ${His} face fills with resentment as ${his} flatness dawns on ${him}.`);
 					}
 					if (hasAnyArms(slave)) {
-						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${heGlaresDaggers}.`);
 					} else {
-						r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${heGlaresDaggers}.`);
 					}
 					r.push(`${He} loved ${his} huge breasts, and they were swiped from off ${his} chest by the person ${he} was just beginning to entrust ${himself} to. <span class="mediumorchid">${He} sees this as a betrayal by you.</span> As with all invasive surgery <span class="health.dec">${his} health has been affected.</span> ${He} is now <span class="gold">terribly afraid</span> that you may chose to steal something else ${he} loves.`);
 					slave.trust -= 40;
@@ -1498,9 +1500,9 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 						r.push(`The sudden lack of weight on ${his} chest fills ${him} with resentment.`);
 					}
 					if (hasAnyArms(slave)) {
-						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${heGlaresDaggers}.`);
 					} else {
-						r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${heGlaresDaggers}.`);
 					}
 					r.push(`${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view this surgical theft as a cruel imposition.</span> As with all invasive surgery <span class="health.dec">${his} health has been affected.</span> ${He} is now <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 					slave.trust -= 10;
@@ -1558,9 +1560,9 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 					}
 					r.push(`with resentment.`);
 					if (hasAnyArms(slave)) {
-						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${heGlaresDaggers}.`);
 					} else {
-						r.push(`${He}'s still sore, so ${he} keeps ${his} body still, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} keeps ${his} body still, but ${heGlaresDaggers}.`);
 					}
 					r.push(`${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. Oddly, <span class="hotpink">${he} seems to like that ${his} breasts are no longer saggy</span> despite ${his} immediate reaction. As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is now <span class="gold">terribly afraid</span> of your total power over ${his} body and fears that this is only the beginning of ${his} breast surgeries.`);
 					slave.trust -= 10;
@@ -1614,9 +1616,9 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 					}
 					r.push(`with resentment.`);
 					if (hasAnyArms(slave)) {
-						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} doesn't touch them, but ${heGlaresDaggers}.`);
 					} else {
-						r.push(`${He}'s still sore, so ${he} keeps ${his} body still, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} keeps ${his} body still, but ${heGlaresDaggers}.`);
 					}
 					r.push(`${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view ${his} altered breasts as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is now <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 					slave.trust -= 10;
@@ -1819,9 +1821,9 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 				} else {
 					r.push(`${He} shifts ${his} diminished ass with resentment.`);
 					if (hasAnyArms(slave)) {
-						r.push(`${He}'s still sore, so ${he} doesn't touch it, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} doesn't touch it, but ${heGlaresDaggers}.`);
 					} else {
-						r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${_heGlaresDaggers}.`);
+						r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${heGlaresDaggers}.`);
 					}
 					r.push(`${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view this surgical ass theft as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 					slave.trust -= 10;
@@ -2053,7 +2055,7 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 					} else {
 						r.push(`puckers`);
 					}
-					r.push(`${his} new lips with resentment. ${He}'s still sore, so ${he} doesn't touch them, but ${_heGlaresDaggers}. ${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. If ${he} had much in the way of oral skills, <span class="red">they've likely suffered.</span> For now, <span class="mediumorchid">${he} seems to view these fake lips as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
+					r.push(`${his} new lips with resentment. ${He}'s still sore, so ${he} doesn't touch them, but ${heGlaresDaggers}. ${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. If ${he} had much in the way of oral skills, <span class="red">they've likely suffered.</span> For now, <span class="mediumorchid">${he} seems to view these fake lips as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 					slave.trust -= 10;
 					slave.devotion -= 5;
 					if (slave.skill.oral > 10) {
@@ -2095,7 +2097,7 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 					} else {
 						r.push(`How light ${he} feels fills ${him}`);
 					}
-					r.push(`with resentment. ${He}'s still sore, so ${he} doesn't bend or touch ${himself}, but ${_heGlaresDaggers}. ${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view this model figure as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been affected.</span> ${He} is <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
+					r.push(`with resentment. ${He}'s still sore, so ${he} doesn't bend or touch ${himself}, but ${heGlaresDaggers}. ${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view this model figure as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been affected.</span> ${He} is <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 					slave.trust -= 10;
 					slave.devotion -= 5;
 				}
@@ -2263,7 +2265,7 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 					} else {
 						r.push(`How light ${he} feels fills ${him}`);
 					}
-					r.push(`with resentment. ${He}'s still sore, so ${he} doesn't bend or touch ${himself}, but ${_heGlaresDaggers}. ${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view this model figure as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been affected.</span> ${He} is <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
+					r.push(`with resentment. ${He}'s still sore, so ${he} doesn't bend or touch ${himself}, but ${heGlaresDaggers}. ${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view this model figure as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been affected.</span> ${He} is <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 					slave.trust -= 15;
 					slave.devotion -= 5;
 				}
@@ -2310,7 +2312,7 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 					} else {
 						r.push(`How light ${he} feels fills ${him}`);
 					}
-					r.push(`with resentment. ${He}'s still sore, so ${he} doesn't bend or touch ${himself}, but ${_heGlaresDaggers}. ${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view this fake figure as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
+					r.push(`with resentment. ${He}'s still sore, so ${he} doesn't bend or touch ${himself}, but ${heGlaresDaggers}. ${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view this fake figure as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 					slave.trust -= 10;
 					slave.devotion -= 5;
 				}
@@ -3008,7 +3010,8 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 							r.push(`the autosurgery informs ${him} in no uncertain terms that ${he} has implanted with a mechanical larynx.`);
 						}
 						r.push(`${He} is <span class="hotpink">appreciative</span> of ${his} new implant, and knowing how much you invested in ${him} makes ${him} <span class="mediumaquamarine">trust you more</span> as well.`);
-						slave.devotion += 10; slave.trust += 10;
+						slave.devotion += 10;
+						slave.trust += 10;
 					} else if (slave.devotion > 20) {
 						r.push(`Before surgery, ${he} was warned repeatedly not to try talking for a while, and ${he} obeys. When ${he} finally does, ${his} voice is raspy and weak, but it gains strength gradually. While ${he} first believes nothing has changed,`);
 						if (canHear(slave)) {
@@ -4386,18 +4389,18 @@ slave.devotion -= 5;
 			case "cervixPump":
 			case "cervixPumpA":
 				if (slave.fetish === "mindbroken") {
-					r.push(`${He} leaves the surgery with nothing but a nonspecific ache in ${his} lower abdomen and ${_cervixPumpAcheLocation} that ${he} cannot figure out the source of. As with all surgery <span class="health.dec">${his} health has been slightly affected.</span>`);
+					r.push(`${He} leaves the surgery with nothing but a nonspecific ache in ${his} lower abdomen and ${cervixPumpAcheLocation} that ${he} cannot figure out the source of. As with all surgery <span class="health.dec">${his} health has been slightly affected.</span>`);
 				} else if (slave.devotion > 50) {
-					r.push(`${He} leaves the surgery with nothing but a nonspecific ache in ${his} lower abdomen and ${_cervixPumpAcheLocation}, and as such, knows you put something into ${his} ${_cervixPumpLocation}. ${He} is <span class="hotpink">curious</span> about the details of the implant, and eagerly awaits to see the end result. As with all surgery <span class="health.dec">${his} health has been slightly affected.</span>`);
+					r.push(`${He} leaves the surgery with nothing but a nonspecific ache in ${his} lower abdomen and ${cervixPumpAcheLocation}, and as such, knows you put something into ${his} ${cervixPumpLocation}. ${He} is <span class="hotpink">curious</span> about the details of the implant, and eagerly awaits to see the end result. As with all surgery <span class="health.dec">${his} health has been slightly affected.</span>`);
 					slave.devotion += 4;
 				} else if (slave.devotion >= -20) {
-					r.push(`${He} leaves the surgery with nothing but a nonspecific ache in ${his} lower abdomen and ${_cervixPumpAcheLocation}, and as such, knows you put something into ${his} ${_cervixPumpLocation}. ${He} understands the realities of ${his} life as a slave, but ${he} is still surprised at what now resides in ${his} ${_cervixPumpLocation}. As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is <span class="gold">sensibly fearful</span> of your total power over ${his} body.`);
+					r.push(`${He} leaves the surgery with nothing but a nonspecific ache in ${his} lower abdomen and ${cervixPumpAcheLocation}, and as such, knows you put something into ${his} ${cervixPumpLocation}. ${He} understands the realities of ${his} life as a slave, but ${he} is still surprised at what now resides in ${his} ${cervixPumpLocation}. As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is <span class="gold">sensibly fearful</span> of your total power over ${his} body.`);
 					slave.trust -= 5;
 				} else {
 					if (V.surgeryType === "cervixPump") {
-						r.push(`${He} leaves the surgery with nothing but a nonspecific ache in ${his} lower abdomen and ${_cervixPumpAcheLocation}, but ${he} knows enough about surgery and sex slaves to believe that ${he} has modified in ${his} most private place. ${He} does not understand the realities of ${his} life as a slave at a core level, so ${he}'s <span class="mediumorchid">terrified and angry</span> at the potential that ${he}'s been subject of such modifications. Even after what has been implanted into ${his} womb is explained to ${him}, ${he} is no less defiant; though ${he} is relieved that it isn't some permanent mutilation, ${he} only feels dirty and humiliated when ${he} thinks of vaginal sex slowly rounding ${his} middle. As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is <span class="gold">sensibly fearful</span> of your total power over ${his} body.`);
+						r.push(`${He} leaves the surgery with nothing but a nonspecific ache in ${his} lower abdomen and ${cervixPumpAcheLocation}, but ${he} knows enough about surgery and sex slaves to believe that ${he} has modified in ${his} most private place. ${He} does not understand the realities of ${his} life as a slave at a core level, so ${he}'s <span class="mediumorchid">terrified and angry</span> at the potential that ${he}'s been subject of such modifications. Even after what has been implanted into ${his} womb is explained to ${him}, ${he} is no less defiant; though ${he} is relieved that it isn't some permanent mutilation, ${he} only feels dirty and humiliated when ${he} thinks of vaginal sex slowly rounding ${his} middle. As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is <span class="gold">sensibly fearful</span> of your total power over ${his} body.`);
 					} else {
-						r.push(`${He} leaves the surgery with nothing but a nonspecific ache in ${his} lower abdomen and ${_cervixPumpAcheLocation}, but ${he} knows enough about surgery and sex slaves to believe that ${he} has modified in ${his} backdoor. ${He} does not understand the realities of ${his} life as a slave at a core level, so ${he}'s <span class="mediumorchid">terrified and angry</span> at the potential that ${he}'s been subject of such modifications. Even after what has been implanted into ${his} rear hole is explained to ${him}, ${he} is no less defiant; though ${he} is relieved that it isn't some permanent mutilation, ${he} only feels dirty and humiliated when ${he} thinks of anal sex slowly rounding ${his} middle. As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is <span class="gold">sensibly fearful</span> of your total power over ${his} body.`);
+						r.push(`${He} leaves the surgery with nothing but a nonspecific ache in ${his} lower abdomen and ${cervixPumpAcheLocation}, but ${he} knows enough about surgery and sex slaves to believe that ${he} has modified in ${his} backdoor. ${He} does not understand the realities of ${his} life as a slave at a core level, so ${he}'s <span class="mediumorchid">terrified and angry</span> at the potential that ${he}'s been subject of such modifications. Even after what has been implanted into ${his} rear hole is explained to ${him}, ${he} is no less defiant; though ${he} is relieved that it isn't some permanent mutilation, ${he} only feels dirty and humiliated when ${he} thinks of anal sex slowly rounding ${his} middle. As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is <span class="gold">sensibly fearful</span> of your total power over ${his} body.`);
 					}
 					slave.trust -= 5;
 					slave.devotion -= 5;
@@ -4471,9 +4474,9 @@ slave.devotion -= 5;
 						}
 						r.push(`with resentment.`);
 						if (hasAnyArms(slave)) {
-							r.push(`${He}'s still sore, so ${he} doesn't touch it, but ${_heGlaresDaggers}.`);
+							r.push(`${He}'s still sore, so ${he} doesn't touch it, but ${heGlaresDaggers}.`);
 						} else {
-							r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${_heGlaresDaggers}.`);
+							r.push(`${He}'s still sore, so ${he} keeps ${his} torso still, but ${heGlaresDaggers}.`);
 						}
 						r.push(`${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view this rounded belly as a cruel imposition.</span> As with all surgery <span class="health.dec">${his} health has been slightly affected.</span> ${He} is now <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 						slave.trust -= 10;
@@ -4523,9 +4526,9 @@ slave.devotion -= 5;
 						}
 						r.push(`with resentment.`);
 						if (hasAnyArms(slave)) {
-							r.push(`${He}'s still extremely sore, so ${he} doesn't touch it, but ${_heGlaresDaggers}.`);
+							r.push(`${He}'s still extremely sore, so ${he} doesn't touch it, but ${heGlaresDaggers}.`);
 						} else {
-							r.push(`${He}'s still extremely sore, so ${he} keeps ${his} torso still, but ${_heGlaresDaggers}.`);
+							r.push(`${He}'s still extremely sore, so ${he} keeps ${his} torso still, but ${heGlaresDaggers}.`);
 						}
 						r.push(`${He} still thinks of ${himself} as a person, so ${he} isn't used to the idea of being surgically altered to suit your every whim. For now, <span class="mediumorchid">${he} seems to view this rounded belly as a terribly cruel imposition.</span> Since ${his} body has been pushed beyond its limits, <span class="health.dec">${his} health has been notably affected.</span> ${He} is now <span class="gold">terribly afraid</span> of your total power over ${his} body.`);
 						slave.trust -= 12;
@@ -4751,11 +4754,11 @@ slave.devotion -= 5;
 					}
 				} else if (V.surgeryType === "restoreHairPits") {
 					if (slave.fetish !== "mindbroken") {
-						if (slave.physicalAge < _pubertyAge - 2) {
+						if (slave.physicalAge < pubertyAge - 2) {
 							r.push(`${he} finds nothing unusual; ${his} hair is still growing in.`);
-						} else if (slave.physicalAge < _pubertyAge - 1) {
+						} else if (slave.physicalAge < pubertyAge - 1) {
 							r.push(`${he} is surprised to find a few new hairs.`);
-						} else if (slave.physicalAge < _pubertyAge) {
+						} else if (slave.physicalAge < pubertyAge) {
 							r.push(`${he} is surprised to find two patches of hair.`);
 						} else {
 							r.push(`${he} is shocked to find two dense patches of hair; a trip to the autosalon to manage it may be in order.`);
@@ -4765,11 +4768,11 @@ slave.devotion -= 5;
 					}
 				} else if (V.surgeryType === "restoreHairPubes") {
 					if (slave.fetish !== "mindbroken") {
-						if (slave.physicalAge < _pubertyAge - 2) {
+						if (slave.physicalAge < pubertyAge - 2) {
 							r.push(`${he} finds nothing unusual; ${his} hair is still growing in.`);
-						} else if (slave.physicalAge < _pubertyAge - 1) {
+						} else if (slave.physicalAge < pubertyAge - 1) {
 							r.push(`${he} is surprised to find a few new hairs.`);
-						} else if (slave.physicalAge < _pubertyAge) {
+						} else if (slave.physicalAge < pubertyAge) {
 							r.push(`${he} is surprised to find a patch of pubic hair.`);
 						} else {
 							r.push(`${he} is shocked to find a dense bush of hair trailing up to ${his} navel; a trip to the autosalon to style ${his} new pubes may be in order.`);
@@ -4818,115 +4821,115 @@ slave.devotion -= 5;
 				r = [];
 				// Generate the changes, into variables to set contexts.
 				if (!hasBothLegs(slave)) {
-					_hairLand = `below ${him}`;
+					hairLand = `below ${him}`;
 				}
-				if (slave.physicalAge > _pubertyAge - 2) {
+				if (slave.physicalAge > pubertyAge - 2) {
 					if (slave.underArmHStyle !== "hairless" && slave.underArmHStyle !== "bald") {
-						_hairChanges++;
+						hairChanges++;
 						slave.underArmHStyle = "bald";
-						_hair = `The first thing ${he} notices is that ${his} armpit hair has just fallen out, in a small pile ${_hairLand}.`;
+						hair = `The first thing ${he} notices is that ${his} armpit hair has just fallen out, in a small pile ${hairLand}.`;
 						if (slave.pubicHStyle !== "hairless" && slave.pubicHStyle !== "bald") {
-							_hairChanges++;
+							hairChanges++;
 							slave.pubicHStyle = "bald";
-							_hair = `${_hair} The same thing happens to ${his} pubic hair.`;
+							hair = `${hair} The same thing happens to ${his} pubic hair.`;
 						}
 					} else if (slave.pubicHStyle !== "hairless" && slave.pubicHStyle !== "bald") {
-						_hairChanges++;
+						hairChanges++;
 						slave.pubicHStyle = "bald";
-						_hair = `The first thing ${he} notices is that ${his} pubic hair has just fallen out, in a small pile ${_hairLand}.`;
+						hair = `The first thing ${he} notices is that ${his} pubic hair has just fallen out, in a small pile ${hairLand}.`;
 					}
 				}
 				if (canSee(slave)) {
-					_sense = "see";
+					sense = "see";
 					r.push(`${He} inspects ${himself} in the mirror.`);
 				} else if (!hasAnyArms(slave)) {
-					_sense = "feel";
+					sense = "feel";
 					r.push(`${He} examines ${himself} with ${his} own ${hands}.`);
 				} else if (canHear(slave)) {
-					_sense = "hear";
+					sense = "hear";
 					r.push(`${He} listens as a menial slave describes ${his} new looks.`);
 				} else {
-					_sense = "sense";
+					sense = "sense";
 					r.push(`${He} can vaguely feel the changes to ${his} body, even in ${his} current state.`);
 				}
 				if (slave.dick > 2) {
-					_genitalChanges.push('dick');
+					genitalChanges.push('dick');
 					slave.dick -= 1;
 				}
 				if (slave.balls > 2) {
-					_genitalChanges.push('balls');
+					genitalChanges.push('balls');
 					slave.balls -= 1;
 				}
 				if (slave.geneMods.rapidCellGrowth !== 1) {
 					if (slave.scrotum > 1) {
-						_genitalChanges.push('scrotum');
+						genitalChanges.push('scrotum');
 						slave.scrotum -= 1;
 					}
 				}
 				if (slave.clit > 1) {
-					_genitalChanges.push('clit');
+					genitalChanges.push('clit');
 					slave.clit -= 1;
 				}
 				if (slave.labia > 1) {
-					_genitalChanges.push('labia');
+					genitalChanges.push('labia');
 					slave.labia -= 1;
 				}
 				if (slave.boobs - slave.boobsImplant - slave.boobsMilk > 300) {
-					_genitalChanges.push('boobs');
+					genitalChanges.push('boobs');
 					slave.boobs -= Math.round(slave.boobs * .1);
 				}
 				if ((slave.shoulders - Math.abs(slave.shouldersImplant) > -1) && (slave.hips - Math.abs(slave.hipsImplant) > -1)) {
-					_physicalChanges.push(`'both ${his} hips and shoulders are <span class="orange">less wide,</span>`);
+					physicalChanges.push(`'both ${his} hips and shoulders are <span class="orange">less wide,</span>`);
 					slave.hips -= 1;
 					slave.shoulders -= 1;
 				} else if (slave.shoulders - Math.abs(slave.shouldersImplant) > -1) {
-					_physicalChanges.push(`${his} shoulders are <span class="orange">less wide,</span>`);
+					physicalChanges.push(`${his} shoulders are <span class="orange">less wide,</span>`);
 					slave.shoulders -= 1;
 				} else if (slave.hips - Math.abs(slave.hipsImplant) > -1) {
-					_physicalChanges.push(`${his} hips are <span class="orange">less wide,</span>`);
+					physicalChanges.push(`${his} hips are <span class="orange">less wide,</span>`);
 					slave.hips -= 1;
 				}
 				if (slave.visualAge < 18) {
-					const _averageHeight = Height.mean(slave);
-					const _heightDelta = slave.height - _averageHeight;
-					let _shrinkage;
-					if (slave.height > 126 || _heightDelta > 0) {
-						if (_heightDelta > 15) {
-							_shrinkage = 5;
-						} else if (_heightDelta > 5) {
-							_shrinkage = 4;
-						} else if (_heightDelta > -5) {
-							_shrinkage = 3;
-						} else if (_heightDelta > -15) {
-							_shrinkage = 2;
+					const averageHeight = Height.mean(slave);
+					const heightDelta = slave.height - averageHeight;
+					let shrinkage;
+					if (slave.height > 126 || heightDelta > 0) {
+						if (heightDelta > 15) {
+							shrinkage = 5;
+						} else if (heightDelta > 5) {
+							shrinkage = 4;
+						} else if (heightDelta > -5) {
+							shrinkage = 3;
+						} else if (heightDelta > -15) {
+							shrinkage = 2;
 						} else {
-							_shrinkage = 1;
+							shrinkage = 1;
 						}
-						_physicalChanges.push(`${he} is a little <span class="orange">shorter,</span>`);
-						slave.height -= _shrinkage;
+						physicalChanges.push(`${he} is a little <span class="orange">shorter,</span>`);
+						slave.height -= shrinkage;
 					}
 				}
 				if (slave.visualAge > 18) {
-					_statusChanges.push(`${He} feels a little <span class="orange">younger.</span>`);
+					statusChanges.push(`${He} feels a little <span class="orange">younger.</span>`);
 					slave.visualAge -= 1;
 				}
 				if (slave.voice > 0 && slave.voice < 3) {
-					_voiceLevel = "girly";
+					voiceLevel = "girly";
 					if (slave.voice < 2) {
-						_voiceLevel = "feminine";
+						voiceLevel = "feminine";
 					}
-					_voiceReaction = `It comes out far higher than it was before, ${he} feels this new voice does not belong to ${him}.`;
+					voiceReaction = `It comes out far higher than it was before, ${he} feels this new voice does not belong to ${him}.`;
 					if (slave.devotion > 20) {
-						_voiceReaction = `${He} laughs at ${his} new voice happily as ${he} gets used to it."`;
+						voiceReaction = `${He} laughs at ${his} new voice happily as ${he} gets used to it."`;
 					} else if (slave.devotion >= -20) {
-						_voiceReaction = `${He} laughs grimly at ${himself} as ${he} gets used to it.`;
+						voiceReaction = `${He} laughs grimly at ${himself} as ${he} gets used to it.`;
 					}
-					_statusChanges.push(`${He} hears ${his} voice coming out as <span class="orange">higher</span> and more ${_voiceLevel} than it was before. ${_voiceReaction}`);
+					statusChanges.push(`${He} hears ${his} voice coming out as <span class="orange">higher</span> and more ${voiceLevel} than it was before. ${voiceReaction}`);
 					slave.voice += 1;
 				}
 				// Handle the display of the changes for the newly NCS'ed slave.
-				const _numberChanges = _hairChanges + _statusChanges.length + _physicalChanges.length + _genitalChanges.length;
-				if (_numberChanges <= 0) {
+				const numberChanges = hairChanges + statusChanges.length + physicalChanges.length + genitalChanges.length;
+				if (numberChanges <= 0) {
 					r.push(`Despite the long and arduous treatment, ${he} has no idea what all of it was for. ${He} stands before you`);
 					if (slave.devotion > 20) {
 						r.push(`eager to learn what it's all about.`);
@@ -4945,65 +4948,65 @@ slave.devotion -= 5;
 						r.push(`is escorted`);
 					}
 					r.push(`out of the surgery room, ${he} feels somehow smaller and changed in`);
-					if (_numberChanges === 1) {
+					if (numberChanges === 1) {
 						r.push(`at least one way.`);
-					} else if (_numberChanges === 2) {
+					} else if (numberChanges === 2) {
 						r.push(`two ways.`);
 					} else {
 						r.push(`several ways.`);
 					}
 					App.Events.addNode(el, r, "p");
 					r = [];
-					if (_hair !== '') {
-						r.push(_hair);
-					}
-					if (_genitalChanges.length > 0) {
-						r.push(`${He} can${_sense} that ${his} junk is different now, it seems ${his}`);
-						if (_genitalChanges.length > 2) {
-							for (let _sd = 0; _sd < _genitalChanges.length; _sd++) {
-								if (_sd < _genitalChanges.length - 1) {
-									r.push(`${_genitalChanges[_sd]},`);
+					if (hair !== '') {
+						r.push(hair);
+					}
+					if (genitalChanges.length > 0) {
+						r.push(`${He} can${sense} that ${his} junk is different now, it seems ${his}`);
+						if (genitalChanges.length > 2) {
+							for (let i = 0; i < genitalChanges.length; i++) {
+								if (i < genitalChanges.length - 1) {
+									r.push(`${genitalChanges[i]},`);
 								} else {
-									r.push(`and ${_genitalChanges[_sd]}.`);
+									r.push(`and ${genitalChanges[i]}.`);
 								}
 							}
 							r.push(`have all become <span class="orange">smaller.</span>`);
-						} else if (_genitalChanges.length > 1) {
-							r.push(`${_genitalChanges[0]}, and ${_genitalChanges[1]} have both become <span class="orange">smaller.</span>`);
+						} else if (genitalChanges.length > 1) {
+							r.push(`${genitalChanges[0]}, and ${genitalChanges[1]} have both become <span class="orange">smaller.</span>`);
 						} else {
-							r.push(`${_genitalChanges[0]} has become <span class="orange">smaller.</span>`);
+							r.push(`${genitalChanges[0]} has become <span class="orange">smaller.</span>`);
 						}
 					}
-					if (_physicalChanges.length > 0) {
+					if (physicalChanges.length > 0) {
 						r.push(`${He} can`);
-						if (_genitalChanges.length > 0 || _hairChanges > 0) {
+						if (genitalChanges.length > 0 || hairChanges > 0) {
 							r.push(`also`);
 						}
-						r.push(`${_sense} that ${his} body has some physical changes, it seems to ${him} that`);
-						if (_physicalChanges.length > 2) {
-							for (let _sd = 0; _sd < _physicalChanges.length; _sd++) {
-								if (_sd < _physicalChanges.length - 1) {
-									r.push(_physicalChanges[_sd]);
+						r.push(`${sense} that ${his} body has some physical changes, it seems to ${him} that`);
+						if (physicalChanges.length > 2) {
+							for (let i = 0; i < physicalChanges.length; i++) {
+								if (i < physicalChanges.length - 1) {
+									r.push(physicalChanges[i]);
 								} else {
-									r.push(`and${_physicalChanges[_sd]}`);
+									r.push(`and${physicalChanges[i]}`);
 								}
 							}
-						} else if (_physicalChanges.length > 1) {
-							r.push(`${_physicalChanges[0]} and ${_physicalChanges[1]}`);
+						} else if (physicalChanges.length > 1) {
+							r.push(`${physicalChanges[0]} and ${physicalChanges[1]}`);
 						} else {
-							r.push(_physicalChanges[0]);
+							r.push(physicalChanges[0]);
 						}
-						const _reaction = either('comes as a bit of a surprise', 'comes as quite a shock', `confirms ${his} suspicions`, `doesn't seem to phase ${him}`, `${he} finds interesting`, `${he} can't get over`) + '.';
-						r.push(`which ${_reaction}`);
+						const reaction = either('comes as a bit of a surprise', 'comes as quite a shock', `confirms ${his} suspicions`, `doesn't seem to phase ${him}`, `${he} finds interesting`, `${he} can't get over`) + '.';
+						r.push(`which ${reaction}`);
 					}
-					if (_statusChanges.length > 0) {
+					if (statusChanges.length > 0) {
 						r.push(`${He} can feel some`);
-						if (_genitalChanges.length > 0 || _physicalChanges.length > 0 || _hairChanges > 0) {
+						if (genitalChanges.length > 0 || physicalChanges.length > 0 || hairChanges > 0) {
 							r.push(`other`);
 						}
 						r.push(`changes that are a little harder to describe.`);
-						for (let _sd = 0; _sd < _statusChanges.length; _sd++) {
-							r.push(_statusChanges[_sd]);
+						for (let i = 0; i < statusChanges.length; i++) {
+							r.push(statusChanges[i]);
 						}
 					}
 				}
@@ -5047,7 +5050,7 @@ slave.devotion -= 5;
 			}
 			if (slave.fetish !== "mindbroken" && slave.fuckdoll === 0) {
 				r.push(`${He} spent the surgery very aware that you were performing it personally.`);
-				if (slave.devotion < _slaveDevotion) {
+				if (slave.devotion < slaveDevotion) {
 					if (slave.devotion > 50) {
 						r.push(`Though ${he} is unhappy with the results, ${he} consoles ${himself} with the knowledge that you cared enough to do it personally.`);
 					} else if (slave.devotion >= -20) {
-- 
GitLab