From 7386000949722320d48d1ee0df3b82a01f3df496 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Mon, 6 Jul 2020 18:33:23 -0400
Subject: [PATCH] Pregmod v.3.5.4

---
 Changelog.txt                |  3 +++
 src/002-config/fc-version.js |  2 +-
 src/npc/surgery/organs.js    | 17 ++++-------------
 3 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/Changelog.txt b/Changelog.txt
index 603e37d6fcd..95aa0077e1d 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -2,7 +2,10 @@ Pregmod
 
 0.10.7.1-3.5.x
 
+	7/06/2020
+
 	4
+	-added hair to the organ farm
 	-more code cleanup
 	-breast size immobilization floor raised for adult/teen slaves
 	-fixes
diff --git a/src/002-config/fc-version.js b/src/002-config/fc-version.js
index a9fb197bc1f..fabf0257a38 100644
--- a/src/002-config/fc-version.js
+++ b/src/002-config/fc-version.js
@@ -1,6 +1,6 @@
 App.Version = {
 	base: "0.10.7.1", // The vanilla version the mod is based off of, this should never be changed.
-	pmod: "3.5.3",
+	pmod: "3.5.4",
 	commitHash: null,
 	release: 1074
 };
diff --git a/src/npc/surgery/organs.js b/src/npc/surgery/organs.js
index 8401afec4f3..e87a34799a5 100644
--- a/src/npc/surgery/organs.js
+++ b/src/npc/surgery/organs.js
@@ -400,23 +400,14 @@ App.Medicine.OrganFarm.init = function() {
 					s.hColor = s.origHColor;
 				}
 			}),
-			/*
+			/* So apparently hair is tracked via the .earTColor variable with no differential between possible hair origin. Not worth the variable, currently.
 			new App.Medicine.OrganFarm.OrganImplantAction({
 				name: "Ears", healthImpact: 5,
 				surgeryType: "addHairEarsH", autoImplant: false,
-				canImplant: s => (s.earShape !== "normal"),
-				implantError: s => getRightEyeVision(s) !== 0 ? "Slave has a working right eye." : "",
+				canImplant: s => (s.earTShape !== "normal"),
+				implantError: "",
 				implant: s => {
-					s.earShape = "normal";
-				}
-			}),
-			new App.Medicine.OrganFarm.OrganImplantAction({
-				name: "Ears", healthImpact: 5,
-				surgeryType: "addHairEarsS", autoImplant: false,
-				canImplant: s => (s.earShape !== "normal"),
-				implantError: s => getRightEyeVision(s) !== 0 ? "Slave has a working right eye." : "",
-				implant: s => {
-					s.earShape = "normal";
+					s.earTColor = "normal";
 				}
 			}),
 			*/
-- 
GitLab