diff --git a/src/js/wombJS.tw b/src/js/wombJS.tw index 77e6a667ba20e45e28440f39046ee832780796d0..80648a7686700ebf311048702c410d7f5e019083 100644 --- a/src/js/wombJS.tw +++ b/src/js/wombJS.tw @@ -357,7 +357,7 @@ window.WombRemoveFetus = function(actor, fetusNum) { WombInit(actor); if (actor.womb.length >= fetusNum){ - ft = actor.womb[fetusNum]; + let ft = actor.womb[fetusNum]; actor.womb.splice(fetusNum, 1); WombSort(actor); return ft; diff --git a/src/pregmod/analyzePregnancy.tw b/src/pregmod/analyzePregnancy.tw index c0a49cae952f2c7b5d40d03725609e7194b3fd5e..f63964b3962065c26db722b9bcdda6a46d84c917 100644 --- a/src/pregmod/analyzePregnancy.tw +++ b/src/pregmod/analyzePregnancy.tw @@ -132,9 +132,12 @@ Deep scan: <</if>> <</if>> - //name this ova + <br><br> + + Rename: <<textbox "_tempName" _tempName >> [[Apply | Analyze Pregnancy][$activeSlave.womb[_ap].genetics.name = _tempName]] <<if $activeSlave.womb[_ap].age < 4>> - //abort this ova + <br> + <<link "Terminate ovum" "Analyze Pregnancy">><<run WombRemoveFetus($activeSlave, _ap)>><</link>> <</if>> <<if $incubator > 0>> <br>