From 7646f71a0db56935f58e6bc253a5cbe80752e6b8 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Tue, 29 Dec 2020 18:51:40 -0500
Subject: [PATCH] recruit tweaks

---
 src/endWeek/saRecruitGirls.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/endWeek/saRecruitGirls.js b/src/endWeek/saRecruitGirls.js
index c93602efdfc..5dd158c0dcb 100644
--- a/src/endWeek/saRecruitGirls.js
+++ b/src/endWeek/saRecruitGirls.js
@@ -1469,9 +1469,10 @@ App.SlaveAssignment.recruitGirls = (function() {
 				FSdefend++;
 			}
 		}
+		const clothes = App.Data.clothes.get(slave.clothes);
 		if (arcology.FSChattelReligionist !== "unset") {
 			if (slaveInt > 15 && (slave.devotion > 95 || slave.trust > 95)) {
-				if (slave.clothes === "a chattel habit" || slave.clothes === "a fallen nuns habit" || slave.clothes === "a penitent nuns habit" || slave.clothes === "a hijab and abaya") {
+				if (clothes.fs && clothes.fs.loves && clothes.fs.loves.has("FSChattelReligionist")) {
 					pushFS(`Clad in ${his} holy garb, ${slave.slaveName} preaches to the atrium with a powerful appeal to the new morality, in which ${his} absolute faith in your revelations is unmistakable.`);
 					seed += 1;
 				} else if (arcology.FSNeoImperialist !== "unset" && slave.clothes === "a tight Imperial bodysuit") {
@@ -1506,7 +1507,7 @@ App.SlaveAssignment.recruitGirls = (function() {
 			seed += ((slave.skill.entertainment / 30) * arcology.FSNull / 10);
 		}
 		if (arcology.FSRomanRevivalist !== "unset") {
-			if (slave.clothes === "a toga") {
+			if ((clothes.fs && clothes.fs.loves && clothes.fs.loves.has("FSRomanRevivalist"))) {
 				if (slave.face > 10 && slave.counter.pitKills > 0) {
 					pushFS(`${He} thrills audiences by recounting tales of ${his} exploits as a beautiful and deadly gladiatrix-<span style="italic">slash</span>-love-slave for the First Citizen of the Eternal City reborn.`);
 					// protip: it doesn't have to be YOUR pit
-- 
GitLab