Skip to content
Snippets Groups Projects
Commit 3523f368 authored by hexall90's avatar hexall90
Browse files

adjusting

parent c3bb2311
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized ...@@ -13,6 +13,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
<<switch $completedOrgans[_o].type>> <<switch $completedOrgans[_o].type>>
<<case "penis">> <<case "penis">>
<<if $activeSlave.dick == 0>> <<if $activeSlave.dick == 0>>
<br>Debug: found penis
<<set $cash -= $surgeryCost>> <<set $cash -= $surgeryCost>>
<<if $activeSlave.prostate == 0>> <<if $activeSlave.prostate == 0>>
<<set $activeSlave.prostate = 1>> <<set $activeSlave.prostate = 1>>
...@@ -24,11 +25,13 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized ...@@ -24,11 +25,13 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
<<set $surgeryType = "addDick">> <<set $surgeryType = "addDick">>
<br><hr> <br><hr>
<<include "Surgery Degradation">> <<include "Surgery Degradation">>
<br>Debug: installed penis
<<set $completedOrgans.deleteAt(_o), _o-->> <<set $completedOrgans.deleteAt(_o), _o-->>
<</if>> <</if>>
<<case "testicles">> <<case "testicles">>
<br>Debug: found testicles
<<if ($activeSlave.dick >= 1) && ($activeSlave.balls == 0)>> <<if ($activeSlave.dick >= 1) && ($activeSlave.balls == 0)>>
<br>Debug: installing testicles
<<set $cash -= $surgeryCost>> <<set $cash -= $surgeryCost>>
<<if $activeSlave.prostate == 0>> <<if $activeSlave.prostate == 0>>
<<set $activeSlave.prostate = 1>> <<set $activeSlave.prostate = 1>>
...@@ -54,8 +57,10 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized ...@@ -54,8 +57,10 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
<<set $surgeryType = "addBalls">> <<set $surgeryType = "addBalls">>
<br><hr> <br><hr>
<<include "Surgery Degradation">> <<include "Surgery Degradation">>
<br>Debug: installed testicles
<<set $completedOrgans.deleteAt(_o), _o-->> <<set $completedOrgans.deleteAt(_o), _o-->>
<<elseif $activeSlave.balls == 0>> <<elseif $activeSlave.balls == 0>>
<br>Debug: did not find penis on slave, searching for finished penis in completedOrgans
/* if it finds a penis in $completedOrgans install that one first, then proceeds with the testicles */ /* if it finds a penis in $completedOrgans install that one first, then proceeds with the testicles */
<<for _j = 0; _j < $completedOrgans.length; _j++>> <<for _j = 0; _j < $completedOrgans.length; _j++>>
<<if $completedOrgans[_j].ID == $slaves[_j].ID && $completedOrgans[_j].type == "penis" && $activeSlave.dick == 0>> <<if $completedOrgans[_j].ID == $slaves[_j].ID && $completedOrgans[_j].type == "penis" && $activeSlave.dick == 0>>
...@@ -71,7 +76,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized ...@@ -71,7 +76,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
<<set $surgeryType = "addDick">> <<set $surgeryType = "addDick">>
<br><hr> <br><hr>
<<include "Surgery Degradation">> <<include "Surgery Degradation">>
<<set $completedOrgans.deleteAt(_j), _j-->> <<set $completedOrgans.deleteAt(_j)>>
/* testicles */ /* testicles */
<<set $cash -= $surgeryCost>> <<set $cash -= $surgeryCost>>
<<if $activeSlave.prostate == 0>> <<if $activeSlave.prostate == 0>>
...@@ -99,6 +104,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized ...@@ -99,6 +104,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
<br><hr> <br><hr>
<<include "Surgery Degradation">> <<include "Surgery Degradation">>
<<set $completedOrgans.deleteAt(_o), _o-->> <<set $completedOrgans.deleteAt(_o), _o-->>
<br>Debug: installed both penis and testicles
<<break>> <<break>>
<</if>> <</if>>
<</for>> <</for>>
...@@ -117,7 +123,6 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized ...@@ -117,7 +123,6 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
<<set $surgeryType = "addScrotum">> <<set $surgeryType = "addScrotum">>
<br><hr> <br><hr>
<<include "Surgery Degradation">> <<include "Surgery Degradation">>
<<set $completedOrgans.deleteAt(_o), _o-->> <<set $completedOrgans.deleteAt(_o), _o-->>
<<elseif $activeSlave.scrotum == 0>> <<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 */ /* 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 */
......
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