From ac81d41ff9382dff30c2fc5a8643f1cd44ff5107 Mon Sep 17 00:00:00 2001
From: buster scruggs <prettyleetemail@protonmail.com>
Date: Wed, 22 Feb 2023 13:01:30 -0500
Subject: [PATCH] Overhaul reputation checks + more fixes

Correct length checks
Modify recfs event to use a pre-existing career
Correct portion of saRecruitGirls
---
 src/endWeek/economics/reputation.js           | 57 +++++++++++++------
 src/endWeek/saRecruitGirls.js                 |  8 +--
 src/events/recFS/recfsAntebellumRevivalist.js |  4 +-
 3 files changed, 46 insertions(+), 23 deletions(-)

diff --git a/src/endWeek/economics/reputation.js b/src/endWeek/economics/reputation.js
index 2a436063e05..e621aaa42aa 100644
--- a/src/endWeek/economics/reputation.js
+++ b/src/endWeek/economics/reputation.js
@@ -748,28 +748,51 @@ App.EndWeek.reputation = function() {
 			FutureSocieties.Change("Antebellum Revivalist", 1);
 			FutureSocieties.Change("Supremacist", 1);
 		}
-		if (V.slaves.length > 10) {
-			r.push(`Society somewhat <span class="green">approves</span> of the number of slaves you own.`);
-			FutureSocieties.Change("Antebellum Revivalist", 1);
-		} else if (V.slaves.length > 25) {
-			r.push(`Society <span class="green">approves</span> of the number of slaves you own.`);
+
+		// 200 is probably a bit ridiculous side, but might as well give a fun little reward for it
+		if (V.slaves.length >= 200) {
+			r.push(`Society is in <span class="green">awe</span> with the sheer size of your stable of slaves.`);
+			FutureSocieties.Change("Antebellum Revivalist", 10);	
+		} else if (V.slaves.length >= 100) {
+			r.push(`Society is <span class="green">impressed</span> with the number of slaves you own.`);
+			FutureSocieties.Change("Antebellum Revivalist", 4);	
+		} else if (V.slaves.length >= 50) {
+			r.push(`Society holds <span class="green">great respect</span> for the number of slaves you own.`);
 			FutureSocieties.Change("Antebellum Revivalist", 2);
-		} else if (V.slaves.length > 50) {
-			r.push(`Society <span class="green">greatly approves</span> of the number of slaves you own.`);
-			FutureSocieties.Change("Antebellum Revivalist", 4);
-		} else if (V.slaves.length > 100) {
-			r.push(`Society is <span class="green">immensely impressed</span> with the number of slaves you own.`);
-			FutureSocieties.Change("Antebellum Revivalist", 8);
+		} else if (V.slaves.length >= 25) {
+			r.push(`Society <span class="green">approves</span> of the number of slaves you own.`);
+			FutureSocieties.Change("Antebellum Revivalist", 1);
+		} else if (V.slaves.length >= 10) {
+			r.push(`Society neither approves or disapproves of the size of your stable of slaves, but would respectively approve or disapprove if it grew or shrank.`);
+		} else {
+			r.push(`Society finds it <span class="green">strange</span> for someone of your stature to own so few slaves.`);
+			FutureSocieties.Change("Antebellum Revivalist", -1);
 		}
-		if (V.PC.skill.slaving < 50) {
-			r.push(`Society <span class="red">greatly disapproves</span> of your ignorance on slaving.`);
-			FutureSocieties.Change("Antebellum Revivalist", -4);
-		} else if (V.PC.skill.slaving < 75) {
+
+		if (V.PC.skill.slaving >= 100) {
+			r.push(`Society at large is <span class="green">envious</span> of your immense skill and talent at slaving.`);
+			FutureSocieties.Change("Antebellum Revivalist", 4);
+		} else if (V.PC.skill.slaving >= 80) {
+			r.push(`Society <span class="green">admires</span> expert slavers such as yourself.`);
+			FutureSocieties.Change("Antebellum Revivalist", 2);
+		} else if (V.PC.skill.slaving >= 60) {
+			r.push(`Society <span class="green">appreciates</span> skilled slavers such as yourself.`);
+			FutureSocieties.Change("Antebellum Revivalist", 1);
+		} else if (V.PC.skill.slaving >= 20) {
 			r.push(`Society <span class="red">disapproves</span> that you do not know the finer points of slaving.`);
+			FutureSocieties.Change("Antebellum Revivalist", -1);
+		} else if (V.PC.skill.slaving >= 0) {
+			r.push(`Society is <span class="red">disappointed</span> about your lack of knowledge on slaving.`);
 			FutureSocieties.Change("Antebellum Revivalist", -2);
+		} else if (V.PC.skill.slaving >= -40) {
+			r.push(`Society <span class="red">dislikes</span> your ignorance of slaving.`);
+			FutureSocieties.Change("Antebellum Revivalist", -4);
+		} else if (V.PC.skill.slaving >= -80) {
+			r.push(`Society experiences <span class="red">secondhand embarrassment</span> when it witnesses your talent as a slaver.`);
+			FutureSocieties.Change("Antebellum Revivalist", -6);
 		} else {
-			r.push(`Society <span class="green">approves</span> of having a leader who is a master slaver.`);
-			FutureSocieties.Change("Antebellum Revivalist", 2);
+			r.push(`Society is <span class="red">shocked and amused</span> that you are such a bungling slaver.`);
+			FutureSocieties.Change("Antebellum Revivalist", -10);
 		}
 	}
 
diff --git a/src/endWeek/saRecruitGirls.js b/src/endWeek/saRecruitGirls.js
index 16d48df2aa2..331e9fad913 100644
--- a/src/endWeek/saRecruitGirls.js
+++ b/src/endWeek/saRecruitGirls.js
@@ -697,15 +697,15 @@ App.SlaveAssignment.recruitGirls = function recruitGirls(slave) {
 				}
 			} else if (arcology.FSAntebellumRevivalist !== "unset") {
 				if (targetArcology.FSAntebellumRevivalist !== "unset") {
-					r.push(`${He} advances Antebellum Revivalism there by helping citizens make their slaves more convivial and entertaining.`);
+					r.push(`${He} advances Antebellum Revivalism there by helping citizens make their slaves more convivial and entertaining,`);
 					if (slave.skill.entertainment > 95) {
-						r.push(`arrangements, which ${he}'s perfect for, since ${he} is quite the entertainer ${himself}.`);
+						r.push(`which ${he}'s perfect for, since ${he} is quite the entertainer ${himself}.`);
 						targetArcology.FSAntebellumRevivalist++;
 					} else if (slave.behavioralQuirk === "funny") {
-						r.push(`arrangements, which ${he}'s perfect for, since ${he} has a good sense of humor.`);
+						r.push(`which ${he}'s perfect for, since ${he} has a good sense of humor.`);
 						targetArcology.FSAntebellumRevivalist++;
 					} else {
-						r.push(`arrangements.`);
+						r.push(`but ${his} performance does leave something to be desired.`);
 					}
 					targetArcology.FSAntebellumRevivalist += influence;
 				}
diff --git a/src/events/recFS/recfsAntebellumRevivalist.js b/src/events/recFS/recfsAntebellumRevivalist.js
index d14fbd3bcde..86d66b936bb 100644
--- a/src/events/recFS/recfsAntebellumRevivalist.js
+++ b/src/events/recFS/recfsAntebellumRevivalist.js
@@ -24,9 +24,9 @@ App.Events.recFSAntebellumRevivalist = class recFSAntebellumRevivalist extends A
 		slave.origin = "$He offered $himself to you for enslavement as an outlet for $his raceplay fetish.";
 		slave.devotion = random(10, 25);
 		slave.trust = random(55, 65);
-		slave.career = "an unemployed nympho";
+		slave.career = "unemployed";
 		setHealth(slave, jsRandom(10, 30), undefined, undefined, 0, 0);
-		slave.face = random(20, 50);
+		slave.face = random(20, 100);
 		slave.skill.oral = random(5, 35);
 		slave.skill.anal = random(5, 35);
 		slave.skill.whoring = random(0, 10);
-- 
GitLab