From b9d7e29cb7ed6b5d2a053bc3f42c8b933e36ad8e Mon Sep 17 00:00:00 2001
From: Anony <solosenpai@protonmail.com>
Date: Sat, 18 Jan 2020 08:51:53 -0800
Subject: [PATCH] Split individual eye generation for incubator

---
 src/pregmod/incubator.tw | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/src/pregmod/incubator.tw b/src/pregmod/incubator.tw
index 264df7d0744..fd77451e74c 100644
--- a/src/pregmod/incubator.tw
+++ b/src/pregmod/incubator.tw
@@ -544,13 +544,20 @@ Target age for release: <<textbox "$targetAge" $targetAge "Incubator">> [[Minimu
 					<<goto "Incubator">>
 				<</link>>
 			<</if>>
-			<<if getBestVision($tanks[$i]) === 0 && $tankOrgans.rightEye != 1 && $tankOrgans.leftEye != 1>>
-				<br>$He appears to be blind:
-				<<link "Prepare eyes">>
-					<<run App.Medicine.OrganFarm.growIncubatorOrgan($tanks[$i], "rightEye"), App.Medicine.OrganFarm.growIncubatorOrgan($tanks[$i], "leftEye")>>
+			<<if getLeftEyeVision($tanks[$i]) === 0 && $tankOrgans.leftEye != 1>>
+				<br>$He appears to be blind in $his left eye:
+				<<link "Prepare left eye">>
+					<<run App.Medicine.OrganFarm.growIncubatorOrgan($tanks[$i], "leftEye")>>
 					<<goto "Incubator">>
 				<</link>>
 			<</if>>
+			<<if getRightEyeVision($tanks[$i]) === 0 && $tankOrgans.rightEye != 1>>
+				<br>$He appears to be blind in $his right eye:
+				<<link "Prepare right eye">>
+					<<run App.Medicine.OrganFarm.growIncubatorOrgan($tanks[$i], "rightEye")>>
+					<<goto "Incubator">>
+				<</link>>
+			<</if>>			
 			<<if $tanks[$i].voice == 0 && $tankOrgans.voicebox != 1>>
 				<br>$He appears to be mute:
 				<<link "Prepare vocal cords">>
-- 
GitLab