diff --git a/src/uncategorized/multiImplant.tw b/src/uncategorized/multiImplant.tw index 99f66a6ce996e8559954003aa88ecd380a1fb99a..434d0151092dac48c84076c2e25a67b12a274e4e 100644 --- a/src/uncategorized/multiImplant.tw +++ b/src/uncategorized/multiImplant.tw @@ -25,7 +25,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <</if>> <<case "testicles">> <<if ($activeSlave.dick >= 1) && ($activeSlave.balls == 0)>> @@ -54,8 +54,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <<set $surgeryType = "addBalls">> <br><hr> <<include "Surgery Degradation">> - - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <<elseif $activeSlave.balls == 0>> /* if it finds a penis in $completedOrgans install that one first, then proceeds with the testicles */ <<for _j = 0; _j < $completedOrgans.length; _j++>> @@ -72,7 +71,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <<set $surgeryType = "addDick">> <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_j), _j-->> /* testicles */ <<set $cash -= $surgeryCost>> <<if $activeSlave.prostate == 0>> @@ -99,6 +98,8 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <<set $surgeryType = "addBalls">> <br><hr> <<include "Surgery Degradation">> + <<set $completedOrgans.deleteAt(_o), _o-->> + <<break>> <</if>> <</for>> <<else>> @@ -117,7 +118,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <<elseif $activeSlave.scrotum == 0>> /* checks if there is completed testicles in $completedOrgans and proceed to install the, if there is no penis it checks for the presence of that too */ <<for _j = 0; _j < $completedOrgans.length; _j++>> @@ -149,6 +150,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <<set $surgeryType = "addBalls">> <br><hr> <<include "Surgery Degradation">> + <<set $completedOrgans.deleteAt(_j), _j-->> /* scrotum */ <<set $cash -= $surgeryCost>> <<set $activeSlave.scrotum to $activeSlave.balls>> @@ -159,10 +161,10 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <<set $surgeryType = "addScrotum">> <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <<else>> - <<for _j = 0; _j < $completedOrgans.length; _j++>> - <<if $completedOrgans[_j].ID == $slaves[_j].ID && $completedOrgans[_j].type == "penis" && $activeSlave.dick == 0>> + <<for _y = 0; _y < $completedOrgans.length; _y++>> + <<if $completedOrgans[_y].ID == $slaves[_y].ID && $completedOrgans[_y].type == "penis" && $activeSlave.dick == 0>> /* penis */ <<set $cash -= $surgeryCost>> <<if $activeSlave.prostate == 0>> @@ -175,7 +177,8 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <<set $surgeryType = "addDick">> <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_y), _y-->> + /* testicles */ <<set $cash -= $surgeryCost>> <<if $activeSlave.prostate == 0>> @@ -202,6 +205,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <<set $surgeryType = "addBalls">> <br><hr> <<include "Surgery Degradation">> + <<set $completedOrgans.deleteAt(_j), _j-->> /* scrotum */ <<set $cash -= $surgeryCost>> <<set $activeSlave.scrotum to $activeSlave.balls>> @@ -212,7 +216,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <<set $surgeryType = "addScrotum">> <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <</if>> <</for>> <</if>> @@ -238,7 +242,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <</if>> <<case "ovaries">> <<if ($activeSlave.ovaries == 0) && ($activeSlave.vagina >= 0) && ($activeSlave.mpreg == 0) && ($activeSlave.bellyImplant == -1)>> @@ -265,7 +269,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <<elseif $activeSlave.vagina < 0>> <br><hr> @@.red;Could not implant ovaries on $activeSlave.slaveName: she lacks a vagina.@@ @@ -288,7 +292,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <</if>> <<case "eyes">> <<if ($activeSlave.eyes == -2) && $activeSlave.origEye != "implant">> @@ -304,7 +308,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <<elseif $activeSlave.origEye == "implant">> <<set $cash -= $surgeryCost>> <<set $stockpile.ocularImplant++>> @@ -341,7 +345,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <<elseif $activeSlave.voice >= 0>> <br><hr> @@.red;Could not implant eyes on $activeSlave.slaveName: she is not a mute.@@ @@ -372,7 +376,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <<elseif $activeSlave.balls == 0>> /* if it finds a penis in $completedOrgans install that one first, then proceeds with the testicles */ <<for _j = 0; _j < $completedOrgans.length; _j++>> @@ -389,7 +393,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <<set $surgeryType = "addDick">> <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_j), _j-->> /* testicles */ <<set $cash -= $surgeryCost>> <<if $activeSlave.prostate == 0>> @@ -416,6 +420,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <<set $surgeryType = "addPigBalls">> <br><hr> <<include "Surgery Degradation">> + <<set $completedOrgans.deleteAt(_o), _o-->> <</if>> <</for>> <<else>> @@ -449,7 +454,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <<elseif $activeSlave.balls == 0>> /* if it finds a penis in $completedOrgans install that one first, then proceeds with the testicles */ <<for _j = 0; _j < $completedOrgans.length; _j++>> @@ -466,7 +471,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <<set $surgeryType = "addDick">> <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_j), _j-->> /* testicles */ <<set $cash -= $surgeryCost>> <<if $activeSlave.prostate == 0>> @@ -493,6 +498,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <<set $surgeryType = "addPigBalls">> <br><hr> <<include "Surgery Degradation">> + <<set $completedOrgans.deleteAt(_o), _o-->> <</if>> <</for>> <<else>> @@ -525,7 +531,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <<elseif $activeSlave.vagina < 0>> <br><hr> @@.red;Could not implant pig ovaries on $activeSlave.slaveName: she lacks a vagina.@@ @@ -562,7 +568,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <<elseif $activeSlave.vagina < 0>> <br><hr> @@.red;Could not implant dog ovaries on $activeSlave.slaveName: she lacks a vagina.@@ @@ -599,7 +605,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <<elseif $activeSlave.vagina < 0>> <br><hr> @@.red;Could not implant anal womb on $activeSlave.slaveName: she has a vagina.@@ @@ -636,7 +642,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <<elseif $activeSlave.vagina < 0>> <br><hr> @@.red;Could not implant pig anal womb on $activeSlave.slaveName: she has a vagina.@@ @@ -673,7 +679,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <br><hr> <<include "Surgery Degradation">> - <<set $completedOrgans.deleteAt(_o)>> + <<set $completedOrgans.deleteAt(_o), _o-->> <<elseif $activeSlave.vagina < 0>> <br><hr> @@.red;Could not implant dog anal womb on $activeSlave.slaveName: she has a vagina.@@