Skip to content
Snippets Groups Projects
Commit b9d7e29c authored by Anony's avatar Anony
Browse files

Split individual eye generation for incubator

parent 390b4d92
No related branches found
No related tags found
No related merge requests found
......@@ -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">>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment