From d89775eea128655b94f0dcf1249f9d0029fd20ab Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Mon, 7 Dec 2020 15:19:43 -0500
Subject: [PATCH] rename

---
 src/facilities/fsPassage.js | 64 ++++++++++++++++++-------------------
 1 file changed, 32 insertions(+), 32 deletions(-)

diff --git a/src/facilities/fsPassage.js b/src/facilities/fsPassage.js
index 429fffd808c..d2a16f45efa 100644
--- a/src/facilities/fsPassage.js
+++ b/src/facilities/fsPassage.js
@@ -352,7 +352,7 @@ App.UI.FSPassage = function() {
 		if (arc.FSSupremacist !== "unset") {
 			r.push(pursuit());
 			r.push(`${arc.FSSupremacistRace} superiority.`);
-			r.push(FSIsChosen("FSSupremacist"));
+			r.push(activeFS("FSSupremacist"));
 		} else {
 			if (_FSCredits > 0) {
 				r.push(
@@ -395,7 +395,7 @@ App.UI.FSPassage = function() {
 		if (arc.FSSubjugationist !== "unset") {
 			r.push(pursuit());
 			r.push(`${arc.FSSubjugationistRace} inferiority.`);
-			r.push(FSIsChosen("FSSubjugationist"));
+			r.push(activeFS("FSSubjugationist"));
 		} else {
 			if (_FSCredits > 0) {
 				r.push(
@@ -445,7 +445,7 @@ App.UI.FSPassage = function() {
 				if (arc.FSRepopulationFocus !== "unset") {
 					r.push(pursuit());
 					r.push(`the belief that mass breeding will save humanity.`);
-					r.push(FSIsChosen("FSRepopulationFocus", ["boughtItem.clothing.maternityLingerie", "boughtItem.clothing.maternityDress", "boughtItem.clothing.belly"]));
+					r.push(activeFS("FSRepopulationFocus", ["boughtItem.clothing.maternityLingerie", "boughtItem.clothing.maternityDress", "boughtItem.clothing.belly"]));
 				} else {
 					if (_FSCredits > 0) {
 						r.push(
@@ -472,11 +472,11 @@ App.UI.FSPassage = function() {
 					if (arc.FSRestartDecoration !== 100) {
 						r.push(pursuit());
 						r.push(`Eugenics.`);
-						r.push(FSIsChosen("FSRestart"));
+						r.push(activeFS("FSRestart"));
 					} else {
 						r.push(App.UI.DOM.makeElement("span", "You have established", "bold"));
 						r.push(`Eugenics.`);
-						r.push(FSIsChosen("FSRestart"));
+						r.push(activeFS("FSRestart"));
 						r.push(`The Societal Elite exist as the highest class, allowing you access to all manner of benefits`);
 					}
 				} else {
@@ -509,7 +509,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSIntellectualDependency !== "unset") {
 				r.push(pursuit());
 				r.push(`intellectual dependency, a belief that slaves should be airheaded, horny and fully dependent on their owners.`);
-				r.push(FSIsChosen("FSIntellectualDependency", ["boughtItem.clothing.bimbo"]));
+				r.push(activeFS("FSIntellectualDependency", ["boughtItem.clothing.bimbo"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -533,7 +533,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSSlaveProfessionalism !== "unset") {
 				r.push(pursuit());
 				r.push(`slave professionalism, a focus on smart, refined, altogether perfect slaves.`);
-				r.push(FSIsChosen("FSSlaveProfessionalism", ["boughtItem.clothing.courtesan"]));
+				r.push(activeFS("FSSlaveProfessionalism", ["boughtItem.clothing.courtesan"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -562,7 +562,7 @@ App.UI.FSPassage = function() {
 				if (arc.FSGenderRadicalist !== "unset") {
 					r.push(pursuit());
 					r.push(`a radical redefinition of gender that identifies powerful people as male, and everyone else as female.`);
-					r.push(FSIsChosen("FSGenderRadicalist"));
+					r.push(activeFS("FSGenderRadicalist"));
 				} else {
 					if (_FSCredits > 0) {
 						r.push(
@@ -587,7 +587,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSGenderFundamentalist !== "unset") {
 				r.push(pursuit());
 				r.push(`gender traditionalism, including a societal preference for feminine slaves ${(V.seePreg !== 0) ? ` and support for slave pregnancy` : ``}.`);
-				r.push(FSIsChosen("FSGenderFundamentalist", ["boughtItem.clothing.bunny"]));
+				r.push(activeFS("FSGenderFundamentalist", ["boughtItem.clothing.bunny"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -619,7 +619,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSPaternalist !== "unset") {
 				r.push(pursuit());
 				r.push(`a vision of slave improvement, including slaves' health, mental well-being, and education.`);
-				r.push(FSIsChosen("FSPaternalist", ["boughtItem.clothing.conservative"]));
+				r.push(activeFS("FSPaternalist", ["boughtItem.clothing.conservative"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -643,7 +643,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSDegradationist !== "unset") {
 				r.push(pursuit());
 				r.push(`slave degradation, a belief that slaves are not human and should not be treated decently.`);
-				r.push(FSIsChosen("FSDegradationist", ["boughtItem.clothing.chains"]));
+				r.push(activeFS("FSDegradationist", ["boughtItem.clothing.chains"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -671,7 +671,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSBodyPurist !== "unset") {
 				r.push(pursuit());
 				r.push(`societal disapproval of implant surgery.`);
-				r.push(FSIsChosen("FSBodyPurist"));
+				r.push(activeFS("FSBodyPurist"));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -695,7 +695,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSTransformationFetishist !== "unset") {
 				r.push(pursuit());
 				r.push(`societal fetishization of implant surgery.`);
-				r.push(FSIsChosen("FSTransformationFetishist"));
+				r.push(activeFS("FSTransformationFetishist"));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -723,7 +723,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSYouthPreferentialist !== "unset") {
 				r.push(pursuit());
 				r.push(`an accentuated societal preference for younger slaves.`);
-				r.push(FSIsChosen("FSYouthPreferentialist"));
+				r.push(activeFS("FSYouthPreferentialist"));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -747,7 +747,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSMaturityPreferentialist !== "unset") {
 				r.push(pursuit());
 				r.push(`a societal preference for older women.`);
-				r.push(FSIsChosen("FSMaturityPreferentialist"));
+				r.push(activeFS("FSMaturityPreferentialist"));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -775,7 +775,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSPetiteAdmiration !== "unset") {
 				r.push(pursuit());
 				r.push(`an accentuated societal preference for short slaves.`);
-				r.push(FSIsChosen("FSPetiteAdmiration"));
+				r.push(activeFS("FSPetiteAdmiration"));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -799,7 +799,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSStatuesqueGlorification !== "unset") {
 				r.push(pursuit());
 				r.push(`a societal fixation on tallness.`);
-				r.push(FSIsChosen("FSStatuesqueGlorification"));
+				r.push(activeFS("FSStatuesqueGlorification"));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -827,7 +827,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSSlimnessEnthusiast !== "unset") {
 				r.push(App.UI.DOM.makeElement("span", "You are supporting", "bold"));
 				r.push(`enthusiasm for slaves with girlish figures.`);
-				r.push(FSIsChosen("FSPetiteAdmiration"));
+				r.push(activeFS("FSPetiteAdmiration"));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -851,7 +851,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSAssetExpansionist !== "unset") {
 				r.push(pursuit());
 				r.push(`societal hunger for huge assets.`);
-				r.push(FSIsChosen("FSAssetExpansionist"));
+				r.push(activeFS("FSAssetExpansionist"));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -878,7 +878,7 @@ App.UI.FSPassage = function() {
 		if (arc.FSPastoralist !== "unset") {
 			r.push(pursuit());
 			r.push(`societal normalization of slave milking.`);
-			r.push(FSIsChosen("FSPastoralist", ["boughtItem.clothing.western"]));
+			r.push(activeFS("FSPastoralist", ["boughtItem.clothing.western"]));
 		} else {
 			if (_FSCredits > 0) {
 				r.push(
@@ -905,7 +905,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSPhysicalIdealist !== "unset") {
 				r.push(pursuit());
 				r.push(`societal reverence for the idealized human form, including height, health and muscle.`);
-				r.push(FSIsChosen("FSPhysicalIdealist", ["boughtItem.clothing.oil"]));
+				r.push(activeFS("FSPhysicalIdealist", ["boughtItem.clothing.oil"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -929,7 +929,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSHedonisticDecadence !== "unset") {
 				r.push(pursuit());
 				r.push(`societal normalization of overindulgence and immediate gratification.Be it food, drink, sex, drugs or whatever one's desire may be.`);
-				r.push(FSIsChosen("FSHedonisticDecadence"));
+				r.push(activeFS("FSHedonisticDecadence"));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -957,7 +957,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSChattelReligionist !== "unset") {
 				r.push(pursuit());
 				r.push(`a new strain of religion that emphasizes the slaveholding portions of religious history.`);
-				r.push(FSIsChosen("FSChattelReligionist", ["boughtItem.clothing.habit"]));
+				r.push(activeFS("FSChattelReligionist", ["boughtItem.clothing.habit"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -994,7 +994,7 @@ App.UI.FSPassage = function() {
 			}
 			if (V.FSCreditCount === 4) {
 				if (arc.FSNull !== "unset") {
-					r.push(FSIsChosen("FSChattelReligionist"));
+					r.push(activeFS("FSChattelReligionist"));
 					if (arc.FSNull <= 25) {
 						r.push(abandonRel());
 					} else {
@@ -1128,7 +1128,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSRomanRevivalist !== "unset") {
 				r.push(pursuit());
 				r.push(`a vision of a new Rome.`);
-				r.push(FSIsChosen("FSRomanRevivalist", ["boughtItem.clothing.toga"]));
+				r.push(activeFS("FSRomanRevivalist", ["boughtItem.clothing.toga"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -1152,7 +1152,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSNeoImperialist !== "unset") {
 				r.push(pursuit());
 				r.push(`a vision of a new Imperial Society.`);
-				r.push(FSIsChosen("FSNeoImperialist", ["boughtItem.clothing.imperialarmor", "boughtItem.clothing.imperialsuit"]));
+				r.push(activeFS("FSNeoImperialist", ["boughtItem.clothing.imperialarmor", "boughtItem.clothing.imperialsuit"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -1176,7 +1176,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSAztecRevivalist !== "unset") {
 				r.push(pursuit());
 				r.push(`a vision of a new Aztec Empire.`);
-				r.push(FSIsChosen("FSAztecRevivalist", ["boughtItem.clothing.huipil"]));
+				r.push(activeFS("FSAztecRevivalist", ["boughtItem.clothing.huipil"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -1200,7 +1200,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSEgyptianRevivalist !== "unset") {
 				r.push(pursuit());
 				r.push(`a vision of Pharaoh's Egypt.`);
-				r.push(FSIsChosen("FSEgyptianRevivalist", ["boughtItem.clothing.egypt"]));
+				r.push(activeFS("FSEgyptianRevivalist", ["boughtItem.clothing.egypt"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -1225,7 +1225,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSEdoRevivalist !== "unset") {
 				r.push(pursuit());
 				r.push(`a vision of Edo Japan.`);
-				r.push(FSIsChosen("FSEdoRevivalist", ["boughtItem.clothing.kimono"]));
+				r.push(activeFS("FSEdoRevivalist", ["boughtItem.clothing.kimono"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -1249,7 +1249,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSArabianRevivalist !== "unset") {
 				r.push(pursuit());
 				r.push(`a vision of the Sultanate of old.`);
-				r.push(FSIsChosen("FSArabianRevivalist", ["boughtItem.clothing.harem"]));
+				r.push(activeFS("FSArabianRevivalist", ["boughtItem.clothing.harem"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -1273,7 +1273,7 @@ App.UI.FSPassage = function() {
 			if (arc.FSChineseRevivalist !== "unset") {
 				r.push(pursuit());
 				r.push(`a vision of ancient China.`);
-				r.push(FSIsChosen("FSChineseRevivalist", ["boughtItem.clothing.qipao"]));
+				r.push(activeFS("FSChineseRevivalist", ["boughtItem.clothing.qipao"]));
 			} else {
 				if (_FSCredits > 0) {
 					r.push(
@@ -1305,7 +1305,7 @@ App.UI.FSPassage = function() {
 		 * @param {FC.FutureSociety} FS
 		 * @param {Array} [itemArray]
 		 */
-		function FSIsChosen(FS, itemArray) {
+		function activeFS(FS, itemArray) {
 			const el = new DocumentFragment();
 			const r = [];
 
-- 
GitLab