Skip to content
Snippets Groups Projects
Commit 24ca2a1a authored by Pregmodder's avatar Pregmodder
Browse files

fix

parent 5ffb5d52
No related branches found
No related tags found
No related merge requests found
...@@ -620,6 +620,9 @@ The fabricator is ready to grow an organ for $object. Extract tissue to begin gr ...@@ -620,6 +620,9 @@ The fabricator is ready to grow an organ for $object. Extract tissue to begin gr
<br>&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;
ERROR: this slave lacks a viable womb. ERROR: this slave lacks a viable womb.
<<link "Discard">><<for $i = 0; $i < $completedOrgans.length; $i++>><<if $activeSlave.ID == $completedOrgans[$i].ID>><<set $completedOrgans.deleteAt($i)>><<break>><</if>><</for>><<goto "Remote Surgery">><</link>> <<link "Discard">><<for $i = 0; $i < $completedOrgans.length; $i++>><<if $activeSlave.ID == $completedOrgans[$i].ID>><<set $completedOrgans.deleteAt($i)>><<break>><</if>><</for>><<goto "Remote Surgery">><</link>>
<<elseif $activeSlave.physicalAge >= 60>>
ERROR: this slave's body is too old to handle pregnancy.
<<link "Discard">><<for $i = 0; $i < $completedOrgans.length; $i++>><<if $activeSlave.ID == $completedOrgans[$i].ID>><<set $completedOrgans.deleteAt($i)>><<break>><</if>><</for>><<goto "Remote Surgery">><</link>>
<<else>> <<else>>
<br>&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;
<<link "Implant">> <<link "Implant">>
......
...@@ -437,7 +437,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized ...@@ -437,7 +437,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
<</if>> <</if>>
/* ovary renewal */ /* ovary renewal */
<<if _slaveOrgans.freshOvaries != 0>> <<if _slaveOrgans.freshOvaries != 0>>
<<if ($activeSlave.ovaries == 0) && ($activeSlave.vagina < 0) && ($activeSlave.mpreg == 0) && ($activeSlave.bellyImplant == -1)>> <<if ($activeSlave.ovaries == 1) || ($activeSlave.mpreg == 1) && ($activeSlave.bellyImplant == -1) && ($activeSlave.physicalAge < 60)>>
<<set $cash -= $surgeryCost>> <<set $cash -= $surgeryCost>>
<<if $activeSlave.ovaryAge >= 47>> <<if $activeSlave.ovaryAge >= 47>>
<<set $activeSlave.ovaryAge = 45>> <<set $activeSlave.ovaryAge = 45>>
...@@ -463,6 +463,8 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized ...@@ -463,6 +463,8 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
<<set $surgeryType = "freshOvaries">> <<set $surgeryType = "freshOvaries">>
<br><hr> <br><hr>
<<include "Surgery Degradation">> <<include "Surgery Degradation">>
<<elseif ($activeSlave.physicalAge >= 60)>>
@@.red;This slave's body is too old to handle pregnancy.@@
<<elseif ($activeSlave.mpreg == 0 && $activeSlave.ovaries == 0) || $activeSlave.bellyImplant != -1>> <<elseif ($activeSlave.mpreg == 0 && $activeSlave.ovaries == 0) || $activeSlave.bellyImplant != -1>>
<br><hr> <br><hr>
@@.red;This slave lacks a viable womb to accept fertile ovaries.@@ @@.red;This slave lacks a viable womb to accept fertile ovaries.@@
......
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