From 00c9262aaca9b23cffea0ebd7e42b5581aaf6ce5 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 17 Mar 2021 18:28:20 -0400
Subject: [PATCH] more tweaks

---
 src/js/economyJS.js | 33 ++++++++++++++++++++++-----------
 1 file changed, 22 insertions(+), 11 deletions(-)

diff --git a/src/js/economyJS.js b/src/js/economyJS.js
index 4d5bfc0cbe7..9018814f975 100644
--- a/src/js/economyJS.js
+++ b/src/js/economyJS.js
@@ -590,8 +590,8 @@ globalThis.calculateCosts = (function() {
 
 	function getIncubatorSlavesCosts() {
 		return ((V.incubator.upgrade.weight + V.incubator.upgrade.muscles + V.incubator.upgrade.reproduction +
-		V.incubator.upgrade.growthStims + V.incubator.upgrade.organs + V.incubator.setting.pregAdaptationPower)
-		* 500 * V.incubator.tanks.length);
+			V.incubator.upgrade.growthStims + V.incubator.upgrade.organs + V.incubator.setting.pregAdaptationPower)
+			* 500 * V.incubator.tanks.length);
 	}
 
 	function getServantsQuartersCosts() {
@@ -998,32 +998,43 @@ globalThis.getSlaveCostArray = function(s) {
 	}
 	if (s.geneticQuirks.fertility === 2 && s.geneticQuirks.hyperFertility === 2 && s.preg === 0 && (s.ovaries === 1 || s.mpreg === 1)) {
 		if (V.geneticMappingUpgrade >= 1) {
-			retval.push({text: "Additional dietary supplements due to genetic hyper-fertility",
-				value: Math.trunc(foodCost * 0.5)});
+			retval.push({
+				text: "Additional dietary supplements due to genetic hyper-fertility",
+				value: Math.trunc(foodCost * 0.5)
+			});
 		} else {
-			retval.push({text: "Adjustment for unusual dietary deficiencies", value: Math.trunc(foodCost * 0.5)});
+			retval.push({
+				text: "Adjustment for unusual dietary deficiencies",
+				value: Math.trunc(foodCost * 0.5)
+			});
 		}
 	}
 	if (s.geneticQuirks.rearLipedema === 2) {
 		if (V.geneticMappingUpgrade >= 1) {
-			retval.push({text: "Additional dietary supplements due to lipedema",
-				value: Math.trunc(foodCost * 0.2)});
+			retval.push({
+				text: "Additional dietary supplements due to lipedema",
+				value: Math.trunc(foodCost * 0.2)
+			});
 		} else {
 			retval.push({text: "Adjustment for unusual dietary deficiencies", value: Math.trunc(foodCost * 0.2)});
 		}
 	}
 	if (s.geneticQuirks.macromastia === 2) {
 		if (V.geneticMappingUpgrade >= 1) {
-			retval.push({text: "Additional dietary supplements due to macromastia",
-				value: Math.trunc(foodCost * 0.2)});
+			retval.push({
+				text: "Additional dietary supplements due to macromastia",
+				value: Math.trunc(foodCost * 0.2)
+			});
 		} else {
 			retval.push({text: "Adjustment for unusual dietary deficiencies", value: Math.trunc(foodCost * 0.2)});
 		}
 	}
 	if (s.geneticQuirks.gigantomastia === 2) {
 		if (V.geneticMappingUpgrade >= 1) {
-			retval.push({text: "Additional dietary supplements due to gigantomastia",
-				value: Math.trunc(foodCost * 0.2)});
+			retval.push({
+				text: "Additional dietary supplements due to gigantomastia",
+				value: Math.trunc(foodCost * 0.2)
+			});
 		} else {
 			retval.push({text: "Adjustment for unusual dietary deficiencies", value: Math.trunc(foodCost * 0.2)});
 		}
-- 
GitLab