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] 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