From ddc1207a0829282e55cc6c1a823fa27743b3b7f3 Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Tue, 25 Jul 2023 16:19:03 -0400
Subject: [PATCH] Beauty tweaks: 1. Do not grant the "young girl with braces"
 bonus to Maturity Pref arcologies. 2. Give Degradationist arcologies a bonus
 for heavy makeup (objectification). 3. Give Body Purist arcologies a bonus
 for makeup-free girls, and a penalty for heavy makeup.

---
 src/js/slaveCostJS.js | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git a/src/js/slaveCostJS.js b/src/js/slaveCostJS.js
index 4838f4b54f0..89dcfc46b14 100644
--- a/src/js/slaveCostJS.js
+++ b/src/js/slaveCostJS.js
@@ -275,7 +275,7 @@ globalThis.BeautyArray = function(slave) {
 				break;
 			case "straightening braces":
 			case "cosmetic braces":
-				if (slave.visualAge.isBetween(14, 18)) {
+				if (slave.visualAge.isBetween(14, 18) && arcology.FSMaturityPreferentialist === "unset") {
 					adjustBeauty("Teeth", (1));
 				}
 				break;
@@ -354,8 +354,26 @@ globalThis.BeautyArray = function(slave) {
 		if (slave.nails > 0) {
 			adjustBeauty("Nails", (1));
 		}
-		if (slave.makeup > 0) {
-			adjustBeauty("Makeup", (1));
+		if (slave.makeup === 0) {
+			if (arcology.FSBodyPurist !== "unset") {
+				if (slave.face > 10) {
+					adjustBeauty("Body Purist: Makeup-free beauty", 2);
+				} else {
+					adjustBeauty("Body Purist: Makeup-free honesty", 1);
+				}
+			}
+		} else {
+			if (arcology.FSDegradationist !== "unset" && slave.makeup > 1) {
+				adjustBeauty("Degradationist: Heavy makeup", 2);
+			} else if (arcology.FSBodyPurist !== "unset") {
+				if (slave.makeup > 1) {
+					adjustBeauty("Body Purist: Unsightly makeup", -1);
+				} else {
+					// no bonus or penalty for light makeup in Body Purist arcologies
+				}
+			} else {
+				adjustBeauty("Makeup", 1);
+			}
 		}
 		switch (slave.markings) {
 			case "beauty mark":
-- 
GitLab