From 15b22a7d945e6fd251a923ab38a9286410ace882 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 26 May 2021 22:21:36 -0400
Subject: [PATCH 01/13] start

---
 src/events/RE/reMalefactor.js                 | 889 ++++++++++++++++++
 src/uncategorized/randomNonindividualEvent.tw |  31 -
 2 files changed, 889 insertions(+), 31 deletions(-)
 create mode 100644 src/events/RE/reMalefactor.js

diff --git a/src/events/RE/reMalefactor.js b/src/events/RE/reMalefactor.js
new file mode 100644
index 00000000000..4376a466c09
--- /dev/null
+++ b/src/events/RE/reMalefactor.js
@@ -0,0 +1,889 @@
+App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
+	eventPrerequisites() {
+		return [
+			() => V.arcologyUpgrade.drones === 1
+		];
+	}
+
+	actorPrerequisites() {
+		const req = [
+
+		];
+
+		return [
+			req,
+			req,
+		];
+	}
+
+	get weight() {
+		return (V.rep / 150) > (random(1, 100)) ? 2 : 1 // Chance to have doubled odds. 
+	}
+
+	execute(node) {
+		let r = [];
+		/**@type {FC.Race} */
+		let _fakeRace;
+		/**@type {FC.Race} */
+		let _realRace;
+		let malefactor;
+		V.nextButton = "Continue", V.nextLink = "RIE Eligibility Check", V.returnTo = "RIE Eligibility Check", V.encyclopedia = "Free Cities Justice";
+
+
+
+
+			const malefactorArray = ["addict", "whore"];
+			if (V.seeDicks !== 100) {
+				malefactorArray.push("businesswoman");
+				malefactorArray.push("liberator");
+				if (V.seePreg !== 0) {
+					malefactorArray.push("anchorBaby");
+					if (V.arcologies[0].FSRepopulationFocus < 50) {
+						malefactorArray.push("mule");
+						r.push(` /* blends right in */`);
+					}
+				}
+			}
+			if (V.seeDicks !== 0) {
+				malefactorArray.push("rapist");
+			}
+			if (V.minimumSlaveAge <= 12) {
+				malefactorArray.push("orphanloli");
+			}
+			if (V.arcologies[0].FSPaternalist < 50) {
+				malefactorArray.push("escapee");
+			}
+			if (V.arcologies[0].FSSupremacistLawME + V.arcologies[0].FSSubjugationistLawME > 0) {
+				malefactorArray.push("passfail");
+			}
+			malefactor = malefactorArray.random();
+
+		let _slave;
+		let _pram;
+		switch (malefactor) {
+			case "addict":
+				_slave = GenerateNewSlave();
+				_slave.origin = "You sentenced $him to enslavement as a punishment for attempted burglary.";
+				_slave.career = "a criminal";
+				_slave.devotion = random(-75, -60);
+				_slave.trust = random(-15, 0);
+				_slave.oldDevotion = _slave.devotion;
+				setHealth(_slave, jsRandom(-40, -20));
+				_slave.addict = 30;
+				_slave.anus = 3;
+				if (_slave.dick === 0) {
+					_slave.balls = 0;
+					_slave.vagina = 2;
+					_slave.skill.vaginal = 15;
+				} else {
+					_slave.ovaries = 0;
+					_slave.clit = 0;
+					_slave.skill.vaginal = 0;
+				}
+				_slave.skill.oral = 15;
+				_slave.skill.anal = 35;
+				_slave.skill.whoring = 15;
+				_slave.earPiercing = 1;
+				_slave.nosePiercing = 1;
+				_slave.nipplesPiercing = 1;
+				_slave.clitPiercing = 1;
+				_slave.behavioralFlaw = "odd";
+			case "escapee":
+				_slave = GenerateNewSlave(null, { disableDisability: 1 });
+				_slave.origin = "You sentenced ${him} to enslavement as a punishment for suspected escapism.";
+				_slave.devotion = random(-75, -60);
+				_slave.trust = random(-15, 0);
+				_slave.oldDevotion = _slave.devotion;
+				setHealth(_slave, jsRandom(-80, -70), undefined, undefined, undefined, 70);
+				_slave.heels = 1;
+				_slave.boobs += 100 * random(12, 32);
+				_slave.butt += random(2, 4);
+				_slave.anus = 1;
+				if (_slave.dick === 0) {
+					_slave.balls = 0;
+					_slave.vagina = 2;
+					_slave.skill.vaginal = 15;
+				} else {
+					_slave.dick = random(4, 5);
+					_slave.balls = random(0, 2);
+					_slave.ovaries = 0;
+					_slave.clit = 0;
+					_slave.skill.vaginal = 0;
+				}
+				_slave.skill.oral = 0;
+				_slave.skill.anal = 0;
+				_slave.skill.whoring = 0;
+				_slave.sexualFlaw = "hates penetration";
+				_slave.behavioralFlaw = "odd";
+			case "anchorBaby":
+				_slave = GenerateNewSlave("XX", { disableDisability: 1, minAge: V.fertilityAge, maxAge: 42 });
+				_slave.origin = "You sentenced ${him} to enslavement as a punishment for smuggling slaves within ${his} body.";
+				_slave.career = App.Data.Careers.General.uneducated.random();
+				_slave.devotion = random(-75, -50);
+				_slave.trust = random(-75, -60);
+				_slave.oldDevotion = _slave.devotion;
+				setHealth(_slave, jsRandom(20, 40), undefined, undefined, undefined, 60);
+				_slave.weight = random(40, 80);
+				_slave.accent = 3;
+				_slave.boobs += 200;
+				_slave.lactation = 1;
+				_slave.lactationDuration = 2;
+				_slave.ovaries = 1;
+				if (_slave.vagina < 2) {
+					_slave.vagina += 3;
+				}
+				_slave.bellySag = 3, _slave.bellySagPreg = 3;
+				_slave.preg = 0;
+				_slave.pregWeek = -4;
+				_slave.counter.birthsTotal = 2;
+				_slave.counter.births = 2;
+				_slave.skill.vaginal = 30;
+				_slave.skill.oral = 15;
+				_slave.skill.anal = 15;
+				_slave.sexualFlaw = "crude";
+				_slave.behavioralFlaw = "bitchy";
+			case "orphanloli":
+				_slave = GenerateNewSlave(null, { minAge: V.minimumSlaveAge, maxAge: 12, disableDisability: 1 });
+				_slave.origin = "You sentenced ${him} to enslavement as a punishment for suspected escapism.";
+				_slave.career = "an orphan";
+				_slave.devotion = random(-15, 0);
+				_slave.trust = random(-75, -60);
+				_slave.oldDevotion = _slave.devotion;
+				setHealth(_slave, jsRandom(-80, -70), undefined, undefined, undefined, 70);
+				_slave.weight = -100;
+				_slave.accent = 3;
+				_slave.boobs = 0;
+				_slave.butt = 0;
+				_slave.anus = 0;
+				if (_slave.dick === 0) {
+					_slave.balls = 0;
+					_slave.vagina = 0;
+				} else {
+					_slave.dick = random(1, 2);
+					_slave.balls = random(1, 2);
+					_slave.ovaries = 0;
+					_slave.clit = 0;
+				}
+				_slave.skill.vaginal = 0;
+				_slave.skill.oral = 0;
+				_slave.skill.anal = 0;
+				_slave.skill.whoring = 0;
+				_slave.sexualFlaw = "apathetic";
+				_slave.behavioralFlaw = "gluttonous";
+			case "businesswoman":
+				_slave = GenerateNewSlave("XX", { disableDisability: 1, minAge: 35, maxAge: 45, race: "nonslave" });
+				_slave.origin = "You sentenced ${him} to enslavement as a punishment for fraud and theft.";
+				_slave.career = "a criminal businesswoman";
+				_slave.devotion = random(-75, -60);
+				_slave.trust = random(-15, 0);
+				_slave.oldDevotion = _slave.devotion;
+				_slave.vagina = 2;
+				_slave.preg = -1;
+				_slave.skill.vaginal = 15;
+				_slave.anus = 0;
+				_slave.boobs += 400;
+				_slave.boobsImplant = 400;
+				_slave.boobsImplantType = "normal";
+				_slave.butt += 2;
+				_slave.buttImplant = 2;
+				_slave.buttImplantType = "normal";
+				setHealth(_slave, jsRandom(20, 40), undefined, undefined, undefined, 10);
+				_slave.sexualFlaw = "hates oral";
+				_slave.behavioralFlaw = "arrogant";
+				_slave.hStyle = "fashionable for a Free Cities businesswoman, up in a tight bun";
+				_slave.custom.tattoo = "$He has a pretty floral tattoo along $his collarbone.";
+			case "whore":
+				_slave = GenerateNewSlave(null, { disableDisability: 1, race: "nonslave" });
+				_slave.origin = "You sentenced ${him} to enslavement as a punishment for theft and battery.";
+				_slave.career = "a prostitute";
+				_slave.devotion = random(-75, -60);
+				_slave.trust = random(-15, 0);
+				_slave.oldDevotion = _slave.devotion;
+				setHealth(_slave, jsRandom(-40, -20));
+				_slave.anus = 2;
+				if (_slave.dick === 0) {
+					_slave.balls = 0;
+					_slave.vagina = 2;
+					_slave.skill.vaginal = 35;
+				}
+				_slave.skill.oral = 35;
+				_slave.skill.anal = 35;
+				_slave.skill.whoring = 35;
+				_slave.boobs += 400;
+				_slave.boobsImplant = 400;
+				_slave.boobsImplantType = "normal";
+				_slave.butt++;
+				_slave.buttImplant = 1;
+				_slave.buttImplantType = "normal";
+				_slave.lips += 10;
+				_slave.lipsImplant = 10;
+				_slave.lipsPiercing = 1;
+				_slave.tonguePiercing = 1;
+				_slave.earPiercing = 1;
+				_slave.nosePiercing = 1;
+				_slave.eyebrowPiercing = 1;
+				_slave.nipplesPiercing = 1;
+				_slave.clitPiercing = 1;
+				_slave.sexualFlaw = "hates penetration";
+				_slave.hStyle = "strip";
+				_slave.custom.tattoo = "${He} has a teardrop tattooed under each eye.";
+			case "rapist":
+				_slave = GenerateNewSlave("XY", { disableDisability: 1, minAge: 16, race: "nonslave" });
+				_slave.origin = "You sentenced ${him} to enslavement as a punishment for the rape of a free woman.";
+				_slave.devotion = random(-75, -60);
+				_slave.trust = random(-15, 0);
+				_slave.oldDevotion = _slave.devotion;
+				setHealth(_slave, jsRandom(0, 20), undefined, undefined, 0, 5);
+				_slave.anus = 0;
+				_slave.balls = random(2, 4);
+				_slave.skill.oral = 0;
+				_slave.skill.anal = 0;
+				_slave.behavioralFlaw = "arrogant"; 
+				_slave.sexualFlaw = "hates men";//TODO: Fixme: "hates men" is actually a behavior flaw, which is already set.
+			case "mule":
+				_pram = { disableDisability: 1, minAge: 13, race: "nonslave" };
+				if (V.pedo_mode === 0) {
+					_pram.maxAge = 26;
+				}
+				_slave = GenerateNewSlave("XX", _pram);
+				_slave.origin = "You sentenced ${him} to enslavement for smuggling drugs into the arcology.";
+				_slave.career = "a drug mule";
+				_slave.devotion = random(-50, -20);
+				_slave.trust = random(-100, -75);
+				_slave.vagina = 2;
+				_slave.preg = -2;
+				_slave.bellyImplant = 0;
+				_slave.cervixImplant = 1;
+				_slave.pubicHStyle = "shaved";
+				_slave.bellySag = 2;
+				_slave.skill.vaginal = 50;
+				_slave.anus = 0;
+				_slave.hips = 0;
+				_slave.weight = -60;
+				_slave.waist = random(-30, -10);
+				_slave.boobs = random(4, 5) * 100;
+				_slave.boobShape = "perky";
+				setHealth(_slave, jsRandom(-20, 10), undefined, undefined, undefined, 40);
+				_slave.sexualFlaw = "hates penetration";
+				_slave.behavioralFlaw = "shamefast";
+				_slave.accent = 0;
+			case "liberator":
+				_slave = GenerateNewSlave("XX", { disableDisability: 1, minAge: random(12, 28), maxAge: 43 });
+				_slave.origin = "You sentenced ${him} to enslavement as a punishment for attempted theft of a slave.";
+				_slave.career = "an antislavery activist";
+				_slave.devotion = random(-75, -60);
+				_slave.trust = random(-15, 0);
+				_slave.oldDevotion = _slave.devotion;
+				_slave.muscles = 50;
+				_slave.weight = random(-20, 30);
+				_slave.waist = random(-10, 10);
+				_slave.skill.vaginal = 0;
+				_slave.skill.oral = 0;
+				_slave.skill.anal = 0;
+				_slave.skill.whoring = 0;
+				_slave.skill.combat = 1;
+				_slave.anus = 0;
+				setHealth(_slave, jsRandom(60, 80), undefined, undefined, 0, 10);
+				_slave.behavioralFlaw = "arrogant";
+				_slave.sexualFlaw = "hates men";
+				_slave.hStyle = "shaved into a mohawk";
+				_slave.custom.tattoo = "${He} seems to have had slave tattoos at one time, but has had them cheaply removed.";
+			case "passfail":
+				_pram = new GenerateNewSlavePram;
+				_pram.disableDisability = 1;
+				if (V.arcologies[0].FSSubjugationistLawME === 1) {
+					_pram.race = V.arcologies[0].FSSubjugationistRace;
+				} else if (V.arcologies[0].FSSupremacistLawME === 1) {
+					const _races = App.Utils.getRaceArrayWithoutParamRace(V.arcologies[0].FSSupremacistRace);
+					_pram.race = _races.random();
+				}
+				_slave = GenerateNewSlave(null, _pram);
+				_slave.origin = "You sentenced ${him} to enslavement as a punishment for defying local racial segregation laws.";
+				_slave.career = App.Data.Careers.General.educated.random();
+				_slave.devotion = random(-75, -50);
+				_slave.trust = random(-75, -50);
+				_slave.oldDevotion = _slave.devotion;
+				setHealth(_slave, jsRandom(-40, -20), undefined, undefined, 0, 10);
+				_slave.intelligence = random(51, 95);
+				_slave.intelligenceImplant = 15;
+				if (V.arcologies[0].FSSupremacistLawME === 1 && V.arcologies[0].FSSupremacistRace) {
+					_fakeRace = V.arcologies[0].FSSupremacistRace;
+				} else if (V.arcologies[0].FSSubjugationistLawME === 1) {
+					const _races = App.Utils.getRaceArrayWithoutParamRace(V.arcologies[0].FSSubjugationistRace);
+					_fakeRace = _races.random();
+				}
+				_realRace = _slave.race;
+				_slave.race = _fakeRace;
+				_slave.skin = randomRaceSkin(_fakeRace);
+				setEyeColor(_slave, randomRaceEye(_fakeRace));
+				_slave.hColor = randomRaceHair(_fakeRace);
+				_slave.override_Race = 1, _slave.override_Skin = 1, _slave.override_H_Color = 1, _slave.override_Eye_Color = 1;
+		}
+
+		const {
+			He, he, his, him, girl
+		} = getPronouns(_slave);
+
+
+		r.push(`${capFirstChar(V.assistant.name)} alerts you that a `);
+		if (malefactor === "mule") {
+			r.push(`potential `);
+		}
+		r.push(`criminal has been detected by your security systems and detained by the drones. Crime is extremely uncommon in your arcology,`);
+		if (malefactor !== "liberator") {
+			r.push(`since nothing can escape the notice of the omnipresent monitoring systems.`);
+		}
+
+		switch (malefactor) {
+			case "addict":
+				r.push(`Criminals are usually either too angry, too ignorant, or too stupid to understand the impossibility of successful petty crime. This is the latter situation; a ${girl} suffering severe aphrodisiac withdrawal has attempted to break into a store that sells the stuff. ${He}'s now lying `);
+				if (V.seePee === 1) {
+					r.push(`in a pool of ${his} own urine`);
+				} else {
+					r.push(`face-down on the pavement`);
+				}
+				r.push(`with a taser round stuck in ${his} ass; the drone responsible is hovering helpfully nearby, hitting ${him} with another shock whenever ${he} does more than twitch.`);
+			case "escapee":
+				r.push(`This is a simple case of vagrancy; sleeping on the streets (due to penury rather than inebriation) breaks an implicit contract all visitors to the arcology sign by coming here. The criminal is anything but usual, however. ${He} bears signs of extreme hormone manipulation over a long period, and has had ${his} Achilles tendons clipped. Camera records show ${him} crawling in with a cargo shipment. ${He}'s clad in rags, and you cannot find any record of ${him} anywhere. The growing crowd is convinced ${he}'s an escaped slave, and is growing ugly.`);
+			case "anchorBaby":
+				r.push(`This is likely another case of attempted escape by a slave or potentially a smuggling operation. The cause of detection is a steady stream of moaning emanating from a cargo container recently deposited into the arcology's cargo depot and has attracted a crowd of curious onlookers. Video feeds show the container being open and a heavily pregnant `);
+				if (_slave.physicalAge > 30) {
+					r.push(`${woman}`);
+				} else if (_slave.physicalAge > 19) {
+					r.push(`young ${woman}`);
+				} else if (_slave.physicalAge > 12) {
+					r.push(`teenager`);
+				} else {
+					r.push(`little ${girl}`);
+				}
+				r.push(` staggering out while clutching a newborn to ${his} breast and struggling to hold back ${his} second child from being born. From what little language ${he} knows, ${he} seems to think that just giving birth in your arcology is enough to become a proper citizen; as expected, ${he} squats and pushes out the other brat as you arrive. The growing crowd is becoming unruly, and ${his} inability to speak the language isn't helping; things could get ugly at any moment and hinge entirely on your next move.`);
+			case "orphanloli":
+				r.push(`This is a simple case of vagrancy; sleeping on the streets (due to penury rather than inebriation) breaks an implicit contract all visitors to the arcology sign by coming here. Several reports of petty theft were made in the area recently as well. The criminal is anything but usual, however. ${He} is very young, emaciated, and desperate. Camera records show ${him} crawling in through an air vent. ${He}'s clad in rags, clutching a presumably stolen apple, and you cannot find any record of ${him} anywhere. The growing crowd is convinced ${he}'s an escaped slave, and ${his} inability to speak the language isn't helping; things could get ugly at any moment and hinge entirely on your next move.`);
+			case "businesswoman":
+				r.push(`Nevertheless, it seems one of your tenants, a hitherto well-respected business${woman}, has left the straight and narrow. It seems ${his} business affairs took a decisive turn for the worse, so ${he} attempted to drain ${his} clients' funds and leave your arcology before anyone was the wiser. Unfortunately for ${him}, your security drones, controlled by ${V.assistant.name}, were very much the wiser. ${capFirstChar(V.assistant.name)} has with machine efficiency compiled the completest proofs of corporate malfeasance you have ever seen. Your wretched tenant signed a contract with you that included provisions forbidding theft. ${He} is entirely at your mercy.`);
+			case "whore":
+				r.push(`Nevertheless, it seems one of your tenants, a free whore, has been systematically stealing from clients. ${He} was furtive enough to get away with it for a time, but has now been caught red-handed. The john who caught ${him} attempted to stop ${him}, and ${he} fought him. Like many prostitutes ${he} carried a weapon in ${his} handbag, and the man is severely wounded. ${capFirstChar(V.assistant.name)} has with machine efficiency compiled a staggering dossier of video logs and personal testimony from previous customers who now understand where their personal belongings went, as well as appalling footage of today's victim's injuries. Your wretched tenant signed a contract with you that included provisions forbidding this kind of thing. ${He} is entirely at your mercy.`);
+			case "rapist":
+				r.push(`Nevertheless, it seems one of your tenants saw fit to rape a free woman. Within ten minutes, the inhuman efficiency of ${V.assistant.name} has compiled video recordings, physical evidence, and even the victim's testimony, which is quite consistent with the first two. Your wretched tenant signed a contract with you that included provisions forbidding this kind of thing. ${He} is entirely at your mercy.`);
+			case "mule":
+				r.push(`However some individuals still make attempts to fool them. In this case, the cameras are fixed on a clearly pregnant, and hugely at that, ${woman} as ${he} works ${his} way through the crowded market sectors. You watch as ${he} repeatedly bumps into other patrons and stalls, pausing to apologize before proceeding on ${his} way, as if ${he} wasn't familiar with ${his} gravid swell. ${His} body is also clearly underdeveloped for someone ready to drop quadruplets at any moment; thin, with barely any hips to speak of and a pert bust clearly not swollen with milk. ${He} even walks like a ${woman} not burdened with nine months of gestating multiples, let alone a single. As ${he} stumbles under ${his} own weight, ${his} shirt rides up, giving you a clear view of the deep red stretch marks of a belly that grew far faster than it could handle. You've seen enough and order the drones to corral ${him} until security arrives. ${His} expression shifts from fear as they encircle ${him} to panic as a groan escapes ${his} lips. ${He} grabs ${his} stomach as a capsule falls to the floor. As another contraction hits ${him}, ${he} drops to the ground and begins to "give birth" to ${his} illegal cargo.`);
+				if (V.bellyImplants === 1) {
+					r.push(`${He} likely has a belly implant designed to carry foreign objects inside ${his} womb and, having lost ${his} composure, is now vacating its contents.`);
+				} else {
+					r.push(`You have no idea what you are witnessing until `);
+					if (V.assistant.name === "your personal assistant") {
+						r.push(`your personal assistant pulls up an advertisement for a fillable womb located implant`);
+					} else {
+						r.push(`${V.assistant.name} introduces you to a fillable womb located implant`);
+					}
+					r.push(` that ${he} likely has installed.`);
+				}
+				r.push(`${He} is easily taken into custody and ${his} contraband confiscated once the jeering crowd is dispersed enough to reach ${him}.`);
+			case "liberator":
+				const { hisU, himselfU, heU } = getNonlocalPronouns(V.seeDicks).appendSuffix("U");
+				r.push(`but this is a special case. A well-muscled, well-armed ${woman} was caught attempting to smuggle a slave owned by one of your tenants out of the arcology. Though the slave surrendered immediately (and will be dealt with by ${hisU} owner), the would-be liberatrix was caught by your security drones. ${He} destroyed two of them and caused <span class="red">other minor damage</span>`);
+				cashX(forceNeg(1000), "event", _slave);
+				r.push(` that will require a small sum to repair, but was eventually subdued. The drones had to expend a great deal of nonlethal ordnance to bring ${him} down and keep ${him} down, but ${he} is now entirely at your mercy.`);
+			case "passfail":
+				r.push(`Nevertheless, it seems one of your tenants, a rather ordinary white collar worker, has been severely wounded in a freak industrial accident, to the point that a blood transfusion was needed. In the course of doing so, an arcology hospital's autosurgery noted several genetic discrepancies and alerted a few nearby drones. Simply put, while the ${woman} appears to be a normal${_fakeRace} ${woman}, this is the result of numerous cosmetic surgeries; ${he} is actually _realRace. The laws of your arcology hold that members of the _realRace race are fit only for slavery, quite unlike the superior _fakeRace people. That a _realRace ${girl} would gain a position of relatively high class and power through such deception and fraud is considered an outrage by many of your citizens, and so ${he} was placed under arrest before ${he} even awoke from surgery. ${He} is now entirely at your mercy.`);
+		}
+
+		const _ContractCost = 1000;
+		let _slaveCost = slaveCost(_slave);
+		_slaveCost -= 1000;
+
+		//<br><br>//Applying enslavement as punishment will cost 
+		V.cashFormat(_ContractCost)
+		r.push(`. Doing so and then selling ${him} immediately will bring in approximately `);
+		V.cashFormat(_slaveCost)
+		r.push(`.//`);
+		//<br><br> 
+		r.push(App.Desc.longSlave(_slave, { market: "generic" }));
+
+
+		App.Events.addParagraph(node, r);
+		const choices = [];
+		if (V.cash >= _ContractCost) {
+			choices.push(
+				new App.Events.Result(`Enslave ${him}`, enslave),
+				new App.Events.Result(`Sentence ${him} to a day in the stocks, then enslave ${him}`, stocks),
+			)
+			if (V.arcade > 0) {
+				choices.push(new App.Events.Result(`Enslave ${him} and sentence ${him} to a month in the arcade`, arcade))
+			}
+			if (malefactor !== "mule") {
+				if (V.dairy > 0) {
+					if (V.dairyRestraintsSetting > 1) {
+						choices.push(new App.Events.Result(`Enslave ${him} and send ${him} straight to the industrial dairy`, dairy))
+					}
+				}
+			}
+			if (V.seeExtreme > 0) {
+				choices.push(new App.Events.Result(`Punitively amputate ${his} limbs, and then enslave ${him}`, amp))
+				if (malefactor === "rapist" && _slave.balls > 0) {
+					choices.push(new App.Events.Result(`Enslave the criminal and geld ${him}`, geld))
+				}
+			}
+			if (malefactor === "orphanloli") {
+				choices.push(new App.Events.Result(`Adopt ${him}`, adopt))
+			}
+		} else {
+			choices.push(new App.Events.Result(null, null, `You lack the necessary funds to enslave ${him}.`))
+		}
+		if (malefactor === "anchorBaby") {
+			choices.push(new App.Events.Result(``, citizenship)) //TODO fix name
+		}
+		choices.push(new App.Events.Result(`Publicly flog the criminal`, flog))
+		if (malefactor === "liberator") {
+			choices.push(new App.Events.Result(`Permit the slaveowner ${he} tried to steal from to flog ${him}`, ownerFlog))
+		}
+
+		choices.push(new App.Events.Result(`Sell ${him} immediately`, sell))
+
+		App.Events.addResponses(node, choices);
+
+		function enslave() {
+			const frag = document.createDocumentFragment();
+
+			r = [];
+
+			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
+			switch (malefactor) {
+				case "addict":
+					r.push(`You complete the legalities and biometric scanning quickly and without fuss. The condemned recovers enough by the end of the process to start masturbating weakly, even as ${he} begins begging for a fix. Then it's off to the penthouse for basic slave induction.`);
+				case "escapee":
+					r.push(`You complete the legalities and biometric scanning quickly and without fuss. ${He} remains limp throughout the process, only recovering enough to barely grasp the situation as ${he} is enslaved.`);
+				case "orphanloli":
+					r.push(`You complete the legalities and biometric scanning quickly and without fuss. ${He} sobs throughout the process, though stops once ${he} realizes being a slave means free food.`);
+				case "anchorBaby":
+					r.push(`You complete the legalities and biometric scanning quickly and without fuss. ${He} doesn't stop screaming "citizenship" until ${his} children are taken from ${him} and ${he} is shoved off to the penthouse for basic slave induction.`);
+				case "businesswoman" "mule" "passfail" "rapist" "whore":
+					r.push(`You complete the legalities and biometric scanning quickly and without fuss. The condemned sobs and begs throughout the process until you grow tired of the whining and apply punishment. Then it's off to the penthouse for basic slave induction.`);
+				case "liberator":
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. Though the would-be liberator is of course restrained, disarmed, and still sedated, ${he} could awake at any time. Based on the drone logs, ${he} is likely to be violent when ${he} does.`);
+			}
+			r.push(App.UI.newSlaveIntro(_slave));
+
+
+			App.Events.addParagraph(frag, r);
+			return frag;
+		}
+
+		function stocks() {
+			const frag = document.createDocumentFragment();
+
+			r = [];
+
+			healthDamage(_slave, 10);
+			_slave.behavioralFlaw = "odd";
+			_slave.sexualFlaw = "hates penetration";
+			_slave.anus = 2;
+			const _fuckCount = random(20, 35);
+			seX(_slave, "anal", "public", "penetrative", _fuckCount);
+			if (_slave.vagina > -1) {
+				if (_slave.vagina < 2) {
+					_slave.vagina = 2;
+				}
+				if (isFertile(_slave) && _slave.eggType === "human") {
+					r.push(knockMeUp(_slave, 40, 2, -2));
+				}
+				seX(_slave, "vaginal", "public", "penetrative", _fuckCount * 2);
+			}
+			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
+			switch (malefactor) {
+				case "addict":
+					r.push(`You declare ${his} holes fair game for the entire arcology, since ${he} must somehow repay ${his} debt to society. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
+					if (_slave.vagina > -1) {
+						r.push(` and <span class="lime">fucked-out</span> pussy`);
+					}
+					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+				case "escapee":
+					r.push(`You declare ${his} holes fair game for the entire arcology, so that all free citizens can own ${him} for a moment, if they wish. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
+					if (_slave.vagina > -1) {
+						r.push(` and <span class="lime">fucked-out</span> pussy`);
+					}
+					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+				case "orphanloli":
+					r.push(`You declare ${his} holes fair game for the entire arcology, so that all free citizens can own ${him} for a moment, if they wish. ${He} spends a torturous day in the stocks before being hauled in for enslavement, <span class="health.dec">completely broken</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
+					if (_slave.vagina > -1) {
+						r.push(` and <span class="lime">fucked-out</span> pussy`);
+					}
+					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					_slave.fetish = "mindbroken";
+				case "anchorBaby":
+					r.push(`You declare ${his} holes fair game for the entire arcology; since ${he} wants to produce future slaves, your arcology might as well have the privilege of fathering them. ${He} spends a torturous day in the stocks after ${his} children are taken to a slave orphanage before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
+					if (_slave.vagina > -1) {
+						r.push(` and <span class="lime">fucked-out</span> pussy`);
+					}
+					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+				case "businesswoman":
+					r.push(`You declare ${his} holes fair game for the entire arcology, in payment for ${his} crimes. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
+					if (_slave.vagina > -1) {
+						r.push(` and <span class="lime">fucked-out</span> pussy`);
+					}
+					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+				case "whore":
+					r.push(`You declare ${his} holes fair game for the entire arcology, to repay ${his} thefts. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
+					if (_slave.vagina > -1) {
+						r.push(` and <span class="lime">fucked-out</span> pussy`);
+					}
+					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+				case "rapist":
+					r.push(`You declare ${his} holes fair game for the entire arcology. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
+					if (_slave.vagina > -1) {
+						r.push(` and <span class="lime">fucked-out</span> pussy`);
+					}
+					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+				case "mule":
+					r.push(`You declare ${his} holes fair game for the entire arcology as punishment for trying to smuggle in a load instead of taking one. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
+					if (_slave.vagina > -1) {
+						r.push(` and <span class="lime">fucked-out</span> pussy`);
+					}
+					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+				case "liberator":
+					r.push(`Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. ${His} holes are thus fair game for the entire arcology. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
+					if (_slave.vagina > -1) {
+						r.push(` and <span class="lime">fucked-out</span> pussy`);
+					}
+					r.push(`. The public <span class="green">enjoys the fun,</span> and small slaveholders are <span class="green">encouraged to do business with your arcology</span> after word of the incident gets around.`);
+				case "passfail":
+					r.push(`You declare ${his} holes fair game for the entire arcology; after all, ${he} did want to be around lots of ${_fakeRace} people, didn't ${he}? ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
+					if (_slave.vagina > -1) {
+						r.push(` and <span class="lime">fucked-out</span> pussy`);
+					}
+					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+			}
+			repX(500, "event", _slave);
+			V.arcologies[0].prosperity += 2;
+			r.push(App.UI.newSlaveIntro(_slave))
+
+
+			App.Events.addParagraph(frag, r);
+			return frag;
+		}
+
+		function arcade() {
+			const frag = document.createDocumentFragment();
+
+			r = [];
+
+			r.push(assignJob(_slave, "be confined in the arcade"));
+			_slave.choosesOwnAssignment = 0;
+			_slave.sentence = 4;
+			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
+			switch (malefactor) {
+				case "addict":
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned recovers enough by the end of the process to start masturbating weakly, even as ${he} begins begging for a fix. When ${he} learns ${he}'s headed to the arcade, ${he} actually relaxes a little, having heard the whores there get drugs. The public <span class="green">looks forward</span> to seeing ${him} there, especially the owner of the shop ${he} attempted to burglarize.`);
+				case "escapee":
+				case "orphanloli":
+					r.push(`You complete the legalities and biometric scanning quickly, and tell the crowd that ${his} holes will be available at the arcade within the hour. The public <span class="green">looks forward</span> to seeing ${him} there, angrily suspecting ${him} of being an escapee and glad that they'll be able to take part in ${his} punishment.`);
+				case "anchorBaby":
+					r.push(`You complete the legalities and biometric scanning quickly and have ${his} children taken away. The condemned screeches ${his} displeasure throughout the process until you grow tired of the whining and sedate ${him} for immurement in the arcade. The public <span class="green">looks forward</span> to seeing ${him} there and vying to see who gets to fill ${his} womb with another child.`);
+				case "businesswoman" "mule" "passfail" "rapist" "whore":
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned sobs and begs throughout the process until you grow tired of the whining and sedate ${him} for immurement in the arcade. The public <span class="green">looks forward</span> to seeing ${him} there and getting some of their own back.`);
+				case "liberator":
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. Though the would-be liberator is of course restrained, disarmed, and still sedated, ${he} could awake at any time. It would be best to have ${him} restrained for public use in the arcade first. The public <span class="green">looks forward</span> to seeing ${him} there.`);
+			}
+			repX(250, "event", _slave);
+			newSlave(_slave); /* skip New Slave Intro */
+
+
+			App.Events.addParagraph(frag, r);
+			return frag;
+		}
+
+		function dairy() {
+			const frag = document.createDocumentFragment();
+			r = [];
+
+			r.push(assignJob(_slave, "work in the dairy"));
+			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
+			switch (malefactor) {
+				case "addict":
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned accepts a sedative, thinking it's aphrodisiacs, and ${his} unconscious body is installed in ${V.dairyName}. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the addict's `);
+					if (V.dairyStimulatorsSetting > 1) {
+						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
+					} else if ((V.dairyPregSetting > 1) && (_slave.vagina > 0)) {
+						r.push(`discomfort as ${his} pussy adapts to industrial reproduction`);
+					} else {
+						r.push(`breasts as they are roughly milked`);
+					}
+					r.push(`, together with a lengthy report on the experimental detox process used to ensure that the milk ${he} produces will be untainted.`);
+				case "escapee":
+					r.push(`You complete the legalities and biometric scanning quickly. The condemned is too far gone to resist as ${he} is installed in ${V.dairyName}. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the escapee's `);
+					if (V.dairyStimulatorsSetting > 1) {
+						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
+					} else if ((V.dairyPregSetting > 1) && (_slave.vagina > 0)) {
+						r.push(`discomfort as ${his} pussy adapts to industrial reproduction`);
+					} else {
+						r.push(`breasts as they are roughly milked`);
+					}
+					r.push(`.`);
+				case "orphanloli":
+					r.push(`You complete the legalities and biometric scanning quickly. The condemned is too weak to resist as ${he} is installed in ${V.dairyName} but ${he} weeps the entire time. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the escapee's `);
+					if (V.dairyStimulatorsSetting > 1) {
+						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
+					} else if ((V.dairyPregSetting > 1) && (_slave.vagina > 0)) {
+						r.push(`agony as ${his} once tight pussy adapts to industrial reproduction`);
+					} else {
+						r.push(`budding breasts as they are roughly milked`);
+					}
+					r.push(`.`);
+				case "anchorBaby":
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously before having ${his} children taken away. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
+					if (V.dairyPregSetting > 1) && (_slave.vagina > 0) {
+						r.push(`discomfort as ${his} pussy adapts to industrial reproduction, along with a prospectus detailing the scheduled sale of ${his} next batch of slave product in eighteen years and nine months`);
+					} else if (V.dairyStimulatorsSetting > 1) {
+						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
+					} else {
+						r.push(`breasts as they are roughly milked`);
+					}
+					r.push(`.`);
+				case "businesswoman":
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
+					if (V.dairyPregSetting > 1) && (_slave.vagina > 0) {
+						r.push(`discomfort as ${his} pussy adapts to industrial reproduction, along with a prospectus detailing the scheduled sale of ${his} first slave product in eighteen years and nine months`);
+					} else if (V.dairyStimulatorsSetting > 1) {
+						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
+					} else {
+						r.push(`breasts as they are roughly milked`);
+					}
+					r.push(`.`);
+				case "whore":
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
+					if (V.dairyPregSetting > 1) && (_slave.vagina > 0) {
+						r.push(`discomfort as ${his} well-traveled pussy adapts to industrial reproduction`);
+					} else if (V.dairyStimulatorsSetting > 1) {
+						r.push(`discomfort as ${his} well-traveled anus adapts to accommodate rectal dildo hydration`);
+					} else {
+						r.push(`breasts as they are roughly milked`);
+					}
+					r.push(`.`);
+				case "rapist":
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the rapist's `);
+					if (V.dairyStimulatorsSetting > 1) {
+						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
+					} else {
+						r.push(`newly growing breasts as they are roughly milked`);
+					}
+					r.push(`.`);
+				case "liberator":
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
+					if (V.dairyPregSetting > 1) && (_slave.vagina > 0) {
+						r.push(`discomfort as ${his} pussy adapts to industrial reproduction`);
+					} else if (V.dairyStimulatorsSetting > 1) {
+						r.push(`discomfort as ${his} anus adapts to accommodate rectal dildo hydration`);
+					} else {
+						r.push(`breasts as they are roughly milked`);
+					}
+					r.push(`, together with a report on the likely productivity of such a fit body capable of withstanding the stress of high throughput.`);
+				case "passfail":
+					r.push(`You complete the legalities and biometric scanning quickly. The condemned is too weak to resist as ${he} is installed in ${V.dairyName} but ${he} weeps the entire time. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
+					if (V.dairyPregSetting > 1) && (_slave.vagina > 0) {
+						r.push(`discomfort as ${his} pussy adapts to industrial reproduction`);
+					} else if (V.dairyStimulatorsSetting > 1) {
+						r.push(`discomfort as ${his} anus adapts to accommodate rectal dildo hydration`);
+					} else {
+						r.push(`breasts as they are roughly milked`);
+					}
+					r.push(`.`);
+			}
+			repX(250, "event", _slave);
+			newSlave(_slave);/* skip New Slave Intro */
+
+
+			App.Events.addParagraph(frag, r);
+			return frag;
+		}
+
+		function amp() {
+			const frag = document.createDocumentFragment();
+			r = [];
+
+			healthDamage(_slave, 20);
+			removeLimbs(_slave, "all");
+			_slave.behavioralFlaw = "odd";
+			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
+			switch (malefactor) {
+				case "addict":
+					r.push(`An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs for a fix until ${he} realizes what's coming, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness.</span>`);
+				case "escapee":
+					r.push(`An example must be made. If ${he} escaped once with ${his} tendons clipped, ${he} must be rather talented at it. It remains to be seen if ${he} can manage to escape with neither arms nor legs, so you announce ${his} sentence to the crowd and send ${his} unconscious form for reduction. Of course, <span class="health.dec">${his} health is affected.</span> The public <span class="green">approves of this harshness,</span> believing that you have taken strong measures against escapees.`);
+				case "orphanloli":
+					r.push(`An example must be made. If ${he} thinks ${he} can escape captivity and steal to survive, let's see ${him} try without arms and legs, so you announce ${his} sentence to the crowd and send ${his} unconscious form for reduction. Of course, <span class="health.dec">${his} health is affected.</span> The public <span class="green">approves of this harshness,</span> believing that you have taken strong measures against escapees.`);
+				case "anchorBaby":
+					r.push(`An example must be made. Potential immigrants must understand that attempting to circumvent the process will result in severe fines and proportional punishment when they are incapable of paying them. The protesting mother is stripped, both of clothing and children, and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since ${he} can hardly attempt to smuggle things into your arcology without the ability to move.`);
+				case "businesswoman":
+					r.push(`An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness.</span>`);
+				case "whore":
+					r.push(`An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since ${he} can hardly attempt to steal anything without hands.`);
+				case "rapist":
+					r.push(`An example must be made. Rape is rare in your arcology, since citizens are so generously provided with means of sexual outlet. When the price of renting a slave that's impossible to rape is as low as it is, sexual assault of a free woman is doubly unforgivable. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since even if ${he} cheers up and ever manages an erection again, ${he}'s not likely to rape anyone without arms or legs.`);
+				case "mule":
+					r.push(`An example must be made. With the quantity of drugs consumed in the arcology, quality is everything and attempting to undermine that is unforgivable. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since ${he} can hardly haul contraband into your arcology without the ability to move ${himself}.`);
+				case "liberator":
+					r.push(`An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since ${he} will scarcely be able to liberate anyone without arms or legs.`);
+				case "passfail":
+					r.push(`An example must be made. The citizens of your arcology must be assured that the racially inferior will not try to rise above their station, no matter their deceptions. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness.</span>`);
+			}
+			repX(500, "event", _slave);
+			r.push(App.UI.newSlaveIntro(_slave))
+
+
+			App.Events.addParagraph(frag, r);
+			return frag;
+		}
+
+		function geld() {
+			const frag = document.createDocumentFragment();
+			r = [];
+
+			healthDamage(_slave, 20);
+			_slave.balls = 0;
+			_slave.devotion -= 25;
+			_slave.trust -= 25;
+			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
+			r.push(`Video feeds from your remote surgery are made public as the protesting criminal is strapped down and gelded. ${He} is so utterly broken by this turn of events that you complete the legalities and biometric scanning without fuss. The condemned sobs weakly throughout the process until you grow tired of the whining and apply punishment. Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> which increases your arcology's prosperity by <span class="green">giving it a reputation for swift and terrible justice.</span>`);
+			repX(500, "event", _slave);
+			V.arcologies[0].prosperity += 10;
+			r.push(App.UI.newSlaveIntro(_slave));
+
+
+			App.Events.addParagraph(frag, r);
+			return frag;
+		}
+
+		function adopt() {
+			const frag = document.createDocumentFragment();
+			r = [];
+
+			_slave.devotion = 25;
+			_slave.trust = 25;
+			_slave.origin = "${He} was an orphan forced to live and steal on the streets until you adopted ${him}.";
+			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
+			r.push(`You sit down and talk to the exhausted ${girl}, handing ${him} a contract cleverly altered to resemble adoption papers. Once ${he} comprehends what ${he} is looking at, ${he} eagerly signs it. Only once ${he} has reached the penthouse and been introduced to the slave life does ${he} realize ${he} willingly signed away ${his} freedom. Though ${he} can't complain. A warm cot and plenty of food await, which to ${him} is a huge improvement over a slow death on the streets. The public`);
+			if (V.arcologies[0].FSPaternalist !== "unset") {
+				r.push(`<span class="green">is impressed by your act,</span> even if it is a trick.`);
+				repX(500, "event", _slave);
+			} else {
+				r.push(`<span class="red">feels you let this criminal off too easy.</span>`);
+				repX(forceNeg(100), "event", _slave);
+			}
+			r.push(App.UI.newSlaveIntro(_slave));
+
+
+			App.Events.addParagraph(frag, r);
+			return frag;
+		}
+
+		function citizenship() {
+			const frag = document.createDocumentFragment();
+			r = [];
+
+			r.push(`You help the exhausted mother to ${his} feet and hand ${him} ${his} second newborn. ${He} watches you, uncertain of your motives, until you have ${him} escorted to the proper welcoming facility and put in a good word for having ${him} added to your arcology's free population. You announce to the public that such a fertile `);
+			if (_slave.physicalAge > 30) {
+				r.push(`MILF`);
+			} else if (_slave.physicalAge > 19) {
+				r.push(`${woman}`);
+			} else if (_slave.physicalAge > 12) {
+				r.push(`teen`);
+			} else {
+				r.push(`youth`);
+			}
+			r.push(` will be a boon to `);
+			if (V.arcologies[0].FSRepopulationFocus !== "unset") {
+				r.push(`Repopulationism`);
+			} else {
+				r.push(`society`);
+			}
+			r.push(`, and that the contract ${he} is signing mandates ${he} be on powerful fertility agents whenever ${he} isn't pregnant. During ${his} residency, free or not, ${he} will provide society with dozens of future children. The public`);
+			if (V.arcologies[0].FSRepopulationFocus !== "unset") {
+				r.push(`<span class="green">approves of breeders, free or not,</span> and word spreads that any and all mothers are welcome into your arcology <span class="green">adding to its prosperity.</span>`);
+				repX(500, "event", _slave);
+			} else if (V.arcologies[0].FSPaternalist !== "unset") {
+				r.push(`<span class="green">sympathizes with your charity.</span>`);
+				repX(100, "event", _slave);
+			} else {
+				r.push(`<span class="red">feels you let this criminal off too easy.</span>`);
+				repX(forceNeg(100), "event", _slave);
+			}
+
+			App.Events.addParagraph(frag, r);
+			return frag;
+		}
+
+		function flog() {
+			const frag = document.createDocumentFragment();
+			r = [];
+			switch (malefactor) {
+				case "addict":
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The twitching, begging malefactor is stripped and flogged on the promenade before being escorted bleeding, and still twitching from withdrawal, out of the arcology. The public <span class="green">approves of this harshness.</span>`);
+				case "escapee":
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The begging malefactor is flogged on the promenade before being escorted bleeding and half-dead out of the arcology. The public <span class="green">approves of this harshness.</span>`);
+				case "orphanloli":
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The crying ${girl} is flogged on the promenade before being dragged bleeding and broken out of the arcology. The public <span class="green">approves of this harshness.</span>`);
+				case "anchorBaby":
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The screaming breeder is flogged on the promenade before being dragged bleeding and broken out of the arcology sans ${his} children; they are destined for the slave orphanage. The public <span class="green">approves of this harshness.</span>`);
+				case "businesswoman":
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting bitch is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="green">approves of this harshness.</span>`);
+				case "mule" "rapist" "whore":
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="green">approves of this harshness.</span>`);
+				case "passfail":
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that ${_realRace} scum won't steal their livelihoods. The protesting malefactor is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="green">approves of this harshness.</span>`);
+				case "liberator":
+					r.push(`An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. The protesting bitch is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="green">approves of this harshness.</span>`);
+			}
+			repX(500, "event", _slave);
+
+			App.Events.addParagraph(frag, r);
+			return frag;
+		}
+		function ownerFlog() {
+			const frag = document.createDocumentFragment();
+			r = [];
+			r.push(`An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. ${He} is stripped and the slaveowner whose property ${he} tried to free is handed the leathern instrument. It seems the escapee was a favorite he does not wish to mangle, so he flogs the criminal mercilessly instead. ${He} is flung out of the arcology, nearly dead. The public <span class="green">approves of this harshness,</span> and small slaveholders are <span class="green">encouraged to do business with your arcology</span> after word of the incident gets around.`);
+			repX(500, "event", _slave);
+			V.arcologies[0].prosperity += 10;
+			App.Events.addParagraph(frag, r);
+			return frag;
+		}
+
+		function sell() {
+			const frag = document.createDocumentFragment();
+			r = [];
+			cashX(_slaveCost, "slaveTransfer");
+			if (V.cash4Babies === 1 && malefactor === "anchorBaby") {
+				cashX(random(20, 30), "slaveTransfer");
+			}
+			<< replace "#result" >>
+				switch (malefactor) {
+				case "addict":
+					r.push(`You complete the legalities and biometric scanning quickly and without fuss. The condemned recovers enough by the end of the process to start masturbating weakly, even as ${he} begins begging for a fix. Then it's off to slave markets for sale.`);
+				case "escapee":
+					r.push(`You complete the legalities and biometric scanning quickly and without fuss. ${He} remains limp throughout the process, only recovering enough to barely grasp the situation as ${he} is enslaved and heading to the slave markets.`);
+				case "orphanloli":
+					r.push(`You complete the legalities and biometric scanning quickly and without fuss. ${He} sobs throughout the process, though stops once ${he} realizes being a slave means free food. ${He} starts crying again once ${he} realizes ${he} is heading for the slave markets.`);
+				case "anchorBaby":
+					r.push(`You complete the legalities and biometric scanning quickly and without fuss. The condemned sobs and begs throughout the process until you grow tired of the whining and apply punishment. Then it's off to slave markets for sale. ${His} children `);
+					if (V.cash4Babies === 1) {
+						r.push(`head off to be sold as well`);
+					} else {
+						r.push(`will be sent to a slave orphanage for future sale`);
+					}
+					r.push(`.`);
+				case "businesswoman":
+				case "mule":
+				case "passfail":
+				case "rapist":
+				case "whore":
+					r.push(`You complete the legalities and biometric scanning quickly and without fuss. The condemned sobs and begs throughout the process until you grow tired of the whining and apply punishment. Then it's off to slave markets for sale.`);
+				case "liberator":
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. Though the would-be liberator is of course restrained, disarmed, and still sedated, ${he} could awake at any time. Based on the drone logs, ${he} is likely to be violent when ${he} does. You make sure that ${he} isn't going to get loose as ${he} is sent off to the slave market; the public would not be pleased if ${he} went on another rampage.`);
+			}
+
+			App.Events.addParagraph(frag, r);
+			return frag;
+		}
+
+	}
+};
diff --git a/src/uncategorized/randomNonindividualEvent.tw b/src/uncategorized/randomNonindividualEvent.tw
index 0094702861d..854e7a4ba95 100644
--- a/src/uncategorized/randomNonindividualEvent.tw
+++ b/src/uncategorized/randomNonindividualEvent.tw
@@ -379,37 +379,6 @@
 		<</if>>
 	<</if>>
 
-	<<if $arcologyUpgrade.drones == 1>>
-		<<set _recruitEvents.push("RE malefactor")>>
-		<<set $malefactor = ["addict", "whore"]>>
-		<<if $seeDicks != 100>>
-			<<set $malefactor.push("businesswoman")>>
-			<<set $malefactor.push("liberator")>>
-			<<if $seePreg != 0>>
-				<<set $malefactor.push("anchorBaby")>>
-				<<if $arcologies[0].FSRepopulationFocus < 50>>
-					<<set $malefactor.push("mule")>> /* blends right in */
-				<</if>>
-			<</if>>
-		<</if>>
-		<<if $seeDicks != 0>>
-			<<set $malefactor.push("rapist")>>
-		<</if>>
-		<<if $minimumSlaveAge <= 12>>
-			<<set $malefactor.push("orphanloli")>>
-		<</if>>
-		<<if $arcologies[0].FSPaternalist < 50>>
-			<<set $malefactor.push("escapee")>>
-		<</if>>
-		<<if $arcologies[0].FSSupremacistLawME + $arcologies[0].FSSubjugationistLawME > 0>>
-			<<set $malefactor.push("passfail")>>
-		<</if>>
-		<<set $malefactor = $malefactor.random()>>
-		<<if ($rep/150) > (random(1,100) || _oneIfDebug)>>
-			<<set _recruitEvents.push("RE malefactor")>>
-		<</if>>
-	<</if>>
-
 	<<if ($rep/400) > (random(1,100) || _oneIfDebug)>>
 		<<set $RecETSevent.push("addict mother daughter")>>
 	<</if>>
-- 
GitLab


From 7e1b7ac5af8714996fcd09e0fea4e6d8aaeb3e7f Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 26 May 2021 22:30:20 -0400
Subject: [PATCH 02/13] fix

---
 src/events/RE/reMalefactor.js | 251 ++++++++++++++++++++++------------
 1 file changed, 163 insertions(+), 88 deletions(-)

diff --git a/src/events/RE/reMalefactor.js b/src/events/RE/reMalefactor.js
index 4376a466c09..c887f6b58c0 100644
--- a/src/events/RE/reMalefactor.js
+++ b/src/events/RE/reMalefactor.js
@@ -17,46 +17,46 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 	}
 
 	get weight() {
-		return (V.rep / 150) > (random(1, 100)) ? 2 : 1 // Chance to have doubled odds. 
+		return (V.rep / 150) > (random(1, 100)) ? 2 : 1; // Chance to have doubled odds.
 	}
 
 	execute(node) {
 		let r = [];
-		/**@type {FC.Race} */
+		/** @type {FC.Race} */
 		let _fakeRace;
-		/**@type {FC.Race} */
+		/** @type {FC.Race} */
 		let _realRace;
 		let malefactor;
-		V.nextButton = "Continue", V.nextLink = "RIE Eligibility Check", V.returnTo = "RIE Eligibility Check", V.encyclopedia = "Free Cities Justice";
-
-
-
-
-			const malefactorArray = ["addict", "whore"];
-			if (V.seeDicks !== 100) {
-				malefactorArray.push("businesswoman");
-				malefactorArray.push("liberator");
-				if (V.seePreg !== 0) {
-					malefactorArray.push("anchorBaby");
-					if (V.arcologies[0].FSRepopulationFocus < 50) {
-						malefactorArray.push("mule");
-						r.push(` /* blends right in */`);
-					}
+		V.nextButton = "Continue";
+		V.nextLink = "RIE Eligibility Check";
+		V.returnTo = "RIE Eligibility Check";
+		V.encyclopedia = "Free Cities Justice";
+
+		const malefactorArray = ["addict", "whore"];
+		if (V.seeDicks !== 100) {
+			malefactorArray.push("businesswoman");
+			malefactorArray.push("liberator");
+			if (V.seePreg !== 0) {
+				malefactorArray.push("anchorBaby");
+				if (V.arcologies[0].FSRepopulationFocus < 50) {
+					malefactorArray.push("mule");
+					r.push(` /* blends right in */`);
 				}
 			}
-			if (V.seeDicks !== 0) {
-				malefactorArray.push("rapist");
-			}
-			if (V.minimumSlaveAge <= 12) {
-				malefactorArray.push("orphanloli");
-			}
-			if (V.arcologies[0].FSPaternalist < 50) {
-				malefactorArray.push("escapee");
-			}
-			if (V.arcologies[0].FSSupremacistLawME + V.arcologies[0].FSSubjugationistLawME > 0) {
-				malefactorArray.push("passfail");
-			}
-			malefactor = malefactorArray.random();
+		}
+		if (V.seeDicks !== 0) {
+			malefactorArray.push("rapist");
+		}
+		if (V.minimumSlaveAge <= 12) {
+			malefactorArray.push("orphanloli");
+		}
+		if (V.arcologies[0].FSPaternalist < 50) {
+			malefactorArray.push("escapee");
+		}
+		if (V.arcologies[0].FSSupremacistLawME + V.arcologies[0].FSSubjugationistLawME > 0) {
+			malefactorArray.push("passfail");
+		}
+		malefactor = malefactorArray.random();
 
 		let _slave;
 		let _pram;
@@ -88,8 +88,9 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				_slave.nipplesPiercing = 1;
 				_slave.clitPiercing = 1;
 				_slave.behavioralFlaw = "odd";
+				break;
 			case "escapee":
-				_slave = GenerateNewSlave(null, { disableDisability: 1 });
+				_slave = GenerateNewSlave(null, {disableDisability: 1});
 				_slave.origin = "You sentenced ${him} to enslavement as a punishment for suspected escapism.";
 				_slave.devotion = random(-75, -60);
 				_slave.trust = random(-15, 0);
@@ -115,8 +116,9 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				_slave.skill.whoring = 0;
 				_slave.sexualFlaw = "hates penetration";
 				_slave.behavioralFlaw = "odd";
+				break;
 			case "anchorBaby":
-				_slave = GenerateNewSlave("XX", { disableDisability: 1, minAge: V.fertilityAge, maxAge: 42 });
+				_slave = GenerateNewSlave("XX", {disableDisability: 1, minAge: V.fertilityAge, maxAge: 42});
 				_slave.origin = "You sentenced ${him} to enslavement as a punishment for smuggling slaves within ${his} body.";
 				_slave.career = App.Data.Careers.General.uneducated.random();
 				_slave.devotion = random(-75, -50);
@@ -132,7 +134,8 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				if (_slave.vagina < 2) {
 					_slave.vagina += 3;
 				}
-				_slave.bellySag = 3, _slave.bellySagPreg = 3;
+				_slave.bellySag = 3;
+				_slave.bellySagPreg = 3;
 				_slave.preg = 0;
 				_slave.pregWeek = -4;
 				_slave.counter.birthsTotal = 2;
@@ -142,8 +145,9 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				_slave.skill.anal = 15;
 				_slave.sexualFlaw = "crude";
 				_slave.behavioralFlaw = "bitchy";
+				break;
 			case "orphanloli":
-				_slave = GenerateNewSlave(null, { minAge: V.minimumSlaveAge, maxAge: 12, disableDisability: 1 });
+				_slave = GenerateNewSlave(null, {minAge: V.minimumSlaveAge, maxAge: 12, disableDisability: 1});
 				_slave.origin = "You sentenced ${him} to enslavement as a punishment for suspected escapism.";
 				_slave.career = "an orphan";
 				_slave.devotion = random(-15, 0);
@@ -170,8 +174,11 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				_slave.skill.whoring = 0;
 				_slave.sexualFlaw = "apathetic";
 				_slave.behavioralFlaw = "gluttonous";
+				break;
 			case "businesswoman":
-				_slave = GenerateNewSlave("XX", { disableDisability: 1, minAge: 35, maxAge: 45, race: "nonslave" });
+				_slave = GenerateNewSlave("XX", {
+					disableDisability: 1, minAge: 35, maxAge: 45, race: "nonslave"
+				});
 				_slave.origin = "You sentenced ${him} to enslavement as a punishment for fraud and theft.";
 				_slave.career = "a criminal businesswoman";
 				_slave.devotion = random(-75, -60);
@@ -192,8 +199,9 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				_slave.behavioralFlaw = "arrogant";
 				_slave.hStyle = "fashionable for a Free Cities businesswoman, up in a tight bun";
 				_slave.custom.tattoo = "$He has a pretty floral tattoo along $his collarbone.";
+				break;
 			case "whore":
-				_slave = GenerateNewSlave(null, { disableDisability: 1, race: "nonslave" });
+				_slave = GenerateNewSlave(null, {disableDisability: 1, race: "nonslave"});
 				_slave.origin = "You sentenced ${him} to enslavement as a punishment for theft and battery.";
 				_slave.career = "a prostitute";
 				_slave.devotion = random(-75, -60);
@@ -227,8 +235,9 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				_slave.sexualFlaw = "hates penetration";
 				_slave.hStyle = "strip";
 				_slave.custom.tattoo = "${He} has a teardrop tattooed under each eye.";
+				break;
 			case "rapist":
-				_slave = GenerateNewSlave("XY", { disableDisability: 1, minAge: 16, race: "nonslave" });
+				_slave = GenerateNewSlave("XY", {disableDisability: 1, minAge: 16, race: "nonslave"});
 				_slave.origin = "You sentenced ${him} to enslavement as a punishment for the rape of a free woman.";
 				_slave.devotion = random(-75, -60);
 				_slave.trust = random(-15, 0);
@@ -238,10 +247,12 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				_slave.balls = random(2, 4);
 				_slave.skill.oral = 0;
 				_slave.skill.anal = 0;
-				_slave.behavioralFlaw = "arrogant"; 
-				_slave.sexualFlaw = "hates men";//TODO: Fixme: "hates men" is actually a behavior flaw, which is already set.
+				_slave.behavioralFlaw = "arrogant";
+				_slave.sexualFlaw = "hates men";// TODO: Fixme: "hates men" is actually a behavior flaw, which is already set.
+				break;
 			case "mule":
-				_pram = { disableDisability: 1, minAge: 13, race: "nonslave" };
+				_pram = new GenerateNewSlavePram;
+				Object.assign(_pram, {disableDisability: 1, minAge: 13, race: "nonslave"});
 				if (V.pedo_mode === 0) {
 					_pram.maxAge = 26;
 				}
@@ -265,10 +276,11 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				_slave.boobShape = "perky";
 				setHealth(_slave, jsRandom(-20, 10), undefined, undefined, undefined, 40);
 				_slave.sexualFlaw = "hates penetration";
-				_slave.behavioralFlaw = "shamefast";
+				_slave.behavioralFlaw = "shamefast"; // TODO: fixme
 				_slave.accent = 0;
+				break;
 			case "liberator":
-				_slave = GenerateNewSlave("XX", { disableDisability: 1, minAge: random(12, 28), maxAge: 43 });
+				_slave = GenerateNewSlave("XX", {disableDisability: 1, minAge: random(12, 28), maxAge: 43});
 				_slave.origin = "You sentenced ${him} to enslavement as a punishment for attempted theft of a slave.";
 				_slave.career = "an antislavery activist";
 				_slave.devotion = random(-75, -60);
@@ -285,9 +297,10 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				_slave.anus = 0;
 				setHealth(_slave, jsRandom(60, 80), undefined, undefined, 0, 10);
 				_slave.behavioralFlaw = "arrogant";
-				_slave.sexualFlaw = "hates men";
+				_slave.sexualFlaw = "hates men";// TODO: fixme
 				_slave.hStyle = "shaved into a mohawk";
-				_slave.custom.tattoo = "${He} seems to have had slave tattoos at one time, but has had them cheaply removed.";
+				_slave.custom.tattoo = "$He seems to have had slave tattoos at one time, but has had them cheaply removed.";
+				break;
 			case "passfail":
 				_pram = new GenerateNewSlavePram;
 				_pram.disableDisability = 1;
@@ -317,14 +330,19 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				_slave.skin = randomRaceSkin(_fakeRace);
 				setEyeColor(_slave, randomRaceEye(_fakeRace));
 				_slave.hColor = randomRaceHair(_fakeRace);
-				_slave.override_Race = 1, _slave.override_Skin = 1, _slave.override_H_Color = 1, _slave.override_Eye_Color = 1;
+				_slave.override_Race = 1;
+				_slave.override_Skin = 1;
+				_slave.override_H_Color = 1;
+				_slave.override_Eye_Color = 1;
+				break;
 		}
 
 		const {
-			He, he, his, him, girl
+			He, His,
+			he, his, him, himself, girl, woman
 		} = getPronouns(_slave);
 
-
+		const {hisU} = getNonlocalPronouns(V.seeDicks).appendSuffix("U");
 		r.push(`${capFirstChar(V.assistant.name)} alerts you that a `);
 		if (malefactor === "mule") {
 			r.push(`potential `);
@@ -336,15 +354,17 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 
 		switch (malefactor) {
 			case "addict":
-				r.push(`Criminals are usually either too angry, too ignorant, or too stupid to understand the impossibility of successful petty crime. This is the latter situation; a ${girl} suffering severe aphrodisiac withdrawal has attempted to break into a store that sells the stuff. ${He}'s now lying `);
+				r.push(`Criminals are usually either too angry, too ignorant, or too stupid to understand the impossibility of successful petty crime. This is the latter situation; a ${girl} suffering severe aphrodisiac withdrawal has attempted to break into a store that sells the stuff. ${He}'s now lying`);
 				if (V.seePee === 1) {
 					r.push(`in a pool of ${his} own urine`);
 				} else {
 					r.push(`face-down on the pavement`);
 				}
 				r.push(`with a taser round stuck in ${his} ass; the drone responsible is hovering helpfully nearby, hitting ${him} with another shock whenever ${he} does more than twitch.`);
+				break;
 			case "escapee":
 				r.push(`This is a simple case of vagrancy; sleeping on the streets (due to penury rather than inebriation) breaks an implicit contract all visitors to the arcology sign by coming here. The criminal is anything but usual, however. ${He} bears signs of extreme hormone manipulation over a long period, and has had ${his} Achilles tendons clipped. Camera records show ${him} crawling in with a cargo shipment. ${He}'s clad in rags, and you cannot find any record of ${him} anywhere. The growing crowd is convinced ${he}'s an escaped slave, and is growing ugly.`);
+				break;
 			case "anchorBaby":
 				r.push(`This is likely another case of attempted escape by a slave or potentially a smuggling operation. The cause of detection is a steady stream of moaning emanating from a cargo container recently deposited into the arcology's cargo depot and has attracted a crowd of curious onlookers. Video feeds show the container being open and a heavily pregnant `);
 				if (_slave.physicalAge > 30) {
@@ -356,15 +376,20 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				} else {
 					r.push(`little ${girl}`);
 				}
-				r.push(` staggering out while clutching a newborn to ${his} breast and struggling to hold back ${his} second child from being born. From what little language ${he} knows, ${he} seems to think that just giving birth in your arcology is enough to become a proper citizen; as expected, ${he} squats and pushes out the other brat as you arrive. The growing crowd is becoming unruly, and ${his} inability to speak the language isn't helping; things could get ugly at any moment and hinge entirely on your next move.`);
+				r.push(`staggering out while clutching a newborn to ${his} breast and struggling to hold back ${his} second child from being born. From what little language ${he} knows, ${he} seems to think that just giving birth in your arcology is enough to become a proper citizen; as expected, ${he} squats and pushes out the other brat as you arrive. The growing crowd is becoming unruly, and ${his} inability to speak the language isn't helping; things could get ugly at any moment and hinge entirely on your next move.`);
+				break;
 			case "orphanloli":
 				r.push(`This is a simple case of vagrancy; sleeping on the streets (due to penury rather than inebriation) breaks an implicit contract all visitors to the arcology sign by coming here. Several reports of petty theft were made in the area recently as well. The criminal is anything but usual, however. ${He} is very young, emaciated, and desperate. Camera records show ${him} crawling in through an air vent. ${He}'s clad in rags, clutching a presumably stolen apple, and you cannot find any record of ${him} anywhere. The growing crowd is convinced ${he}'s an escaped slave, and ${his} inability to speak the language isn't helping; things could get ugly at any moment and hinge entirely on your next move.`);
+				break;
 			case "businesswoman":
 				r.push(`Nevertheless, it seems one of your tenants, a hitherto well-respected business${woman}, has left the straight and narrow. It seems ${his} business affairs took a decisive turn for the worse, so ${he} attempted to drain ${his} clients' funds and leave your arcology before anyone was the wiser. Unfortunately for ${him}, your security drones, controlled by ${V.assistant.name}, were very much the wiser. ${capFirstChar(V.assistant.name)} has with machine efficiency compiled the completest proofs of corporate malfeasance you have ever seen. Your wretched tenant signed a contract with you that included provisions forbidding theft. ${He} is entirely at your mercy.`);
+				break;
 			case "whore":
 				r.push(`Nevertheless, it seems one of your tenants, a free whore, has been systematically stealing from clients. ${He} was furtive enough to get away with it for a time, but has now been caught red-handed. The john who caught ${him} attempted to stop ${him}, and ${he} fought him. Like many prostitutes ${he} carried a weapon in ${his} handbag, and the man is severely wounded. ${capFirstChar(V.assistant.name)} has with machine efficiency compiled a staggering dossier of video logs and personal testimony from previous customers who now understand where their personal belongings went, as well as appalling footage of today's victim's injuries. Your wretched tenant signed a contract with you that included provisions forbidding this kind of thing. ${He} is entirely at your mercy.`);
+				break;
 			case "rapist":
 				r.push(`Nevertheless, it seems one of your tenants saw fit to rape a free woman. Within ten minutes, the inhuman efficiency of ${V.assistant.name} has compiled video recordings, physical evidence, and even the victim's testimony, which is quite consistent with the first two. Your wretched tenant signed a contract with you that included provisions forbidding this kind of thing. ${He} is entirely at your mercy.`);
+				break;
 			case "mule":
 				r.push(`However some individuals still make attempts to fool them. In this case, the cameras are fixed on a clearly pregnant, and hugely at that, ${woman} as ${he} works ${his} way through the crowded market sectors. You watch as ${he} repeatedly bumps into other patrons and stalls, pausing to apologize before proceeding on ${his} way, as if ${he} wasn't familiar with ${his} gravid swell. ${His} body is also clearly underdeveloped for someone ready to drop quadruplets at any moment; thin, with barely any hips to speak of and a pert bust clearly not swollen with milk. ${He} even walks like a ${woman} not burdened with nine months of gestating multiples, let alone a single. As ${he} stumbles under ${his} own weight, ${his} shirt rides up, giving you a clear view of the deep red stretch marks of a belly that grew far faster than it could handle. You've seen enough and order the drones to corral ${him} until security arrives. ${His} expression shifts from fear as they encircle ${him} to panic as a groan escapes ${his} lips. ${He} grabs ${his} stomach as a capsule falls to the floor. As another contraction hits ${him}, ${he} drops to the ground and begins to "give birth" to ${his} illegal cargo.`);
 				if (V.bellyImplants === 1) {
@@ -379,66 +404,61 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 					r.push(` that ${he} likely has installed.`);
 				}
 				r.push(`${He} is easily taken into custody and ${his} contraband confiscated once the jeering crowd is dispersed enough to reach ${him}.`);
+				break;
 			case "liberator":
-				const { hisU, himselfU, heU } = getNonlocalPronouns(V.seeDicks).appendSuffix("U");
 				r.push(`but this is a special case. A well-muscled, well-armed ${woman} was caught attempting to smuggle a slave owned by one of your tenants out of the arcology. Though the slave surrendered immediately (and will be dealt with by ${hisU} owner), the would-be liberatrix was caught by your security drones. ${He} destroyed two of them and caused <span class="red">other minor damage</span>`);
 				cashX(forceNeg(1000), "event", _slave);
 				r.push(` that will require a small sum to repair, but was eventually subdued. The drones had to expend a great deal of nonlethal ordnance to bring ${him} down and keep ${him} down, but ${he} is now entirely at your mercy.`);
+				break;
 			case "passfail":
 				r.push(`Nevertheless, it seems one of your tenants, a rather ordinary white collar worker, has been severely wounded in a freak industrial accident, to the point that a blood transfusion was needed. In the course of doing so, an arcology hospital's autosurgery noted several genetic discrepancies and alerted a few nearby drones. Simply put, while the ${woman} appears to be a normal${_fakeRace} ${woman}, this is the result of numerous cosmetic surgeries; ${he} is actually _realRace. The laws of your arcology hold that members of the _realRace race are fit only for slavery, quite unlike the superior _fakeRace people. That a _realRace ${girl} would gain a position of relatively high class and power through such deception and fraud is considered an outrage by many of your citizens, and so ${he} was placed under arrest before ${he} even awoke from surgery. ${He} is now entirely at your mercy.`);
 		}
 
 		const _ContractCost = 1000;
-		let _slaveCost = slaveCost(_slave);
-		_slaveCost -= 1000;
+		const _slaveCost = slaveCost(_slave) - 1000;
+		App.Events.addParagraph(node, r);
 
-		//<br><br>//Applying enslavement as punishment will cost 
-		V.cashFormat(_ContractCost)
-		r.push(`. Doing so and then selling ${him} immediately will bring in approximately `);
-		V.cashFormat(_slaveCost)
-		r.push(`.//`);
-		//<br><br> 
-		r.push(App.Desc.longSlave(_slave, { market: "generic" }));
+		App.UI.DOM.appendNewElement("p", node, `Applying enslavement as punishment will cost ${cashFormat(_ContractCost)}. Doing so and then selling ${him} immediately will bring in approximately ${cashFormat(_slaveCost)}.`, "note");
 
+		node.append(App.Desc.longSlave(_slave, {market: "generic"}));
 
-		App.Events.addParagraph(node, r);
 		const choices = [];
 		if (V.cash >= _ContractCost) {
 			choices.push(
 				new App.Events.Result(`Enslave ${him}`, enslave),
 				new App.Events.Result(`Sentence ${him} to a day in the stocks, then enslave ${him}`, stocks),
-			)
+			);
 			if (V.arcade > 0) {
-				choices.push(new App.Events.Result(`Enslave ${him} and sentence ${him} to a month in the arcade`, arcade))
+				choices.push(new App.Events.Result(`Enslave ${him} and sentence ${him} to a month in the arcade`, arcade));
 			}
 			if (malefactor !== "mule") {
 				if (V.dairy > 0) {
 					if (V.dairyRestraintsSetting > 1) {
-						choices.push(new App.Events.Result(`Enslave ${him} and send ${him} straight to the industrial dairy`, dairy))
+						choices.push(new App.Events.Result(`Enslave ${him} and send ${him} straight to the industrial dairy`, dairy));
 					}
 				}
 			}
 			if (V.seeExtreme > 0) {
-				choices.push(new App.Events.Result(`Punitively amputate ${his} limbs, and then enslave ${him}`, amp))
+				choices.push(new App.Events.Result(`Punitively amputate ${his} limbs, and then enslave ${him}`, amp));
 				if (malefactor === "rapist" && _slave.balls > 0) {
-					choices.push(new App.Events.Result(`Enslave the criminal and geld ${him}`, geld))
+					choices.push(new App.Events.Result(`Enslave the criminal and geld ${him}`, geld));
 				}
 			}
 			if (malefactor === "orphanloli") {
-				choices.push(new App.Events.Result(`Adopt ${him}`, adopt))
+				choices.push(new App.Events.Result(`Adopt ${him}`, adopt));
 			}
 		} else {
-			choices.push(new App.Events.Result(null, null, `You lack the necessary funds to enslave ${him}.`))
+			choices.push(new App.Events.Result(null, null, `You lack the necessary funds to enslave ${him}.`));
 		}
 		if (malefactor === "anchorBaby") {
-			choices.push(new App.Events.Result(``, citizenship)) //TODO fix name
+			choices.push(new App.Events.Result(``, citizenship)); // TODO fix name
 		}
-		choices.push(new App.Events.Result(`Publicly flog the criminal`, flog))
+		choices.push(new App.Events.Result(`Publicly flog the criminal`, flog));
 		if (malefactor === "liberator") {
-			choices.push(new App.Events.Result(`Permit the slaveowner ${he} tried to steal from to flog ${him}`, ownerFlog))
+			choices.push(new App.Events.Result(`Permit the slaveowner ${he} tried to steal from to flog ${him}`, ownerFlog));
 		}
 
-		choices.push(new App.Events.Result(`Sell ${him} immediately`, sell))
+		choices.push(new App.Events.Result(`Sell ${him} immediately`, sell));
 
 		App.Events.addResponses(node, choices);
 
@@ -451,14 +471,23 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			switch (malefactor) {
 				case "addict":
 					r.push(`You complete the legalities and biometric scanning quickly and without fuss. The condemned recovers enough by the end of the process to start masturbating weakly, even as ${he} begins begging for a fix. Then it's off to the penthouse for basic slave induction.`);
+					break;
 				case "escapee":
 					r.push(`You complete the legalities and biometric scanning quickly and without fuss. ${He} remains limp throughout the process, only recovering enough to barely grasp the situation as ${he} is enslaved.`);
+					break;
 				case "orphanloli":
 					r.push(`You complete the legalities and biometric scanning quickly and without fuss. ${He} sobs throughout the process, though stops once ${he} realizes being a slave means free food.`);
+					break;
 				case "anchorBaby":
 					r.push(`You complete the legalities and biometric scanning quickly and without fuss. ${He} doesn't stop screaming "citizenship" until ${his} children are taken from ${him} and ${he} is shoved off to the penthouse for basic slave induction.`);
-				case "businesswoman" "mule" "passfail" "rapist" "whore":
+					break;
+				case "businesswoman":
+				case "mule":
+				case "passfail":
+				case "rapist":
+				case "whore":
 					r.push(`You complete the legalities and biometric scanning quickly and without fuss. The condemned sobs and begs throughout the process until you grow tired of the whining and apply punishment. Then it's off to the penthouse for basic slave induction.`);
+					break;
 				case "liberator":
 					r.push(`You complete the legalities and biometric scanning quickly and cautiously. Though the would-be liberator is of course restrained, disarmed, and still sedated, ${he} could awake at any time. Based on the drone logs, ${he} is likely to be violent when ${he} does.`);
 			}
@@ -497,55 +526,64 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 						r.push(` and <span class="lime">fucked-out</span> pussy`);
 					}
 					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					break;
 				case "escapee":
 					r.push(`You declare ${his} holes fair game for the entire arcology, so that all free citizens can own ${him} for a moment, if they wish. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
 					if (_slave.vagina > -1) {
 						r.push(` and <span class="lime">fucked-out</span> pussy`);
 					}
 					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					break;
 				case "orphanloli":
-					r.push(`You declare ${his} holes fair game for the entire arcology, so that all free citizens can own ${him} for a moment, if they wish. ${He} spends a torturous day in the stocks before being hauled in for enslavement, <span class="health.dec">completely broken</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
+					r.push(`You declare ${his} holes fair game for the entire arcology, so that all free citizens can own ${him} for a moment, if they wish. ${He} spends a torturous day in the stocks before being hauled in for enslavement, <span class="health dec">completely broken</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
 					if (_slave.vagina > -1) {
 						r.push(` and <span class="lime">fucked-out</span> pussy`);
 					}
 					r.push(`. The public <span class="green">enjoys the fun.</span>`);
 					_slave.fetish = "mindbroken";
+					break;
 				case "anchorBaby":
 					r.push(`You declare ${his} holes fair game for the entire arcology; since ${he} wants to produce future slaves, your arcology might as well have the privilege of fathering them. ${He} spends a torturous day in the stocks after ${his} children are taken to a slave orphanage before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
 					if (_slave.vagina > -1) {
 						r.push(` and <span class="lime">fucked-out</span> pussy`);
 					}
 					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					break;
 				case "businesswoman":
 					r.push(`You declare ${his} holes fair game for the entire arcology, in payment for ${his} crimes. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
 					if (_slave.vagina > -1) {
 						r.push(` and <span class="lime">fucked-out</span> pussy`);
 					}
 					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					break;
 				case "whore":
 					r.push(`You declare ${his} holes fair game for the entire arcology, to repay ${his} thefts. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
 					if (_slave.vagina > -1) {
 						r.push(` and <span class="lime">fucked-out</span> pussy`);
 					}
 					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					break;
 				case "rapist":
 					r.push(`You declare ${his} holes fair game for the entire arcology. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
 					if (_slave.vagina > -1) {
 						r.push(` and <span class="lime">fucked-out</span> pussy`);
 					}
 					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					break;
 				case "mule":
 					r.push(`You declare ${his} holes fair game for the entire arcology as punishment for trying to smuggle in a load instead of taking one. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
 					if (_slave.vagina > -1) {
 						r.push(` and <span class="lime">fucked-out</span> pussy`);
 					}
 					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					break;
 				case "liberator":
 					r.push(`Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. ${His} holes are thus fair game for the entire arcology. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
 					if (_slave.vagina > -1) {
 						r.push(` and <span class="lime">fucked-out</span> pussy`);
 					}
 					r.push(`. The public <span class="green">enjoys the fun,</span> and small slaveholders are <span class="green">encouraged to do business with your arcology</span> after word of the incident gets around.`);
+					break;
 				case "passfail":
 					r.push(`You declare ${his} holes fair game for the entire arcology; after all, ${he} did want to be around lots of ${_fakeRace} people, didn't ${he}? ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
 					if (_slave.vagina > -1) {
@@ -555,7 +593,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			}
 			repX(500, "event", _slave);
 			V.arcologies[0].prosperity += 2;
-			r.push(App.UI.newSlaveIntro(_slave))
+			r.push(App.UI.newSlaveIntro(_slave));
 
 
 			App.Events.addParagraph(frag, r);
@@ -574,13 +612,21 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			switch (malefactor) {
 				case "addict":
 					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned recovers enough by the end of the process to start masturbating weakly, even as ${he} begins begging for a fix. When ${he} learns ${he}'s headed to the arcade, ${he} actually relaxes a little, having heard the whores there get drugs. The public <span class="green">looks forward</span> to seeing ${him} there, especially the owner of the shop ${he} attempted to burglarize.`);
+					break;
 				case "escapee":
 				case "orphanloli":
 					r.push(`You complete the legalities and biometric scanning quickly, and tell the crowd that ${his} holes will be available at the arcade within the hour. The public <span class="green">looks forward</span> to seeing ${him} there, angrily suspecting ${him} of being an escapee and glad that they'll be able to take part in ${his} punishment.`);
+					break;
 				case "anchorBaby":
 					r.push(`You complete the legalities and biometric scanning quickly and have ${his} children taken away. The condemned screeches ${his} displeasure throughout the process until you grow tired of the whining and sedate ${him} for immurement in the arcade. The public <span class="green">looks forward</span> to seeing ${him} there and vying to see who gets to fill ${his} womb with another child.`);
-				case "businesswoman" "mule" "passfail" "rapist" "whore":
+					break;
+				case "businesswoman":
+				case "mule":
+				case "passfail":
+				case "rapist":
+				case "whore":
 					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned sobs and begs throughout the process until you grow tired of the whining and sedate ${him} for immurement in the arcade. The public <span class="green">looks forward</span> to seeing ${him} there and getting some of their own back.`);
+					break;
 				case "liberator":
 					r.push(`You complete the legalities and biometric scanning quickly and cautiously. Though the would-be liberator is of course restrained, disarmed, and still sedated, ${he} could awake at any time. It would be best to have ${him} restrained for public use in the arcade first. The public <span class="green">looks forward</span> to seeing ${him} there.`);
 			}
@@ -609,6 +655,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 						r.push(`breasts as they are roughly milked`);
 					}
 					r.push(`, together with a lengthy report on the experimental detox process used to ensure that the milk ${he} produces will be untainted.`);
+					break;
 				case "escapee":
 					r.push(`You complete the legalities and biometric scanning quickly. The condemned is too far gone to resist as ${he} is installed in ${V.dairyName}. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the escapee's `);
 					if (V.dairyStimulatorsSetting > 1) {
@@ -619,6 +666,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 						r.push(`breasts as they are roughly milked`);
 					}
 					r.push(`.`);
+					break;
 				case "orphanloli":
 					r.push(`You complete the legalities and biometric scanning quickly. The condemned is too weak to resist as ${he} is installed in ${V.dairyName} but ${he} weeps the entire time. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the escapee's `);
 					if (V.dairyStimulatorsSetting > 1) {
@@ -629,9 +677,10 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 						r.push(`budding breasts as they are roughly milked`);
 					}
 					r.push(`.`);
+					break;
 				case "anchorBaby":
 					r.push(`You complete the legalities and biometric scanning quickly and cautiously before having ${his} children taken away. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
-					if (V.dairyPregSetting > 1) && (_slave.vagina > 0) {
+					if (V.dairyPregSetting > 1 && _slave.vagina > 0) {
 						r.push(`discomfort as ${his} pussy adapts to industrial reproduction, along with a prospectus detailing the scheduled sale of ${his} next batch of slave product in eighteen years and nine months`);
 					} else if (V.dairyStimulatorsSetting > 1) {
 						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
@@ -639,9 +688,10 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 						r.push(`breasts as they are roughly milked`);
 					}
 					r.push(`.`);
+					break;
 				case "businesswoman":
 					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
-					if (V.dairyPregSetting > 1) && (_slave.vagina > 0) {
+					if (V.dairyPregSetting > 1 && _slave.vagina > 0) {
 						r.push(`discomfort as ${his} pussy adapts to industrial reproduction, along with a prospectus detailing the scheduled sale of ${his} first slave product in eighteen years and nine months`);
 					} else if (V.dairyStimulatorsSetting > 1) {
 						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
@@ -649,9 +699,10 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 						r.push(`breasts as they are roughly milked`);
 					}
 					r.push(`.`);
+					break;
 				case "whore":
 					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
-					if (V.dairyPregSetting > 1) && (_slave.vagina > 0) {
+					if (V.dairyPregSetting > 1 && _slave.vagina > 0) {
 						r.push(`discomfort as ${his} well-traveled pussy adapts to industrial reproduction`);
 					} else if (V.dairyStimulatorsSetting > 1) {
 						r.push(`discomfort as ${his} well-traveled anus adapts to accommodate rectal dildo hydration`);
@@ -659,6 +710,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 						r.push(`breasts as they are roughly milked`);
 					}
 					r.push(`.`);
+					break;
 				case "rapist":
 					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the rapist's `);
 					if (V.dairyStimulatorsSetting > 1) {
@@ -667,9 +719,10 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 						r.push(`newly growing breasts as they are roughly milked`);
 					}
 					r.push(`.`);
+					break;
 				case "liberator":
 					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
-					if (V.dairyPregSetting > 1) && (_slave.vagina > 0) {
+					if (V.dairyPregSetting > 1 && _slave.vagina > 0) {
 						r.push(`discomfort as ${his} pussy adapts to industrial reproduction`);
 					} else if (V.dairyStimulatorsSetting > 1) {
 						r.push(`discomfort as ${his} anus adapts to accommodate rectal dildo hydration`);
@@ -677,9 +730,10 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 						r.push(`breasts as they are roughly milked`);
 					}
 					r.push(`, together with a report on the likely productivity of such a fit body capable of withstanding the stress of high throughput.`);
+					break;
 				case "passfail":
 					r.push(`You complete the legalities and biometric scanning quickly. The condemned is too weak to resist as ${he} is installed in ${V.dairyName} but ${he} weeps the entire time. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
-					if (V.dairyPregSetting > 1) && (_slave.vagina > 0) {
+					if (V.dairyPregSetting > 1 && _slave.vagina > 0) {
 						r.push(`discomfort as ${his} pussy adapts to industrial reproduction`);
 					} else if (V.dairyStimulatorsSetting > 1) {
 						r.push(`discomfort as ${his} anus adapts to accommodate rectal dildo hydration`);
@@ -707,27 +761,36 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			switch (malefactor) {
 				case "addict":
 					r.push(`An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs for a fix until ${he} realizes what's coming, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness.</span>`);
+					break;
 				case "escapee":
 					r.push(`An example must be made. If ${he} escaped once with ${his} tendons clipped, ${he} must be rather talented at it. It remains to be seen if ${he} can manage to escape with neither arms nor legs, so you announce ${his} sentence to the crowd and send ${his} unconscious form for reduction. Of course, <span class="health.dec">${his} health is affected.</span> The public <span class="green">approves of this harshness,</span> believing that you have taken strong measures against escapees.`);
+					break;
 				case "orphanloli":
 					r.push(`An example must be made. If ${he} thinks ${he} can escape captivity and steal to survive, let's see ${him} try without arms and legs, so you announce ${his} sentence to the crowd and send ${his} unconscious form for reduction. Of course, <span class="health.dec">${his} health is affected.</span> The public <span class="green">approves of this harshness,</span> believing that you have taken strong measures against escapees.`);
+					break;
 				case "anchorBaby":
 					r.push(`An example must be made. Potential immigrants must understand that attempting to circumvent the process will result in severe fines and proportional punishment when they are incapable of paying them. The protesting mother is stripped, both of clothing and children, and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since ${he} can hardly attempt to smuggle things into your arcology without the ability to move.`);
+					break;
 				case "businesswoman":
 					r.push(`An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness.</span>`);
+					break;
 				case "whore":
 					r.push(`An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since ${he} can hardly attempt to steal anything without hands.`);
+					break;
 				case "rapist":
 					r.push(`An example must be made. Rape is rare in your arcology, since citizens are so generously provided with means of sexual outlet. When the price of renting a slave that's impossible to rape is as low as it is, sexual assault of a free woman is doubly unforgivable. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since even if ${he} cheers up and ever manages an erection again, ${he}'s not likely to rape anyone without arms or legs.`);
+					break;
 				case "mule":
 					r.push(`An example must be made. With the quantity of drugs consumed in the arcology, quality is everything and attempting to undermine that is unforgivable. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since ${he} can hardly haul contraband into your arcology without the ability to move ${himself}.`);
+					break;
 				case "liberator":
 					r.push(`An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since ${he} will scarcely be able to liberate anyone without arms or legs.`);
+					break;
 				case "passfail":
 					r.push(`An example must be made. The citizens of your arcology must be assured that the racially inferior will not try to rise above their station, no matter their deceptions. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness.</span>`);
 			}
 			repX(500, "event", _slave);
-			r.push(App.UI.newSlaveIntro(_slave))
+			r.push(App.UI.newSlaveIntro(_slave));
 
 
 			App.Events.addParagraph(frag, r);
@@ -818,18 +881,27 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			switch (malefactor) {
 				case "addict":
 					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The twitching, begging malefactor is stripped and flogged on the promenade before being escorted bleeding, and still twitching from withdrawal, out of the arcology. The public <span class="green">approves of this harshness.</span>`);
+					break;
 				case "escapee":
 					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The begging malefactor is flogged on the promenade before being escorted bleeding and half-dead out of the arcology. The public <span class="green">approves of this harshness.</span>`);
+					break;
 				case "orphanloli":
 					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The crying ${girl} is flogged on the promenade before being dragged bleeding and broken out of the arcology. The public <span class="green">approves of this harshness.</span>`);
+					break;
 				case "anchorBaby":
 					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The screaming breeder is flogged on the promenade before being dragged bleeding and broken out of the arcology sans ${his} children; they are destined for the slave orphanage. The public <span class="green">approves of this harshness.</span>`);
+					break;
 				case "businesswoman":
 					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting bitch is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="green">approves of this harshness.</span>`);
-				case "mule" "rapist" "whore":
+					break;
+				case "mule":
+				case "rapist":
+				case "whore":
 					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="green">approves of this harshness.</span>`);
+					break;
 				case "passfail":
 					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that ${_realRace} scum won't steal their livelihoods. The protesting malefactor is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="green">approves of this harshness.</span>`);
+					break;
 				case "liberator":
 					r.push(`An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. The protesting bitch is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="green">approves of this harshness.</span>`);
 			}
@@ -852,31 +924,35 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			const frag = document.createDocumentFragment();
 			r = [];
 			cashX(_slaveCost, "slaveTransfer");
-			if (V.cash4Babies === 1 && malefactor === "anchorBaby") {
+			if (V.policies.cash4Babies === 1 && malefactor === "anchorBaby") {
 				cashX(random(20, 30), "slaveTransfer");
 			}
-			<< replace "#result" >>
-				switch (malefactor) {
+			switch (malefactor) {
 				case "addict":
 					r.push(`You complete the legalities and biometric scanning quickly and without fuss. The condemned recovers enough by the end of the process to start masturbating weakly, even as ${he} begins begging for a fix. Then it's off to slave markets for sale.`);
+					break;
 				case "escapee":
 					r.push(`You complete the legalities and biometric scanning quickly and without fuss. ${He} remains limp throughout the process, only recovering enough to barely grasp the situation as ${he} is enslaved and heading to the slave markets.`);
+					break;
 				case "orphanloli":
 					r.push(`You complete the legalities and biometric scanning quickly and without fuss. ${He} sobs throughout the process, though stops once ${he} realizes being a slave means free food. ${He} starts crying again once ${he} realizes ${he} is heading for the slave markets.`);
+					break;
 				case "anchorBaby":
 					r.push(`You complete the legalities and biometric scanning quickly and without fuss. The condemned sobs and begs throughout the process until you grow tired of the whining and apply punishment. Then it's off to slave markets for sale. ${His} children `);
-					if (V.cash4Babies === 1) {
+					if (V.policies.cash4Babies === 1) {
 						r.push(`head off to be sold as well`);
 					} else {
 						r.push(`will be sent to a slave orphanage for future sale`);
 					}
 					r.push(`.`);
+					break;
 				case "businesswoman":
 				case "mule":
 				case "passfail":
 				case "rapist":
 				case "whore":
 					r.push(`You complete the legalities and biometric scanning quickly and without fuss. The condemned sobs and begs throughout the process until you grow tired of the whining and apply punishment. Then it's off to slave markets for sale.`);
+					break;
 				case "liberator":
 					r.push(`You complete the legalities and biometric scanning quickly and cautiously. Though the would-be liberator is of course restrained, disarmed, and still sedated, ${he} could awake at any time. Based on the drone logs, ${he} is likely to be violent when ${he} does. You make sure that ${he} isn't going to get loose as ${he} is sent off to the slave market; the public would not be pleased if ${he} went on another rampage.`);
 			}
@@ -884,6 +960,5 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			App.Events.addParagraph(frag, r);
 			return frag;
 		}
-
 	}
 };
-- 
GitLab


From a2314ca920379ce5a7ea99da2b09b715d1b01e14 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 26 May 2021 22:32:20 -0400
Subject: [PATCH 03/13] strip curlies

---
 src/events/RE/reMalefactor.js | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/events/RE/reMalefactor.js b/src/events/RE/reMalefactor.js
index c887f6b58c0..279c5f33fa1 100644
--- a/src/events/RE/reMalefactor.js
+++ b/src/events/RE/reMalefactor.js
@@ -91,7 +91,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				break;
 			case "escapee":
 				_slave = GenerateNewSlave(null, {disableDisability: 1});
-				_slave.origin = "You sentenced ${him} to enslavement as a punishment for suspected escapism.";
+				_slave.origin = "You sentenced $him to enslavement as a punishment for suspected escapism.";
 				_slave.devotion = random(-75, -60);
 				_slave.trust = random(-15, 0);
 				_slave.oldDevotion = _slave.devotion;
@@ -119,7 +119,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				break;
 			case "anchorBaby":
 				_slave = GenerateNewSlave("XX", {disableDisability: 1, minAge: V.fertilityAge, maxAge: 42});
-				_slave.origin = "You sentenced ${him} to enslavement as a punishment for smuggling slaves within ${his} body.";
+				_slave.origin = "You sentenced $him to enslavement as a punishment for smuggling slaves within $his body.";
 				_slave.career = App.Data.Careers.General.uneducated.random();
 				_slave.devotion = random(-75, -50);
 				_slave.trust = random(-75, -60);
@@ -148,7 +148,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				break;
 			case "orphanloli":
 				_slave = GenerateNewSlave(null, {minAge: V.minimumSlaveAge, maxAge: 12, disableDisability: 1});
-				_slave.origin = "You sentenced ${him} to enslavement as a punishment for suspected escapism.";
+				_slave.origin = "You sentenced $him to enslavement as a punishment for suspected escapism.";
 				_slave.career = "an orphan";
 				_slave.devotion = random(-15, 0);
 				_slave.trust = random(-75, -60);
@@ -179,7 +179,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				_slave = GenerateNewSlave("XX", {
 					disableDisability: 1, minAge: 35, maxAge: 45, race: "nonslave"
 				});
-				_slave.origin = "You sentenced ${him} to enslavement as a punishment for fraud and theft.";
+				_slave.origin = "You sentenced $him to enslavement as a punishment for fraud and theft.";
 				_slave.career = "a criminal businesswoman";
 				_slave.devotion = random(-75, -60);
 				_slave.trust = random(-15, 0);
@@ -202,7 +202,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				break;
 			case "whore":
 				_slave = GenerateNewSlave(null, {disableDisability: 1, race: "nonslave"});
-				_slave.origin = "You sentenced ${him} to enslavement as a punishment for theft and battery.";
+				_slave.origin = "You sentenced $him to enslavement as a punishment for theft and battery.";
 				_slave.career = "a prostitute";
 				_slave.devotion = random(-75, -60);
 				_slave.trust = random(-15, 0);
@@ -234,11 +234,11 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				_slave.clitPiercing = 1;
 				_slave.sexualFlaw = "hates penetration";
 				_slave.hStyle = "strip";
-				_slave.custom.tattoo = "${He} has a teardrop tattooed under each eye.";
+				_slave.custom.tattoo = "$He has a teardrop tattooed under each eye.";
 				break;
 			case "rapist":
 				_slave = GenerateNewSlave("XY", {disableDisability: 1, minAge: 16, race: "nonslave"});
-				_slave.origin = "You sentenced ${him} to enslavement as a punishment for the rape of a free woman.";
+				_slave.origin = "You sentenced $him to enslavement as a punishment for the rape of a free woman.";
 				_slave.devotion = random(-75, -60);
 				_slave.trust = random(-15, 0);
 				_slave.oldDevotion = _slave.devotion;
@@ -257,7 +257,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 					_pram.maxAge = 26;
 				}
 				_slave = GenerateNewSlave("XX", _pram);
-				_slave.origin = "You sentenced ${him} to enslavement for smuggling drugs into the arcology.";
+				_slave.origin = "You sentenced $him to enslavement for smuggling drugs into the arcology.";
 				_slave.career = "a drug mule";
 				_slave.devotion = random(-50, -20);
 				_slave.trust = random(-100, -75);
@@ -276,12 +276,12 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				_slave.boobShape = "perky";
 				setHealth(_slave, jsRandom(-20, 10), undefined, undefined, undefined, 40);
 				_slave.sexualFlaw = "hates penetration";
-				_slave.behavioralFlaw = "shamefast"; // TODO: fixme
+				_slave.behavioralFlaw = "shamefast"; // TODO: Fixme: "hates men" is actually a behavior flaw, which is already set.
 				_slave.accent = 0;
 				break;
 			case "liberator":
 				_slave = GenerateNewSlave("XX", {disableDisability: 1, minAge: random(12, 28), maxAge: 43});
-				_slave.origin = "You sentenced ${him} to enslavement as a punishment for attempted theft of a slave.";
+				_slave.origin = "You sentenced $him to enslavement as a punishment for attempted theft of a slave.";
 				_slave.career = "an antislavery activist";
 				_slave.devotion = random(-75, -60);
 				_slave.trust = random(-15, 0);
@@ -311,7 +311,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 					_pram.race = _races.random();
 				}
 				_slave = GenerateNewSlave(null, _pram);
-				_slave.origin = "You sentenced ${him} to enslavement as a punishment for defying local racial segregation laws.";
+				_slave.origin = "You sentenced $him to enslavement as a punishment for defying local racial segregation laws.";
 				_slave.career = App.Data.Careers.General.educated.random();
 				_slave.devotion = random(-75, -50);
 				_slave.trust = random(-75, -50);
@@ -822,7 +822,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 
 			_slave.devotion = 25;
 			_slave.trust = 25;
-			_slave.origin = "${He} was an orphan forced to live and steal on the streets until you adopted ${him}.";
+			_slave.origin = "$He was an orphan forced to live and steal on the streets until you adopted $him.";
 			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
 			r.push(`You sit down and talk to the exhausted ${girl}, handing ${him} a contract cleverly altered to resemble adoption papers. Once ${he} comprehends what ${he} is looking at, ${he} eagerly signs it. Only once ${he} has reached the penthouse and been introduced to the slave life does ${he} realize ${he} willingly signed away ${his} freedom. Though ${he} can't complain. A warm cot and plenty of food await, which to ${him} is a huge improvement over a slow death on the streets. The public`);
 			if (V.arcologies[0].FSPaternalist !== "unset") {
-- 
GitLab


From 607a04962d0fc3957e9c405b9aa3ad8552e49ae7 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 26 May 2021 22:54:04 -0400
Subject: [PATCH 04/13] fix debug event

---
 src/events/debugEvent.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/events/debugEvent.js b/src/events/debugEvent.js
index d8c3dce979a..1289e3e6bf5 100644
--- a/src/events/debugEvent.js
+++ b/src/events/debugEvent.js
@@ -27,10 +27,7 @@ App.Events.debugEvent = function(eventName) {
 	function makeActorList() {
 		const actors = document.createDocumentFragment();
 		const actorReqs = event.actorPrerequisites();
-
-		if (actorReqs.length === 1) {
-			actors.append(singleActorList(0));
-		} else {
+		if (actorReqs.length > 0) {
 			const tabBar = new App.UI.Tabs.TabBar("Options");
 			for (let i = 0; i < actorReqs.length; ++i) {
 				tabBar.addTab(`Actor ${i}: ${event.actors[i] ? SlaveFullName(getSlave(event.actors[i])) : 'not yet cast'}`, `actor${i}`, singleActorList(i));
-- 
GitLab


From 818de229e5d7bfdc94053a54d71c19fe67837475 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 26 May 2021 22:57:29 -0400
Subject: [PATCH 05/13] fixes

---
 src/events/RE/reMalefactor.js     | 966 ++++++++++++++----------------
 src/events/randomEvent.js         |   2 +
 src/uncategorized/reMalefactor.tw | 577 ------------------
 3 files changed, 456 insertions(+), 1089 deletions(-)
 delete mode 100644 src/uncategorized/reMalefactor.tw

diff --git a/src/events/RE/reMalefactor.js b/src/events/RE/reMalefactor.js
index 279c5f33fa1..f41f8fd5fd5 100644
--- a/src/events/RE/reMalefactor.js
+++ b/src/events/RE/reMalefactor.js
@@ -6,14 +6,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 	}
 
 	actorPrerequisites() {
-		const req = [
-
-		];
-
-		return [
-			req,
-			req,
-		];
+		return [];
 	}
 
 	get weight() {
@@ -23,9 +16,9 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 	execute(node) {
 		let r = [];
 		/** @type {FC.Race} */
-		let _fakeRace;
+		let fakeRace;
 		/** @type {FC.Race} */
-		let _realRace;
+		let realRace;
 		let malefactor;
 		V.nextButton = "Continue";
 		V.nextLink = "RIE Eligibility Check";
@@ -39,8 +32,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			if (V.seePreg !== 0) {
 				malefactorArray.push("anchorBaby");
 				if (V.arcologies[0].FSRepopulationFocus < 50) {
-					malefactorArray.push("mule");
-					r.push(` /* blends right in */`);
+					malefactorArray.push("mule");// blends right in
 				}
 			}
 		}
@@ -58,294 +50,19 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 		}
 		malefactor = malefactorArray.random();
 
-		let _slave;
-		let _pram;
-		switch (malefactor) {
-			case "addict":
-				_slave = GenerateNewSlave();
-				_slave.origin = "You sentenced $him to enslavement as a punishment for attempted burglary.";
-				_slave.career = "a criminal";
-				_slave.devotion = random(-75, -60);
-				_slave.trust = random(-15, 0);
-				_slave.oldDevotion = _slave.devotion;
-				setHealth(_slave, jsRandom(-40, -20));
-				_slave.addict = 30;
-				_slave.anus = 3;
-				if (_slave.dick === 0) {
-					_slave.balls = 0;
-					_slave.vagina = 2;
-					_slave.skill.vaginal = 15;
-				} else {
-					_slave.ovaries = 0;
-					_slave.clit = 0;
-					_slave.skill.vaginal = 0;
-				}
-				_slave.skill.oral = 15;
-				_slave.skill.anal = 35;
-				_slave.skill.whoring = 15;
-				_slave.earPiercing = 1;
-				_slave.nosePiercing = 1;
-				_slave.nipplesPiercing = 1;
-				_slave.clitPiercing = 1;
-				_slave.behavioralFlaw = "odd";
-				break;
-			case "escapee":
-				_slave = GenerateNewSlave(null, {disableDisability: 1});
-				_slave.origin = "You sentenced $him to enslavement as a punishment for suspected escapism.";
-				_slave.devotion = random(-75, -60);
-				_slave.trust = random(-15, 0);
-				_slave.oldDevotion = _slave.devotion;
-				setHealth(_slave, jsRandom(-80, -70), undefined, undefined, undefined, 70);
-				_slave.heels = 1;
-				_slave.boobs += 100 * random(12, 32);
-				_slave.butt += random(2, 4);
-				_slave.anus = 1;
-				if (_slave.dick === 0) {
-					_slave.balls = 0;
-					_slave.vagina = 2;
-					_slave.skill.vaginal = 15;
-				} else {
-					_slave.dick = random(4, 5);
-					_slave.balls = random(0, 2);
-					_slave.ovaries = 0;
-					_slave.clit = 0;
-					_slave.skill.vaginal = 0;
-				}
-				_slave.skill.oral = 0;
-				_slave.skill.anal = 0;
-				_slave.skill.whoring = 0;
-				_slave.sexualFlaw = "hates penetration";
-				_slave.behavioralFlaw = "odd";
-				break;
-			case "anchorBaby":
-				_slave = GenerateNewSlave("XX", {disableDisability: 1, minAge: V.fertilityAge, maxAge: 42});
-				_slave.origin = "You sentenced $him to enslavement as a punishment for smuggling slaves within $his body.";
-				_slave.career = App.Data.Careers.General.uneducated.random();
-				_slave.devotion = random(-75, -50);
-				_slave.trust = random(-75, -60);
-				_slave.oldDevotion = _slave.devotion;
-				setHealth(_slave, jsRandom(20, 40), undefined, undefined, undefined, 60);
-				_slave.weight = random(40, 80);
-				_slave.accent = 3;
-				_slave.boobs += 200;
-				_slave.lactation = 1;
-				_slave.lactationDuration = 2;
-				_slave.ovaries = 1;
-				if (_slave.vagina < 2) {
-					_slave.vagina += 3;
-				}
-				_slave.bellySag = 3;
-				_slave.bellySagPreg = 3;
-				_slave.preg = 0;
-				_slave.pregWeek = -4;
-				_slave.counter.birthsTotal = 2;
-				_slave.counter.births = 2;
-				_slave.skill.vaginal = 30;
-				_slave.skill.oral = 15;
-				_slave.skill.anal = 15;
-				_slave.sexualFlaw = "crude";
-				_slave.behavioralFlaw = "bitchy";
-				break;
-			case "orphanloli":
-				_slave = GenerateNewSlave(null, {minAge: V.minimumSlaveAge, maxAge: 12, disableDisability: 1});
-				_slave.origin = "You sentenced $him to enslavement as a punishment for suspected escapism.";
-				_slave.career = "an orphan";
-				_slave.devotion = random(-15, 0);
-				_slave.trust = random(-75, -60);
-				_slave.oldDevotion = _slave.devotion;
-				setHealth(_slave, jsRandom(-80, -70), undefined, undefined, undefined, 70);
-				_slave.weight = -100;
-				_slave.accent = 3;
-				_slave.boobs = 0;
-				_slave.butt = 0;
-				_slave.anus = 0;
-				if (_slave.dick === 0) {
-					_slave.balls = 0;
-					_slave.vagina = 0;
-				} else {
-					_slave.dick = random(1, 2);
-					_slave.balls = random(1, 2);
-					_slave.ovaries = 0;
-					_slave.clit = 0;
-				}
-				_slave.skill.vaginal = 0;
-				_slave.skill.oral = 0;
-				_slave.skill.anal = 0;
-				_slave.skill.whoring = 0;
-				_slave.sexualFlaw = "apathetic";
-				_slave.behavioralFlaw = "gluttonous";
-				break;
-			case "businesswoman":
-				_slave = GenerateNewSlave("XX", {
-					disableDisability: 1, minAge: 35, maxAge: 45, race: "nonslave"
-				});
-				_slave.origin = "You sentenced $him to enslavement as a punishment for fraud and theft.";
-				_slave.career = "a criminal businesswoman";
-				_slave.devotion = random(-75, -60);
-				_slave.trust = random(-15, 0);
-				_slave.oldDevotion = _slave.devotion;
-				_slave.vagina = 2;
-				_slave.preg = -1;
-				_slave.skill.vaginal = 15;
-				_slave.anus = 0;
-				_slave.boobs += 400;
-				_slave.boobsImplant = 400;
-				_slave.boobsImplantType = "normal";
-				_slave.butt += 2;
-				_slave.buttImplant = 2;
-				_slave.buttImplantType = "normal";
-				setHealth(_slave, jsRandom(20, 40), undefined, undefined, undefined, 10);
-				_slave.sexualFlaw = "hates oral";
-				_slave.behavioralFlaw = "arrogant";
-				_slave.hStyle = "fashionable for a Free Cities businesswoman, up in a tight bun";
-				_slave.custom.tattoo = "$He has a pretty floral tattoo along $his collarbone.";
-				break;
-			case "whore":
-				_slave = GenerateNewSlave(null, {disableDisability: 1, race: "nonslave"});
-				_slave.origin = "You sentenced $him to enslavement as a punishment for theft and battery.";
-				_slave.career = "a prostitute";
-				_slave.devotion = random(-75, -60);
-				_slave.trust = random(-15, 0);
-				_slave.oldDevotion = _slave.devotion;
-				setHealth(_slave, jsRandom(-40, -20));
-				_slave.anus = 2;
-				if (_slave.dick === 0) {
-					_slave.balls = 0;
-					_slave.vagina = 2;
-					_slave.skill.vaginal = 35;
-				}
-				_slave.skill.oral = 35;
-				_slave.skill.anal = 35;
-				_slave.skill.whoring = 35;
-				_slave.boobs += 400;
-				_slave.boobsImplant = 400;
-				_slave.boobsImplantType = "normal";
-				_slave.butt++;
-				_slave.buttImplant = 1;
-				_slave.buttImplantType = "normal";
-				_slave.lips += 10;
-				_slave.lipsImplant = 10;
-				_slave.lipsPiercing = 1;
-				_slave.tonguePiercing = 1;
-				_slave.earPiercing = 1;
-				_slave.nosePiercing = 1;
-				_slave.eyebrowPiercing = 1;
-				_slave.nipplesPiercing = 1;
-				_slave.clitPiercing = 1;
-				_slave.sexualFlaw = "hates penetration";
-				_slave.hStyle = "strip";
-				_slave.custom.tattoo = "$He has a teardrop tattooed under each eye.";
-				break;
-			case "rapist":
-				_slave = GenerateNewSlave("XY", {disableDisability: 1, minAge: 16, race: "nonslave"});
-				_slave.origin = "You sentenced $him to enslavement as a punishment for the rape of a free woman.";
-				_slave.devotion = random(-75, -60);
-				_slave.trust = random(-15, 0);
-				_slave.oldDevotion = _slave.devotion;
-				setHealth(_slave, jsRandom(0, 20), undefined, undefined, 0, 5);
-				_slave.anus = 0;
-				_slave.balls = random(2, 4);
-				_slave.skill.oral = 0;
-				_slave.skill.anal = 0;
-				_slave.behavioralFlaw = "arrogant";
-				_slave.sexualFlaw = "hates men";// TODO: Fixme: "hates men" is actually a behavior flaw, which is already set.
-				break;
-			case "mule":
-				_pram = new GenerateNewSlavePram;
-				Object.assign(_pram, {disableDisability: 1, minAge: 13, race: "nonslave"});
-				if (V.pedo_mode === 0) {
-					_pram.maxAge = 26;
-				}
-				_slave = GenerateNewSlave("XX", _pram);
-				_slave.origin = "You sentenced $him to enslavement for smuggling drugs into the arcology.";
-				_slave.career = "a drug mule";
-				_slave.devotion = random(-50, -20);
-				_slave.trust = random(-100, -75);
-				_slave.vagina = 2;
-				_slave.preg = -2;
-				_slave.bellyImplant = 0;
-				_slave.cervixImplant = 1;
-				_slave.pubicHStyle = "shaved";
-				_slave.bellySag = 2;
-				_slave.skill.vaginal = 50;
-				_slave.anus = 0;
-				_slave.hips = 0;
-				_slave.weight = -60;
-				_slave.waist = random(-30, -10);
-				_slave.boobs = random(4, 5) * 100;
-				_slave.boobShape = "perky";
-				setHealth(_slave, jsRandom(-20, 10), undefined, undefined, undefined, 40);
-				_slave.sexualFlaw = "hates penetration";
-				_slave.behavioralFlaw = "shamefast"; // TODO: Fixme: "hates men" is actually a behavior flaw, which is already set.
-				_slave.accent = 0;
-				break;
-			case "liberator":
-				_slave = GenerateNewSlave("XX", {disableDisability: 1, minAge: random(12, 28), maxAge: 43});
-				_slave.origin = "You sentenced $him to enslavement as a punishment for attempted theft of a slave.";
-				_slave.career = "an antislavery activist";
-				_slave.devotion = random(-75, -60);
-				_slave.trust = random(-15, 0);
-				_slave.oldDevotion = _slave.devotion;
-				_slave.muscles = 50;
-				_slave.weight = random(-20, 30);
-				_slave.waist = random(-10, 10);
-				_slave.skill.vaginal = 0;
-				_slave.skill.oral = 0;
-				_slave.skill.anal = 0;
-				_slave.skill.whoring = 0;
-				_slave.skill.combat = 1;
-				_slave.anus = 0;
-				setHealth(_slave, jsRandom(60, 80), undefined, undefined, 0, 10);
-				_slave.behavioralFlaw = "arrogant";
-				_slave.sexualFlaw = "hates men";// TODO: fixme
-				_slave.hStyle = "shaved into a mohawk";
-				_slave.custom.tattoo = "$He seems to have had slave tattoos at one time, but has had them cheaply removed.";
-				break;
-			case "passfail":
-				_pram = new GenerateNewSlavePram;
-				_pram.disableDisability = 1;
-				if (V.arcologies[0].FSSubjugationistLawME === 1) {
-					_pram.race = V.arcologies[0].FSSubjugationistRace;
-				} else if (V.arcologies[0].FSSupremacistLawME === 1) {
-					const _races = App.Utils.getRaceArrayWithoutParamRace(V.arcologies[0].FSSupremacistRace);
-					_pram.race = _races.random();
-				}
-				_slave = GenerateNewSlave(null, _pram);
-				_slave.origin = "You sentenced $him to enslavement as a punishment for defying local racial segregation laws.";
-				_slave.career = App.Data.Careers.General.educated.random();
-				_slave.devotion = random(-75, -50);
-				_slave.trust = random(-75, -50);
-				_slave.oldDevotion = _slave.devotion;
-				setHealth(_slave, jsRandom(-40, -20), undefined, undefined, 0, 10);
-				_slave.intelligence = random(51, 95);
-				_slave.intelligenceImplant = 15;
-				if (V.arcologies[0].FSSupremacistLawME === 1 && V.arcologies[0].FSSupremacistRace) {
-					_fakeRace = V.arcologies[0].FSSupremacistRace;
-				} else if (V.arcologies[0].FSSubjugationistLawME === 1) {
-					const _races = App.Utils.getRaceArrayWithoutParamRace(V.arcologies[0].FSSubjugationistRace);
-					_fakeRace = _races.random();
-				}
-				_realRace = _slave.race;
-				_slave.race = _fakeRace;
-				_slave.skin = randomRaceSkin(_fakeRace);
-				setEyeColor(_slave, randomRaceEye(_fakeRace));
-				_slave.hColor = randomRaceHair(_fakeRace);
-				_slave.override_Race = 1;
-				_slave.override_Skin = 1;
-				_slave.override_H_Color = 1;
-				_slave.override_Eye_Color = 1;
-				break;
-		}
+		/** @type {App.Entity.SlaveState} */
+		const slave = makeMalefactor();
+		let pram;
 
 		const {
 			He, His,
 			he, his, him, himself, girl, woman
-		} = getPronouns(_slave);
+		} = getPronouns(slave);
 
 		const {hisU} = getNonlocalPronouns(V.seeDicks).appendSuffix("U");
-		r.push(`${capFirstChar(V.assistant.name)} alerts you that a `);
+		r.push(`${capFirstChar(V.assistant.name)} alerts you that a`);
 		if (malefactor === "mule") {
-			r.push(`potential `);
+			r.push(`potential`);
 		}
 		r.push(`criminal has been detected by your security systems and detained by the drones. Crime is extremely uncommon in your arcology,`);
 		if (malefactor !== "liberator") {
@@ -366,12 +83,12 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				r.push(`This is a simple case of vagrancy; sleeping on the streets (due to penury rather than inebriation) breaks an implicit contract all visitors to the arcology sign by coming here. The criminal is anything but usual, however. ${He} bears signs of extreme hormone manipulation over a long period, and has had ${his} Achilles tendons clipped. Camera records show ${him} crawling in with a cargo shipment. ${He}'s clad in rags, and you cannot find any record of ${him} anywhere. The growing crowd is convinced ${he}'s an escaped slave, and is growing ugly.`);
 				break;
 			case "anchorBaby":
-				r.push(`This is likely another case of attempted escape by a slave or potentially a smuggling operation. The cause of detection is a steady stream of moaning emanating from a cargo container recently deposited into the arcology's cargo depot and has attracted a crowd of curious onlookers. Video feeds show the container being open and a heavily pregnant `);
-				if (_slave.physicalAge > 30) {
+				r.push(`This is likely another case of attempted escape by a slave or potentially a smuggling operation. The cause of detection is a steady stream of moaning emanating from a cargo container recently deposited into the arcology's cargo depot and has attracted a crowd of curious onlookers. Video feeds show the container being open and a heavily pregnant`);
+				if (slave.physicalAge > 30) {
 					r.push(`${woman}`);
-				} else if (_slave.physicalAge > 19) {
+				} else if (slave.physicalAge > 19) {
 					r.push(`young ${woman}`);
-				} else if (_slave.physicalAge > 12) {
+				} else if (slave.physicalAge > 12) {
 					r.push(`teenager`);
 				} else {
 					r.push(`little ${girl}`);
@@ -395,35 +112,34 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				if (V.bellyImplants === 1) {
 					r.push(`${He} likely has a belly implant designed to carry foreign objects inside ${his} womb and, having lost ${his} composure, is now vacating its contents.`);
 				} else {
-					r.push(`You have no idea what you are witnessing until `);
+					r.push(`You have no idea what you are witnessing until`);
 					if (V.assistant.name === "your personal assistant") {
 						r.push(`your personal assistant pulls up an advertisement for a fillable womb located implant`);
 					} else {
 						r.push(`${V.assistant.name} introduces you to a fillable womb located implant`);
 					}
-					r.push(` that ${he} likely has installed.`);
+					r.push(`that ${he} likely has installed.`);
 				}
 				r.push(`${He} is easily taken into custody and ${his} contraband confiscated once the jeering crowd is dispersed enough to reach ${him}.`);
 				break;
 			case "liberator":
-				r.push(`but this is a special case. A well-muscled, well-armed ${woman} was caught attempting to smuggle a slave owned by one of your tenants out of the arcology. Though the slave surrendered immediately (and will be dealt with by ${hisU} owner), the would-be liberatrix was caught by your security drones. ${He} destroyed two of them and caused <span class="red">other minor damage</span>`);
-				cashX(forceNeg(1000), "event", _slave);
-				r.push(` that will require a small sum to repair, but was eventually subdued. The drones had to expend a great deal of nonlethal ordnance to bring ${him} down and keep ${him} down, but ${he} is now entirely at your mercy.`);
+				r.push(`but this is a special case. A well-muscled, well-armed ${woman} was caught attempting to smuggle a slave owned by one of your tenants out of the arcology. Though the slave surrendered immediately (and will be dealt with by ${hisU} owner), the would-be liberatrix was caught by your security drones. ${He} destroyed two of them and caused <span class="red">other minor damage</span> that will require a small sum to repair, but was eventually subdued. The drones had to expend a great deal of nonlethal ordnance to bring ${him} down and keep ${him} down, but ${he} is now entirely at your mercy.`);
+				cashX(forceNeg(1000), "event", slave);
 				break;
 			case "passfail":
-				r.push(`Nevertheless, it seems one of your tenants, a rather ordinary white collar worker, has been severely wounded in a freak industrial accident, to the point that a blood transfusion was needed. In the course of doing so, an arcology hospital's autosurgery noted several genetic discrepancies and alerted a few nearby drones. Simply put, while the ${woman} appears to be a normal${_fakeRace} ${woman}, this is the result of numerous cosmetic surgeries; ${he} is actually _realRace. The laws of your arcology hold that members of the _realRace race are fit only for slavery, quite unlike the superior _fakeRace people. That a _realRace ${girl} would gain a position of relatively high class and power through such deception and fraud is considered an outrage by many of your citizens, and so ${he} was placed under arrest before ${he} even awoke from surgery. ${He} is now entirely at your mercy.`);
+				r.push(`Nevertheless, it seems one of your tenants, a rather ordinary white collar worker, has been severely wounded in a freak industrial accident, to the point that a blood transfusion was needed. In the course of doing so, an arcology hospital's autosurgery noted several genetic discrepancies and alerted a few nearby drones. Simply put, while the ${woman} appears to be a normal ${fakeRace} ${woman}, this is the result of numerous cosmetic surgeries; ${he} is actually ${realRace}. The laws of your arcology hold that members of the ${realRace} race are fit only for slavery, quite unlike the superior ${fakeRace} people. That a ${realRace} ${girl} would gain a position of relatively high class and power through such deception and fraud is considered an outrage by many of your citizens, and so ${he} was placed under arrest before ${he} even awoke from surgery. ${He} is now entirely at your mercy.`);
 		}
 
-		const _ContractCost = 1000;
-		const _slaveCost = slaveCost(_slave) - 1000;
+		const contractCost = 1000;
+		const cost = slaveCost(slave) - 1000;
 		App.Events.addParagraph(node, r);
 
-		App.UI.DOM.appendNewElement("p", node, `Applying enslavement as punishment will cost ${cashFormat(_ContractCost)}. Doing so and then selling ${him} immediately will bring in approximately ${cashFormat(_slaveCost)}.`, "note");
+		App.UI.DOM.appendNewElement("p", node, `Applying enslavement as punishment will cost ${cashFormat(contractCost)}. Doing so and then selling ${him} immediately will bring in approximately ${cashFormat(cost)}.`, "note");
 
-		node.append(App.Desc.longSlave(_slave, {market: "generic"}));
+		node.append(App.Desc.longSlave(slave, {market: "generic"}));
 
 		const choices = [];
-		if (V.cash >= _ContractCost) {
+		if (V.cash >= contractCost) {
 			choices.push(
 				new App.Events.Result(`Enslave ${him}`, enslave),
 				new App.Events.Result(`Sentence ${him} to a day in the stocks, then enslave ${him}`, stocks),
@@ -440,7 +156,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			}
 			if (V.seeExtreme > 0) {
 				choices.push(new App.Events.Result(`Punitively amputate ${his} limbs, and then enslave ${him}`, amp));
-				if (malefactor === "rapist" && _slave.balls > 0) {
+				if (malefactor === "rapist" && slave.balls > 0) {
 					choices.push(new App.Events.Result(`Enslave the criminal and geld ${him}`, geld));
 				}
 			}
@@ -467,7 +183,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 
 			r = [];
 
-			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
+			cashX(forceNeg(contractCost), "slaveTransfer", slave);
 			switch (malefactor) {
 				case "addict":
 					r.push(`You complete the legalities and biometric scanning quickly and without fuss. The condemned recovers enough by the end of the process to start masturbating weakly, even as ${he} begins begging for a fix. Then it's off to the penthouse for basic slave induction.`);
@@ -491,8 +207,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 				case "liberator":
 					r.push(`You complete the legalities and biometric scanning quickly and cautiously. Though the would-be liberator is of course restrained, disarmed, and still sedated, ${he} could awake at any time. Based on the drone logs, ${he} is likely to be violent when ${he} does.`);
 			}
-			r.push(App.UI.newSlaveIntro(_slave));
-
+			r.push(App.UI.newSlaveIntro(slave));
 
 			App.Events.addParagraph(frag, r);
 			return frag;
@@ -503,98 +218,57 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 
 			r = [];
 
-			healthDamage(_slave, 10);
-			_slave.behavioralFlaw = "odd";
-			_slave.sexualFlaw = "hates penetration";
-			_slave.anus = 2;
-			const _fuckCount = random(20, 35);
-			seX(_slave, "anal", "public", "penetrative", _fuckCount);
-			if (_slave.vagina > -1) {
-				if (_slave.vagina < 2) {
-					_slave.vagina = 2;
+			healthDamage(slave, 10);
+			slave.behavioralFlaw = "odd";
+			slave.sexualFlaw = "hates penetration";
+			slave.anus = 2;
+			const fuckCount = random(20, 35);
+			seX(slave, "anal", "public", "penetrative", fuckCount);
+			if (slave.vagina > -1) {
+				if (slave.vagina < 2) {
+					slave.vagina = 2;
 				}
-				if (isFertile(_slave) && _slave.eggType === "human") {
-					r.push(knockMeUp(_slave, 40, 2, -2));
+				if (isFertile(slave) && slave.eggType === "human") {
+					r.push(knockMeUp(slave, 40, 2, -2));
 				}
-				seX(_slave, "vaginal", "public", "penetrative", _fuckCount * 2);
+				seX(slave, "vaginal", "public", "penetrative", fuckCount * 2);
 			}
-			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
+			cashX(forceNeg(contractCost), "slaveTransfer", slave);
 			switch (malefactor) {
 				case "addict":
-					r.push(`You declare ${his} holes fair game for the entire arcology, since ${he} must somehow repay ${his} debt to society. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
-					if (_slave.vagina > -1) {
-						r.push(` and <span class="lime">fucked-out</span> pussy`);
-					}
-					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology, since ${he} must somehow repay ${his} debt to society. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "escapee":
-					r.push(`You declare ${his} holes fair game for the entire arcology, so that all free citizens can own ${him} for a moment, if they wish. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
-					if (_slave.vagina > -1) {
-						r.push(` and <span class="lime">fucked-out</span> pussy`);
-					}
-					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology, so that all free citizens can own ${him} for a moment, if they wish. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "orphanloli":
-					r.push(`You declare ${his} holes fair game for the entire arcology, so that all free citizens can own ${him} for a moment, if they wish. ${He} spends a torturous day in the stocks before being hauled in for enslavement, <span class="health dec">completely broken</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
-					if (_slave.vagina > -1) {
-						r.push(` and <span class="lime">fucked-out</span> pussy`);
-					}
-					r.push(`. The public <span class="green">enjoys the fun.</span>`);
-					_slave.fetish = "mindbroken";
+					r.push(`You declare ${his} holes fair game for the entire arcology, so that all free citizens can own ${him} for a moment, if they wish. ${He} spends a torturous day in the stocks before being hauled in for enslavement, <span class="health dec">completely broken</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
+					slave.fetish = "mindbroken";
 					break;
 				case "anchorBaby":
-					r.push(`You declare ${his} holes fair game for the entire arcology; since ${he} wants to produce future slaves, your arcology might as well have the privilege of fathering them. ${He} spends a torturous day in the stocks after ${his} children are taken to a slave orphanage before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
-					if (_slave.vagina > -1) {
-						r.push(` and <span class="lime">fucked-out</span> pussy`);
-					}
-					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology; since ${he} wants to produce future slaves, your arcology might as well have the privilege of fathering them. ${He} spends a torturous day in the stocks after ${his} children are taken to a slave orphanage before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "businesswoman":
-					r.push(`You declare ${his} holes fair game for the entire arcology, in payment for ${his} crimes. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
-					if (_slave.vagina > -1) {
-						r.push(` and <span class="lime">fucked-out</span> pussy`);
-					}
-					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology, in payment for ${his} crimes. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "whore":
-					r.push(`You declare ${his} holes fair game for the entire arcology, to repay ${his} thefts. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
-					if (_slave.vagina > -1) {
-						r.push(` and <span class="lime">fucked-out</span> pussy`);
-					}
-					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology, to repay ${his} thefts. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "rapist":
-					r.push(`You declare ${his} holes fair game for the entire arcology. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
-					if (_slave.vagina > -1) {
-						r.push(` and <span class="lime">fucked-out</span> pussy`);
-					}
-					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "mule":
-					r.push(`You declare ${his} holes fair game for the entire arcology as punishment for trying to smuggle in a load instead of taking one. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
-					if (_slave.vagina > -1) {
-						r.push(` and <span class="lime">fucked-out</span> pussy`);
-					}
-					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology as punishment for trying to smuggle in a load instead of taking one. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "liberator":
-					r.push(`Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. ${His} holes are thus fair game for the entire arcology. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
-					if (_slave.vagina > -1) {
-						r.push(` and <span class="lime">fucked-out</span> pussy`);
-					}
-					r.push(`. The public <span class="green">enjoys the fun,</span> and small slaveholders are <span class="green">encouraged to do business with your arcology</span> after word of the incident gets around.`);
+					r.push(`Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. ${His} holes are thus fair game for the entire arcology. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun,</span> and small slaveholders are <span class="green">encouraged to do business with your arcology</span> after word of the incident gets around.`);
 					break;
 				case "passfail":
-					r.push(`You declare ${his} holes fair game for the entire arcology; after all, ${he} did want to be around lots of ${_fakeRace} people, didn't ${he}? ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus`);
-					if (_slave.vagina > -1) {
-						r.push(` and <span class="lime">fucked-out</span> pussy`);
-					}
-					r.push(`. The public <span class="green">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology; after all, ${he} did want to be around lots of ${fakeRace} people, didn't ${he}? ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
 			}
-			repX(500, "event", _slave);
+			repX(500, "event", slave);
 			V.arcologies[0].prosperity += 2;
-			r.push(App.UI.newSlaveIntro(_slave));
-
+			r.push(App.UI.newSlaveIntro(slave));
 
 			App.Events.addParagraph(frag, r);
 			return frag;
@@ -605,34 +279,33 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 
 			r = [];
 
-			r.push(assignJob(_slave, "be confined in the arcade"));
-			_slave.choosesOwnAssignment = 0;
-			_slave.sentence = 4;
-			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
+			r.push(assignJob(slave, "be confined in the arcade"));
+			slave.choosesOwnAssignment = 0;
+			slave.sentence = 4;
+			cashX(forceNeg(contractCost), "slaveTransfer", slave);
 			switch (malefactor) {
 				case "addict":
-					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned recovers enough by the end of the process to start masturbating weakly, even as ${he} begins begging for a fix. When ${he} learns ${he}'s headed to the arcade, ${he} actually relaxes a little, having heard the whores there get drugs. The public <span class="green">looks forward</span> to seeing ${him} there, especially the owner of the shop ${he} attempted to burglarize.`);
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned recovers enough by the end of the process to start masturbating weakly, even as ${he} begins begging for a fix. When ${he} learns ${he}'s headed to the arcade, ${he} actually relaxes a little, having heard the whores there get drugs. The public <span class="reputation inc">looks forward</span> to seeing ${him} there, especially the owner of the shop ${he} attempted to burglarize.`);
 					break;
 				case "escapee":
 				case "orphanloli":
-					r.push(`You complete the legalities and biometric scanning quickly, and tell the crowd that ${his} holes will be available at the arcade within the hour. The public <span class="green">looks forward</span> to seeing ${him} there, angrily suspecting ${him} of being an escapee and glad that they'll be able to take part in ${his} punishment.`);
+					r.push(`You complete the legalities and biometric scanning quickly, and tell the crowd that ${his} holes will be available at the arcade within the hour. The public <span class="reputation inc">looks forward</span> to seeing ${him} there, angrily suspecting ${him} of being an escapee and glad that they'll be able to take part in ${his} punishment.`);
 					break;
 				case "anchorBaby":
-					r.push(`You complete the legalities and biometric scanning quickly and have ${his} children taken away. The condemned screeches ${his} displeasure throughout the process until you grow tired of the whining and sedate ${him} for immurement in the arcade. The public <span class="green">looks forward</span> to seeing ${him} there and vying to see who gets to fill ${his} womb with another child.`);
+					r.push(`You complete the legalities and biometric scanning quickly and have ${his} children taken away. The condemned screeches ${his} displeasure throughout the process until you grow tired of the whining and sedate ${him} for immurement in the arcade. The public <span class="reputation inc">looks forward</span> to seeing ${him} there and vying to see who gets to fill ${his} womb with another child.`);
 					break;
 				case "businesswoman":
 				case "mule":
 				case "passfail":
 				case "rapist":
 				case "whore":
-					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned sobs and begs throughout the process until you grow tired of the whining and sedate ${him} for immurement in the arcade. The public <span class="green">looks forward</span> to seeing ${him} there and getting some of their own back.`);
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned sobs and begs throughout the process until you grow tired of the whining and sedate ${him} for immurement in the arcade. The public <span class="reputation inc">looks forward</span> to seeing ${him} there and getting some of their own back.`);
 					break;
 				case "liberator":
-					r.push(`You complete the legalities and biometric scanning quickly and cautiously. Though the would-be liberator is of course restrained, disarmed, and still sedated, ${he} could awake at any time. It would be best to have ${him} restrained for public use in the arcade first. The public <span class="green">looks forward</span> to seeing ${him} there.`);
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. Though the would-be liberator is of course restrained, disarmed, and still sedated, ${he} could awake at any time. It would be best to have ${him} restrained for public use in the arcade first. The public <span class="reputation inc">looks forward</span> to seeing ${him} there.`);
 			}
-			repX(250, "event", _slave);
-			newSlave(_slave); /* skip New Slave Intro */
-
+			repX(250, "event", slave);
+			newSlave(slave); /* skip New Slave Intro */
 
 			App.Events.addParagraph(frag, r);
 			return frag;
@@ -642,109 +315,101 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			const frag = document.createDocumentFragment();
 			r = [];
 
-			r.push(assignJob(_slave, "work in the dairy"));
-			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
+			r.push(assignJob(slave, "work in the dairy"));
+			cashX(forceNeg(contractCost), "slaveTransfer", slave);
 			switch (malefactor) {
 				case "addict":
-					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned accepts a sedative, thinking it's aphrodisiacs, and ${his} unconscious body is installed in ${V.dairyName}. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the addict's `);
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned accepts a sedative, thinking it's aphrodisiacs, and ${his} unconscious body is installed in ${V.dairyName}. The public <span class="reputation inc">accepts</span> this as an appropriate punishment, especially when you release footage of the addict's`);
 					if (V.dairyStimulatorsSetting > 1) {
-						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
-					} else if ((V.dairyPregSetting > 1) && (_slave.vagina > 0)) {
-						r.push(`discomfort as ${his} pussy adapts to industrial reproduction`);
+						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration,`);
+					} else if ((V.dairyPregSetting > 1) && (slave.vagina > 0)) {
+						r.push(`discomfort as ${his} pussy adapts to industrial reproduction,`);
 					} else {
-						r.push(`breasts as they are roughly milked`);
+						r.push(`breasts as they are roughly milked,`);
 					}
-					r.push(`, together with a lengthy report on the experimental detox process used to ensure that the milk ${he} produces will be untainted.`);
+					r.push(`together with a lengthy report on the experimental detox process used to ensure that the milk ${he} produces will be untainted.`);
 					break;
 				case "escapee":
-					r.push(`You complete the legalities and biometric scanning quickly. The condemned is too far gone to resist as ${he} is installed in ${V.dairyName}. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the escapee's `);
+					r.push(`You complete the legalities and biometric scanning quickly. The condemned is too far gone to resist as ${he} is installed in ${V.dairyName}. The public <span class="reputation inc">accepts</span> this as an appropriate punishment, especially when you release footage of the escapee's`);
 					if (V.dairyStimulatorsSetting > 1) {
-						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
-					} else if ((V.dairyPregSetting > 1) && (_slave.vagina > 0)) {
-						r.push(`discomfort as ${his} pussy adapts to industrial reproduction`);
+						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration.`);
+					} else if ((V.dairyPregSetting > 1) && (slave.vagina > 0)) {
+						r.push(`discomfort as ${his} pussy adapts to industrial reproduction.`);
 					} else {
-						r.push(`breasts as they are roughly milked`);
+						r.push(`breasts as they are roughly milked.`);
 					}
-					r.push(`.`);
 					break;
 				case "orphanloli":
-					r.push(`You complete the legalities and biometric scanning quickly. The condemned is too weak to resist as ${he} is installed in ${V.dairyName} but ${he} weeps the entire time. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the escapee's `);
+					r.push(`You complete the legalities and biometric scanning quickly. The condemned is too weak to resist as ${he} is installed in ${V.dairyName} but ${he} weeps the entire time. The public <span class="reputation inc">accepts</span> this as an appropriate punishment, especially when you release footage of the escapee's`);
 					if (V.dairyStimulatorsSetting > 1) {
-						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
-					} else if ((V.dairyPregSetting > 1) && (_slave.vagina > 0)) {
-						r.push(`agony as ${his} once tight pussy adapts to industrial reproduction`);
+						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration.`);
+					} else if ((V.dairyPregSetting > 1) && (slave.vagina > 0)) {
+						r.push(`agony as ${his} once tight pussy adapts to industrial reproduction.`);
 					} else {
-						r.push(`budding breasts as they are roughly milked`);
+						r.push(`budding breasts as they are roughly milked.`);
 					}
-					r.push(`.`);
 					break;
 				case "anchorBaby":
-					r.push(`You complete the legalities and biometric scanning quickly and cautiously before having ${his} children taken away. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
-					if (V.dairyPregSetting > 1 && _slave.vagina > 0) {
-						r.push(`discomfort as ${his} pussy adapts to industrial reproduction, along with a prospectus detailing the scheduled sale of ${his} next batch of slave product in eighteen years and nine months`);
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously before having ${his} children taken away. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="reputation inc">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's`);
+					if (V.dairyPregSetting > 1 && slave.vagina > 0) {
+						r.push(`discomfort as ${his} pussy adapts to industrial reproduction, along with a prospectus detailing the scheduled sale of ${his} next batch of slave product in eighteen years and nine months.`);
 					} else if (V.dairyStimulatorsSetting > 1) {
-						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
+						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration.`);
 					} else {
-						r.push(`breasts as they are roughly milked`);
+						r.push(`breasts as they are roughly milked.`);
 					}
-					r.push(`.`);
 					break;
 				case "businesswoman":
-					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
-					if (V.dairyPregSetting > 1 && _slave.vagina > 0) {
-						r.push(`discomfort as ${his} pussy adapts to industrial reproduction, along with a prospectus detailing the scheduled sale of ${his} first slave product in eighteen years and nine months`);
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="reputation inc">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's`);
+					if (V.dairyPregSetting > 1 && slave.vagina > 0) {
+						r.push(`discomfort as ${his} pussy adapts to industrial reproduction, along with a prospectus detailing the scheduled sale of ${his} first slave product in eighteen years and nine months.`);
 					} else if (V.dairyStimulatorsSetting > 1) {
-						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
+						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration.`);
 					} else {
-						r.push(`breasts as they are roughly milked`);
+						r.push(`breasts as they are roughly milked.`);
 					}
-					r.push(`.`);
 					break;
 				case "whore":
-					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
-					if (V.dairyPregSetting > 1 && _slave.vagina > 0) {
-						r.push(`discomfort as ${his} well-traveled pussy adapts to industrial reproduction`);
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="reputation inc">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's`);
+					if (V.dairyPregSetting > 1 && slave.vagina > 0) {
+						r.push(`discomfort as ${his} well-traveled pussy adapts to industrial reproduction.`);
 					} else if (V.dairyStimulatorsSetting > 1) {
-						r.push(`discomfort as ${his} well-traveled anus adapts to accommodate rectal dildo hydration`);
+						r.push(`discomfort as ${his} well-traveled anus adapts to accommodate rectal dildo hydration.`);
 					} else {
-						r.push(`breasts as they are roughly milked`);
+						r.push(`breasts as they are roughly milked.`);
 					}
-					r.push(`.`);
 					break;
 				case "rapist":
-					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the rapist's `);
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="reputation inc">accepts</span> this as an appropriate punishment, especially when you release footage of the rapist's`);
 					if (V.dairyStimulatorsSetting > 1) {
-						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration`);
+						r.push(`agony as ${his} anus adapts to accommodate rectal dildo hydration.`);
 					} else {
-						r.push(`newly growing breasts as they are roughly milked`);
+						r.push(`newly growing breasts as they are roughly milked.`);
 					}
-					r.push(`.`);
 					break;
 				case "liberator":
-					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
-					if (V.dairyPregSetting > 1 && _slave.vagina > 0) {
-						r.push(`discomfort as ${his} pussy adapts to industrial reproduction`);
+					r.push(`You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in ${V.dairyName} with energy born of desperation. The public <span class="reputation inc">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's`);
+					if (V.dairyPregSetting > 1 && slave.vagina > 0) {
+						r.push(`discomfort as ${his} pussy adapts to industrial reproduction,`);
 					} else if (V.dairyStimulatorsSetting > 1) {
-						r.push(`discomfort as ${his} anus adapts to accommodate rectal dildo hydration`);
+						r.push(`discomfort as ${his} anus adapts to accommodate rectal dildo hydration,`);
 					} else {
-						r.push(`breasts as they are roughly milked`);
+						r.push(`breasts as they are roughly milked,`);
 					}
-					r.push(`, together with a report on the likely productivity of such a fit body capable of withstanding the stress of high throughput.`);
+					r.push(`together with a report on the likely productivity of such a fit body capable of withstanding the stress of high throughput.`);
 					break;
 				case "passfail":
-					r.push(`You complete the legalities and biometric scanning quickly. The condemned is too weak to resist as ${he} is installed in ${V.dairyName} but ${he} weeps the entire time. The public <span class="green">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's `);
-					if (V.dairyPregSetting > 1 && _slave.vagina > 0) {
-						r.push(`discomfort as ${his} pussy adapts to industrial reproduction`);
+					r.push(`You complete the legalities and biometric scanning quickly. The condemned is too weak to resist as ${he} is installed in ${V.dairyName} but ${he} weeps the entire time. The public <span class="reputation inc">accepts</span> this as an appropriate punishment, especially when you release footage of the criminal's`);
+					if (V.dairyPregSetting > 1 && slave.vagina > 0) {
+						r.push(`discomfort as ${his} pussy adapts to industrial reproduction.`);
 					} else if (V.dairyStimulatorsSetting > 1) {
-						r.push(`discomfort as ${his} anus adapts to accommodate rectal dildo hydration`);
+						r.push(`discomfort as ${his} anus adapts to accommodate rectal dildo hydration.`);
 					} else {
-						r.push(`breasts as they are roughly milked`);
+						r.push(`breasts as they are roughly milked.`);
 					}
-					r.push(`.`);
 			}
-			repX(250, "event", _slave);
-			newSlave(_slave);/* skip New Slave Intro */
-
+			repX(250, "event", slave);
+			newSlave(slave);/* skip New Slave Intro */
 
 			App.Events.addParagraph(frag, r);
 			return frag;
@@ -754,44 +419,43 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			const frag = document.createDocumentFragment();
 			r = [];
 
-			healthDamage(_slave, 20);
-			removeLimbs(_slave, "all");
-			_slave.behavioralFlaw = "odd";
-			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
+			healthDamage(slave, 20);
+			removeLimbs(slave, "all");
+			slave.behavioralFlaw = "odd";
+			cashX(forceNeg(contractCost), "slaveTransfer", slave);
 			switch (malefactor) {
 				case "addict":
-					r.push(`An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs for a fix until ${he} realizes what's coming, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness.</span>`);
+					r.push(`An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs for a fix until ${he} realizes what's coming, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="reputation inc">approves of this harshness.</span>`);
 					break;
 				case "escapee":
-					r.push(`An example must be made. If ${he} escaped once with ${his} tendons clipped, ${he} must be rather talented at it. It remains to be seen if ${he} can manage to escape with neither arms nor legs, so you announce ${his} sentence to the crowd and send ${his} unconscious form for reduction. Of course, <span class="health.dec">${his} health is affected.</span> The public <span class="green">approves of this harshness,</span> believing that you have taken strong measures against escapees.`);
+					r.push(`An example must be made. If ${he} escaped once with ${his} tendons clipped, ${he} must be rather talented at it. It remains to be seen if ${he} can manage to escape with neither arms nor legs, so you announce ${his} sentence to the crowd and send ${his} unconscious form for reduction. Of course, <span class="health.dec">${his} health is affected.</span> The public <span class="reputation inc">approves of this harshness,</span> believing that you have taken strong measures against escapees.`);
 					break;
 				case "orphanloli":
-					r.push(`An example must be made. If ${he} thinks ${he} can escape captivity and steal to survive, let's see ${him} try without arms and legs, so you announce ${his} sentence to the crowd and send ${his} unconscious form for reduction. Of course, <span class="health.dec">${his} health is affected.</span> The public <span class="green">approves of this harshness,</span> believing that you have taken strong measures against escapees.`);
+					r.push(`An example must be made. If ${he} thinks ${he} can escape captivity and steal to survive, let's see ${him} try without arms and legs, so you announce ${his} sentence to the crowd and send ${his} unconscious form for reduction. Of course, <span class="health.dec">${his} health is affected.</span> The public <span class="reputation inc">approves of this harshness,</span> believing that you have taken strong measures against escapees.`);
 					break;
 				case "anchorBaby":
-					r.push(`An example must be made. Potential immigrants must understand that attempting to circumvent the process will result in severe fines and proportional punishment when they are incapable of paying them. The protesting mother is stripped, both of clothing and children, and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since ${he} can hardly attempt to smuggle things into your arcology without the ability to move.`);
+					r.push(`An example must be made. Potential immigrants must understand that attempting to circumvent the process will result in severe fines and proportional punishment when they are incapable of paying them. The protesting mother is stripped, both of clothing and children, and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="reputation inc">approves of this harshness,</span> since ${he} can hardly attempt to smuggle things into your arcology without the ability to move.`);
 					break;
 				case "businesswoman":
-					r.push(`An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness.</span>`);
+					r.push(`An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="reputation inc">approves of this harshness.</span>`);
 					break;
 				case "whore":
-					r.push(`An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since ${he} can hardly attempt to steal anything without hands.`);
+					r.push(`An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="reputation inc">approves of this harshness,</span> since ${he} can hardly attempt to steal anything without hands.`);
 					break;
 				case "rapist":
-					r.push(`An example must be made. Rape is rare in your arcology, since citizens are so generously provided with means of sexual outlet. When the price of renting a slave that's impossible to rape is as low as it is, sexual assault of a free woman is doubly unforgivable. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since even if ${he} cheers up and ever manages an erection again, ${he}'s not likely to rape anyone without arms or legs.`);
+					r.push(`An example must be made. Rape is rare in your arcology, since citizens are so generously provided with means of sexual outlet. When the price of renting a slave that's impossible to rape is as low as it is, sexual assault of a free woman is doubly unforgivable. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="reputation inc">approves of this harshness,</span> since even if ${he} cheers up and ever manages an erection again, ${he}'s not likely to rape anyone without arms or legs.`);
 					break;
 				case "mule":
-					r.push(`An example must be made. With the quantity of drugs consumed in the arcology, quality is everything and attempting to undermine that is unforgivable. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since ${he} can hardly haul contraband into your arcology without the ability to move ${himself}.`);
+					r.push(`An example must be made. With the quantity of drugs consumed in the arcology, quality is everything and attempting to undermine that is unforgivable. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="reputation inc">approves of this harshness,</span> since ${he} can hardly haul contraband into your arcology without the ability to move ${himself}.`);
 					break;
 				case "liberator":
-					r.push(`An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> since ${he} will scarcely be able to liberate anyone without arms or legs.`);
+					r.push(`An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="reputation inc">approves of this harshness,</span> since ${he} will scarcely be able to liberate anyone without arms or legs.`);
 					break;
 				case "passfail":
-					r.push(`An example must be made. The citizens of your arcology must be assured that the racially inferior will not try to rise above their station, no matter their deceptions. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness.</span>`);
+					r.push(`An example must be made. The citizens of your arcology must be assured that the racially inferior will not try to rise above their station, no matter their deceptions. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. ${He} begs and pleads until ${he} sees ${his} doom in the form of the surgical machinery, at which point ${he} switches to fighting vainly to escape. Of course, <span class="health.dec">${his} health is affected</span> and the horrible experience has left ${him} <span class="red">acting oddly.</span> Then it's off to the penthouse for basic slave induction. The public <span class="reputation inc">approves of this harshness.</span>`);
 			}
-			repX(500, "event", _slave);
-			r.push(App.UI.newSlaveIntro(_slave));
-
+			repX(500, "event", slave);
+			r.push(App.UI.newSlaveIntro(slave));
 
 			App.Events.addParagraph(frag, r);
 			return frag;
@@ -801,16 +465,15 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			const frag = document.createDocumentFragment();
 			r = [];
 
-			healthDamage(_slave, 20);
-			_slave.balls = 0;
-			_slave.devotion -= 25;
-			_slave.trust -= 25;
-			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
-			r.push(`Video feeds from your remote surgery are made public as the protesting criminal is strapped down and gelded. ${He} is so utterly broken by this turn of events that you complete the legalities and biometric scanning without fuss. The condemned sobs weakly throughout the process until you grow tired of the whining and apply punishment. Then it's off to the penthouse for basic slave induction. The public <span class="green">approves of this harshness,</span> which increases your arcology's prosperity by <span class="green">giving it a reputation for swift and terrible justice.</span>`);
-			repX(500, "event", _slave);
+			healthDamage(slave, 20);
+			slave.balls = 0;
+			slave.devotion -= 25;
+			slave.trust -= 25;
+			cashX(forceNeg(contractCost), "slaveTransfer", slave);
+			r.push(`Video feeds from your remote surgery are made public as the protesting criminal is strapped down and gelded. ${He} is so utterly broken by this turn of events that you complete the legalities and biometric scanning without fuss. The condemned sobs weakly throughout the process until you grow tired of the whining and apply punishment. Then it's off to the penthouse for basic slave induction. The public <span class="reputation inc">approves of this harshness,</span> which increases your arcology's prosperity by <span class="green">giving it a reputation for swift and terrible justice.</span>`);
+			repX(500, "event", slave);
 			V.arcologies[0].prosperity += 10;
-			r.push(App.UI.newSlaveIntro(_slave));
-
+			r.push(App.UI.newSlaveIntro(slave));
 
 			App.Events.addParagraph(frag, r);
 			return frag;
@@ -820,20 +483,19 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			const frag = document.createDocumentFragment();
 			r = [];
 
-			_slave.devotion = 25;
-			_slave.trust = 25;
-			_slave.origin = "$He was an orphan forced to live and steal on the streets until you adopted $him.";
-			cashX(forceNeg(_ContractCost), "slaveTransfer", _slave);
+			slave.devotion = 25;
+			slave.trust = 25;
+			slave.origin = "$He was an orphan forced to live and steal on the streets until you adopted $him.";
+			cashX(forceNeg(contractCost), "slaveTransfer", slave);
 			r.push(`You sit down and talk to the exhausted ${girl}, handing ${him} a contract cleverly altered to resemble adoption papers. Once ${he} comprehends what ${he} is looking at, ${he} eagerly signs it. Only once ${he} has reached the penthouse and been introduced to the slave life does ${he} realize ${he} willingly signed away ${his} freedom. Though ${he} can't complain. A warm cot and plenty of food await, which to ${him} is a huge improvement over a slow death on the streets. The public`);
 			if (V.arcologies[0].FSPaternalist !== "unset") {
-				r.push(`<span class="green">is impressed by your act,</span> even if it is a trick.`);
-				repX(500, "event", _slave);
+				r.push(`<span class="reputation inc">is impressed by your act,</span> even if it is a trick.`);
+				repX(500, "event", slave);
 			} else {
 				r.push(`<span class="red">feels you let this criminal off too easy.</span>`);
-				repX(forceNeg(100), "event", _slave);
+				repX(forceNeg(100), "event", slave);
 			}
-			r.push(App.UI.newSlaveIntro(_slave));
-
+			r.push(App.UI.newSlaveIntro(slave));
 
 			App.Events.addParagraph(frag, r);
 			return frag;
@@ -843,32 +505,32 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			const frag = document.createDocumentFragment();
 			r = [];
 
-			r.push(`You help the exhausted mother to ${his} feet and hand ${him} ${his} second newborn. ${He} watches you, uncertain of your motives, until you have ${him} escorted to the proper welcoming facility and put in a good word for having ${him} added to your arcology's free population. You announce to the public that such a fertile `);
-			if (_slave.physicalAge > 30) {
+			r.push(`You help the exhausted mother to ${his} feet and hand ${him} ${his} second newborn. ${He} watches you, uncertain of your motives, until you have ${him} escorted to the proper welcoming facility and put in a good word for having ${him} added to your arcology's free population. You announce to the public that such a fertile`);
+			if (slave.physicalAge > 30) {
 				r.push(`MILF`);
-			} else if (_slave.physicalAge > 19) {
+			} else if (slave.physicalAge > 19) {
 				r.push(`${woman}`);
-			} else if (_slave.physicalAge > 12) {
+			} else if (slave.physicalAge > 12) {
 				r.push(`teen`);
 			} else {
 				r.push(`youth`);
 			}
-			r.push(` will be a boon to `);
+			r.push(`will be a boon to`);
 			if (V.arcologies[0].FSRepopulationFocus !== "unset") {
-				r.push(`Repopulationism`);
+				r.push(`Repopulationism,`);
 			} else {
-				r.push(`society`);
+				r.push(`society,`);
 			}
-			r.push(`, and that the contract ${he} is signing mandates ${he} be on powerful fertility agents whenever ${he} isn't pregnant. During ${his} residency, free or not, ${he} will provide society with dozens of future children. The public`);
+			r.push(`and that the contract ${he} is signing mandates ${he} be on powerful fertility agents whenever ${he} isn't pregnant. During ${his} residency, free or not, ${he} will provide society with dozens of future children. The public`);
 			if (V.arcologies[0].FSRepopulationFocus !== "unset") {
-				r.push(`<span class="green">approves of breeders, free or not,</span> and word spreads that any and all mothers are welcome into your arcology <span class="green">adding to its prosperity.</span>`);
-				repX(500, "event", _slave);
+				r.push(`<span class="reputation inc">approves of breeders, free or not,</span> and word spreads that any and all mothers are welcome into your arcology <span class="green">adding to its prosperity.</span>`);
+				repX(500, "event", slave);
 			} else if (V.arcologies[0].FSPaternalist !== "unset") {
-				r.push(`<span class="green">sympathizes with your charity.</span>`);
-				repX(100, "event", _slave);
+				r.push(`<span class="reputation inc">sympathizes with your charity.</span>`);
+				repX(100, "event", slave);
 			} else {
 				r.push(`<span class="red">feels you let this criminal off too easy.</span>`);
-				repX(forceNeg(100), "event", _slave);
+				repX(forceNeg(100), "event", slave);
 			}
 
 			App.Events.addParagraph(frag, r);
@@ -880,32 +542,32 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			r = [];
 			switch (malefactor) {
 				case "addict":
-					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The twitching, begging malefactor is stripped and flogged on the promenade before being escorted bleeding, and still twitching from withdrawal, out of the arcology. The public <span class="green">approves of this harshness.</span>`);
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The twitching, begging malefactor is stripped and flogged on the promenade before being escorted bleeding, and still twitching from withdrawal, out of the arcology. The public <span class="reputation inc">approves of this harshness.</span>`);
 					break;
 				case "escapee":
-					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The begging malefactor is flogged on the promenade before being escorted bleeding and half-dead out of the arcology. The public <span class="green">approves of this harshness.</span>`);
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The begging malefactor is flogged on the promenade before being escorted bleeding and half-dead out of the arcology. The public <span class="reputation inc">approves of this harshness.</span>`);
 					break;
 				case "orphanloli":
-					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The crying ${girl} is flogged on the promenade before being dragged bleeding and broken out of the arcology. The public <span class="green">approves of this harshness.</span>`);
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The crying ${girl} is flogged on the promenade before being dragged bleeding and broken out of the arcology. The public <span class="reputation inc">approves of this harshness.</span>`);
 					break;
 				case "anchorBaby":
-					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The screaming breeder is flogged on the promenade before being dragged bleeding and broken out of the arcology sans ${his} children; they are destined for the slave orphanage. The public <span class="green">approves of this harshness.</span>`);
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The screaming breeder is flogged on the promenade before being dragged bleeding and broken out of the arcology sans ${his} children; they are destined for the slave orphanage. The public <span class="reputation inc">approves of this harshness.</span>`);
 					break;
 				case "businesswoman":
-					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting bitch is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="green">approves of this harshness.</span>`);
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting bitch is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="reputation inc">approves of this harshness.</span>`);
 					break;
 				case "mule":
 				case "rapist":
 				case "whore":
-					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="green">approves of this harshness.</span>`);
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="reputation inc">approves of this harshness.</span>`);
 					break;
 				case "passfail":
-					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that ${_realRace} scum won't steal their livelihoods. The protesting malefactor is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="green">approves of this harshness.</span>`);
+					r.push(`Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that ${realRace} scum won't steal their livelihoods. The protesting malefactor is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="reputation inc">approves of this harshness.</span>`);
 					break;
 				case "liberator":
-					r.push(`An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. The protesting bitch is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="green">approves of this harshness.</span>`);
+					r.push(`An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. The protesting bitch is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public <span class="reputation inc">approves of this harshness.</span>`);
 			}
-			repX(500, "event", _slave);
+			repX(500, "event", slave);
 
 			App.Events.addParagraph(frag, r);
 			return frag;
@@ -913,8 +575,8 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 		function ownerFlog() {
 			const frag = document.createDocumentFragment();
 			r = [];
-			r.push(`An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. ${He} is stripped and the slaveowner whose property ${he} tried to free is handed the leathern instrument. It seems the escapee was a favorite he does not wish to mangle, so he flogs the criminal mercilessly instead. ${He} is flung out of the arcology, nearly dead. The public <span class="green">approves of this harshness,</span> and small slaveholders are <span class="green">encouraged to do business with your arcology</span> after word of the incident gets around.`);
-			repX(500, "event", _slave);
+			r.push(`An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. ${He} is stripped and the slaveowner whose property ${he} tried to free is handed the leathern instrument. It seems the escapee was a favorite he does not wish to mangle, so he flogs the criminal mercilessly instead. ${He} is flung out of the arcology, nearly dead. The public <span class="reputation inc">approves of this harshness,</span> and small slaveholders are <span class="green">encouraged to do business with your arcology</span> after word of the incident gets around.`);
+			repX(500, "event", slave);
 			V.arcologies[0].prosperity += 10;
 			App.Events.addParagraph(frag, r);
 			return frag;
@@ -923,7 +585,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 		function sell() {
 			const frag = document.createDocumentFragment();
 			r = [];
-			cashX(_slaveCost, "slaveTransfer");
+			cashX(cost, "slaveTransfer");
 			if (V.policies.cash4Babies === 1 && malefactor === "anchorBaby") {
 				cashX(random(20, 30), "slaveTransfer");
 			}
@@ -938,13 +600,12 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 					r.push(`You complete the legalities and biometric scanning quickly and without fuss. ${He} sobs throughout the process, though stops once ${he} realizes being a slave means free food. ${He} starts crying again once ${he} realizes ${he} is heading for the slave markets.`);
 					break;
 				case "anchorBaby":
-					r.push(`You complete the legalities and biometric scanning quickly and without fuss. The condemned sobs and begs throughout the process until you grow tired of the whining and apply punishment. Then it's off to slave markets for sale. ${His} children `);
+					r.push(`You complete the legalities and biometric scanning quickly and without fuss. The condemned sobs and begs throughout the process until you grow tired of the whining and apply punishment. Then it's off to slave markets for sale. ${His} children`);
 					if (V.policies.cash4Babies === 1) {
-						r.push(`head off to be sold as well`);
+						r.push(`head off to be sold as well.`);
 					} else {
-						r.push(`will be sent to a slave orphanage for future sale`);
+						r.push(`will be sent to a slave orphanage for future sale.`);
 					}
-					r.push(`.`);
 					break;
 				case "businesswoman":
 				case "mule":
@@ -960,5 +621,286 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			App.Events.addParagraph(frag, r);
 			return frag;
 		}
+
+		function makeMalefactor() {
+			let slave;
+			switch (malefactor) {
+				case "addict":
+					slave = GenerateNewSlave();
+					slave.origin = "You sentenced $him to enslavement as a punishment for attempted burglary.";
+					slave.career = "a criminal";
+					slave.devotion = random(-75, -60);
+					slave.trust = random(-15, 0);
+					slave.oldDevotion = slave.devotion;
+					setHealth(slave, jsRandom(-40, -20));
+					slave.addict = 30;
+					slave.anus = 3;
+					if (slave.dick === 0) {
+						slave.balls = 0;
+						slave.vagina = 2;
+						slave.skill.vaginal = 15;
+					} else {
+						slave.ovaries = 0;
+						slave.clit = 0;
+						slave.skill.vaginal = 0;
+					}
+					slave.skill.oral = 15;
+					slave.skill.anal = 35;
+					slave.skill.whoring = 15;
+					slave.earPiercing = 1;
+					slave.nosePiercing = 1;
+					slave.nipplesPiercing = 1;
+					slave.clitPiercing = 1;
+					slave.behavioralFlaw = "odd";
+					break;
+				case "escapee":
+					slave = GenerateNewSlave(null, {disableDisability: 1});
+					slave.origin = "You sentenced $him to enslavement as a punishment for suspected escapism.";
+					slave.devotion = random(-75, -60);
+					slave.trust = random(-15, 0);
+					slave.oldDevotion = slave.devotion;
+					setHealth(slave, jsRandom(-80, -70), undefined, undefined, undefined, 70);
+					slave.heels = 1;
+					slave.boobs += 100 * random(12, 32);
+					slave.butt += random(2, 4);
+					slave.anus = 1;
+					if (slave.dick === 0) {
+						slave.balls = 0;
+						slave.vagina = 2;
+						slave.skill.vaginal = 15;
+					} else {
+						slave.dick = random(4, 5);
+						slave.balls = random(0, 2);
+						slave.ovaries = 0;
+						slave.clit = 0;
+						slave.skill.vaginal = 0;
+					}
+					slave.skill.oral = 0;
+					slave.skill.anal = 0;
+					slave.skill.whoring = 0;
+					slave.sexualFlaw = "hates penetration";
+					slave.behavioralFlaw = "odd";
+					break;
+				case "anchorBaby":
+					slave = GenerateNewSlave("XX", {disableDisability: 1, minAge: V.fertilityAge, maxAge: 42});
+					slave.origin = "You sentenced $him to enslavement as a punishment for smuggling slaves within $his body.";
+					slave.career = App.Data.Careers.General.uneducated.random();
+					slave.devotion = random(-75, -50);
+					slave.trust = random(-75, -60);
+					slave.oldDevotion = slave.devotion;
+					setHealth(slave, jsRandom(20, 40), undefined, undefined, undefined, 60);
+					slave.weight = random(40, 80);
+					slave.accent = 3;
+					slave.boobs += 200;
+					slave.lactation = 1;
+					slave.lactationDuration = 2;
+					slave.ovaries = 1;
+					if (slave.vagina < 2) {
+						slave.vagina += 3;
+					}
+					slave.bellySag = 3;
+					slave.bellySagPreg = 3;
+					slave.preg = 0;
+					slave.pregWeek = -4;
+					slave.counter.birthsTotal = 2;
+					slave.counter.births = 2;
+					slave.skill.vaginal = 30;
+					slave.skill.oral = 15;
+					slave.skill.anal = 15;
+					slave.sexualFlaw = "crude";
+					slave.behavioralFlaw = "bitchy";
+					break;
+				case "orphanloli":
+					slave = GenerateNewSlave(null, {minAge: V.minimumSlaveAge, maxAge: 12, disableDisability: 1});
+					slave.origin = "You sentenced $him to enslavement as a punishment for suspected escapism.";
+					slave.career = "an orphan";
+					slave.devotion = random(-15, 0);
+					slave.trust = random(-75, -60);
+					slave.oldDevotion = slave.devotion;
+					setHealth(slave, jsRandom(-80, -70), undefined, undefined, undefined, 70);
+					slave.weight = -100;
+					slave.accent = 3;
+					slave.boobs = 0;
+					slave.butt = 0;
+					slave.anus = 0;
+					if (slave.dick === 0) {
+						slave.balls = 0;
+						slave.vagina = 0;
+					} else {
+						slave.dick = random(1, 2);
+						slave.balls = random(1, 2);
+						slave.ovaries = 0;
+						slave.clit = 0;
+					}
+					slave.skill.vaginal = 0;
+					slave.skill.oral = 0;
+					slave.skill.anal = 0;
+					slave.skill.whoring = 0;
+					slave.sexualFlaw = "apathetic";
+					slave.behavioralFlaw = "gluttonous";
+					break;
+				case "businesswoman":
+					slave = GenerateNewSlave("XX", {
+						disableDisability: 1, minAge: 35, maxAge: 45, race: "nonslave"
+					});
+					slave.origin = "You sentenced $him to enslavement as a punishment for fraud and theft.";
+					slave.career = "a criminal businesswoman";
+					slave.devotion = random(-75, -60);
+					slave.trust = random(-15, 0);
+					slave.oldDevotion = slave.devotion;
+					slave.vagina = 2;
+					slave.preg = -1;
+					slave.skill.vaginal = 15;
+					slave.anus = 0;
+					slave.boobs += 400;
+					slave.boobsImplant = 400;
+					slave.boobsImplantType = "normal";
+					slave.butt += 2;
+					slave.buttImplant = 2;
+					slave.buttImplantType = "normal";
+					setHealth(slave, jsRandom(20, 40), undefined, undefined, undefined, 10);
+					slave.sexualFlaw = "hates oral";
+					slave.behavioralFlaw = "arrogant";
+					slave.hStyle = "fashionable for a Free Cities businesswoman, up in a tight bun";
+					slave.custom.tattoo = "$He has a pretty floral tattoo along $his collarbone.";
+					break;
+				case "whore":
+					slave = GenerateNewSlave(null, {disableDisability: 1, race: "nonslave"});
+					slave.origin = "You sentenced $him to enslavement as a punishment for theft and battery.";
+					slave.career = "a prostitute";
+					slave.devotion = random(-75, -60);
+					slave.trust = random(-15, 0);
+					slave.oldDevotion = slave.devotion;
+					setHealth(slave, jsRandom(-40, -20));
+					slave.anus = 2;
+					if (slave.dick === 0) {
+						slave.balls = 0;
+						slave.vagina = 2;
+						slave.skill.vaginal = 35;
+					}
+					slave.skill.oral = 35;
+					slave.skill.anal = 35;
+					slave.skill.whoring = 35;
+					slave.boobs += 400;
+					slave.boobsImplant = 400;
+					slave.boobsImplantType = "normal";
+					slave.butt++;
+					slave.buttImplant = 1;
+					slave.buttImplantType = "normal";
+					slave.lips += 10;
+					slave.lipsImplant = 10;
+					slave.lipsPiercing = 1;
+					slave.tonguePiercing = 1;
+					slave.earPiercing = 1;
+					slave.nosePiercing = 1;
+					slave.eyebrowPiercing = 1;
+					slave.nipplesPiercing = 1;
+					slave.clitPiercing = 1;
+					slave.sexualFlaw = "hates penetration";
+					slave.hStyle = "strip";
+					slave.custom.tattoo = "$He has a teardrop tattooed under each eye.";
+					break;
+				case "rapist":
+					slave = GenerateNewSlave("XY", {disableDisability: 1, minAge: 16, race: "nonslave"});
+					slave.origin = "You sentenced $him to enslavement as a punishment for the rape of a free woman.";
+					slave.devotion = random(-75, -60);
+					slave.trust = random(-15, 0);
+					slave.oldDevotion = slave.devotion;
+					setHealth(slave, jsRandom(0, 20), undefined, undefined, 0, 5);
+					slave.anus = 0;
+					slave.balls = random(2, 4);
+					slave.skill.oral = 0;
+					slave.skill.anal = 0;
+					slave.behavioralFlaw = "arrogant";
+					slave.sexualFlaw = "hates men";// TODO: Fixme: "hates men" is actually a behavior flaw, which is already set.
+					break;
+				case "mule":
+					pram = new GenerateNewSlavePram;
+					Object.assign(pram, {disableDisability: 1, minAge: 13, race: "nonslave"});
+					if (V.pedo_mode === 0) {
+						pram.maxAge = 26;
+					}
+					slave = GenerateNewSlave("XX", pram);
+					slave.origin = "You sentenced $him to enslavement for smuggling drugs into the arcology.";
+					slave.career = "a drug mule";
+					slave.devotion = random(-50, -20);
+					slave.trust = random(-100, -75);
+					slave.vagina = 2;
+					slave.preg = -2;
+					slave.bellyImplant = 0;
+					slave.cervixImplant = 1;
+					slave.pubicHStyle = "shaved";
+					slave.bellySag = 2;
+					slave.skill.vaginal = 50;
+					slave.anus = 0;
+					slave.hips = 0;
+					slave.weight = -60;
+					slave.waist = random(-30, -10);
+					slave.boobs = random(4, 5) * 100;
+					slave.boobShape = "perky";
+					setHealth(slave, jsRandom(-20, 10), undefined, undefined, undefined, 40);
+					slave.sexualFlaw = "hates penetration";
+					slave.behavioralFlaw = "shamefast"; // TODO: Fixme: "hates men" is actually a behavior flaw, which is already set.
+					slave.accent = 0;
+					break;
+				case "liberator":
+					slave = GenerateNewSlave("XX", {disableDisability: 1, minAge: random(12, 28), maxAge: 43});
+					slave.origin = "You sentenced $him to enslavement as a punishment for attempted theft of a slave.";
+					slave.career = "an antislavery activist";
+					slave.devotion = random(-75, -60);
+					slave.trust = random(-15, 0);
+					slave.oldDevotion = slave.devotion;
+					slave.muscles = 50;
+					slave.weight = random(-20, 30);
+					slave.waist = random(-10, 10);
+					slave.skill.vaginal = 0;
+					slave.skill.oral = 0;
+					slave.skill.anal = 0;
+					slave.skill.whoring = 0;
+					slave.skill.combat = 1;
+					slave.anus = 0;
+					setHealth(slave, jsRandom(60, 80), undefined, undefined, 0, 10);
+					slave.behavioralFlaw = "arrogant";
+					slave.sexualFlaw = "hates men";// TODO: fixme
+					slave.hStyle = "shaved into a mohawk";
+					slave.custom.tattoo = "$He seems to have had slave tattoos at one time, but has had them cheaply removed.";
+					break;
+				case "passfail":
+					pram = new GenerateNewSlavePram;
+					pram.disableDisability = 1;
+					if (V.arcologies[0].FSSubjugationistLawME === 1) {
+						pram.race = V.arcologies[0].FSSubjugationistRace;
+					} else if (V.arcologies[0].FSSupremacistLawME === 1) {
+						const races = App.Utils.getRaceArrayWithoutParamRace(V.arcologies[0].FSSupremacistRace);
+						pram.race = races.random();
+					}
+					slave = GenerateNewSlave(null, pram);
+					slave.origin = "You sentenced $him to enslavement as a punishment for defying local racial segregation laws.";
+					slave.career = App.Data.Careers.General.educated.random();
+					slave.devotion = random(-75, -50);
+					slave.trust = random(-75, -50);
+					slave.oldDevotion = slave.devotion;
+					setHealth(slave, jsRandom(-40, -20), undefined, undefined, 0, 10);
+					slave.intelligence = random(51, 95);
+					slave.intelligenceImplant = 15;
+					if (V.arcologies[0].FSSupremacistLawME === 1 && V.arcologies[0].FSSupremacistRace) {
+						fakeRace = V.arcologies[0].FSSupremacistRace;
+					} else if (V.arcologies[0].FSSubjugationistLawME === 1) {
+						const races = App.Utils.getRaceArrayWithoutParamRace(V.arcologies[0].FSSubjugationistRace);
+						fakeRace = races.random();
+					}
+					realRace = slave.race;
+					slave.race = fakeRace;
+					slave.skin = randomRaceSkin(fakeRace);
+					setEyeColor(slave, randomRaceEye(fakeRace));
+					slave.hColor = randomRaceHair(fakeRace);
+					slave.override_Race = 1;
+					slave.override_Skin = 1;
+					slave.override_H_Color = 1;
+					slave.override_Eye_Color = 1;
+					break;
+			}
+			return slave;
+		}
 	}
 };
diff --git a/src/events/randomEvent.js b/src/events/randomEvent.js
index 6304afac963..db99f7578e6 100644
--- a/src/events/randomEvent.js
+++ b/src/events/randomEvent.js
@@ -121,6 +121,8 @@ App.Events.getNonindividualEvents = function() {
 
 		new App.Events.RERecruit(),
 		new App.Events.REBusyMasterSuite(),
+		new App.Events.REMalefactor(),
+
 	];
 };
 
diff --git a/src/uncategorized/reMalefactor.tw b/src/uncategorized/reMalefactor.tw
deleted file mode 100644
index 666be201422..00000000000
--- a/src/uncategorized/reMalefactor.tw
+++ /dev/null
@@ -1,577 +0,0 @@
-:: RE malefactor [nobr]
-
-<<set $nextButton = "Continue", $nextLink = "RIE Eligibility Check", $returnTo = "RIE Eligibility Check", $encyclopedia = "Free Cities Justice">>
-
-<<switch $malefactor>>
-<<case "addict">>
-	<<set _slave = GenerateNewSlave()>>
-	<<set _slave.origin = "You sentenced $him to enslavement as a punishment for attempted burglary.">>
-	<<set _slave.career = "a criminal">>
-	<<set _slave.devotion = random(-75,-60)>>
-	<<set _slave.trust = random(-15,0)>>
-	<<set _slave.oldDevotion = _slave.devotion>>
-	<<run setHealth(_slave, jsRandom(-40, -20))>>
-	<<set _slave.addict = 30>>
-	<<set _slave.anus = 3>>
-	<<if _slave.dick === 0>>
-		<<set _slave.balls = 0>>
-		<<set _slave.vagina = 2>>
-		<<set _slave.skill.vaginal = 15>>
-	<<else>>
-		<<set _slave.ovaries = 0>>
-		<<set _slave.clit = 0>>
-		<<set _slave.skill.vaginal = 0>>
-	<</if>>
-	<<set _slave.skill.oral = 15>>
-	<<set _slave.skill.anal = 35>>
-	<<set _slave.skill.whoring = 15>>
-	<<set _slave.earPiercing = 1>>
-	<<set _slave.nosePiercing = 1>>
-	<<set _slave.nipplesPiercing = 1>>
-	<<set _slave.clitPiercing = 1>>
-	<<set _slave.behavioralFlaw = "odd">>
-<<case "escapee">>
-	<<set _slave = GenerateNewSlave(null, {disableDisability: 1})>>
-	<<set _slave.origin = "You sentenced $him to enslavement as a punishment for suspected escapism.">>
-	<<set _slave.devotion = random(-75,-60)>>
-	<<set _slave.trust = random(-15,0)>>
-	<<set _slave.oldDevotion = _slave.devotion>>
-	<<run setHealth(_slave, jsRandom(-80, -70), undefined, undefined, undefined, 70)>>
-	<<set _slave.heels = 1>>
-	<<set _slave.boobs += 100*random(12,32)>>
-	<<set _slave.butt += random(2,4)>>
-	<<set _slave.anus = 1>>
-	<<if _slave.dick === 0>>
-		<<set _slave.balls = 0>>
-		<<set _slave.vagina = 2>>
-		<<set _slave.skill.vaginal = 15>>
-	<<else>>
-		<<set _slave.dick = random(4,5)>>
-		<<set _slave.balls = random(0,2)>>
-		<<set _slave.ovaries = 0>>
-		<<set _slave.clit = 0>>
-		<<set _slave.skill.vaginal = 0>>
-	<</if>>
-	<<set _slave.skill.oral = 0>>
-	<<set _slave.skill.anal = 0>>
-	<<set _slave.skill.whoring = 0>>
-	<<set _slave.sexualFlaw = "hates penetration">>
-	<<set _slave.behavioralFlaw = "odd">>
-<<case "anchorBaby">>
-	<<set _slave = GenerateNewSlave("XX", {disableDisability: 1, minAge: $fertilityAge, maxAge: 42})>>
-	<<set _slave.origin = "You sentenced $him to enslavement as a punishment for smuggling slaves within $his body.">>
-	<<set _slave.career = App.Data.Careers.General.uneducated.random()>>
-	<<set _slave.devotion = random(-75,-50)>>
-	<<set _slave.trust = random(-75,-60)>>
-	<<set _slave.oldDevotion = _slave.devotion>>
-	<<run setHealth(_slave, jsRandom(20, 40), undefined, undefined, undefined, 60)>>
-	<<set _slave.weight = random(40,80)>>
-	<<set _slave.accent = 3>>
-	<<set _slave.boobs += 200>>
-	<<set _slave.lactation = 1>>
-	<<set _slave.lactationDuration = 2>>
-	<<set _slave.ovaries = 1>>
-	<<if _slave.vagina < 2>>
-		<<set _slave.vagina += 3>>
-	<</if>>
-	<<set _slave.bellySag = 3, _slave.bellySagPreg = 3>>
-	<<set _slave.preg = 0>>
-	<<set _slave.pregWeek = -4>>
-	<<set _slave.counter.birthsTotal = 2>>
-	<<set _slave.counter.births = 2>>
-	<<set _slave.skill.vaginal = 30>>
-	<<set _slave.skill.oral = 15>>
-	<<set _slave.skill.anal = 15>>
-	<<set _slave.sexualFlaw = "crude">>
-	<<set _slave.behavioralFlaw = "bitchy">>
-<<case "orphanloli">>
-	<<set _slave = GenerateNewSlave(null, {minAge: $minimumSlaveAge, maxAge: 12, disableDisability: 1})>>
-	<<set _slave.origin = "You sentenced $him to enslavement as a punishment for suspected escapism.">>
-	<<set _slave.career = "an orphan">>
-	<<set _slave.devotion = random(-15,0)>>
-	<<set _slave.trust = random(-75,-60)>>
-	<<set _slave.oldDevotion = _slave.devotion>>
-	<<run setHealth(_slave, jsRandom(-80, -70), undefined, undefined, undefined, 70)>>
-	<<set _slave.weight = -100>>
-	<<set _slave.accent = 3>>
-	<<set _slave.boobs = 0>>
-	<<set _slave.butt = 0>>
-	<<set _slave.anus = 0>>
-	<<if _slave.dick === 0>>
-		<<set _slave.balls = 0>>
-		<<set _slave.vagina = 0>>
-	<<else>>
-		<<set _slave.dick = random(1,2)>>
-		<<set _slave.balls = random(1,2)>>
-		<<set _slave.ovaries = 0>>
-		<<set _slave.clit = 0>>
-	<</if>>
-	<<set _slave.skill.vaginal = 0>>
-	<<set _slave.skill.oral = 0>>
-	<<set _slave.skill.anal = 0>>
-	<<set _slave.skill.whoring = 0>>
-	<<set _slave.sexualFlaw = "apathetic">>
-	<<set _slave.behavioralFlaw = "gluttonous">>
-<<case "businesswoman">>
-	<<set _slave = GenerateNewSlave("XX", {disableDisability: 1, minAge: 35, maxAge: 45, race: "nonslave"})>>
-	<<set _slave.origin = "You sentenced $him to enslavement as a punishment for fraud and theft.">>
-	<<set _slave.career = "a criminal businesswoman">>
-	<<set _slave.devotion = random(-75,-60)>>
-	<<set _slave.trust = random(-15,0)>>
-	<<set _slave.oldDevotion = _slave.devotion>>
-	<<set _slave.vagina = 2>>
-	<<set _slave.preg = -1>>
-	<<set _slave.skill.vaginal = 15>>
-	<<set _slave.anus = 0>>
-	<<set _slave.boobs += 400>>
-	<<set _slave.boobsImplant = 400>>
-	<<set _slave.boobsImplantType = "normal">>
-	<<set _slave.butt += 2>>
-	<<set _slave.buttImplant = 2>>
-	<<set _slave.buttImplantType = "normal">>
-	<<run setHealth(_slave, jsRandom(20, 40), undefined, undefined, undefined, 10)>>
-	<<set _slave.sexualFlaw = "hates oral">>
-	<<set _slave.behavioralFlaw = "arrogant">>
-	<<set _slave.hStyle = "fashionable for a Free Cities businesswoman, up in a tight bun">>
-	<<set _slave.custom.tattoo = "$He has a pretty floral tattoo along $his collarbone.">>
-<<case "whore">>
-	<<set _slave = GenerateNewSlave(null, {disableDisability: 1, race: "nonslave"})>>
-	<<set _slave.origin = "You sentenced $him to enslavement as a punishment for theft and battery.">>
-	<<set _slave.career = "a prostitute">>
-	<<set _slave.devotion = random(-75,-60)>>
-	<<set _slave.trust = random(-15,0)>>
-	<<set _slave.oldDevotion = _slave.devotion>>
-	<<run setHealth(_slave, jsRandom(-40, -20))>>
-	<<set _slave.anus = 2>>
-	<<if _slave.dick === 0>>
-		<<set _slave.balls = 0>>
-		<<set _slave.vagina = 2>>
-		<<set _slave.skill.vaginal = 35>>
-	<</if>>
-	<<set _slave.skill.oral = 35>>
-	<<set _slave.skill.anal = 35>>
-	<<set _slave.skill.whoring = 35>>
-	<<set _slave.boobs += 400>>
-	<<set _slave.boobsImplant = 400>>
-	<<set _slave.boobsImplantType = "normal">>
-	<<set _slave.butt++>>
-	<<set _slave.buttImplant = 1>>
-	<<set _slave.buttImplantType = "normal">>
-	<<set _slave.lips += 10>>
-	<<set _slave.lipsImplant = 10>>
-	<<set _slave.lipsPiercing = 1>>
-	<<set _slave.tonguePiercing = 1>>
-	<<set _slave.earPiercing = 1>>
-	<<set _slave.nosePiercing = 1>>
-	<<set _slave.eyebrowPiercing = 1>>
-	<<set _slave.nipplesPiercing = 1>>
-	<<set _slave.clitPiercing = 1>>
-	<<set _slave.sexualFlaw = "hates penetration">>
-	<<set _slave.hStyle = "strip">>
-	<<set _slave.custom.tattoo = "$He has a teardrop tattooed under each eye.">>
-<<case "rapist">>
-	<<set _slave = GenerateNewSlave("XY", {disableDisability: 1, minAge: 16, race: "nonslave"})>>
-	<<set _slave.origin = "You sentenced $him to enslavement as a punishment for the rape of a free woman.">>
-	<<set _slave.devotion = random(-75,-60)>>
-	<<set _slave.trust = random(-15,0)>>
-	<<set _slave.oldDevotion = _slave.devotion>>
-	<<run setHealth(_slave, jsRandom(0, 20), undefined, undefined, 0, 5)>>
-	<<set _slave.anus = 0>>
-	<<set _slave.balls = random(2,4)>>
-	<<set _slave.skill.oral = 0>>
-	<<set _slave.skill.anal = 0>>
-	<<set _slave.behavioralFlaw = "arrogant">>
-	<<set _slave.sexualFlaw = "hates men">>
-<<case "mule">>
-	<<set _pram = {disableDisability: 1, minAge: 13, race: "nonslave"}>>
-	<<if $pedo_mode === 0>>
-		<<set _pram.maxAge = 26>>
-	<</if>>
-	<<set _slave = GenerateNewSlave("XX", _pram)>>
-	<<set _slave.origin = "You sentenced $him to enslavement for smuggling drugs into the arcology.">>
-	<<set _slave.career = "a drug mule">>
-	<<set _slave.devotion = random(-50,-20)>>
-	<<set _slave.trust = random(-100,-75)>>
-	<<set _slave.vagina = 2>>
-	<<set _slave.preg = -2>>
-	<<set _slave.bellyImplant = 0>>
-	<<set _slave.cervixImplant = 1>>
-	<<set _slave.pubicHStyle = "shaved">>
-	<<set _slave.bellySag = 2>>
-	<<set _slave.skill.vaginal = 50>>
-	<<set _slave.anus = 0>>
-	<<set _slave.hips = 0>>
-	<<set _slave.weight = -60>>
-	<<set _slave.waist = random(-30,-10)>>
-	<<set _slave.boobs = random(4,5)*100>>
-	<<set _slave.boobShape = "perky">>
-	<<run setHealth(_slave, jsRandom(-20, 10), undefined, undefined, undefined, 40)>>
-	<<set _slave.sexualFlaw = "hates penetration">>
-	<<set _slave.behavioralFlaw = "shamefast">>
-	<<set _slave.accent = 0>>
-<<case "liberator">>
-	<<set _slave = GenerateNewSlave("XX", {disableDisability: 1, minAge: random(12, 28) , maxAge: 43})>>
-	<<set _slave.origin = "You sentenced $him to enslavement as a punishment for attempted theft of a slave.">>
-	<<set _slave.career = "an antislavery activist">>
-	<<set _slave.devotion = random(-75,-60)>>
-	<<set _slave.trust = random(-15,0)>>
-	<<set _slave.oldDevotion = _slave.devotion>>
-	<<set _slave.muscles = 50>>
-	<<set _slave.weight = random(-20,30)>>
-	<<set _slave.waist = random(-10,10)>>
-	<<set _slave.skill.vaginal = 0>>
-	<<set _slave.skill.oral = 0>>
-	<<set _slave.skill.anal = 0>>
-	<<set _slave.skill.whoring = 0>>
-	<<set _slave.skill.combat = 1>>
-	<<set _slave.anus = 0>>
-	<<run setHealth(_slave, jsRandom(60, 80), undefined, undefined, 0, 10)>>
-	<<set _slave.behavioralFlaw = "arrogant">>
-	<<set _slave.sexualFlaw = "hates men">>
-	<<set _slave.hStyle = "shaved into a mohawk">>
-	<<set _slave.custom.tattoo = "$He seems to have had slave tattoos at one time, but has had them cheaply removed.">>
-<<case "passfail">>
-	<<set _pram = {disableDisability: 1}>>
-	<<if $arcologies[0].FSSubjugationistLawME === 1>>
-		<<set _pram.race = $arcologies[0].FSSubjugationistRace>>
-	<<elseif $arcologies[0].FSSupremacistLawME === 1>>
-		<<set _races = App.Utils.getRaceArrayWithoutParamRace($arcologies[0].FSSupremacistRace)>>
-		<<set _pram.race = _races.random()>>
-	<</if>>
-	<<set _slave = GenerateNewSlave(null, _pram)>>
-	<<set _slave.origin = "You sentenced $him to enslavement as a punishment for defying local racial segregation laws.">>
-	<<set _slave.career = App.Data.Careers.General.educated.random()>>
-	<<set _slave.devotion = random(-75,-50)>>
-	<<set _slave.trust = random(-75,-50)>>
-	<<set _slave.oldDevotion = _slave.devotion>>
-	<<run setHealth(_slave, jsRandom(-40, -20), undefined, undefined, 0, 10)>>
-	<<set _slave.intelligence = random(51,95)>>
-	<<set _slave.intelligenceImplant = 15>>
-	<<if $arcologies[0].FSSupremacistLawME === 1>>
-		<<set _fakeRace = $arcologies[0].FSSupremacistRace>>
-	<<elseif $arcologies[0].FSSubjugationistLawME === 1>>
-		<<set _races = App.Utils.getRaceArrayWithoutParamRace($arcologies[0].FSSubjugationistRace)>>
-		<<set _fakeRace = _races.random()>>
-	<</if>>
-	<<set _realRace = _slave.race>>
-	<<set _slave.race = _fakeRace>>
-	<<set _slave.skin = randomRaceSkin(_fakeRace)>>
-	<<run setEyeColor(_slave, randomRaceEye(_fakeRace))>>
-	<<set _slave.hColor = randomRaceHair(_fakeRace)>>
-	<<set _slave.override_Race = 1, _slave.override_Skin = 1, _slave.override_H_Color = 1, _slave.override_Eye_Color = 1>>
-<</switch>>
-
-<<run App.Utils.setLocalPronouns(_slave)>>
-
-<<= capFirstChar($assistant.name)>> alerts you that a <<if $malefactor === "mule">>potential <</if>>criminal has been detected by your security systems and detained by the drones. Crime is extremely uncommon in your arcology,
-<<if $malefactor !== "liberator">>
-	since nothing can escape the notice of the omnipresent monitoring systems.
-<</if>>
-
-<<switch $malefactor>>
-<<case "addict">>
-	Criminals are usually either too angry, too ignorant, or too stupid to understand the impossibility of successful petty crime. This is the latter situation; a $girl suffering severe aphrodisiac withdrawal has attempted to break into a store that sells the stuff. $He's now lying <<if $seePee === 1>>in a pool of $his own urine<<else>>face-down on the pavement<</if>> with a taser round stuck in $his ass; the drone responsible is hovering helpfully nearby, hitting $him with another shock whenever $he does more than twitch.
-<<case "escapee">>
-	This is a simple case of vagrancy; sleeping on the streets (due to penury rather than inebriation) breaks an implicit contract all visitors to the arcology sign by coming here. The criminal is anything but usual, however. $He bears signs of extreme hormone manipulation over a long period, and has had $his Achilles tendons clipped. Camera records show $him crawling in with a cargo shipment. $He's clad in rags, and you cannot find any record of $him anywhere. The growing crowd is convinced $he's an escaped slave, and is growing ugly.
-<<case "anchorBaby">>
-	This is likely another case of attempted escape by a slave or potentially a smuggling operation. The cause of detection is a steady stream of moaning emanating from a cargo container recently deposited into the arcology's cargo depot and has attracted a crowd of curious onlookers. Video feeds show the container being open and a heavily pregnant <<if _slave.physicalAge > 30>>$woman<<elseif _slave.physicalAge > 19>>young $woman<<elseif _slave.physicalAge > 12>>teenager<<else>>little $girl<</if>> staggering out while clutching a newborn to $his breast and struggling to hold back $his second child from being born. From what little language $he knows, $he seems to think that just giving birth in your arcology is enough to become a proper citizen; as expected, $he squats and pushes out the other brat as you arrive. The growing crowd is becoming unruly, and $his inability to speak the language isn't helping; things could get ugly at any moment and hinge entirely on your next move.
-<<case "orphanloli">>
-	This is a simple case of vagrancy; sleeping on the streets (due to penury rather than inebriation) breaks an implicit contract all visitors to the arcology sign by coming here. Several reports of petty theft were made in the area recently as well. The criminal is anything but usual, however. $He is very young, emaciated, and desperate. Camera records show $him crawling in through an air vent. $He's clad in rags, clutching a presumably stolen apple, and you cannot find any record of $him anywhere. The growing crowd is convinced $he's an escaped slave, and $his inability to speak the language isn't helping; things could get ugly at any moment and hinge entirely on your next move.
-<<case "businesswoman">>
-	Nevertheless, it seems one of your tenants, a hitherto well-respected business<<= $woman>>, has left the straight and narrow. It seems $his business affairs took a decisive turn for the worse, so $he attempted to drain $his clients' funds and leave your arcology before anyone was the wiser. Unfortunately for $him, your security drones, controlled by $assistant.name, were very much the wiser. <<= capFirstChar($assistant.name)>> has with machine efficiency compiled the completest proofs of corporate malfeasance you have ever seen. Your wretched tenant signed a contract with you that included provisions forbidding theft. $He is entirely at your mercy.
-<<case "whore">>
-	Nevertheless, it seems one of your tenants, a free whore, has been systematically stealing from clients. $He was furtive enough to get away with it for a time, but has now been caught red-handed. The john who caught $him attempted to stop $him, and $he fought him. Like many prostitutes $he carried a weapon in $his handbag, and the man is severely wounded. <<= capFirstChar($assistant.name)>> has with machine efficiency compiled a staggering dossier of video logs and personal testimony from previous customers who now understand where their personal belongings went, as well as appalling footage of today's victim's injuries. Your wretched tenant signed a contract with you that included provisions forbidding this kind of thing. $He is entirely at your mercy.
-<<case "rapist">>
-	Nevertheless, it seems one of your tenants saw fit to rape a free woman. Within ten minutes, the inhuman efficiency of $assistant.name has compiled video recordings, physical evidence, and even the victim's testimony, which is quite consistent with the first two. Your wretched tenant signed a contract with you that included provisions forbidding this kind of thing. $He is entirely at your mercy.
-<<case "mule">>
-	However some individuals still make attempts to fool them. In this case, the cameras are fixed on a clearly pregnant, and hugely at that, $woman as $he works $his way through the crowded market sectors. You watch as $he repeatedly bumps into other patrons and stalls, pausing to apologize before proceeding on $his way, as if $he wasn't familiar with $his gravid swell. $His body is also clearly underdeveloped for someone ready to drop quadruplets at any moment; thin, with barely any hips to speak of and a pert bust clearly not swollen with milk. $He even walks like a $woman not burdened with nine months of gestating multiples, let alone a single. As $he stumbles under $his own weight, $his shirt rides up, giving you a clear view of the deep red stretch marks of a belly that grew far faster than it could handle. You've seen enough and order the drones to corral $him until security arrives. $His expression shifts from fear as they encircle $him to panic as a groan escapes $his lips. $He grabs $his stomach as a capsule falls to the floor. As another contraction hits $him, $he drops to the ground and begins to "give birth" to $his illegal cargo.
-	<<if $bellyImplants === 1>>
-		$He likely has a belly implant designed to carry foreign objects inside $his womb and, having lost $his composure, is now vacating its contents.
-	<<else>>
-		You have no idea what you are witnessing until <<if $assistant.name === "your personal assistant">>your personal assistant pulls up an advertisement for a fillable womb located implant<<else>>$assistant.name introduces you to a fillable womb located implant<</if>> that $he likely has installed.
-	<</if>>
-	$He is easily taken into custody and $his contraband confiscated once the jeering crowd is dispersed enough to reach $him.
-<<case "liberator">>
-	<<setNonlocalPronouns $seeDicks>>
-	but this is a special case. A well-muscled, well-armed $woman was caught attempting to smuggle a slave owned by one of your tenants out of the arcology. Though the slave surrendered immediately (and will be dealt with by _hisU owner), the would-be liberatrix was caught by your security drones. $He destroyed two of them and caused @@.red;other minor damage@@<<run cashX(forceNeg(1000), "event", _slave)>> that will require a small sum to repair, but was eventually subdued. The drones had to expend a great deal of nonlethal ordnance to bring $him down and keep $him down, but $he is now entirely at your mercy.
-<<case "passfail">>
-	Nevertheless, it seems one of your tenants, a rather ordinary white collar worker, has been severely wounded in a freak industrial accident, to the point that a blood transfusion was needed. In the course of doing so, an arcology hospital's autosurgery noted several genetic discrepancies and alerted a few nearby drones. Simply put, while the $woman appears to be a normal _fakeRace $woman, this is the result of numerous cosmetic surgeries; $he is actually _realRace. The laws of your arcology hold that members of the _realRace race are fit only for slavery, quite unlike the superior _fakeRace people. That a _realRace $girl would gain a position of relatively high class and power through such deception and fraud is considered an outrage by many of your citizens, and so $he was placed under arrest before $he even awoke from surgery. $He is now entirely at your mercy.
-<</switch>>
-
-<<set _ContractCost = 1000>>
-<<set _slaveCost = slaveCost(_slave)>>
-<<set _slaveCost -= 1000>>
-
-<br><br>//Applying enslavement as punishment will cost <<print cashFormat(_ContractCost)>>. Doing so and then selling $him immediately will bring in approximately <<print cashFormat(_slaveCost)>>.//
-<br><br> <<includeDOM App.Desc.longSlave(_slave, {market: "generic"})>>
-
-<br><br>
-<span id="result">
-	<<if $cash >= _ContractCost>>
-		<<link "Enslave $him">>
-			<<run cashX(forceNeg(_ContractCost), "slaveTransfer", _slave)>>
-			<<replace "#result">>
-				<<switch $malefactor>>
-				<<case "addict">>
-					You complete the legalities and biometric scanning quickly and without fuss. The condemned recovers enough by the end of the process to start masturbating weakly, even as $he begins begging for a fix. Then it's off to the penthouse for basic slave induction.
-				<<case "escapee">>
-					You complete the legalities and biometric scanning quickly and without fuss. $He remains limp throughout the process, only recovering enough to barely grasp the situation as $he is enslaved.
-				<<case "orphanloli">>
-					You complete the legalities and biometric scanning quickly and without fuss. $He sobs throughout the process, though stops once $he realizes being a slave means free food.
-				<<case "anchorBaby">>
-					You complete the legalities and biometric scanning quickly and without fuss. $He doesn't stop screaming "citizenship" until $his children are taken from $him and $he is shoved off to the penthouse for basic slave induction.
-				<<case "businesswoman" "mule" "passfail" "rapist" "whore">>
-					You complete the legalities and biometric scanning quickly and without fuss. The condemned sobs and begs throughout the process until you grow tired of the whining and apply punishment. Then it's off to the penthouse for basic slave induction.
-				<<case "liberator">>
-					You complete the legalities and biometric scanning quickly and cautiously. Though the would-be liberator is of course restrained, disarmed, and still sedated, $he could awake at any time. Based on the drone logs, $he is likely to be violent when $he does.
-				<</switch>>
-				<<includeDOM App.UI.newSlaveIntro(_slave)>>
-			<</replace>>
-		<</link>>
-		<br><<link "Sentence $him to a day in the stocks, then enslave $him">>
-			<<run healthDamage(_slave, 10)>>
-			<<set _slave.behavioralFlaw = "odd">>
-			<<set _slave.sexualFlaw = "hates penetration">>
-			<<set _slave.anus = 2>>
-			<<set _fuckCount = random(20,35)>>
-			<<run seX(_slave, "anal", "public", "penetrative", _fuckCount)>>
-			<<if _slave.vagina > -1>>
-				<<if _slave.vagina < 2>>
-					<<set _slave.vagina = 2>>
-				<</if>>
-				<<if isFertile(_slave) && _slave.eggType === "human">>
-					<<= knockMeUp(_slave, 40, 2, -2)>>
-				<</if>>
-				<<run seX(_slave, "vaginal", "public", "penetrative", _fuckCount*2)>>
-			<</if>>
-			<<run cashX(forceNeg(_ContractCost), "slaveTransfer", _slave)>>
-			<<replace "#result">>
-				<<switch $malefactor>>
-				<<case "addict">>
-					You declare $his holes fair game for the entire arcology, since $he must somehow repay $his debt to society. $He spends a torturous day in the stocks before being hauled in for enslavement, somewhat @@.health.dec;the worse for wear@@ and @@.red;acting oddly@@ due to $his ordeal, bruises all over $his body, cum leaking from $his @@.lime;loosened@@ anus<<if _slave.vagina > -1>> and @@.lime;fucked-out@@ pussy<</if>>. The public @@.green;enjoys the fun.@@
-				<<case "escapee">>
-					You declare $his holes fair game for the entire arcology, so that all free citizens can own $him for a moment, if they wish. $He spends a torturous day in the stocks before being hauled in for enslavement, somewhat @@.health.dec;the worse for wear@@ and @@.red;acting oddly@@ due to $his ordeal, bruises all over $his body, cum leaking from $his @@.lime;loosened@@ anus<<if _slave.vagina > -1>> and @@.lime;fucked-out@@ pussy<</if>>. The public @@.green;enjoys the fun.@@
-				<<case "orphanloli">>
-					You declare $his holes fair game for the entire arcology, so that all free citizens can own $him for a moment, if they wish. $He spends a torturous day in the stocks before being hauled in for enslavement, @@.health.dec;completely broken@@ due to $his ordeal, bruises all over $his body, cum leaking from $his @@.lime;loosened@@ anus<<if _slave.vagina > -1>> and @@.lime;fucked-out@@ pussy<</if>>. The public @@.green;enjoys the fun.@@
-					<<set _slave.fetish = "mindbroken">>
-				<<case "anchorBaby">>
-					You declare $his holes fair game for the entire arcology; since $he wants to produce future slaves, your arcology might as well have the privilege of fathering them. $He spends a torturous day in the stocks after $his children are taken to a slave orphanage before being hauled in for enslavement, somewhat @@.health.dec;the worse for wear@@ and @@.red;acting oddly@@ due to $his ordeal, bruises all over $his body, cum leaking from $his @@.lime;loosened@@ anus<<if _slave.vagina > -1>> and @@.lime;fucked-out@@ pussy<</if>>. The public @@.green;enjoys the fun.@@
-				<<case "businesswoman">>
-					You declare $his holes fair game for the entire arcology, in payment for $his crimes. $He spends a torturous day in the stocks before being hauled in for enslavement, somewhat @@.health.dec;the worse for wear@@ and @@.red;acting oddly@@ due to $his ordeal, bruises all over $his body, cum leaking from $his @@.lime;loosened@@ anus<<if _slave.vagina > -1>> and @@.lime;fucked-out@@ pussy<</if>>. The public @@.green;enjoys the fun.@@
-				<<case "whore">>
-					You declare $his holes fair game for the entire arcology, to repay $his thefts. $He spends a torturous day in the stocks before being hauled in for enslavement, somewhat @@.health.dec;the worse for wear@@ and @@.red;acting oddly@@ due to $his ordeal, bruises all over $his body, cum leaking from $his @@.lime;loosened@@ anus<<if _slave.vagina > -1>> and @@.lime;fucked-out@@ pussy<</if>>. The public @@.green;enjoys the fun.@@
-				<<case "rapist">>
-					You declare $his holes fair game for the entire arcology. $He spends a torturous day in the stocks before being hauled in for enslavement, somewhat @@.health.dec;the worse for wear@@ and @@.red;acting oddly@@ due to $his ordeal, bruises all over $his body, cum leaking from $his @@.lime;loosened@@ anus<<if _slave.vagina > -1>> and @@.lime;fucked-out@@ pussy<</if>>. The public @@.green;enjoys the fun.@@
-				<<case "mule">>
-					You declare $his holes fair game for the entire arcology as punishment for trying to smuggle in a load instead of taking one. $He spends a torturous day in the stocks before being hauled in for enslavement, somewhat @@.health.dec;the worse for wear@@ and @@.red;acting oddly@@ due to $his ordeal, bruises all over $his body, cum leaking from $his @@.lime;loosened@@ anus<<if _slave.vagina > -1>> and @@.lime;fucked-out@@ pussy<</if>>. The public @@.green;enjoys the fun.@@
-				<<case "liberator">>
-					Slaveownership is the cornerstone of the society you're building in your arcology, and this $woman attempted to undermine it. $His holes are thus fair game for the entire arcology. $He spends a torturous day in the stocks before being hauled in for enslavement, somewhat @@.health.dec;the worse for wear@@ and @@.red;acting oddly@@ due to $his ordeal, bruises all over $his body, cum leaking from $his @@.lime;loosened@@ anus<<if _slave.vagina > -1>> and @@.lime;fucked-out@@ pussy<</if>>. The public @@.green;enjoys the fun,@@ and small slaveholders are @@.green;encouraged to do business with your arcology@@ after word of the incident gets around.
-				<<case "passfail">>
-					You declare $his holes fair game for the entire arcology; after all, $he did want to be around lots of _fakeRace people, didn't $he? $He spends a torturous day in the stocks before being hauled in for enslavement, somewhat @@.health.dec;the worse for wear@@ and @@.red;acting oddly@@ due to $his ordeal, bruises all over $his body, cum leaking from $his @@.lime;loosened@@ anus<<if _slave.vagina > -1>> and @@.lime;fucked-out@@ pussy<</if>>. The public @@.green;enjoys the fun.@@
-				<</switch>>
-				<<run repX(500, "event", _slave)>>
-				<<set $arcologies[0].prosperity += 2>>
-				<<includeDOM App.UI.newSlaveIntro(_slave)>>
-			<</replace>>
-		<</link>>
-		<<if $arcade > 0>>
-			<br><<link "Enslave $him and sentence $him to a month in the arcade">>
-				<<= assignJob(_slave, "be confined in the arcade")>>
-				<<set _slave.choosesOwnAssignment = 0>>
-				<<set _slave.sentence = 4>>
-				<<run cashX(forceNeg(_ContractCost), "slaveTransfer", _slave)>>
-				<<replace "#result">>
-					<<switch $malefactor>>
-					<<case "addict">>
-						You complete the legalities and biometric scanning quickly and cautiously. The condemned recovers enough by the end of the process to start masturbating weakly, even as $he begins begging for a fix. When $he learns $he's headed to the arcade, $he actually relaxes a little, having heard the whores there get drugs. The public @@.green;looks forward@@ to seeing $him there, especially the owner of the shop $he attempted to burglarize.
-					<<case "escapee" "orphanloli">>
-						You complete the legalities and biometric scanning quickly, and tell the crowd that $his holes will be available at the arcade within the hour. The public @@.green;looks forward@@ to seeing $him there, angrily suspecting $him of being an escapee and glad that they'll be able to take part in $his punishment.
-					<<case "anchorBaby">>
-						You complete the legalities and biometric scanning quickly and have $his children taken away. The condemned screeches $his displeasure throughout the process until you grow tired of the whining and sedate $him for immurement in the arcade. The public @@.green;looks forward@@ to seeing $him there and vying to see who gets to fill $his womb with another child.
-					<<case "businesswoman" "mule" "passfail" "rapist" "whore">>
-						You complete the legalities and biometric scanning quickly and cautiously. The condemned sobs and begs throughout the process until you grow tired of the whining and sedate $him for immurement in the arcade. The public @@.green;looks forward@@ to seeing $him there and getting some of their own back.
-					<<case "liberator">>
-						You complete the legalities and biometric scanning quickly and cautiously. Though the would-be liberator is of course restrained, disarmed, and still sedated, $he could awake at any time. It would be best to have $him restrained for public use in the arcade first. The public @@.green;looks forward@@ to seeing $him there.
-					<</switch>>
-					<<run repX(250, "event", _slave)>>
-					<<run newSlave(_slave)>> /* skip New Slave Intro */
-				<</replace>>
-			<</link>>
-		<</if>>
-		<<if $malefactor !== "mule">>
-			<<if $dairy > 0>>
-				<<if $dairyRestraintsSetting > 1>>
-					<br><<link "Enslave $him and send $him straight to the industrial dairy">>
-						<<= assignJob(_slave, "work in the dairy")>>
-						<<run cashX(forceNeg(_ContractCost), "slaveTransfer", _slave)>>
-						<<replace "#result">>
-							<<switch $malefactor>>
-							<<case "addict">>
-								You complete the legalities and biometric scanning quickly and cautiously. The condemned accepts a sedative, thinking it's aphrodisiacs, and $his unconscious body is installed in $dairyName. The public @@.green;accepts@@ this as an appropriate punishment, especially when you release footage of the addict's <<if $dairyStimulatorsSetting > 1>>agony as $his anus adapts to accommodate rectal dildo hydration<<elseif ($dairyPregSetting > 1) && (_slave.vagina > 0)>>discomfort as $his pussy adapts to industrial reproduction<<else>>breasts as they are roughly milked<</if>>, together with a lengthy report on the experimental detox process used to ensure that the milk $he produces will be untainted.
-							<<case "escapee">>
-								You complete the legalities and biometric scanning quickly. The condemned is too far gone to resist as $he is installed in $dairyName. The public @@.green;accepts@@ this as an appropriate punishment, especially when you release footage of the escapee's <<if $dairyStimulatorsSetting > 1>>agony as $his anus adapts to accommodate rectal dildo hydration<<elseif ($dairyPregSetting > 1) && (_slave.vagina > 0)>>discomfort as $his pussy adapts to industrial reproduction<<else>>breasts as they are roughly milked<</if>>.
-							<<case "orphanloli">>
-								You complete the legalities and biometric scanning quickly. The condemned is too weak to resist as $he is installed in $dairyName but $he weeps the entire time. The public @@.green;accepts@@ this as an appropriate punishment, especially when you release footage of the escapee's <<if $dairyStimulatorsSetting > 1>>agony as $his anus adapts to accommodate rectal dildo hydration<<elseif ($dairyPregSetting > 1) && (_slave.vagina > 0)>>agony as $his once tight pussy adapts to industrial reproduction<<else>>budding breasts as they are roughly milked<</if>>.
-							<<case "anchorBaby">>
-								You complete the legalities and biometric scanning quickly and cautiously before having $his children taken away. The condemned resists installation in $dairyName with energy born of desperation. The public @@.green;accepts@@ this as an appropriate punishment, especially when you release footage of the criminal's <<if ($dairyPregSetting > 1) && (_slave.vagina > 0)>>discomfort as $his pussy adapts to industrial reproduction, along with a prospectus detailing the scheduled sale of $his next batch of slave product in eighteen years and nine months<<elseif $dairyStimulatorsSetting > 1>>agony as $his anus adapts to accommodate rectal dildo hydration<<else>>breasts as they are roughly milked<</if>>.
-							<<case "businesswoman">>
-								You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in $dairyName with energy born of desperation. The public @@.green;accepts@@ this as an appropriate punishment, especially when you release footage of the criminal's <<if ($dairyPregSetting > 1) && (_slave.vagina > 0)>>discomfort as $his pussy adapts to industrial reproduction, along with a prospectus detailing the scheduled sale of $his first slave product in eighteen years and nine months<<elseif $dairyStimulatorsSetting > 1>>agony as $his anus adapts to accommodate rectal dildo hydration<<else>>breasts as they are roughly milked<</if>>.
-							<<case "whore">>
-								You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in $dairyName with energy born of desperation. The public @@.green;accepts@@ this as an appropriate punishment, especially when you release footage of the criminal's <<if ($dairyPregSetting > 1) && (_slave.vagina > 0)>>discomfort as $his well-traveled pussy adapts to industrial reproduction<<elseif $dairyStimulatorsSetting > 1>>discomfort as $his well-traveled anus adapts to accommodate rectal dildo hydration<<else>>breasts as they are roughly milked<</if>>.
-							<<case "rapist">>
-								You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in $dairyName with energy born of desperation. The public @@.green;accepts@@ this as an appropriate punishment, especially when you release footage of the rapist's <<if $dairyStimulatorsSetting > 1>>agony as $his anus adapts to accommodate rectal dildo hydration<<else>>newly growing breasts as they are roughly milked<</if>>.
-							<<case "liberator">>
-								You complete the legalities and biometric scanning quickly and cautiously. The condemned resists installation in $dairyName with energy born of desperation. The public @@.green;accepts@@ this as an appropriate punishment, especially when you release footage of the criminal's <<if ($dairyPregSetting > 1) && (_slave.vagina > 0)>>discomfort as $his pussy adapts to industrial reproduction<<elseif $dairyStimulatorsSetting > 1>>discomfort as $his anus adapts to accommodate rectal dildo hydration<<else>>breasts as they are roughly milked<</if>>, together with a report on the likely productivity of such a fit body capable of withstanding the stress of high throughput.
-							<<case "passfail">>
-								You complete the legalities and biometric scanning quickly. The condemned is too weak to resist as $he is installed in $dairyName but $he weeps the entire time. The public @@.green;accepts@@ this as an appropriate punishment, especially when you release footage of the criminal's <<if ($dairyPregSetting > 1) && (_slave.vagina > 0)>>discomfort as $his pussy adapts to industrial reproduction<<elseif $dairyStimulatorsSetting > 1>>discomfort as $his anus adapts to accommodate rectal dildo hydration<<else>>breasts as they are roughly milked<</if>>.
-							<</switch>>
-							<<run repX(250, "event", _slave)>>
-							<<run newSlave(_slave)>> /* skip New Slave Intro */
-						<</replace>>
-					<</link>>
-				<</if>>
-			<</if>> /* closes dairy > 0 */
-		<</if>>
-		<<if $seeExtreme > 0>>
-			<br><<link "Punitively amputate $his limbs, and then enslave $him">>
-				<<run healthDamage(_slave, 20)>>
-				<<run removeLimbs(_slave, "all")>>
-				<<set _slave.behavioralFlaw = "odd">>
-				<<run cashX(forceNeg(_ContractCost), "slaveTransfer", _slave)>>
-				<<replace "#result">>
-					<<switch $malefactor>>
-					<<case "addict">>
-						An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. $He begs for a fix until $he realizes what's coming, at which point $he switches to fighting vainly to escape. Of course, @@.health.dec;$his health is affected@@ and the horrible experience has left $him @@.red;acting oddly.@@ Then it's off to the penthouse for basic slave induction. The public @@.green;approves of this harshness.@@
-					<<case "escapee">>
-						An example must be made. If $he escaped once with $his tendons clipped, $he must be rather talented at it. It remains to be seen if $he can manage to escape with neither arms nor legs, so you announce $his sentence to the crowd and send $his unconscious form for reduction. Of course, @@.health.dec;$his health is affected.@@ The public @@.green;approves of this harshness,@@ believing that you have taken strong measures against escapees.
-					<<case "orphanloli">>
-						An example must be made. If $he thinks $he can escape captivity and steal to survive, let's see $him try without arms and legs, so you announce $his sentence to the crowd and send $his unconscious form for reduction. Of course, @@.health.dec;$his health is affected.@@ The public @@.green;approves of this harshness,@@ believing that you have taken strong measures against escapees.
-					<<case "anchorBaby">>
-						An example must be made. Potential immigrants must understand that attempting to circumvent the process will result in severe fines and proportional punishment when they are incapable of paying them. The protesting mother is stripped, both of clothing and children, and stuffed into your remote surgery on public video feed. $He begs and pleads until $he sees $his doom in the form of the surgical machinery, at which point $he switches to fighting vainly to escape. Of course, @@.health.dec;$his health is affected@@ and the horrible experience has left $him @@.red;acting oddly.@@ Then it's off to the penthouse for basic slave induction. The public @@.green;approves of this harshness,@@ since $he can hardly attempt to smuggle things into your arcology without the ability to move.
-					<<case "businesswoman">>
-						An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. $He begs and pleads until $he sees $his doom in the form of the surgical machinery, at which point $he switches to fighting vainly to escape. Of course, @@.health.dec;$his health is affected@@ and the horrible experience has left $him @@.red;acting oddly.@@ Then it's off to the penthouse for basic slave induction. The public @@.green;approves of this harshness.@@
-					<<case "whore">>
-						An example must be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. $He begs and pleads until $he sees $his doom in the form of the surgical machinery, at which point $he switches to fighting vainly to escape. Of course, @@.health.dec;$his health is affected@@ and the horrible experience has left $him @@.red;acting oddly.@@ Then it's off to the penthouse for basic slave induction. The public @@.green;approves of this harshness,@@ since $he can hardly attempt to steal anything without hands.
-					<<case "rapist">>
-						An example must be made. Rape is rare in your arcology, since citizens are so generously provided with means of sexual outlet. When the price of renting a slave that's impossible to rape is as low as it is, sexual assault of a free woman is doubly unforgivable. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. $He begs and pleads until $he sees $his doom in the form of the surgical machinery, at which point $he switches to fighting vainly to escape. Of course, @@.health.dec;$his health is affected@@ and the horrible experience has left $him @@.red;acting oddly.@@ Then it's off to the penthouse for basic slave induction. The public @@.green;approves of this harshness,@@ since even if $he cheers up and ever manages an erection again, $he's not likely to rape anyone without arms or legs.
-					<<case "mule">>
-						An example must be made. With the quantity of drugs consumed in the arcology, quality is everything and attempting to undermine that is unforgivable. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. $He begs and pleads until $he sees $his doom in the form of the surgical machinery, at which point $he switches to fighting vainly to escape. Of course, @@.health.dec;$his health is affected@@ and the horrible experience has left $him @@.red;acting oddly.@@ Then it's off to the penthouse for basic slave induction. The public @@.green;approves of this harshness,@@ since $he can hardly haul contraband into your arcology without the ability to move $himself.
-					<<case "liberator">>
-						An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this $woman attempted to undermine it. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. $He begs and pleads until $he sees $his doom in the form of the surgical machinery, at which point $he switches to fighting vainly to escape. Of course, @@.health.dec;$his health is affected@@ and the horrible experience has left $him @@.red;acting oddly.@@ Then it's off to the penthouse for basic slave induction. The public @@.green;approves of this harshness,@@ since $he will scarcely be able to liberate anyone without arms or legs.
-					<<case "passfail">>
-						An example must be made. The citizens of your arcology must be assured that the racially inferior will not try to rise above their station, no matter their deceptions. The protesting malefactor is stripped and stuffed into your remote surgery on public video feed. $He begs and pleads until $he sees $his doom in the form of the surgical machinery, at which point $he switches to fighting vainly to escape. Of course, @@.health.dec;$his health is affected@@ and the horrible experience has left $him @@.red;acting oddly.@@ Then it's off to the penthouse for basic slave induction. The public @@.green;approves of this harshness.@@
-					<</switch>>
-					<<run repX(500, "event", _slave)>>
-					<<includeDOM App.UI.newSlaveIntro(_slave)>>
-				<</replace>>
-			<</link>>
-			<<if $malefactor === "rapist" && _slave.balls > 0>>
-				<br><<link "Enslave the criminal and geld $him">>
-					<<run healthDamage(_slave, 20)>>
-					<<set _slave.balls = 0>>
-					<<set _slave.devotion -= 25>>
-					<<set _slave.trust -= 25>>
-					<<run cashX(forceNeg(_ContractCost), "slaveTransfer", _slave)>>
-					<<replace "#result">>
-						Video feeds from your remote surgery are made public as the protesting criminal is strapped down and gelded. $He is so utterly broken by this turn of events that you complete the legalities and biometric scanning without fuss. The condemned sobs weakly throughout the process until you grow tired of the whining and apply punishment. Then it's off to the penthouse for basic slave induction. The public @@.green;approves of this harshness,@@ which increases your arcology's prosperity by @@.green;giving it a reputation for swift and terrible justice.@@
-						<<run repX(500, "event", _slave)>>
-						<<set $arcologies[0].prosperity += 10>>
-						<<includeDOM App.UI.newSlaveIntro(_slave)>>
-					<</replace>>
-				<</link>>
-			<</if>>
-		<</if>> /* closes seeExtreme */
-		<<if $malefactor === "orphanloli">>
-			<br><<link "'Adopt' $him">>
-				<<set _slave.devotion = 25>>
-				<<set _slave.trust = 25>>
-				<<set _slave.origin = "$He was an orphan forced to live and steal on the streets until you adopted $him.">>
-				<<run cashX(forceNeg(_ContractCost), "slaveTransfer", _slave)>>
-				<<replace "#result">>
-					You sit down and talk to the exhausted $girl, handing $him a contract cleverly altered to resemble adoption papers. Once $he comprehends what $he is looking at, $he eagerly signs it. Only once $he has reached the penthouse and been introduced to the slave life does $he realize $he willingly signed away $his freedom. Though $he can't complain. A warm cot and plenty of food await, which to $him is a huge improvement over a slow death on the streets. The public
-					<<if $arcologies[0].FSPaternalist != "unset">>
-						@@.green;is impressed by your act,@@ even if it is a trick.
-						<<run repX(500, "event", _slave)>>
-					<<else>>
-						@@.red;feels you let this criminal off too easy.@@
-						<<run repX(forceNeg(100), "event", _slave)>>
-					<</if>>
-					<<includeDOM App.UI.newSlaveIntro(_slave)>>
-				<</replace>>
-			<</link>>
-		<</if>>
-	<<else>>
-		//You lack the necessary funds to enslave $him.//
-	<</if>>
-	<<if $malefactor === "anchorBaby">>
-		<br><<link "Grant $him citizenship">>
-			<<replace "#result">>
-				You help the exhausted mother to $his feet and hand $him $his second newborn. $He watches you, uncertain of your motives, until you have $him escorted to the proper welcoming facility and put in a good word for having $him added to your arcology's free population. You announce to the public that such a fertile <<if _slave.physicalAge > 30>>MILF<<elseif _slave.physicalAge > 19>>$woman<<elseif _slave.physicalAge > 12>>teen<<else>>youth<</if>> will be a boon to <<if $arcologies[0].FSRepopulationFocus != "unset">>Repopulationism<<else>>society<</if>>, and that the contract $he is signing mandates $he be on powerful fertility agents whenever $he isn't pregnant. During $his residency, free or not, $he will provide society with dozens of future children. The public
-				<<if $arcologies[0].FSRepopulationFocus != "unset">>
-					@@.green;approves of breeders, free or not,@@ and word spreads that any and all mothers are welcome into your arcology @@.green;adding to its prosperity.@@
-					<<run repX(500, "event", _slave)>>
-				<<elseif $arcologies[0].FSPaternalist != "unset">>
-					@@.green;sympathizes with your charity.@@
-					<<run repX(100, "event", _slave)>>
-				<<else>>
-					@@.red;feels you let this criminal off too easy.@@
-					<<run repX(forceNeg(100), "event", _slave)>>
-				<</if>>
-			<</replace>>
-		<</link>>
-	<</if>>
-	<br><<link "Publicly flog the criminal">>
-		<<replace "#result">>
-			<<switch $malefactor>>
-			<<case "addict">>
-				Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The twitching, begging malefactor is stripped and flogged on the promenade before being escorted bleeding, and still twitching from withdrawal, out of the arcology. The public @@.green;approves of this harshness.@@
-			<<case "escapee">>
-				Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The begging malefactor is flogged on the promenade before being escorted bleeding and half-dead out of the arcology. The public @@.green;approves of this harshness.@@
-			<<case "orphanloli">>
-				Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The crying $girl is flogged on the promenade before being dragged bleeding and broken out of the arcology. The public @@.green;approves of this harshness.@@
-			<<case "anchorBaby">>
-				Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The screaming breeder is flogged on the promenade before being dragged bleeding and broken out of the arcology sans $his children; they are destined for the slave orphanage. The public @@.green;approves of this harshness.@@
-			<<case "businesswoman">>
-				Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting bitch is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public @@.green;approves of this harshness.@@
-			<<case "mule" "rapist" "whore">>
-				Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that criminals who commit outrages against them will be severely punished. The protesting malefactor is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public @@.green;approves of this harshness.@@
-			<<case "passfail">>
-				Naturally, the wretch will be thrown out of the arcology: but an example must first be made. Free people must understand that _realRace scum won't steal their livelihoods. The protesting malefactor is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public @@.green;approves of this harshness.@@
-			<<case "liberator">>
-				An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this $woman attempted to undermine it. The protesting bitch is stripped and flogged on the promenade before being escorted bleeding from the arcology. The public @@.green;approves of this harshness.@@
-			<</switch>>
-			<<run repX(500, "event", _slave)>>
-		<</replace>>
-	<</link>>
-	<<if $malefactor === "liberator">>
-		<br><<link "Permit the slaveowner $he tried to steal from to flog $him">>
-			<<replace "#result">>
-				An example must be made. Slaveownership is the cornerstone of the society you're building in your arcology, and this $woman attempted to undermine it. $He is stripped and the slaveowner whose property $he tried to free is handed the leathern instrument. It seems the escapee was a favorite he does not wish to mangle, so he flogs the criminal mercilessly instead. $He is flung out of the arcology, nearly dead. The public @@.green;approves of this harshness,@@ and small slaveholders are @@.green;encouraged to do business with your arcology@@ after word of the incident gets around.
-				<<run repX(500, "event", _slave)>>
-				<<set $arcologies[0].prosperity += 10>>
-			<</replace>>
-		<</link>>
-	<</if>>
-	<br><<link "Sell $him immediately">>
-		<<run cashX(_slaveCost, "slaveTransfer")>>
-		<<if $cash4Babies === 1 && $malefactor === "anchorBaby">>
-			<<run cashX(random(20,30), "slaveTransfer")>>
-		<</if>>
-		<<replace "#result">>
-			<<switch $malefactor>>
-			<<case "addict">>
-				You complete the legalities and biometric scanning quickly and without fuss. The condemned recovers enough by the end of the process to start masturbating weakly, even as $he begins begging for a fix. Then it's off to slave markets for sale.
-			<<case "escapee">>
-				You complete the legalities and biometric scanning quickly and without fuss. $He remains limp throughout the process, only recovering enough to barely grasp the situation as $he is enslaved and heading to the slave markets.
-			<<case "orphanloli">>
-				You complete the legalities and biometric scanning quickly and without fuss. $He sobs throughout the process, though stops once $he realizes being a slave means free food. $He starts crying again once $he realizes $he is heading for the slave markets.
-			<<case "anchorBaby">>
-				You complete the legalities and biometric scanning quickly and without fuss. The condemned sobs and begs throughout the process until you grow tired of the whining and apply punishment. Then it's off to slave markets for sale. $His children <<if $cash4Babies === 1>>head off to be sold as well<<else>>will be sent to a slave orphanage for future sale<</if>>.
-			<<case "businesswoman" "mule" "passfail" "rapist" "whore">>
-				You complete the legalities and biometric scanning quickly and without fuss. The condemned sobs and begs throughout the process until you grow tired of the whining and apply punishment. Then it's off to slave markets for sale.
-			<<case "liberator">>
-				You complete the legalities and biometric scanning quickly and cautiously. Though the would-be liberator is of course restrained, disarmed, and still sedated, $he could awake at any time. Based on the drone logs, $he is likely to be violent when $he does. You make sure that $he isn't going to get loose as $he is sent off to the slave market; the public would not be pleased if $he went on another rampage.
-			<</switch>>
-		<</replace>>
-	<</link>>
-</span>
\ No newline at end of file
-- 
GitLab


From 34ba5188339bc3cd59a3a65bc31b265ffe1c51e2 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 26 May 2021 23:00:19 -0400
Subject: [PATCH 06/13] name fix

---
 src/events/RE/reMalefactor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/events/RE/reMalefactor.js b/src/events/RE/reMalefactor.js
index f41f8fd5fd5..2758228a337 100644
--- a/src/events/RE/reMalefactor.js
+++ b/src/events/RE/reMalefactor.js
@@ -167,7 +167,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			choices.push(new App.Events.Result(null, null, `You lack the necessary funds to enslave ${him}.`));
 		}
 		if (malefactor === "anchorBaby") {
-			choices.push(new App.Events.Result(``, citizenship)); // TODO fix name
+			choices.push(new App.Events.Result(`Grant ${him} citizenship`, citizenship));
 		}
 		choices.push(new App.Events.Result(`Publicly flog the criminal`, flog));
 		if (malefactor === "liberator") {
-- 
GitLab


From 46c19573c7de3c55962d3907ec929276997706df Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 26 May 2021 23:11:16 -0400
Subject: [PATCH 07/13] remove nested string lit

---
 src/events/RE/reMalefactor.js | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/events/RE/reMalefactor.js b/src/events/RE/reMalefactor.js
index 2758228a337..a248b80d41a 100644
--- a/src/events/RE/reMalefactor.js
+++ b/src/events/RE/reMalefactor.js
@@ -236,35 +236,35 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			cashX(forceNeg(contractCost), "slaveTransfer", slave);
 			switch (malefactor) {
 				case "addict":
-					r.push(`You declare ${his} holes fair game for the entire arcology, since ${he} must somehow repay ${his} debt to society. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology, since ${he} must somehow repay ${his} debt to society. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ' and <span class="lime">fucked-out</span> pussy' : ""}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "escapee":
-					r.push(`You declare ${his} holes fair game for the entire arcology, so that all free citizens can own ${him} for a moment, if they wish. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology, so that all free citizens can own ${him} for a moment, if they wish. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ' and <span class="lime">fucked-out</span> pussy' : ""}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "orphanloli":
-					r.push(`You declare ${his} holes fair game for the entire arcology, so that all free citizens can own ${him} for a moment, if they wish. ${He} spends a torturous day in the stocks before being hauled in for enslavement, <span class="health dec">completely broken</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology, so that all free citizens can own ${him} for a moment, if they wish. ${He} spends a torturous day in the stocks before being hauled in for enslavement, <span class="health dec">completely broken</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ' and <span class="lime">fucked-out</span> pussy' : ""}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					slave.fetish = "mindbroken";
 					break;
 				case "anchorBaby":
-					r.push(`You declare ${his} holes fair game for the entire arcology; since ${he} wants to produce future slaves, your arcology might as well have the privilege of fathering them. ${He} spends a torturous day in the stocks after ${his} children are taken to a slave orphanage before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology; since ${he} wants to produce future slaves, your arcology might as well have the privilege of fathering them. ${He} spends a torturous day in the stocks after ${his} children are taken to a slave orphanage before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ' and <span class="lime">fucked-out</span> pussy' : ""}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "businesswoman":
-					r.push(`You declare ${his} holes fair game for the entire arcology, in payment for ${his} crimes. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology, in payment for ${his} crimes. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ' and <span class="lime">fucked-out</span> pussy' : ""}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "whore":
-					r.push(`You declare ${his} holes fair game for the entire arcology, to repay ${his} thefts. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology, to repay ${his} thefts. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ' and <span class="lime">fucked-out</span> pussy' : ""}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "rapist":
-					r.push(`You declare ${his} holes fair game for the entire arcology. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ' and <span class="lime">fucked-out</span> pussy' : ""}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "mule":
-					r.push(`You declare ${his} holes fair game for the entire arcology as punishment for trying to smuggle in a load instead of taking one. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology as punishment for trying to smuggle in a load instead of taking one. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ' and <span class="lime">fucked-out</span> pussy' : ""}. The public <span class="reputation inc">enjoys the fun.</span>`);
 					break;
 				case "liberator":
-					r.push(`Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. ${His} holes are thus fair game for the entire arcology. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun,</span> and small slaveholders are <span class="green">encouraged to do business with your arcology</span> after word of the incident gets around.`);
+					r.push(`Slaveownership is the cornerstone of the society you're building in your arcology, and this ${woman} attempted to undermine it. ${His} holes are thus fair game for the entire arcology. ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ' and <span class="lime">fucked-out</span> pussy' : ""}. The public <span class="reputation inc">enjoys the fun,</span> and small slaveholders are <span class="green">encouraged to do business with your arcology</span> after word of the incident gets around.`);
 					break;
 				case "passfail":
-					r.push(`You declare ${his} holes fair game for the entire arcology; after all, ${he} did want to be around lots of ${fakeRace} people, didn't ${he}? ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ` and <span class="lime">fucked-out</span> pussy` : ``}. The public <span class="reputation inc">enjoys the fun.</span>`);
+					r.push(`You declare ${his} holes fair game for the entire arcology; after all, ${he} did want to be around lots of ${fakeRace} people, didn't ${he}? ${He} spends a torturous day in the stocks before being hauled in for enslavement, somewhat <span class="health.dec">the worse for wear</span> and <span class="red">acting oddly</span> due to ${his} ordeal, bruises all over ${his} body, cum leaking from ${his} <span class="lime">loosened</span> anus${(slave.vagina > -1) ? ' and <span class="lime">fucked-out</span> pussy' : ""}. The public <span class="reputation inc">enjoys the fun.</span>`);
 			}
 			repX(500, "event", slave);
 			V.arcologies[0].prosperity += 2;
-- 
GitLab


From 1661b970eeacd8814a107b17fc14b52c72c8ad50 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 26 May 2021 23:14:33 -0400
Subject: [PATCH 08/13] typing

---
 src/events/RE/reMalefactor.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/events/RE/reMalefactor.js b/src/events/RE/reMalefactor.js
index a248b80d41a..d519099c059 100644
--- a/src/events/RE/reMalefactor.js
+++ b/src/events/RE/reMalefactor.js
@@ -19,12 +19,12 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 		let fakeRace;
 		/** @type {FC.Race} */
 		let realRace;
-		let malefactor;
 		V.nextButton = "Continue";
 		V.nextLink = "RIE Eligibility Check";
 		V.returnTo = "RIE Eligibility Check";
 		V.encyclopedia = "Free Cities Justice";
 
+		/**@type {Array<"addict"|"whore"|"businesswoman"|"liberator"|"anchorBaby"|"mule"|"rapist"|"orphanloli"|"escapee"|"passfail">} */
 		const malefactorArray = ["addict", "whore"];
 		if (V.seeDicks !== 100) {
 			malefactorArray.push("businesswoman");
@@ -48,7 +48,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 		if (V.arcologies[0].FSSupremacistLawME + V.arcologies[0].FSSubjugationistLawME > 0) {
 			malefactorArray.push("passfail");
 		}
-		malefactor = malefactorArray.random();
+		const malefactor = malefactorArray.random();
 
 		/** @type {App.Entity.SlaveState} */
 		const slave = makeMalefactor();
-- 
GitLab


From b55f2e3cddb7924efe79bcee75bdc0b4d4df33e9 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 26 May 2021 23:23:47 -0400
Subject: [PATCH 09/13] typing fix

---
 src/events/RE/reMalefactor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/events/RE/reMalefactor.js b/src/events/RE/reMalefactor.js
index d519099c059..e868fd250af 100644
--- a/src/events/RE/reMalefactor.js
+++ b/src/events/RE/reMalefactor.js
@@ -626,7 +626,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 			let slave;
 			switch (malefactor) {
 				case "addict":
-					slave = GenerateNewSlave();
+					slave = GenerateNewSlave(null);
 					slave.origin = "You sentenced $him to enslavement as a punishment for attempted burglary.";
 					slave.career = "a criminal";
 					slave.devotion = random(-75, -60);
-- 
GitLab


From 14cce077f318b7f7f919b4b2671083f397ec9ebe Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 26 May 2021 23:24:08 -0400
Subject: [PATCH 10/13] whitespace

---
 src/events/RE/reMalefactor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/events/RE/reMalefactor.js b/src/events/RE/reMalefactor.js
index e868fd250af..e5300156da7 100644
--- a/src/events/RE/reMalefactor.js
+++ b/src/events/RE/reMalefactor.js
@@ -24,7 +24,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 		V.returnTo = "RIE Eligibility Check";
 		V.encyclopedia = "Free Cities Justice";
 
-		/**@type {Array<"addict"|"whore"|"businesswoman"|"liberator"|"anchorBaby"|"mule"|"rapist"|"orphanloli"|"escapee"|"passfail">} */
+		/** @type {Array<"addict"|"whore"|"businesswoman"|"liberator"|"anchorBaby"|"mule"|"rapist"|"orphanloli"|"escapee"|"passfail">} */
 		const malefactorArray = ["addict", "whore"];
 		if (V.seeDicks !== 100) {
 			malefactorArray.push("businesswoman");
-- 
GitLab


From 586adb1dc42e3d11458ea121004bca1ffe2cc8ef Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 26 May 2021 23:25:50 -0400
Subject: [PATCH 11/13] eh

---
 src/events/RE/reMalefactor.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/events/RE/reMalefactor.js b/src/events/RE/reMalefactor.js
index e5300156da7..4c5c6401a79 100644
--- a/src/events/RE/reMalefactor.js
+++ b/src/events/RE/reMalefactor.js
@@ -815,7 +815,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 					slave.sexualFlaw = "hates men";// TODO: Fixme: "hates men" is actually a behavior flaw, which is already set.
 					break;
 				case "mule":
-					pram = new GenerateNewSlavePram;
+					pram = new GenerateNewSlavePram();
 					Object.assign(pram, {disableDisability: 1, minAge: 13, race: "nonslave"});
 					if (V.pedo_mode === 0) {
 						pram.maxAge = 26;
@@ -866,7 +866,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 					slave.custom.tattoo = "$He seems to have had slave tattoos at one time, but has had them cheaply removed.";
 					break;
 				case "passfail":
-					pram = new GenerateNewSlavePram;
+					pram = new GenerateNewSlavePram();
 					pram.disableDisability = 1;
 					if (V.arcologies[0].FSSubjugationistLawME === 1) {
 						pram.race = V.arcologies[0].FSSubjugationistRace;
-- 
GitLab


From 5f94cd4221a28c961c6ac6e963ecd28f37cd26f9 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 26 May 2021 23:56:40 -0400
Subject: [PATCH 12/13] fix flaws

---
 src/events/RE/reMalefactor.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/events/RE/reMalefactor.js b/src/events/RE/reMalefactor.js
index 4c5c6401a79..696d49993da 100644
--- a/src/events/RE/reMalefactor.js
+++ b/src/events/RE/reMalefactor.js
@@ -812,7 +812,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 					slave.skill.oral = 0;
 					slave.skill.anal = 0;
 					slave.behavioralFlaw = "arrogant";
-					slave.sexualFlaw = "hates men";// TODO: Fixme: "hates men" is actually a behavior flaw, which is already set.
+					slave.sexualFlaw = "hates penetration";
 					break;
 				case "mule":
 					pram = new GenerateNewSlavePram();
@@ -840,7 +840,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 					slave.boobShape = "perky";
 					setHealth(slave, jsRandom(-20, 10), undefined, undefined, undefined, 40);
 					slave.sexualFlaw = "hates penetration";
-					slave.behavioralFlaw = "shamefast"; // TODO: Fixme: "hates men" is actually a behavior flaw, which is already set.
+					slave.behavioralFlaw = "shamefast"; // TODO: Fixme: "shamefast" is actually a behavior flaw, which is already set.
 					slave.accent = 0;
 					break;
 				case "liberator":
@@ -861,7 +861,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 					slave.anus = 0;
 					setHealth(slave, jsRandom(60, 80), undefined, undefined, 0, 10);
 					slave.behavioralFlaw = "arrogant";
-					slave.sexualFlaw = "hates men";// TODO: fixme
+					slave.sexualFlaw = "hates penetration";
 					slave.hStyle = "shaved into a mohawk";
 					slave.custom.tattoo = "$He seems to have had slave tattoos at one time, but has had them cheaply removed.";
 					break;
-- 
GitLab


From e556324c87606c8cc1f4cd4139468be3366163f4 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Thu, 27 May 2021 00:02:02 -0400
Subject: [PATCH 13/13] fix flaw

---
 src/events/RE/reMalefactor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/events/RE/reMalefactor.js b/src/events/RE/reMalefactor.js
index 696d49993da..92b88f240d8 100644
--- a/src/events/RE/reMalefactor.js
+++ b/src/events/RE/reMalefactor.js
@@ -840,7 +840,7 @@ App.Events.REMalefactor = class REMalefactor extends App.Events.BaseEvent {
 					slave.boobShape = "perky";
 					setHealth(slave, jsRandom(-20, 10), undefined, undefined, undefined, 40);
 					slave.sexualFlaw = "hates penetration";
-					slave.behavioralFlaw = "shamefast"; // TODO: Fixme: "shamefast" is actually a behavior flaw, which is already set.
+					slave.behavioralFlaw = "hates men";
 					slave.accent = 0;
 					break;
 				case "liberator":
-- 
GitLab