diff --git a/src/uncategorized/remoteSurgery.tw b/src/uncategorized/remoteSurgery.tw index 781f11426a88a4d952cea1a49b181f7816beb2de..0a8f1630bca0a62bf4ae218dde6c84c931436e1c 100644 --- a/src/uncategorized/remoteSurgery.tw +++ b/src/uncategorized/remoteSurgery.tw @@ -90,7 +90,7 @@ <<else>> A single facial surgery is not projected to significantly impact artificiality. <</if>>// - <div style="margin-left:2em"> + <div style="text-indent:2em"> <<if $activeSlave.faceShape != "normal">> [[Make conventionally feminine|Surgery Degradation][$activeSlave.faceShape = "normal",$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] | <</if>> @@ -128,427 +128,438 @@ <</if>> </div> -<div style="margin-left:2em"> - -$He has <<print App.Desc.eyesType($activeSlave)>><<if hasAnyEyes($activeSlave)>>, -they are <<print App.Desc.eyesVision($activeSlave)>> -<</if>>. -/* eye blur and fix */ -<<if hasAnyEyes($activeSlave)>> - <<set _n = 0>> - <<if getLeftEyeVision($activeSlave) === 2 && getLeftEyeType($activeSlave) === 1>> - <<set _n++>> - | [[Blur left eye|Surgery Degradation][eyeSurgery($activeSlave, "left", "blur"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "eyeBlur"]] - <</if>> - <<if getRightEyeVision($activeSlave) === 2 && getRightEyeType($activeSlave) === 1>> - <<set _n++>> - | [[Blur right eye|Surgery Degradation][eyeSurgery($activeSlave, "right", "blur"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "eyeBlur"]] - <</if>> - <<if _n === 2>> - | [[Blur both eyes|Surgery Degradation][eyeSurgery($activeSlave, "both", "blur"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "eyeBlur"]] - <</if>> - <<set _n = 0>> - <<if getLeftEyeVision($activeSlave) === 1 && getLeftEyeType($activeSlave) === 1>> - <<set _n++>> - | [[Fix left eye|Surgery Degradation][eyeSurgery($activeSlave, "left", "fix"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "eyeFix"]] - <</if>> - <<if getRightEyeVision($activeSlave) === 1 && getRightEyeType($activeSlave) === 1>> - <<set _n++>> - | [[Fix right eye|Surgery Degradation][eyeSurgery($activeSlave, "right", "fix"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "eyeFix"]] - <</if>> - <<if _n === 2>> - | [[Fix both eyes|Surgery Degradation][eyeSurgery($activeSlave, "both", "fix"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "eyeFix"]] - <</if>> -<</if>> - - -<<if ($seeExtreme == 1)>> - <<if $activeSlave.indentureRestrictions < 1>> - /* blind */ +/*Eyes*/ +<div style="text-indent:2em"> + $He has <<print App.Desc.eyesType($activeSlave)>><<if hasAnyEyes($activeSlave)>>, + they are <<print App.Desc.eyesVision($activeSlave)>> + <</if>>. + /* eye blur and fix */ + <<if hasAnyEyes($activeSlave)>> <<set _n = 0>> - <<if getLeftEyeVision($activeSlave) > 0 && getLeftEyeType($activeSlave) === 1>> + <<if getLeftEyeVision($activeSlave) === 2 && getLeftEyeType($activeSlave) === 1>> <<set _n++>> - | [[Blind left eye|Surgery Degradation][eyeSurgery($activeSlave, "left", "blind"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "blind"]] + | [[Blur left eye|Surgery Degradation][eyeSurgery($activeSlave, "left", "blur"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "eyeBlur"]] <</if>> - <<if getRightEyeVision($activeSlave) > 0 && getRightEyeType($activeSlave) === 1>> + <<if getRightEyeVision($activeSlave) === 2 && getRightEyeType($activeSlave) === 1>> <<set _n++>> - | [[Blind right eye|Surgery Degradation][eyeSurgery($activeSlave, "right", "blind"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "blind"]] + | [[Blur right eye|Surgery Degradation][eyeSurgery($activeSlave, "right", "blur"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "eyeBlur"]] <</if>> <<if _n === 2>> - | [[Blind both eyes|Surgery Degradation][eyeSurgery($activeSlave, "both", "blind"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "blind"]] + | [[Blur both eyes|Surgery Degradation][eyeSurgery($activeSlave, "both", "blur"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "eyeBlur"]] <</if>> - /* remove */ <<set _n = 0>> - <<if hasLeftEye($activeSlave)>> + <<if getLeftEyeVision($activeSlave) === 1 && getLeftEyeType($activeSlave) === 1>> <<set _n++>> - | [[Remove left eye|Surgery Degradation][eyeSurgery($activeSlave, "left", "remove"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "remove eyes"]] + | [[Fix left eye|Surgery Degradation][eyeSurgery($activeSlave, "left", "fix"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "eyeFix"]] <</if>> - <<if hasRightEye($activeSlave)>> + <<if getRightEyeVision($activeSlave) === 1 && getRightEyeType($activeSlave) === 1>> <<set _n++>> - | [[Remove right eye|Surgery Degradation][eyeSurgery($activeSlave, "right", "remove"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "remove eyes"]] + | [[Fix right eye|Surgery Degradation][eyeSurgery($activeSlave, "right", "fix"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "eyeFix"]] <</if>> <<if _n === 2>> - | [[Remove both eyes|Surgery Degradation][eyeSurgery($activeSlave, "both", "remove"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "remove eyes"]] + | [[Fix both eyes|Surgery Degradation][eyeSurgery($activeSlave, "both", "fix"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "eyeFix"]] <</if>> - /* implant */ - <<if isProstheticAvailable($activeSlave, "ocular")>> + <</if>> + + + <<if ($seeExtreme == 1)>> + <<if $activeSlave.indentureRestrictions < 1>> + /* blind */ <<set _n = 0>> - <<if !hasLeftEye($activeSlave)>> + <<if getLeftEyeVision($activeSlave) > 0 && getLeftEyeType($activeSlave) === 1>> <<set _n++>> - | [[Give left eye ocular implant|Surgery Degradation][eyeSurgery($activeSlave, "left", "cybernetic"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "ocular implant"]] + | [[Blind left eye|Surgery Degradation][eyeSurgery($activeSlave, "left", "blind"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "blind"]] <</if>> - <<if !hasRightEye($activeSlave)>> + <<if getRightEyeVision($activeSlave) > 0 && getRightEyeType($activeSlave) === 1>> <<set _n++>> - | [[Give right eye ocular implant|Surgery Degradation][eyeSurgery($activeSlave, "right", "cybernetic"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "ocular implant"]] + | [[Blind right eye|Surgery Degradation][eyeSurgery($activeSlave, "right", "blind"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "blind"]] <</if>> <<if _n === 2>> - | [[Give ocular implants|Surgery Degradation][eyeSurgery($activeSlave, "both", "cybernetic"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "ocular implant"]] + | [[Blind both eyes|Surgery Degradation][eyeSurgery($activeSlave, "both", "blind"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "blind"]] <</if>> - <</if>> - <</if>> -<</if>> - -/*Regular Ears*/ -<br> -$He has -<<if $activeSlave.earShape == "normal">> - normal ears. -<<elseif $activeSlave.earShape == "damaged">> - damaged ears. - | [[Repair|Surgery Degradation][$activeSlave.earShape = "normal", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earRestore"]] -<<elseif $activeSlave.earShape == "pointy">> - small elfin ears. -<<elseif $activeSlave.earShape == "elven">> - long elf ears. -<<elseif $activeSlave.earShape == "ushi">> - floppy cow ears. -<<elseif $activeSlave.earShape == "none">> - no ears. -<<else>> - bugged ears. You done goofed. //Report This// -<</if>> - -<<if $activeSlave.indentureRestrictions >= 2>> - //$His indenture forbids elective surgery// -<<else>> - <<if $activeSlave.earShape != "normal" && $activeSlave.earShape != "none">> - [[Restore to normal|Surgery Degradation][$activeSlave.earShape = "normal", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earRestore"]] - <</if>> - <<if $activeSlave.earShape != "normal" && $activeSlave.earShape !== "none" && $seeExtreme == 1 && $activeSlave.indentureRestrictions < 1>> | <</if>> - <<if $activeSlave.earShape != "none" && $seeExtreme == 1 && $activeSlave.indentureRestrictions < 1>> - [[Remove them|Surgery Degradation][surgeryAmp($activeSlave, "left ear"), surgeryAmp($activeSlave, "right ear"), $surgeryType = "earGone", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] - <</if>> - <<if $activeSlave.earShape == "none">> - <<if $activeSlave.hears != -2 && $activeSlave.earImplant != 1>> - <<set $activeSlave.hears = -1>> - <</if>> - <<else>> - <<if $activeSlave.earShape != "pointy">> - | [[Reshape into small elfin ears|Surgery Degradation][$activeSlave.earShape = "pointy", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMinor"]] - <</if>> - <<if $surgeryUpgrade == 1>> - <<if $activeSlave.earShape != "elven">> - | [[Reshape into long elf ears|Surgery Degradation][$activeSlave.earShape = "elven", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMajor"]] + /* remove */ + <<set _n = 0>> + <<if hasLeftEye($activeSlave)>> + <<set _n++>> + | [[Remove left eye|Surgery Degradation][eyeSurgery($activeSlave, "left", "remove"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "remove eyes"]] + <</if>> + <<if hasRightEye($activeSlave)>> + <<set _n++>> + | [[Remove right eye|Surgery Degradation][eyeSurgery($activeSlave, "right", "remove"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "remove eyes"]] <</if>> - <<if $activeSlave.earShape != "ushi">> - | [[Reshape into bovine ears|Surgery Degradation][$activeSlave.earShape = "ushi", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMajor"]] + <<if _n === 2>> + | [[Remove both eyes|Surgery Degradation][eyeSurgery($activeSlave, "both", "remove"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "remove eyes"]] + <</if>> + /* implant */ + <<if isProstheticAvailable($activeSlave, "ocular")>> + <<set _n = 0>> + <<if !hasLeftEye($activeSlave)>> + <<set _n++>> + | [[Give left eye ocular implant|Surgery Degradation][eyeSurgery($activeSlave, "left", "cybernetic"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "ocular implant"]] + <</if>> + <<if !hasRightEye($activeSlave)>> + <<set _n++>> + | [[Give right eye ocular implant|Surgery Degradation][eyeSurgery($activeSlave, "right", "cybernetic"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "ocular implant"]] + <</if>> + <<if _n === 2>> + | [[Give ocular implants|Surgery Degradation][eyeSurgery($activeSlave, "both", "cybernetic"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "ocular implant"]] + <</if>> <</if>> <</if>> <</if>> -<</if>> +</div> -/*Top Ears*/ -<<if $activeSlave.earT != "none">> - <br> +/*Regular Ears*/ +<div style="text-indent:2em"> $He has - <<if $activeSlave.earT == "none">> - <<if $activeSlave.earShape != "none">>only one set of ears<<else>>no secondary ears<</if>>. - <<elseif $activeSlave.earT == "normal">> - <<if $activeSlave.earShape != "none">>a second pair of ears grafted to $his head<<else>>a pair of ears grafted to the top of $his head<</if>>. - <<elseif $activeSlave.earT == "neko">> - a pair of cat ears adorning $his head. - <<elseif $activeSlave.earT == "inu">> - a pair of dog ears adorning $his head. - <<elseif $activeSlave.earT == "kit">> - a pair of fox ears adorning $his head. - <<elseif $activeSlave.earT == "tanuki">> - a pair of tanuki ears adorning $his head. + <<if $activeSlave.earShape == "normal">> + normal ears. + <<elseif $activeSlave.earShape == "damaged">> + damaged ears. + | [[Repair|Surgery Degradation][$activeSlave.earShape = "normal", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earRestore"]] + <<elseif $activeSlave.earShape == "pointy">> + small elfin ears. + <<elseif $activeSlave.earShape == "elven">> + long elf ears. + <<elseif $activeSlave.earShape == "ushi">> + floppy cow ears. + <<elseif $activeSlave.earShape == "none">> + no ears. <<else>> - You done goofed. //Report This// + bugged ears. You done goofed. //Report This// <</if>> + <<if $activeSlave.indentureRestrictions >= 2>> //$His indenture forbids elective surgery// <<else>> - <<if $activeSlave.earT != "none" && $seeExtreme == 1 && $activeSlave.indentureRestrictions < 1>> - [[Remove them|Surgery Degradation][$activeSlave.earT = "none", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "earGone"]] + <<if $activeSlave.earShape != "normal" && $activeSlave.earShape != "none">> + [[Restore to normal|Surgery Degradation][$activeSlave.earShape = "normal", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earRestore"]] <</if>> - <<if $activeSlave.earT == "normal">> - <<if $activeSlave.earT != "neko">> - | [[Reshape into cat Ears|Surgery Degradation][$activeSlave.earT = "neko", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMajor"]] - <</if>> - <<if $activeSlave.earT != "inu">> - | [[Reshape into dog Ears|Surgery Degradation][$activeSlave.earT = "inu", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMajor"]] + <<if $activeSlave.earShape != "normal" && $activeSlave.earShape !== "none" && $seeExtreme == 1 && $activeSlave.indentureRestrictions < 1>> | <</if>> + <<if $activeSlave.earShape != "none" && $seeExtreme == 1 && $activeSlave.indentureRestrictions < 1>> + [[Remove them|Surgery Degradation][surgeryAmp($activeSlave, "left ear"), surgeryAmp($activeSlave, "right ear"), $surgeryType = "earGone", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] + <</if>> + <<if $activeSlave.earShape == "none">> + <<if $activeSlave.hears != -2 && $activeSlave.earImplant != 1>> + <<set $activeSlave.hears = -1>> <</if>> - <<if $activeSlave.earT != "kit">> - | [[Reshape into fox Ears|Surgery Degradation][$activeSlave.earT = "kit", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMajor"]] + <<else>> + <<if $activeSlave.earShape != "pointy">> + | [[Reshape into small elfin ears|Surgery Degradation][$activeSlave.earShape = "pointy", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMinor"]] <</if>> - <<if $activeSlave.earT != "tanuki">> - | [[Reshape into tanuki Ears|Surgery Degradation][$activeSlave.earT = "tanuki", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMajor"]] + <<if $surgeryUpgrade == 1>> + <<if $activeSlave.earShape != "elven">> + | [[Reshape into long elf ears|Surgery Degradation][$activeSlave.earShape = "elven", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMajor"]] + <</if>> + <<if $activeSlave.earShape != "ushi">> + | [[Reshape into bovine ears|Surgery Degradation][$activeSlave.earShape = "ushi", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMajor"]] + <</if>> <</if>> + <</if>> + <</if>> +</div> + +/*Top Ears*/ +<div style="text-indent:2em"> + <<if $activeSlave.earT != "none">> + $He has + <<if $activeSlave.earT == "none">> + <<if $activeSlave.earShape != "none">>only one set of ears<<else>>no secondary ears<</if>>. + <<elseif $activeSlave.earT == "normal">> + <<if $activeSlave.earShape != "none">>a second pair of ears grafted to $his head<<else>>a pair of ears grafted to the top of $his head<</if>>. + <<elseif $activeSlave.earT == "neko">> + a pair of cat ears adorning $his head. + <<elseif $activeSlave.earT == "inu">> + a pair of dog ears adorning $his head. + <<elseif $activeSlave.earT == "kit">> + a pair of fox ears adorning $his head. + <<elseif $activeSlave.earT == "tanuki">> + a pair of tanuki ears adorning $his head. + <<else>> + You done goofed. //Report This// + <</if>> + <<if $activeSlave.indentureRestrictions >= 2>> + //$His indenture forbids elective surgery// <<else>> - <br> - <<if $activeSlave.earTColor == "hairless">> - They are completely bald. - [[Implant hair mimicking fibers|Surgery Degradation][$activeSlave.earTColor = $activeSlave.hColor, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMinor"]] + <<if $activeSlave.earT != "none" && $seeExtreme == 1 && $activeSlave.indentureRestrictions < 1>> + [[Remove them|Surgery Degradation][$activeSlave.earT = "none", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "earGone"]] + <</if>> + <<if $activeSlave.earT == "normal">> + <<if $activeSlave.earT != "neko">> + | [[Reshape into cat Ears|Surgery Degradation][$activeSlave.earT = "neko", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMajor"]] + <</if>> + <<if $activeSlave.earT != "inu">> + | [[Reshape into dog Ears|Surgery Degradation][$activeSlave.earT = "inu", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMajor"]] + <</if>> + <<if $activeSlave.earT != "kit">> + | [[Reshape into fox Ears|Surgery Degradation][$activeSlave.earT = "kit", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMajor"]] + <</if>> + <<if $activeSlave.earT != "tanuki">> + | [[Reshape into tanuki Ears|Surgery Degradation][$activeSlave.earT = "tanuki", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMajor"]] + <</if>> <<else>> - They are covered by a multitude of implanted $activeSlave.earTColor fibers mimicking hair. - [[Remove them|Surgery Degradation][$activeSlave.earTColor = "hairless", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMinor"]] + <br> + <<if $activeSlave.earTColor == "hairless">> + They are completely bald. + [[Implant hair mimicking fibers|Surgery Degradation][$activeSlave.earTColor = $activeSlave.hColor, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMinor"]] + <<else>> + They are covered by a multitude of implanted $activeSlave.earTColor fibers mimicking hair. + [[Remove them|Surgery Degradation][$activeSlave.earTColor = "hairless", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMinor"]] + <</if>> <</if>> <</if>> <</if>> -<</if>> +</div> -<<if $activeSlave.earImplant == 1>> - <br> - $He has cochlear implants. -<<elseif ($activeSlave.hears <= -2)>> - <br> - $He is deaf. -<<else>> - <br> - $He has working - <<if $activeSlave.hears == -1>> - inner ears, but is hearing impaired<<if $activeSlave.earShape == "none">>, likely due to missing the outer structure<</if>>. - <<if ($activeSlave.earImplant != 1) && $activeSlave.earShape != "none">> - [[Correct hearing|Surgery Degradation][$activeSlave.hears = 0, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earFix"]] - <</if>> +/*Hearing*/ +<div style="text-indent:2em"> + <<if $activeSlave.earImplant == 1>> + $He has cochlear implants. + <<elseif ($activeSlave.hears <= -2)>> + $He is deaf. <<else>> - ears and good hearing. - <<if ($seeExtreme == 1) && ($activeSlave.earImplant != 1) && $activeSlave.indentureRestrictions < 1>> - [[Muffle hearing|Surgery Degradation][$activeSlave.hears = -1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMuffle"]] + $He has working + <<if $activeSlave.hears == -1>> + inner ears, but is hearing impaired<<if $activeSlave.earShape == "none">>, likely due to missing the outer structure<</if>>. + <<if ($activeSlave.earImplant != 1) && $activeSlave.earShape != "none">> + [[Correct hearing|Surgery Degradation][$activeSlave.hears = 0, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earFix"]] + <</if>> + <<else>> + ears and good hearing. + <<if ($seeExtreme == 1) && ($activeSlave.earImplant != 1) && $activeSlave.indentureRestrictions < 1>> + [[Muffle hearing|Surgery Degradation][$activeSlave.hears = -1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMuffle"]] + <</if>> <</if>> <</if>> -<</if>> -<<if ($seeExtreme == 1) && $activeSlave.indentureRestrictions < 1>> - <<if $activeSlave.earImplant == 0>> - <<if ($activeSlave.hears > -2)>> - | [[Deafen|Surgery Degradation][$activeSlave.hears = -2,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "deafen"]] - <</if>> - <<if isProstheticAvailable($activeSlave, "cochlear")>> - | [["Give " + $him + " cochlear implants"|Surgery Degradation][$activeSlave.earImplant = 1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "cochlear implant"]] + <<if ($seeExtreme == 1) && $activeSlave.indentureRestrictions < 1>> + <<if $activeSlave.earImplant == 0>> + <<if ($activeSlave.hears > -2)>> + | [[Deafen|Surgery Degradation][$activeSlave.hears = -2,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "deafen"]] + <</if>> + <<if isProstheticAvailable($activeSlave, "cochlear")>> + | [["Give " + $him + " cochlear implants"|Surgery Degradation][$activeSlave.earImplant = 1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "cochlear implant"]] + <</if>> <</if>> <</if>> -<</if>> +</div> /*Horns*/ -<br> -$He has <<if $activeSlave.horn == "none">>no horns<<else>>$activeSlave.horn<</if>>. -<<if $activeSlave.indentureRestrictions >= 2>> - //$His indenture forbids elective surgery// -<<elseif $activeSlave.horn != "none">> - <<if $activeSlave.horn != "one long oni horn">> - [[Remove them|Surgery Degradation][surgeryAmp($activeSlave, "horn"), $surgeryType = "hornGone", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] - <<else>> - [[Remove it|Surgery Degradation][surgeryAmp($activeSlave, "horn"), $surgeryType = "hornGone", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] +<div style="text-indent:2em"> + $He has <<if $activeSlave.horn == "none">>no horns<<else>>$activeSlave.horn<</if>>. + <<if $activeSlave.indentureRestrictions >= 2>> + //$His indenture forbids elective surgery// + <<elseif $activeSlave.horn != "none">> + <<if $activeSlave.horn != "one long oni horn">> + [[Remove them|Surgery Degradation][surgeryAmp($activeSlave, "horn"), $surgeryType = "hornGone", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] + <<else>> + [[Remove it|Surgery Degradation][surgeryAmp($activeSlave, "horn"), $surgeryType = "hornGone", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] + <</if>> <</if>> -<</if>> -<<if $activeSlave.horn == "none">> - Give $him: - <<if $activeSlave.horn != "curved succubus horns">> - [[Succubus horns|Surgery Degradation][$activeSlave.horn = "curved succubus horns", $activeSlave.hornColor = "jet black", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "horn"]] + <<if $activeSlave.horn == "none">> + Give $him: + <<if $activeSlave.horn != "curved succubus horns">> + [[Succubus horns|Surgery Degradation][$activeSlave.horn = "curved succubus horns", $activeSlave.hornColor = "jet black", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "horn"]] + <</if>> + <<if $activeSlave.horn != "backswept horns">> + | [[Backswept horns|Surgery Degradation][$activeSlave.horn = "backswept horns", $activeSlave.hornColor = "jet black", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "horn"]] + <</if>> + <<if $activeSlave.horn != "cow horns">> + | [[Bovine horns|Surgery Degradation][$activeSlave.horn = "cow horns", $activeSlave.hornColor = "ivory", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "horn"]] + <</if>> + <<if $activeSlave.horn != "one long oni horn">> + | [[One oni horn|Surgery Degradation][$activeSlave.horn = "one long oni horn", $activeSlave.hornColor = $activeSlave.skin, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "horn"]] + <</if>> + <<if $activeSlave.horn != "two long oni horns">> + | [[Two oni horns|Surgery Degradation][$activeSlave.horn = "two long oni horns", $activeSlave.hornColor = $activeSlave.skin, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "horn"]] + <</if>> + <<if $activeSlave.horn != "small horns">> + | [[Small horns|Surgery Degradation][$activeSlave.horn = "small horns", $activeSlave.hornColor = "ivory", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "horn"]] + <</if>> <</if>> - <<if $activeSlave.horn != "backswept horns">> - | [[Backswept horns|Surgery Degradation][$activeSlave.horn = "backswept horns", $activeSlave.hornColor = "jet black", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "horn"]] +</div> + +/*Lips*/ +<div style="text-indent:2em"> + $He has + <<if $activeSlave.lips <= 10>> + thin, unattractive lips. + <<elseif $activeSlave.lips <= 20>> + normal lips. + <<elseif $activeSlave.lips <= 40>> + full, attractive lips. + <<elseif $activeSlave.lips <= 70>> + plump, beestung lips. + <<elseif $activeSlave.lips <= 95>> + huge, obviously augmented lips. + <<else>> + a facepussy: $his lips are so huge that they're always a bit parted in the middle, forming a moist, inviting hole for cock. <</if>> - <<if $activeSlave.horn != "cow horns">> - | [[Bovine horns|Surgery Degradation][$activeSlave.horn = "cow horns", $activeSlave.hornColor = "ivory", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "horn"]] + <<if $activeSlave.lipsImplant == 0>> + <<elseif $activeSlave.lipsImplant <= 10>> + $He has moderate lip implants. + <<elseif $activeSlave.lipsImplant <= 20>> + $He has large lip implants. + <<else>> + $He has enormous lip implants. <</if>> - <<if $activeSlave.horn != "one long oni horn">> - | [[One oni horn|Surgery Degradation][$activeSlave.horn = "one long oni horn", $activeSlave.hornColor = $activeSlave.skin, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "horn"]] + <<if $activeSlave.indentureRestrictions >= 2>> + //$His indenture forbids elective surgery// + <<elseif ($activeSlave.lips <= 75) || (($activeSlave.lips <= 95) && ($seeExtreme == 1))>> + <<if $activeSlave.lipsImplant > 0>> + [[Replace with the next size up|Surgery Degradation][$activeSlave.lipsImplant += 20,$activeSlave.lips += 20,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "lips"]] //This will reduce $his oral skills// + <<else>> + [[Lip implants|Surgery Degradation][$activeSlave.lipsImplant = 20,$activeSlave.lips += 20,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "lips"]] //This will reduce $his oral skills// + <</if>> <</if>> - <<if $activeSlave.horn != "two long oni horns">> - | [[Two oni horns|Surgery Degradation][$activeSlave.horn = "two long oni horns", $activeSlave.hornColor = $activeSlave.skin, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "horn"]] + <<if $activeSlave.lipsImplant != 0>> + <<if $activeSlave.indentureRestrictions < 2>> + | [[Remove lip implants|Surgery Degradation][surgeryAmp($activeSlave, "lips"), $surgeryType = "lips", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] + <</if>> <</if>> - <<if $activeSlave.horn != "small horns">> - | [[Small horns|Surgery Degradation][$activeSlave.horn = "small horns", $activeSlave.hornColor = "ivory", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "horn"]] + <<if ($activeSlave.lips >= 10) && ($activeSlave.lipsImplant == 0)>> + <<if $activeSlave.indentureRestrictions < 2>> + | [[Reduce lips|Surgery Degradation][$activeSlave.lips -= 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "lips"]] + <</if>> <</if>> -<</if>> +</div> -<br> -$He has -<<if $activeSlave.lips <= 10>> - thin, unattractive lips. -<<elseif $activeSlave.lips <= 20>> - normal lips. -<<elseif $activeSlave.lips <= 40>> - full, attractive lips. -<<elseif $activeSlave.lips <= 70>> - plump, beestung lips. -<<elseif $activeSlave.lips <= 95>> - huge, obviously augmented lips. -<<else>> - a facepussy: $his lips are so huge that they're always a bit parted in the middle, forming a moist, inviting hole for cock. -<</if>> -<<if $activeSlave.lipsImplant == 0>> -<<elseif $activeSlave.lipsImplant <= 10>> - $He has moderate lip implants. -<<elseif $activeSlave.lipsImplant <= 20>> - $He has large lip implants. -<<else>> - $He has enormous lip implants. -<</if>> -<<if $activeSlave.indentureRestrictions >= 2>> - //$His indenture forbids elective surgery// -<<elseif ($activeSlave.lips <= 75) || (($activeSlave.lips <= 95) && ($seeExtreme == 1))>> - <<if $activeSlave.lipsImplant > 0>> - [[Replace with the next size up|Surgery Degradation][$activeSlave.lipsImplant += 20,$activeSlave.lips += 20,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "lips"]] //This will reduce $his oral skills// +/*Teeth*/ +<div style="text-indent:2em"> + <<switch $activeSlave.teeth>> + <<case "crooked">> + $He has crooked teeth. + [[Apply braces|Surgery Degradation][$activeSlave.teeth = "straightening braces",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType = "braces"]] + <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> + | [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "sharp"]] + <</if>> + <<case "gapped">> + $He has a noticeable gap in $his front teeth. + [[Apply braces|Surgery Degradation][$activeSlave.teeth = "straightening braces",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType = "braces"]] + <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> + | [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "sharp"]] + <</if>> + <<case "straightening braces">> + $His crooked teeth are in braces. + [[Remove braces|Remote Surgery][$activeSlave.teeth = "crooked",$surgeryType = "removeBraces"]] + <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> + | [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "sharp"]] + <</if>> + <<case "cosmetic braces">> + $He has braces on $his straight teeth. + [[Remove braces|Remote Surgery][$activeSlave.teeth = "normal"]] + <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> + | [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "sharp"]] + <</if>> + <<case "removable">> + $He has prosthetic teeth that can be removed for extreme oral sex. + <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> + [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "sharp"]] | [[Normal dental implants|Surgery Degradation][$activeSlave.teeth = "normal",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "oral"]] + <</if>> + <<case "pointy">> + $His teeth have been replaced with sturdy, realistic implants that mimic the dentition of a predator. + <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> + [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Normal dental implants|Surgery Degradation][$activeSlave.teeth = "normal",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "oral"]] + <</if>> + <<case "baby">> + $He has baby teeth. + <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> + [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "sharp"]] | [[Normal dental implants|Surgery Degradation][$activeSlave.teeth = "normal",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "oral"]] + <</if>> + <<case "mixed">> + $He has a mix of baby and normal teeth. + <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> + [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "sharp"]] | [[Normal dental implants|Surgery Degradation][$activeSlave.teeth = "normal",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "oral"]] + <</if>> + <<default>> + $He has normal, healthy teeth. + [[Unnecessary braces|Surgery Degradation][$activeSlave.teeth = "cosmetic braces",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType = "braces"]] + <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> + | [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "sharp"]] + <</if>> + <</switch>> +</div> + +/*Voice*/ +<div style="text-indent:2em"> + <<if $activeSlave.electrolarynx == 1>> + $He has an artificial larynx. <<else>> - [[Lip implants|Surgery Degradation][$activeSlave.lipsImplant = 20,$activeSlave.lips += 20,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "lips"]] //This will reduce $his oral skills// - <</if>> -<</if>> -<<if $activeSlave.lipsImplant != 0>> - <<if $activeSlave.indentureRestrictions < 2>> - | [[Remove lip implants|Surgery Degradation][surgeryAmp($activeSlave, "lips"), $surgeryType = "lips", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] - <</if>> -<</if>> -<<if ($activeSlave.lips >= 10) && ($activeSlave.lipsImplant == 0)>> - <<if $activeSlave.indentureRestrictions < 2>> - | [[Reduce lips|Surgery Degradation][$activeSlave.lips -= 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "lips"]] + <<if $activeSlave.voice == 0>> + $He is mute. + <<elseif $activeSlave.voice == 1>> + $He has a deep voice. + <<elseif $activeSlave.voice == 2>> + $He has a feminine voice. + <<elseif $activeSlave.voice == 3>> + $He has a high, girly voice. + <</if>> + <<if $activeSlave.voiceImplant >= 1>> + $He has had surgery on $his voice box to raise $his voice. + <<elseif $activeSlave.voiceImplant <= -1>> + $He has had surgery on $his voice box to lower $his voice. + <</if>> + <</if>> + <<if ($activeSlave.indentureRestrictions < 1) && ($activeSlave.electrolarynx != 1)>> + <<if $activeSlave.voice != 0>> + <<if $activeSlave.voice < 3>> + [[Perform surgery to raise voice|Surgery Degradation][$activeSlave.voice += 1, $activeSlave.voiceImplant += 1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "voice"]] + <</if>> + <<if $activeSlave.voice == 2>> + | + <</if>> + <<if $activeSlave.voice > 1>> + [[Perform surgery to lower voice|Surgery Degradation][$activeSlave.voice -= 1, $activeSlave.voiceImplant -= 1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "voice2"]] + <</if>> + <<if $seeExtreme == 1>> + | [[Remove vocal cords|Surgery Degradation][surgeryAmp($activeSlave, "voicebox"), $surgeryType = "mute", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] + <</if>> + <<elseif isProstheticAvailable($activeSlave, "electrolarynx")>> + [["Give " + $him + " an electrolarynx"|Surgery Degradation][$activeSlave.electrolarynx = 1, $activeSlave.voice = 2, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "electrolarynx"]] + <</if>> <</if>> -<</if>> - -<br> -<<switch $activeSlave.teeth>> -<<case "crooked">> - $He has crooked teeth. - [[Apply braces|Surgery Degradation][$activeSlave.teeth = "straightening braces",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType = "braces"]] - <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> - | [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "sharp"]] - <</if>> -<<case "gapped">> - $He has a noticeable gap in $his front teeth. - [[Apply braces|Surgery Degradation][$activeSlave.teeth = "straightening braces",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType = "braces"]] - <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> - | [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "sharp"]] - <</if>> -<<case "straightening braces">> - $His crooked teeth are in braces. - [[Remove braces|Remote Surgery][$activeSlave.teeth = "crooked",$surgeryType = "removeBraces"]] - <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> - | [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "sharp"]] - <</if>> -<<case "cosmetic braces">> - $He has braces on $his straight teeth. - [[Remove braces|Remote Surgery][$activeSlave.teeth = "normal"]] - <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> - | [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "sharp"]] - <</if>> -<<case "removable">> - $He has prosthetic teeth that can be removed for extreme oral sex. - <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> - [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "sharp"]] | [[Normal dental implants|Surgery Degradation][$activeSlave.teeth = "normal",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "oral"]] - <</if>> -<<case "pointy">> - $His teeth have been replaced with sturdy, realistic implants that mimic the dentition of a predator. - <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> - [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Normal dental implants|Surgery Degradation][$activeSlave.teeth = "normal",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "oral"]] - <</if>> -<<case "baby">> - $He has baby teeth. - <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> - [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "sharp"]] | [[Normal dental implants|Surgery Degradation][$activeSlave.teeth = "normal",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "oral"]] - <</if>> -<<case "mixed">> - $He has a mix of baby and normal teeth. - <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> - [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "sharp"]] | [[Normal dental implants|Surgery Degradation][$activeSlave.teeth = "normal",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "oral"]] - <</if>> -<<default>> - $He has normal, healthy teeth. - [[Unnecessary braces|Surgery Degradation][$activeSlave.teeth = "cosmetic braces",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType = "braces"]] - <<if ($seeExtreme == 1) && ($activeSlave.indentureRestrictions < 1)>> - | [[Replace them with removable prosthetics|Surgery Degradation][$activeSlave.teeth = "removable",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "teeth"]] | [[Replace them with sharp teeth|Surgery Degradation][$activeSlave.teeth = "pointy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "sharp"]] - <</if>> -<</switch>> +</div> -<br> -<<if $activeSlave.electrolarynx == 1>> - $He has an artificial larynx. -<<else>> - <<if $activeSlave.voice == 0>> - $He is mute. - <<elseif $activeSlave.voice == 1>> - $He has a deep voice. - <<elseif $activeSlave.voice == 2>> - $He has a feminine voice. - <<elseif $activeSlave.voice == 3>> - $He has a high, girly voice. - <</if>> - <<if $activeSlave.voiceImplant >= 1>> - $He has had surgery on $his voice box to raise $his voice. - <<elseif $activeSlave.voiceImplant <= -1>> - $He has had surgery on $his voice box to lower $his voice. +/*Smell*/ +<div style="text-indent:2em"> + <<if $activeSlave.smells == 0 && $activeSlave.tastes == 0>> + $He has a working chemosensory system. + <<elseif $activeSlave.smells == 0>> + $He has a working olfactory system and an impaired gustatory system. + <<elseif $activeSlave.tastes == 0>> + $He has a working gustatory system and an impaired olfactory system. + <<else>> + $He has an impaired chemosensory system. <</if>> -<</if>> -<<if ($activeSlave.indentureRestrictions < 1) && ($activeSlave.electrolarynx != 1)>> - <<if $activeSlave.voice != 0>> - <<if $activeSlave.voice < 3>> - [[Perform surgery to raise voice|Surgery Degradation][$activeSlave.voice += 1, $activeSlave.voiceImplant += 1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "voice"]] - <</if>> - <<if $activeSlave.voice == 2>> - | - <</if>> - <<if $activeSlave.voice > 1>> - [[Perform surgery to lower voice|Surgery Degradation][$activeSlave.voice -= 1, $activeSlave.voiceImplant -= 1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "voice2"]] + <<if $activeSlave.indentureRestrictions < 1>> + <<if ($activeSlave.smells == 0) && ($seeExtreme == 1)>> + | [[Remove sense of smell|Surgery Degradation][$activeSlave.smells = -1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "desmell"]] + <<elseif $activeSlave.smells == -1>> + | [[Repair sense of smell|Surgery Degradation][$activeSlave.smells = 0, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "resmell"]] <</if>> - <<if $seeExtreme == 1>> - | [[Remove vocal cords|Surgery Degradation][surgeryAmp($activeSlave, "voicebox"), $surgeryType = "mute", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] + <<if ($activeSlave.tastes == 0) && ($seeExtreme == 1)>> + | [[Remove sense of taste|Surgery Degradation][$activeSlave.tastes = -1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "detaste"]] + <<elseif $activeSlave.tastes == -1>> + | [[Repair sense of taste|Surgery Degradation][$activeSlave.tastes = 0, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "retaste"]] <</if>> - <<elseif isProstheticAvailable($activeSlave, "electrolarynx")>> - [["Give " + $him + " an electrolarynx"|Surgery Degradation][$activeSlave.electrolarynx = 1, $activeSlave.voice = 2, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "electrolarynx"]] <</if>> -<</if>> +</div> -<br> -<<if $activeSlave.smells == 0 && $activeSlave.tastes == 0>> - $He has a working chemosensory system. -<<elseif $activeSlave.smells == 0>> - $He has a working olfactory system and an impaired gustatory system. -<<elseif $activeSlave.tastes == 0>> - $He has a working gustatory system and an impaired olfactory system. -<<else>> - $He has an impaired chemosensory system. -<</if>> -<<if $activeSlave.indentureRestrictions < 1>> - <<if ($activeSlave.smells == 0) && ($seeExtreme == 1)>> - | [[Remove sense of smell|Surgery Degradation][$activeSlave.smells = -1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "desmell"]] - <<elseif $activeSlave.smells == -1>> - | [[Repair sense of smell|Surgery Degradation][$activeSlave.smells = 0, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "resmell"]] - <</if>> - <<if ($activeSlave.tastes == 0) && ($seeExtreme == 1)>> - | [[Remove sense of taste|Surgery Degradation][$activeSlave.tastes = -1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "detaste"]] - <<elseif $activeSlave.tastes == -1>> - | [[Repair sense of taste|Surgery Degradation][$activeSlave.tastes = 0, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "retaste"]] +/*Scars*/ +<div style="text-indent:2em"> + <<if $activeSlave.scar["left cheek"]>> + $He has <<= App.Desc.expandScarString($activeSlave, "left cheek")>> on $his left cheek. + [[Remove all scars there|Surgery Degradation][delete $activeSlave.scar["left cheek"], cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "scarRemov"]] + <<else>> + $His face is unscarred. [[Give a menacing scar|Surgery Degradation][App.Medicine.Modification.addScar($activeSlave, "left cheek", "menacing"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "scarFear"]] | + [[Give an exotic scar|Surgery Degradation][App.Medicine.Modification.addScar($activeSlave, "left cheek", "exotic"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "scarExo"]] <</if>> -<</if>> - - -<<if $activeSlave.scar["left cheek"]>> - <br> - $He has <<= App.Desc.expandScarString($activeSlave, "left cheek")>> on $his left cheek. - [[Remove all scars there|Surgery Degradation][delete $activeSlave.scar["left cheek"], cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "scarRemov"]] -<<else>> - <br> - $His face is unscarred. [[Give a menacing scar|Surgery Degradation][App.Medicine.Modification.addScar($activeSlave, "left cheek", "menacing"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "scarFear"]] | - [[Give an exotic scar|Surgery Degradation][App.Medicine.Modification.addScar($activeSlave, "left cheek", "exotic"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "scarExo"]] -<</if>> - -<br><br> +</div> <h3>Work on $his chest:</h3> - +/*Generic boob desc*/ +<div style="text-indent:2em"> $His <<if $activeSlave.boobs < 300>><<print either("androgynous", "flat")>> chest is barely there. <<elseif $activeSlave.boobs < 400>><<print either("pointy", "tiny")>>, <<print $activeSlave.boobs>>cc chest only fill A-cups. @@ -561,551 +572,565 @@ $He has <<else>> <<print App.Desc.boobBits.format("%ADJ %NOUN, %VOLUME CCs, ", $activeSlave.boobs)>> fill out an enormous custom bra; $his tits dominate $his entire frame. <</if>> +<div> -<br> -$He has -<<if $activeSlave.boobsImplant > 0>> - <<if $activeSlave.boobsImplant > 600>> - <<print $activeSlave.boobsImplant>>cc - <<elseif $activeSlave.boobsImplant > 400>> - large, <<print $activeSlave.boobsImplant>>cc - <<elseif $activeSlave.boobsImplant > 200>> - moderate, <<print $activeSlave.boobsImplant>>cc - <<elseif $activeSlave.boobsImplant > 0>> - small, <<print $activeSlave.boobsImplant>>cc - <</if>> - <<if $activeSlave.boobsImplantType == 1>> - string - <<elseif $activeSlave.boobsImplant >= 800>> - fillable - <</if>> - breast implants. - <<if $activeSlave.boobsImplant > 8000 && $activeSlave.boobsImplantType == 1>> - @@.yellow;Large string based implants are a risk to a slave's health.@@ +/*Boob implants*/ +<div style="text-indent:2em"> + $He has + <<if $activeSlave.boobsImplant > 0>> + <<if $activeSlave.boobsImplant > 600>> + <<print $activeSlave.boobsImplant>>cc + <<elseif $activeSlave.boobsImplant > 400>> + large, <<print $activeSlave.boobsImplant>>cc + <<elseif $activeSlave.boobsImplant > 200>> + moderate, <<print $activeSlave.boobsImplant>>cc + <<elseif $activeSlave.boobsImplant > 0>> + small, <<print $activeSlave.boobsImplant>>cc + <</if>> + <<if $activeSlave.boobsImplantType == 1>> + string + <<elseif $activeSlave.boobsImplant >= 800>> + fillable + <</if>> + breast implants. + <<if $activeSlave.boobsImplant > 8000 && $activeSlave.boobsImplantType == 1>> + @@.yellow;Large string based implants are a risk to a slave's health.@@ + <</if>> + <<else>> + no implants. <</if>> -<<else>> - no implants. -<</if>> -<<set _surgeries = App.Medicine.Surgery.sizingProcedures.boobs($activeSlave, App.Medicine.Surgery.allSizingOptions())>> -<<set _surgeryLinks = _surgeries.map(s => App.Medicine.Surgery.makeLink("Surgery Degradation", s, $activeSlave))>> -<<= _surgeryLinks.join(' | ')>> + <<set _surgeries = App.Medicine.Surgery.sizingProcedures.boobs($activeSlave, App.Medicine.Surgery.allSizingOptions())>> + <<set _surgeryLinks = _surgeries.map(s => App.Medicine.Surgery.makeLink("Surgery Degradation", s, $activeSlave))>> + <<= _surgeryLinks.join(' | ')>> -<br> -<<if $activeSlave.boobsImplant != 0>> - The shape of $his breasts is determined by $his implants. -<<else>> - <<if $activeSlave.boobs <= 250>> - $He's so flat-chested that $his breasts don't have much shape. + <br> + <<if $activeSlave.boobsImplant != 0>> + The shape of $his breasts is determined by $his implants. <<else>> - <<switch $activeSlave.boobShape>> - <<case "perky">> - They're perky, with nipples that point slightly upwards. - <<case "downward-facing">> - They're not attractively shaped; $his nipples pointing downward. - <<case "torpedo-shaped">> - They're torpedo-shaped, projecting some way from $his chest. - <<case "wide-set">> - They're wide-set, with nipples pointing away from $his sternum. - <<case "saggy">> - They're not attractively shaped, with $his nipples pointing down. - <<default>> - They're nicely rounded and rest naturally. - <</switch>> - <<if $activeSlave.indentureRestrictions >= 2>> - //$His indenture does not allow breast restructuring// - <<elseif $activeSlave.breastMesh == 1>> - //$His supportive mesh implant prevents reconstruction// + <<if $activeSlave.boobs <= 250>> + $He's so flat-chested that $his breasts don't have much shape. <<else>> - <<if ($activeSlave.boobShape == "saggy") || ($activeSlave.boobShape == "downward-facing")>> - [[Breast lift|Surgery Degradation][$activeSlave.boobShape = "normal", $activeSlave.health -= 20,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "breastLift"]]<<if $activeSlave.preg > $activeSlave.pregData.normalBirth/1.42 || ($activeSlave.boobs >= 5000 && $activeSlave.boobs < 8000)>> //$His current state may result in $his breasts becoming saggy again//<</if>> + <<switch $activeSlave.boobShape>> + <<case "perky">> + They're perky, with nipples that point slightly upwards. + <<case "downward-facing">> + They're not attractively shaped; $his nipples pointing downward. + <<case "torpedo-shaped">> + They're torpedo-shaped, projecting some way from $his chest. + <<case "wide-set">> + They're wide-set, with nipples pointing away from $his sternum. + <<case "saggy">> + They're not attractively shaped, with $his nipples pointing down. + <<default>> + They're nicely rounded and rest naturally. + <</switch>> + <<if $activeSlave.indentureRestrictions >= 2>> + //$His indenture does not allow breast restructuring// + <<elseif $activeSlave.breastMesh == 1>> + //$His supportive mesh implant prevents reconstruction// <<else>> - <<if ($activeSlave.boobShape == "normal")>> - [[Reshape them to be perkier|Surgery Degradation][$activeSlave.boobShape = "perky",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "breastReconstruction"]] - | [[Make them torpedo-shaped|Surgery Degradation][$activeSlave.boobShape = "torpedo-shaped",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "breastReconstruction"]] + <<if ($activeSlave.boobShape == "saggy") || ($activeSlave.boobShape == "downward-facing")>> + [[Breast lift|Surgery Degradation][$activeSlave.boobShape = "normal", $activeSlave.health -= 20,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "breastLift"]]<<if $activeSlave.preg > $activeSlave.pregData.normalBirth/1.42 || ($activeSlave.boobs >= 5000 && $activeSlave.boobs < 8000)>> //$His current state may result in $his breasts becoming saggy again//<</if>> <<else>> - [[Reshape them to be more normal|Surgery Degradation][$activeSlave.boobShape = "normal",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "breastReconstruction"]] - <</if>> - <<if ($activeSlave.boobShape != "saggy") && ($activeSlave.boobShape != "downward-facing") && ($activeSlave.boobs >= 2000) && ($activeSlave.boobsImplant == 0) && ($meshImplants == 1) && ($surgeryUpgrade == 1)>> - | [[Implant a supportive mesh to preserve their shape|Surgery Degradation][$activeSlave.breastMesh = 1,cashX(forceNeg($surgeryCost*($activeSlave.boobs/100)), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "breastShapePreservation"]] + <<if ($activeSlave.boobShape == "normal")>> + [[Reshape them to be perkier|Surgery Degradation][$activeSlave.boobShape = "perky",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "breastReconstruction"]] + | [[Make them torpedo-shaped|Surgery Degradation][$activeSlave.boobShape = "torpedo-shaped",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "breastReconstruction"]] + <<else>> + [[Reshape them to be more normal|Surgery Degradation][$activeSlave.boobShape = "normal",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "breastReconstruction"]] + <</if>> + <<if ($activeSlave.boobShape != "saggy") && ($activeSlave.boobShape != "downward-facing") && ($activeSlave.boobs >= 2000) && ($activeSlave.boobsImplant == 0) && ($meshImplants == 1) && ($surgeryUpgrade == 1)>> + | [[Implant a supportive mesh to preserve their shape|Surgery Degradation][$activeSlave.breastMesh = 1,cashX(forceNeg($surgeryCost*($activeSlave.boobs/100)), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "breastShapePreservation"]] + <</if>> <</if>> <</if>> <</if>> <</if>> -<</if>> +</div> -<<if $surgeryUpgrade == 1>> - <br> - $He has $activeSlave.nipples nipples. - <<if $activeSlave.indentureRestrictions >= 2>> - //$His indenture forbids elective surgery// - <<elseif $activeSlave.indentureRestrictions == 1>> - //$His indenture forbids extreme body modification// - <<else>> /* split for possible dicknips later on, should lcd wish to attempt it again. */ - <<if $activeSlave.nipples == "fuckable">> - [[Restore their shape and function|Surgery Degradation][$activeSlave.nipples = "huge",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] - <<else>> - <<if $activeSlave.boobs-$activeSlave.boobsMilk < 500>> - //$His breasts are too small to support reshaping $his nipples to be penetratable// - <<elseif $activeSlave.boobs-$activeSlave.boobsImplant-$activeSlave.boobsMilk < 500>> - //$His implants are too large to support reshaping $his nipples to be penetratable// - <<elseif $activeSlave.nipples != "huge">> - //$His nipples are too small to be made fuckable// +/* Nipples*/ +<div style="text-indent:2em"> + <<if $surgeryUpgrade == 1>> + $He has $activeSlave.nipples nipples. + <<if $activeSlave.indentureRestrictions >= 2>> + //$His indenture forbids elective surgery// + <<elseif $activeSlave.indentureRestrictions == 1>> + //$His indenture forbids extreme body modification// + <<else>> /* split for possible dicknips later on, should lcd wish to attempt it again. */ + <<if $activeSlave.nipples == "fuckable">> + [[Restore their shape and function|Surgery Degradation][$activeSlave.nipples = "huge",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] <<else>> - [[Reshape them to support being penetrated|Surgery Degradation][$activeSlave.nipples = "fuckable",$activeSlave.nipplesPiercing = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "nippleCunts"]]<<if $activeSlave.nipplesPiercing > 0>> //Will remove piercings.//<</if>> + <<if $activeSlave.boobs-$activeSlave.boobsMilk < 500>> + //$His breasts are too small to support reshaping $his nipples to be penetratable// + <<elseif $activeSlave.boobs-$activeSlave.boobsImplant-$activeSlave.boobsMilk < 500>> + //$His implants are too large to support reshaping $his nipples to be penetratable// + <<elseif $activeSlave.nipples != "huge">> + //$His nipples are too small to be made fuckable// + <<else>> + [[Reshape them to support being penetrated|Surgery Degradation][$activeSlave.nipples = "fuckable",$activeSlave.nipplesPiercing = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "nippleCunts"]]<<if $activeSlave.nipplesPiercing > 0>> //Will remove piercings.//<</if>> + <</if>> <</if>> <</if>> <</if>> -<</if>> +</div> -<br> -<<if $activeSlave.areolae == 0>> - $His areolae are small <<if $activeSlave.areolaeShape != "circle">>and have been surgically altered to be <<= $activeSlave.areolaeShape>>-shaped<<else>>and fairly normal<</if>>. -<<elseif $activeSlave.areolae == 1>> - $His areolae are large <<if $activeSlave.areolaeShape != "circle">>and have been surgically altered to be <<= $activeSlave.areolaeShape>>-shaped<<else>>but still fairly normal<</if>>. -<<elseif $activeSlave.areolae > 1>> - $He has <<if $activeSlave.areolae == 2>>wide<<elseif $activeSlave.areolae == 3>>huge<<elseif $activeSlave.areolae == 4>>massive<</if>> areolae<<if $activeSlave.areolaeShape != "circle">>, which have been surgically altered to be <<= $activeSlave.areolaeShape>>-shaped<</if>>. -<</if>> -<<if $activeSlave.indentureRestrictions < 2>> - <<if $activeSlave.areolaeShape != "circle">> - $His <<= $activeSlave.areolaeShape>>-shaped areolae can be normalized or reshaped: - [[Normal|Surgery Degradation][$activeSlave.areolaeShape = "circle",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] - <<if $activeSlave.areolaeShape != "heart">> - | [[Heart-shaped|Surgery Degradation][$activeSlave.areolaeShape = "heart",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] +/*Areolae*/ +<div style="text-indent:2em"> + <<if $activeSlave.areolae == 0>> + $His areolae are small <<if $activeSlave.areolaeShape != "circle">>and have been surgically altered to be <<= $activeSlave.areolaeShape>>-shaped<<else>>and fairly normal<</if>>. + <<elseif $activeSlave.areolae == 1>> + $His areolae are large <<if $activeSlave.areolaeShape != "circle">>and have been surgically altered to be <<= $activeSlave.areolaeShape>>-shaped<<else>>but still fairly normal<</if>>. + <<elseif $activeSlave.areolae > 1>> + $He has <<if $activeSlave.areolae == 2>>wide<<elseif $activeSlave.areolae == 3>>huge<<elseif $activeSlave.areolae == 4>>massive<</if>> areolae<<if $activeSlave.areolaeShape != "circle">>, which have been surgically altered to be <<= $activeSlave.areolaeShape>>-shaped<</if>>. + <</if>> + <<if $activeSlave.indentureRestrictions < 2>> + <<if $activeSlave.areolaeShape != "circle">> + $His <<= $activeSlave.areolaeShape>>-shaped areolae can be normalized or reshaped: + [[Normal|Surgery Degradation][$activeSlave.areolaeShape = "circle",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] + <<if $activeSlave.areolaeShape != "heart">> + | [[Heart-shaped|Surgery Degradation][$activeSlave.areolaeShape = "heart",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] + <</if>> + <<if $activeSlave.areolaeShape != "star">> + | [[Star-shaped|Surgery Degradation][$activeSlave.areolaeShape = "star",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] | + <</if>> <</if>> - <<if $activeSlave.areolaeShape != "star">> - | [[Star-shaped|Surgery Degradation][$activeSlave.areolaeShape = "star",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] | + <<if ($activeSlave.areolae > 0) && ($activeSlave.areolaeShape == "circle")>> + They are big enough that they could be reshaped into a pattern. Graft skin to make $his areolae: + [[Heart-shaped|Surgery Degradation][$activeSlave.areolaeShape = "heart",$activeSlave.areolae -= 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] + | [[Star-shaped|Surgery Degradation][$activeSlave.areolaeShape = "star",$activeSlave.areolae -= 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] + <</if>> + <<if $activeSlave.areolae > 0>> + | [[Reduce areolae|Surgery Degradation][$activeSlave.areolae -= 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] + <</if>> + <<if $activeSlave.areolae < 4>> + | [[Enlarge areolae|Surgery Degradation][$activeSlave.areolae += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] <</if>> <</if>> - <<if ($activeSlave.areolae > 0) && ($activeSlave.areolaeShape == "circle")>> - They are big enough that they could be reshaped into a pattern. Graft skin to make $his areolae: - [[Heart-shaped|Surgery Degradation][$activeSlave.areolaeShape = "heart",$activeSlave.areolae -= 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] - | [[Star-shaped|Surgery Degradation][$activeSlave.areolaeShape = "star",$activeSlave.areolae -= 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] - <</if>> - <<if $activeSlave.areolae > 0>> - | [[Reduce areolae|Surgery Degradation][$activeSlave.areolae -= 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] +</div> + +/*Lactation*/ +<div style="text-indent:2em"> + <<if $activeSlave.lactation == 0>> + $He is not lactating. + <<elseif $activeSlave.lactation == 2>> + $He is implanted with slow-release pro-lactation drugs. + <<else>> + $He is lactating naturally. <</if>> - <<if $activeSlave.areolae < 4>> - | [[Enlarge areolae|Surgery Degradation][$activeSlave.areolae += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "areolae"]] + <<if $activeSlave.lactation < 2>> + <<if $activeSlave.indentureRestrictions < 2>> + [[Implant slow-release pro-lactation drugs|Surgery Degradation][$activeSlave.lactation = 2, $activeSlave.lactationDuration = 2, $activeSlave.induceLactation = 0, $activeSlave.boobs -= $activeSlave.boobsMilk, $activeSlave.boobsMilk = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "lactation"]] //This may increase $his natural breast size// + <</if>> <</if>> -<</if>> - -<br> -<<if $activeSlave.lactation == 0>> - $He is not lactating. -<<elseif $activeSlave.lactation == 2>> - $He is implanted with slow-release pro-lactation drugs. -<<else>> - $He is lactating naturally. -<</if>> -<<if $activeSlave.lactation < 2>> - <<if $activeSlave.indentureRestrictions < 2>> - [[Implant slow-release pro-lactation drugs|Surgery Degradation][$activeSlave.lactation = 2, $activeSlave.lactationDuration = 2, $activeSlave.induceLactation = 0, $activeSlave.boobs -= $activeSlave.boobsMilk, $activeSlave.boobsMilk = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "lactation"]] //This may increase $his natural breast size// + <<if $activeSlave.lactation > 1>> + | [[Remove lactation implant|Surgery Degradation][$activeSlave.lactation = 0, $activeSlave.lactationDuration = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "endlac"]] <</if>> -<</if>> -<<if $activeSlave.lactation > 1>> - | [[Remove lactation implant|Surgery Degradation][$activeSlave.lactation = 0, $activeSlave.lactationDuration = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "endlac"]] -<</if>> - -<br><br> +</div> <h3>Work on $his midriff:</h3> -<<if $activeSlave.indentureRestrictions >= 2 && $activeSlave.weight > 30>> - - //$His indenture forbids elective surgery// - <br> /* no line break needed after heading. Since this section is optional, set up waist for formatting success */ -<<elseif $activeSlave.weight > 30>> - - <<if $activeSlave.weight > 190>> - $He is extremely fat. [[Major liposuction|Surgery Degradation][$activeSlave.health -= 40, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "liposuction"]] - <<elseif $activeSlave.weight > 130>> - $He is fat. [[Heavy liposuction|Surgery Degradation][$activeSlave.health -= 20, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "liposuction"]] +/*Fat*/ +<div style="text-indent:2em"> + <<if $activeSlave.indentureRestrictions >= 2 && $activeSlave.weight > 30>> + //$His indenture forbids elective surgery// <<elseif $activeSlave.weight > 30>> - $He is overweight. [[Liposuction|Surgery Degradation][$activeSlave.health -= 10, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "liposuction"]] - <</if>> - <<if $surgeryUpgrade == 1>> - | [[Fat grafting|fat grafting workaround][$activeSlave.health -= 40, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)*2, $availabeFat = Math.round($activeSlave.weight/10), $boobFat = 0, $buttFat = 0, $surgeryType = "fat graft"]] + <<if $activeSlave.weight > 190>> + $He is extremely fat. [[Major liposuction|Surgery Degradation][$activeSlave.health -= 40, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "liposuction"]] + <<elseif $activeSlave.weight > 130>> + $He is fat. [[Heavy liposuction|Surgery Degradation][$activeSlave.health -= 20, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "liposuction"]] + <<elseif $activeSlave.weight > 30>> + $He is overweight. [[Liposuction|Surgery Degradation][$activeSlave.health -= 10, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "liposuction"]] + <</if>> + <<if $surgeryUpgrade == 1>> + | [[Fat grafting|fat grafting workaround][$activeSlave.health -= 40, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)*2, $availabeFat = Math.round($activeSlave.weight/10), $boobFat = 0, $buttFat = 0, $surgeryType = "fat graft"]] + <</if>> <</if>> - <br> -<</if>> +</div> - -$He has -<<if $activeSlave.waist > 95>>a masculine -<<elseif $activeSlave.waist > 40>>an ugly -<<elseif $activeSlave.waist > 10>>an unattractive -<<elseif $activeSlave.waist >= -10>>an average -<<elseif $activeSlave.waist >= -40>>a feminine -<<elseif $activeSlave.waist >= -95>>an hourglass -<<else>>an absurd -<</if>> -waist. -<<if $activeSlave.waist >= -75>> - <<if $activeSlave.indentureRestrictions < 2>> - [[Liposuction|Surgery Degradation][$activeSlave.waist -= 20,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "lipo"]] +/*Also fat*/ +<div style="text-indent:2em"> + $He has + <<if $activeSlave.waist > 95>>a masculine + <<elseif $activeSlave.waist > 40>>an ugly + <<elseif $activeSlave.waist > 10>>an unattractive + <<elseif $activeSlave.waist >= -10>>an average + <<elseif $activeSlave.waist >= -40>>a feminine + <<elseif $activeSlave.waist >= -95>>an hourglass + <<else>>an absurd + <</if>> + waist. + <<if $activeSlave.waist >= -75>> + <<if $activeSlave.indentureRestrictions < 2>> + [[Liposuction|Surgery Degradation][$activeSlave.waist -= 20,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "lipo"]] + <</if>> <</if>> -<</if>> -<<if ($activeSlave.waist >= -95) && ($activeSlave.waist < -75) && ($seeExtreme == 1)>> - <<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> - [["Remove ribs to severely narrow " + $his + " waist"|Surgery Degradation][$activeSlave.waist = -100,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "ribs"]] + <<if ($activeSlave.waist >= -95) && ($activeSlave.waist < -75) && ($seeExtreme == 1)>> + <<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> + [["Remove ribs to severely narrow " + $his + " waist"|Surgery Degradation][$activeSlave.waist = -100,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "ribs"]] + <</if>> <</if>> -<</if>> +</div> -<br> -$He's -<<if $activeSlave.pregKnown > 0>> - pregnant. -<<elseif $activeSlave.womb.length == 0 && $activeSlave.broodmother > 0>> - got a dormant broodmother implant in $his womb. -<<elseif $activeSlave.preg > 0>> - showing unusual discomfort as $his stomach is inspected. A quick test reveals that @@.lime;$he is pregnant.@@ - <<set $activeSlave.pregKnown = 1>> -<<elseif $activeSlave.bellyImplant > 0>> - got a <<print $activeSlave.bellyImplant>>cc implant filled implant located in $his abdomen. - <<if $activeSlave.cervixImplant == 1 >> - $He also has micropump filter installed in $his cervix feeding into the implant. - <<elseif $activeSlave.cervixImplant == 2>> - $He also has micropump filter installed in $his rectum feeding into the implant. - <<elseif $activeSlave.cervixImplant == 3>> - $He also has micropump filter installed in both $his holes feeding into the implant. - <</if>> -<<elseif $activeSlave.bellyFluid >= 1500>> - got a <<print $activeSlave.inflationType>>-filled implant located in $his abdomen. - <<if $activeSlave.cervixImplant == 1 >> - $He also has micropump filter installed in $his cervix feeding into the implant. - <<elseif $activeSlave.cervixImplant == 2>> - $He also has micropump filter installed in $his rectum feeding into the implant. - <<elseif $activeSlave.cervixImplant == 3>> - $He also has micropump filter installed in both $his holes feeding into the implant. - <</if>> -<<elseif $activeSlave.bellyImplant == 0>> - got an empty fillable implant located in $his abdomen. - <<if $activeSlave.cervixImplant == 1 >> - $He also has micropump filter installed in $his cervix feeding into the implant. - <<elseif $activeSlave.cervixImplant == 2>> - $He also has micropump filter installed in $his rectum feeding into the implant. - <<elseif $activeSlave.cervixImplant == 3>> - $He also has micropump filter installed in both $his holes feeding into the implant. +/*Belly*/ +<div style="text-indent:2em"> + $He's + <<if $activeSlave.pregKnown > 0>> + pregnant. + <<elseif $activeSlave.womb.length == 0 && $activeSlave.broodmother > 0>> + got a dormant broodmother implant in $his womb. + <<elseif $activeSlave.preg > 0>> + showing unusual discomfort as $his stomach is inspected. A quick test reveals that @@.lime;$he is pregnant.@@ + <<set $activeSlave.pregKnown = 1>> + <<elseif $activeSlave.bellyImplant > 0>> + got a <<print $activeSlave.bellyImplant>>cc implant filled implant located in $his abdomen. + <<if $activeSlave.cervixImplant == 1 >> + $He also has micropump filter installed in $his cervix feeding into the implant. + <<elseif $activeSlave.cervixImplant == 2>> + $He also has micropump filter installed in $his rectum feeding into the implant. + <<elseif $activeSlave.cervixImplant == 3>> + $He also has micropump filter installed in both $his holes feeding into the implant. + <</if>> + <<elseif $activeSlave.bellyFluid >= 1500>> + got a <<print $activeSlave.inflationType>>-filled implant located in $his abdomen. + <<if $activeSlave.cervixImplant == 1 >> + $He also has micropump filter installed in $his cervix feeding into the implant. + <<elseif $activeSlave.cervixImplant == 2>> + $He also has micropump filter installed in $his rectum feeding into the implant. + <<elseif $activeSlave.cervixImplant == 3>> + $He also has micropump filter installed in both $his holes feeding into the implant. + <</if>> + <<elseif $activeSlave.bellyImplant == 0>> + got an empty fillable implant located in $his abdomen. + <<if $activeSlave.cervixImplant == 1 >> + $He also has micropump filter installed in $his cervix feeding into the implant. + <<elseif $activeSlave.cervixImplant == 2>> + $He also has micropump filter installed in $his rectum feeding into the implant. + <<elseif $activeSlave.cervixImplant == 3>> + $He also has micropump filter installed in both $his holes feeding into the implant. + <</if>> + <<else>> + got a normal stomach. <</if>> -<<else>> - got a normal stomach. -<</if>> -<<if $activeSlave.indentureRestrictions >= 2>> - //$His indenture forbids elective surgery// -<<elseif $activeSlave.breedingMark == 1 && $propOutcome == 1 && $eugenicsFullControl != 1 && $arcologies[0].FSRestart != "unset">> - //You are forbidden from affecting $his fertility// -<<elseif $activeSlave.preg > 0 || $activeSlave.inflation > 0 || $activeSlave.broodmother > 0>> - //$He is unable to support an abdominal implant at this time// -<<elseif $activeSlave.bellyImplant >= 750000>> - //$His abdominal implant is so far beyond its maximum limit it is at risk of rupturing// -<<elseif $activeSlave.bellyImplant >= 600000>> - //$His abdominal implant is greatly beyond its maximum limit// -<<elseif $activeSlave.bellyImplant >= 450000>> - //$His abdominal implant is over-filled// -<<elseif $activeSlave.bellyImplant >= 400000>> - //$His abdominal implant is at its capacity// -<<elseif $activeSlave.bellyImplant > 130000 && $arcologies[0].FSTransformationFetishistResearch != 1>> - //$His abdominal implant is at its capacity// -<<elseif $activeSlave.bellyImplant == -1 && ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1) && $bellyImplants == 1>> - [[Implant fillable abdominal implant|Surgery Degradation][$activeSlave.bellyImplant = 0,$activeSlave.preg = -2, $activeSlave.bellyPain += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "bellyIn"]] -<<elseif $activeSlave.bellyImplant == -1 && $bellyImplants == 1>> - [[Implant a fillable abdominal implant|Surgery Degradation][$activeSlave.bellyImplant = 0, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.bellyPain += 2, $activeSlave.health -= 50, $surgeryType = "bellyInMale"]] -<<elseif $activeSlave.bellyPain == 2>> - //$His body cannot handle more filler this week// -<<elseif $activeSlave.bellyImplant > -1 && $activeSlave.bellyPain == 0>> - [[Add inert filler|Surgery Degradation][$activeSlave.bellyImplant += 200, $activeSlave.bellyPain += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "bellyUp"]] - | [[Add a considerable amount of inert filler|Surgery Degradation][$activeSlave.bellyImplant += 500, $activeSlave.bellyPain += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "bellyUp"]] -<<elseif $activeSlave.bellyImplant > -1 && $activeSlave.bellyPain == 1>> - [[Add more inert filler|Surgery Degradation][$activeSlave.bellyImplant += 200, $activeSlave.bellyPain += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 30,$surgeryType = "bellyUp"]] - | [[Add a considerable amount of inert filler|Surgery Degradation][$activeSlave.bellyImplant += 500, $activeSlave.bellyPain += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "bellyUp"]]<<if $activeSlave.health < 0>>//@@.red;This may cause severe health issues//<</if>> -<</if>> -<<if $activeSlave.bellyImplant > -1>> - | [[Drain implant|Surgery Degradation][$activeSlave.bellyImplant -= 200,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "bellyDown"]] - <<if $activeSlave.bellyImplant >= 500>> - | [[Greatly drain implant|Surgery Degradation][$activeSlave.bellyImplant -= 500, $activeSlave.health -= 5,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "bellyDown"]] - <</if>> - <<if $activeSlave.indentureRestrictions < 2>> - | [[Remove implant|Surgery Degradation][$activeSlave.bellyImplant = -1, $activeSlave.cervixImplant = 0, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "bellyOut"]] - <<if $activeSlave.cervixImplant != 1 && $activeSlave.cervixImplant != 3 && $cervixImplants >= 1 && $activeSlave.vagina > -1>> /* slave should have vagina */ - <br> - [[Install cervix micropump filter|Surgery Degradation][$activeSlave.cervixImplant = ($activeSlave.cervixImplant==0?1:3), $activeSlave.health -= 5, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "cervixPump"]]<br> - //Will allow $his belly implant to slowly swell as people cum in $his vagina// + <<if $activeSlave.indentureRestrictions >= 2>> + //$His indenture forbids elective surgery// + <<elseif $activeSlave.breedingMark == 1 && $propOutcome == 1 && $eugenicsFullControl != 1 && $arcologies[0].FSRestart != "unset">> + //You are forbidden from affecting $his fertility// + <<elseif $activeSlave.preg > 0 || $activeSlave.inflation > 0 || $activeSlave.broodmother > 0>> + //$He is unable to support an abdominal implant at this time// + <<elseif $activeSlave.bellyImplant >= 750000>> + //$His abdominal implant is so far beyond its maximum limit it is at risk of rupturing// + <<elseif $activeSlave.bellyImplant >= 600000>> + //$His abdominal implant is greatly beyond its maximum limit// + <<elseif $activeSlave.bellyImplant >= 450000>> + //$His abdominal implant is over-filled// + <<elseif $activeSlave.bellyImplant >= 400000>> + //$His abdominal implant is at its capacity// + <<elseif $activeSlave.bellyImplant > 130000 && $arcologies[0].FSTransformationFetishistResearch != 1>> + //$His abdominal implant is at its capacity// + <<elseif $activeSlave.bellyImplant == -1 && ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1) && $bellyImplants == 1>> + [[Implant fillable abdominal implant|Surgery Degradation][$activeSlave.bellyImplant = 0,$activeSlave.preg = -2, $activeSlave.bellyPain += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "bellyIn"]] + <<elseif $activeSlave.bellyImplant == -1 && $bellyImplants == 1>> + [[Implant a fillable abdominal implant|Surgery Degradation][$activeSlave.bellyImplant = 0, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.bellyPain += 2, $activeSlave.health -= 50, $surgeryType = "bellyInMale"]] + <<elseif $activeSlave.bellyPain == 2>> + //$His body cannot handle more filler this week// + <<elseif $activeSlave.bellyImplant > -1 && $activeSlave.bellyPain == 0>> + [[Add inert filler|Surgery Degradation][$activeSlave.bellyImplant += 200, $activeSlave.bellyPain += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "bellyUp"]] + | [[Add a considerable amount of inert filler|Surgery Degradation][$activeSlave.bellyImplant += 500, $activeSlave.bellyPain += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "bellyUp"]] + <<elseif $activeSlave.bellyImplant > -1 && $activeSlave.bellyPain == 1>> + [[Add more inert filler|Surgery Degradation][$activeSlave.bellyImplant += 200, $activeSlave.bellyPain += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 30,$surgeryType = "bellyUp"]] + | [[Add a considerable amount of inert filler|Surgery Degradation][$activeSlave.bellyImplant += 500, $activeSlave.bellyPain += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "bellyUp"]]<<if $activeSlave.health < 0>>//@@.red;This may cause severe health issues//<</if>> + <</if>> + <<if $activeSlave.bellyImplant > -1>> + | [[Drain implant|Surgery Degradation][$activeSlave.bellyImplant -= 200,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "bellyDown"]] + <<if $activeSlave.bellyImplant >= 500>> + | [[Greatly drain implant|Surgery Degradation][$activeSlave.bellyImplant -= 500, $activeSlave.health -= 5,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "bellyDown"]] <</if>> - <<if $activeSlave.cervixImplant != 2 && $activeSlave.cervixImplant != 3 && $cervixImplants == 2>> - <br> - [[Install rectal micropump filter|Surgery Degradation][$activeSlave.cervixImplant = ($activeSlave.cervixImplant==0?2:3), $activeSlave.health -= 20, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "cervixPumpA"]]<br> - //Will allow $his belly implant to slowly swell as people cum in $his anus// + <<if $activeSlave.indentureRestrictions < 2>> + | [[Remove implant|Surgery Degradation][$activeSlave.bellyImplant = -1, $activeSlave.cervixImplant = 0, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "bellyOut"]] + <<if $activeSlave.cervixImplant != 1 && $activeSlave.cervixImplant != 3 && $cervixImplants >= 1 && $activeSlave.vagina > -1>> /* slave should have vagina */ + <div style="text-indent:2em"> + [[Install cervix micropump filter|Surgery Degradation][$activeSlave.cervixImplant = ($activeSlave.cervixImplant==0?1:3), $activeSlave.health -= 5, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "cervixPump"]]<br> + //Will allow $his belly implant to slowly swell as people cum in $his vagina// + </div> + <</if>> + <<if $activeSlave.cervixImplant != 2 && $activeSlave.cervixImplant != 3 && $cervixImplants == 2>> + <div style="text-indent:2em"> + [[Install rectal micropump filter|Surgery Degradation][$activeSlave.cervixImplant = ($activeSlave.cervixImplant==0?2:3), $activeSlave.health -= 20, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "cervixPumpA"]]<br> + //Will allow $his belly implant to slowly swell as people cum in $his anus// + </div> + <</if>> <</if>> <</if>> -<</if>> +</div> /* Uterine Implants */ -<<if $activeSlave.wombImplant == "none" && ($UterineRestraintMesh == 1) && ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>> - <br> - $He has a normal uterus<<if $activeSlave.mpreg == 1>>, though slightly repositioned<</if>>. - <<if $activeSlave.indentureRestrictions >= 1>> - //$His indenture forbids invasive elective surgery// - <<elseif $activeSlave.bellyImplant > 0 || $activeSlave.preg > 0>> - //$His womb is currently in use and unsafe to operate on// - <<else>> - <<if $surgeryUpgrade == 1>> - <<if $UterineRestraintMesh == 1>> - [[Install reinforcing organic mesh|Surgery Degradation][$activeSlave.wombImplant = "restraint", $activeSlave.health -= 25, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "womb"]] +<div style="text-indent:2em"> + <<if $activeSlave.wombImplant == "none" && ($UterineRestraintMesh == 1) && ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>> + $He has a normal uterus<<if $activeSlave.mpreg == 1>>, though slightly repositioned<</if>>. + <<if $activeSlave.indentureRestrictions >= 1>> + //$His indenture forbids invasive elective surgery// + <<elseif $activeSlave.bellyImplant > 0 || $activeSlave.preg > 0>> + //$His womb is currently in use and unsafe to operate on// + <<else>> + <<if $surgeryUpgrade == 1>> + <<if $UterineRestraintMesh == 1>> + [[Install reinforcing organic mesh|Surgery Degradation][$activeSlave.wombImplant = "restraint", $activeSlave.health -= 25, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "womb"]] + <</if>> <</if>> <</if>> + <<elseif $activeSlave.wombImplant == "restraint">> + $He has a mesh reinforced uterus. + <<if $activeSlave.indentureRestrictions >= 1>> + //$His indenture forbids invasive elective surgery// + <<elseif $activeSlave.bellyImplant > 0 || $activeSlave.preg > 0>> + //$His womb is currently in use and unsafe to operate on// + <<else>> + [[Remove organic mesh|Surgery Degradation][$activeSlave.wombImplant = "none", $activeSlave.health -= 50, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "womb"]]<<if $activeSlave.health < 0>>//@@.red;This may cause severe health issues//<</if>> + <</if>> <</if>> -<<elseif $activeSlave.wombImplant == "restraint">> - <br> - $He has a mesh reinforced uterus. - <<if $activeSlave.indentureRestrictions >= 1>> - //$His indenture forbids invasive elective surgery// - <<elseif $activeSlave.bellyImplant > 0 || $activeSlave.preg > 0>> - //$His womb is currently in use and unsafe to operate on// - <<else>> - [[Remove organic mesh|Surgery Degradation][$activeSlave.wombImplant = "none", $activeSlave.health -= 50, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "womb"]]<<if $activeSlave.health < 0>>//@@.red;This may cause severe health issues//<</if>> - <</if>> -<</if>> +</div> -<<if $activeSlave.bellySagPreg > 0>> - <br> - <<if $activeSlave.belly >= 1500>> - $He has a sagging midriff, ruined from excessive pregnancy. It is currently filled out by $his swollen belly and cannot safely be worked on. - <<else>> - $He has a sagging midriff, ruined from excessive pregnancy. - [[Tummy tuck|Surgery Degradation][$activeSlave.bellySag = 0,$activeSlave.bellySagPreg = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "tummyTuck"]] - <</if>> -<<elseif $activeSlave.bellySag > 0>> - <br> - <<if $activeSlave.belly >= 1500>> - $He has a sagging midriff, ruined from excessive distention. It is currently filled out by $his swollen belly and cannot safely be worked on. - <<else>> - $He has a sagging midriff, ruined from excessive distention. - [[Tummy tuck|Surgery Degradation][$activeSlave.bellySag = 0,$activeSlave.bellySagPreg = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "tummyTuck"]] +/*Belly sag*/ +<div style="text-indent:2em"> + <<if $activeSlave.bellySagPreg > 0>> + <<if $activeSlave.belly >= 1500>> + $He has a sagging midriff, ruined from excessive pregnancy. It is currently filled out by $his swollen belly and cannot safely be worked on. + <<else>> + $He has a sagging midriff, ruined from excessive pregnancy. + [[Tummy tuck|Surgery Degradation][$activeSlave.bellySag = 0,$activeSlave.bellySagPreg = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "tummyTuck"]] + <</if>> + <<elseif $activeSlave.bellySag > 0>> + <<if $activeSlave.belly >= 1500>> + $He has a sagging midriff, ruined from excessive distention. It is currently filled out by $his swollen belly and cannot safely be worked on. + <<else>> + $He has a sagging midriff, ruined from excessive distention. + [[Tummy tuck|Surgery Degradation][$activeSlave.bellySag = 0,$activeSlave.bellySagPreg = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "tummyTuck"]] + <</if>> <</if>> -<</if>> +</div> -<<if ($activeSlave.scar.hasOwnProperty("belly") && $activeSlave.scar.belly.hasOwnProperty("c-section"))>> - <<if $activeSlave.scar.belly["c-section"] > 0>> - <br> - $He has an unsightly c-section scar. - <<link "Remove Caesarean scar">> - <<run App.Medicine.Modification.removeScar($activeSlave, "belly", "c-section")>> - <<run cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)>> - <<set $activeSlave.health -= 10,$surgeryType = "bellyscar">> - <<goto "Surgery Degradation">> - <</link>> +/*Csec*/ +<div style="text-indent:2em"> + <<if ($activeSlave.scar.hasOwnProperty("belly") && $activeSlave.scar.belly.hasOwnProperty("c-section"))>> + <<if $activeSlave.scar.belly["c-section"] > 0>> + <br> + $He has an unsightly c-section scar. + <<link "Remove Caesarean scar">> + <<run App.Medicine.Modification.removeScar($activeSlave, "belly", "c-section")>> + <<run cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)>> + <<set $activeSlave.health -= 10,$surgeryType = "bellyscar">> + <<goto "Surgery Degradation">> + <</link>> + <</if>> <</if>> -<</if>> - -<br><br> +</div> <h3>Work on $his butt:</h3> - -$He's got a -<<if $activeSlave.butt <= 1>>flat and <<print either("skinny", "slim", "taut")>> ass. -<<elseif $activeSlave.butt <= 2>><<print either("rounded, small", "small but rounded", "small, sleek")>> rear end. -<<elseif $activeSlave.butt <= 3>><<print either("big and healthy", "curved and plump", "healthy and plump")>> derrière. -<<elseif $activeSlave.butt <= 4>><<print either("big bubble", "curvy and enticing", "juicy and large")>> butt. -<<elseif $activeSlave.butt <= 5>><<print either("huge", "juicy and huge", "massive and undeniable")>> rear end. -<<elseif !hasBothLegs($activeSlave)>>ridiculous ass. It's so big it would jiggle as $he walked — if $he could walk. -<<else>>ridiculous ass. It's so big it jiggles as $he walks. -<</if>> - -<<if $activeSlave.buttImplant > 0>> - $He has - <<if $activeSlave.buttImplant == 1>> - moderate - <<elseif $activeSlave.buttImplant == 2>> - enormous - <<elseif $activeSlave.buttImplant > 2>> - <<if $activeSlave.buttImplantType == 1>> - massively engorged - <<else>> - <<if $activeSlave.buttImplant > 8>> - hyper - <<elseif $activeSlave.buttImplant > 4>> - advanced +<div style="text-indent:2em"> + $He's got a + <<if $activeSlave.butt <= 1>>flat and <<print either("skinny", "slim", "taut")>> ass. + <<elseif $activeSlave.butt <= 2>><<print either("rounded, small", "small but rounded", "small, sleek")>> rear end. + <<elseif $activeSlave.butt <= 3>><<print either("big and healthy", "curved and plump", "healthy and plump")>> derrière. + <<elseif $activeSlave.butt <= 4>><<print either("big bubble", "curvy and enticing", "juicy and large")>> butt. + <<elseif $activeSlave.butt <= 5>><<print either("huge", "juicy and huge", "massive and undeniable")>> rear end. + <<elseif !hasBothLegs($activeSlave)>>ridiculous ass. It's so big it would jiggle as $he walked — if $he could walk. + <<else>>ridiculous ass. It's so big it jiggles as $he walks. + <</if>> + + <<if $activeSlave.buttImplant > 0>> + $He has + <<if $activeSlave.buttImplant == 1>> + moderate + <<elseif $activeSlave.buttImplant == 2>> + enormous + <<elseif $activeSlave.buttImplant > 2>> + <<if $activeSlave.buttImplantType == 1>> + massively engorged + <<else>> + <<if $activeSlave.buttImplant > 8>> + hyper + <<elseif $activeSlave.buttImplant > 4>> + advanced + <</if>> <</if>> <</if>> + butt + <<if $activeSlave.buttImplantType == 1>> + string + <<elseif $activeSlave.buttImplant >= 3>> + fillable + <</if>> + implants. + <<if $activeSlave.buttImplant > 3 && $activeSlave.buttImplantType == 1>> + @@.yellow;Large string based implants are a risk to a slave's health.@@ + <</if>> <</if>> - butt - <<if $activeSlave.buttImplantType == 1>> - string - <<elseif $activeSlave.buttImplant >= 3>> - fillable - <</if>> - implants. - <<if $activeSlave.buttImplant > 3 && $activeSlave.buttImplantType == 1>> - @@.yellow;Large string based implants are a risk to a slave's health.@@ - <</if>> -<</if>> -<<set _surgeries = App.Medicine.Surgery.sizingProcedures.butt($activeSlave, App.Medicine.Surgery.allSizingOptions())>> -<<set _surgeryLinks = _surgeries.map(s => App.Medicine.Surgery.makeLink("Surgery Degradation", s, $activeSlave))>> -<<= _surgeryLinks.join(' | ')>> + <<set _surgeries = App.Medicine.Surgery.sizingProcedures.butt($activeSlave, App.Medicine.Surgery.allSizingOptions())>> + <<set _surgeryLinks = _surgeries.map(s => App.Medicine.Surgery.makeLink("Surgery Degradation", s, $activeSlave))>> + <<= _surgeryLinks.join(' | ')>> +</div> -<br><br> <h3>Work on $his sex:</h3> -<<if $activeSlave.vagina > -1>> - - <<if $activeSlave.labia == 0>> - $He has minimal pussylips. - <<elseif $activeSlave.labia == 1>> - $He has pretty, noticeable pussylips. - <<elseif $activeSlave.labia == 2>> - $He has large pussylips. - <<elseif $activeSlave.labia > 2>> - $He has extremely large pussylips. - <</if>> - <<if $activeSlave.labia > 0>> - <<if $activeSlave.indentureRestrictions < 2>> - [[Apply labiaplasty|Surgery Degradation][$activeSlave.labia = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "labiaplasty"]] - <</if>> - <</if>> - <<if ($activeSlave.labia < 3) && ($surgeryUpgrade == 1)>> - <<if $activeSlave.indentureRestrictions < 1>> - <<if $activeSlave.labia > 0>> | <</if>> - [[Increase labia|Surgery Degradation][$activeSlave.labia += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "labiaplasty"]] - <</if>> - <</if>> - <<if $activeSlave.dick == 0>> - <br> - $He has - <<if $activeSlave.clit == 0>> - a small clit<<if ($seeCircumcision == 1) && $activeSlave.foreskin > 0>> with a hood<</if>>. - <<elseif $activeSlave.clit == 1>> - a big clit<<if ($seeCircumcision == 1) && $activeSlave.foreskin > 0>> with a hood<</if>>. - <<elseif $activeSlave.clit == 2>> - a huge clit<<if ($seeCircumcision == 1) && $activeSlave.foreskin > 0>> with a hood<</if>>. - <<elseif $activeSlave.clit > 2>> - an enormous clit<<if ($seeCircumcision == 1) && $activeSlave.foreskin > 0>> with a hood<</if>>. - <</if>> - <<if $activeSlave.clit > 0>> +/*Sex*/ +<div style="text-indent:2em"> + <<if $activeSlave.vagina > -1>> + <<if $activeSlave.labia == 0>> + $He has minimal pussylips. + <<elseif $activeSlave.labia == 1>> + $He has pretty, noticeable pussylips. + <<elseif $activeSlave.labia == 2>> + $He has large pussylips. + <<elseif $activeSlave.labia > 2>> + $He has extremely large pussylips. + <</if>> + <<if $activeSlave.labia > 0>> <<if $activeSlave.indentureRestrictions < 2>> - [[Apply clitoral reduction|Surgery Degradation][$activeSlave.clit = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "clitoral reduction"]] + [[Apply labiaplasty|Surgery Degradation][$activeSlave.labia = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "labiaplasty"]] <</if>> <</if>> - <<if ($activeSlave.clit < 3) && ($surgeryUpgrade == 1)>> + <<if ($activeSlave.labia < 3) && ($surgeryUpgrade == 1)>> <<if $activeSlave.indentureRestrictions < 1>> - <<if $activeSlave.clit > 0>> | <</if>> - [[Increase clit|Surgery Degradation][$activeSlave.clit += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "clitoral enlargement"]] + <<if $activeSlave.labia > 0>> | <</if>> + [[Increase labia|Surgery Degradation][$activeSlave.labia += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "labiaplasty"]] <</if>> <</if>> - <<if ($activeSlave.foreskin > 0) && $activeSlave.clit > 0>> - <<if $seeCircumcision == 1>> + <<if $activeSlave.dick == 0>> + <br> + $He has + <<if $activeSlave.clit == 0>> + a small clit<<if ($seeCircumcision == 1) && $activeSlave.foreskin > 0>> with a hood<</if>>. + <<elseif $activeSlave.clit == 1>> + a big clit<<if ($seeCircumcision == 1) && $activeSlave.foreskin > 0>> with a hood<</if>>. + <<elseif $activeSlave.clit == 2>> + a huge clit<<if ($seeCircumcision == 1) && $activeSlave.foreskin > 0>> with a hood<</if>>. + <<elseif $activeSlave.clit > 2>> + an enormous clit<<if ($seeCircumcision == 1) && $activeSlave.foreskin > 0>> with a hood<</if>>. + <</if>> + <<if $activeSlave.clit > 0>> <<if $activeSlave.indentureRestrictions < 2>> - | [[Remove clitoral hood|Surgery Degradation][$activeSlave.foreskin = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "circumcision"]] + [[Apply clitoral reduction|Surgery Degradation][$activeSlave.clit = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "clitoral reduction"]] + <</if>> + <</if>> + <<if ($activeSlave.clit < 3) && ($surgeryUpgrade == 1)>> + <<if $activeSlave.indentureRestrictions < 1>> + <<if $activeSlave.clit > 0>> | <</if>> + [[Increase clit|Surgery Degradation][$activeSlave.clit += 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "clitoral enlargement"]] + <</if>> + <</if>> + <<if ($activeSlave.foreskin > 0) && $activeSlave.clit > 0>> + <<if $seeCircumcision == 1>> + <<if $activeSlave.indentureRestrictions < 2>> + | [[Remove clitoral hood|Surgery Degradation][$activeSlave.foreskin = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "circumcision"]] + <</if>> <</if>> <</if>> <</if>> <</if>> - <br> -<</if>> +</div> /* TODO: add a check for slave's eggType */ +/*Fertility*/ +<div style="text-indent:2em"> + <<if ($activeSlave.preg > -2) && ($activeSlave.preg < 1) && ($activeSlave.ovaries != 0 || $activeSlave.mpreg != 0) && ($activeSlave.pubertyXX == 0)>> + $He has not had $his first period. + <<elseif ($activeSlave.preg > -2) && ($activeSlave.preg < 1) && ($activeSlave.ovaries != 0 || $activeSlave.mpreg != 0)>> + $He has a working womb. + <<elseif ($activeSlave.preg <= -2) && ($activeSlave.ovaries != 0 || $activeSlave.mpreg != 0)>> + $He has a sterile womb. + <</if>> -<<if ($activeSlave.preg > -2) && ($activeSlave.preg < 1) && ($activeSlave.ovaries != 0 || $activeSlave.mpreg != 0) && ($activeSlave.pubertyXX == 0)>> - - $He has not had $his first period. -<<elseif ($activeSlave.preg > -2) && ($activeSlave.preg < 1) && ($activeSlave.ovaries != 0 || $activeSlave.mpreg != 0)>> - - $He has a working womb. -<<elseif ($activeSlave.preg <= -2) && ($activeSlave.ovaries != 0 || $activeSlave.mpreg != 0)>> - - $He has a sterile womb. -<</if>> - -<<if isFertile($activeSlave) && $activeSlave.preg == 0>> - [[Artificially inseminate|Artificial Insemination]] | -<</if>> - -<<if ($activeSlave.preg > -2) && ($activeSlave.preg < 1) && ($activeSlave.ovaries != 0 || $activeSlave.mpreg != 0)>> - <<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> - [[Sterilize|Surgery Degradation][$activeSlave.preg = -2,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ster"]] + <<if isFertile($activeSlave) && $activeSlave.preg == 0>> + [[Artificially inseminate|Artificial Insemination]] | <</if>> -<<elseif ($activeSlave.preg < 1) && ($activeSlave.ovaries != 0 || $activeSlave.mpreg != 0) && ($activeSlave.preg != -3)>> - [[Restore fertility|Surgery Degradation][$activeSlave.preg = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "fert"]] -<</if>> -<<if ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>> - <br> - <<if ($activeSlave.pubertyXX == 0)>> - $He has <<if ($activeSlave.eggType != "human")>><<print ($activeSlave.eggType)>><</if>> ovaries but has not had $his first period. - <<else>> - $He has working <<if ($activeSlave.eggType != "human")>><<print ($activeSlave.eggType)>><</if>> ovaries<<if $activeSlave.mpreg>> and a womb attached to $his rectum<</if>>. + <<if ($activeSlave.preg > -2) && ($activeSlave.preg < 1) && ($activeSlave.ovaries != 0 || $activeSlave.mpreg != 0)>> + <<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> + [[Sterilize|Surgery Degradation][$activeSlave.preg = -2,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ster"]] + <</if>> + <<elseif ($activeSlave.preg < 1) && ($activeSlave.ovaries != 0 || $activeSlave.mpreg != 0) && ($activeSlave.preg != -3)>> + [[Restore fertility|Surgery Degradation][$activeSlave.preg = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "fert"]] <</if>> - <<if $activeSlave.ovaImplant != 0>> + + <<if ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>> <br> - <<switch $activeSlave.ovaImplant>> - <<case "fertility">> - They have fertility implants attached to them. - [[Remove implants|Surgery Degradation][$activeSlave.ovaImplant = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ovaImplant removed"]] - <<case "sympathy">> - They are linked via implants and ovulate in concert. - [[Remove implants|Surgery Degradation][$activeSlave.ovaImplant = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ovaImplant removed"]] - <<case "asexual">> - One has been replaced with a sperm producing analog for self-fertilization. - <</switch>> - <<else>> - <<if $fertilityImplant == 1>> - <br> - [[Install fertility implants|Surgery Degradation][$activeSlave.ovaImplant = "fertility",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ovaImplant added"]] + <<if ($activeSlave.pubertyXX == 0)>> + $He has <<if ($activeSlave.eggType != "human")>><<print ($activeSlave.eggType)>><</if>> ovaries but has not had $his first period. + <<else>> + $He has working <<if ($activeSlave.eggType != "human")>><<print ($activeSlave.eggType)>><</if>> ovaries<<if $activeSlave.mpreg>> and a womb attached to $his rectum<</if>>. <</if>> - <<if $sympatheticOvaries == 1>> + <<if $activeSlave.ovaImplant != 0>> <br> - [[Install sympathetic ovulation implants|Surgery Degradation][$activeSlave.ovaImplant = "sympathy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ovaImplant added"]] + <<switch $activeSlave.ovaImplant>> + <<case "fertility">> + They have fertility implants attached to them. + [[Remove implants|Surgery Degradation][$activeSlave.ovaImplant = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ovaImplant removed"]] + <<case "sympathy">> + They are linked via implants and ovulate in concert. + [[Remove implants|Surgery Degradation][$activeSlave.ovaImplant = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ovaImplant removed"]] + <<case "asexual">> + One has been replaced with a sperm producing analog for self-fertilization. + <</switch>> + <<else>> + <<if $fertilityImplant == 1>> + <br> + [[Install fertility implants|Surgery Degradation][$activeSlave.ovaImplant = "fertility",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ovaImplant added"]] + <</if>> + <<if $sympatheticOvaries == 1>> + <br> + [[Install sympathetic ovulation implants|Surgery Degradation][$activeSlave.ovaImplant = "sympathy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ovaImplant added"]] + <</if>> <</if>> - <</if>> - <<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> - <br> - <<if $activeSlave.ovaries == 1>> - <<if $activeSlave.preg > 0>> - $His ovaries and womb cannot be removed while $he is pregnant. - <<else>> - [[Oophorectomy|Surgery Degradation][$activeSlave.ovaries = 0,$activeSlave.ovaImplant = 0,$activeSlave.wombImplant = "none",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ster"]] + <<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> + <br> + <<if $activeSlave.ovaries == 1>> + <<if $activeSlave.preg > 0>> + $His ovaries and womb cannot be removed while $he is pregnant. + <<else>> + [[Oophorectomy|Surgery Degradation][$activeSlave.ovaries = 0,$activeSlave.ovaImplant = 0,$activeSlave.wombImplant = "none",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ster"]] + <</if>> <</if>> - <</if>> - <<if $activeSlave.mpreg == 1>> - <<if $activeSlave.preg > 0>> - $His anal womb cannot be removed while $he is pregnant. - <<else>> - [[Remove anal reproductive organs|Surgery Degradation][$activeSlave.mpreg = 0,$activeSlave.ovaImplant = 0, $activeSlave.wombImplant = "none",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 30,$surgeryType = "mpreg removed"]] + <<if $activeSlave.mpreg == 1>> + <<if $activeSlave.preg > 0>> + $His anal womb cannot be removed while $he is pregnant. + <<else>> + [[Remove anal reproductive organs|Surgery Degradation][$activeSlave.mpreg = 0,$activeSlave.ovaImplant = 0, $activeSlave.wombImplant = "none",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 30,$surgeryType = "mpreg removed"]] + <</if>> <</if>> <</if>> - <</if>> - <<if $seeExtreme == 1 && $seeHyperPreg == 1 && $seePreg != 0 && $permaPregImplant == 1>> - <br> - <<if $activeSlave.assignment == "work in the dairy" && $dairyPregSetting > 0>> - $His womb is already rented out for the production of calves. - <<elseif $activeSlave.broodmother > 0>> - $He has been made into a <<if $activeSlave.broodmother > 1>>hyper-<</if>>broodmother. - <<if $activeSlave.womb.length == 0 >> - [[Remove the pregnancy generator|Surgery Degradation][$activeSlave.preg = 0,$activeSlave.pregWeek = -2,$activeSlave.pregSource = 0,$activeSlave.pregWeek = 0,$activeSlave.pregKnown = 0,$activeSlave.pregType = 0,$activeSlave.broodmother = 0,$activeSlave.broodmotherFetuses = 0,$activeSlave.broodmotherOnHold = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.pregControl = "none",$activeSlave.health -= 10,$surgeryType = "pregRemove"]] - <<else>> - $He is pregnant right now, so $his broodmother implant can't be safely extracted. - <<if $activeSlave.broodmother == 1 && $activeSlave.broodmotherFetuses == 1>> /*hack can be applied only one time, for type 1 broodmothers, and only if implant already present*/ - <br> - [[Hack the pregnancy generator|Surgery Degradation][cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.pregControl = "none",$activeSlave.health -= 1,$surgeryType = "preg1hack"]] //This will trick the generator ova release logic, forcing it to release more than one ova each week. This is an untested override and can cause severe health problems.// - <<elseif $activeSlave.broodmother == 1 && $activeSlave.broodmotherFetuses > 1>> - <br> - The implant firmware has already been adjusted. + <<if $seeExtreme == 1 && $seeHyperPreg == 1 && $seePreg != 0 && $permaPregImplant == 1>> + <br> + <<if $activeSlave.assignment == "work in the dairy" && $dairyPregSetting > 0>> + $His womb is already rented out for the production of calves. + <<elseif $activeSlave.broodmother > 0>> + $He has been made into a <<if $activeSlave.broodmother > 1>>hyper-<</if>>broodmother. + <<if $activeSlave.womb.length == 0 >> + [[Remove the pregnancy generator|Surgery Degradation][$activeSlave.preg = 0,$activeSlave.pregWeek = -2,$activeSlave.pregSource = 0,$activeSlave.pregWeek = 0,$activeSlave.pregKnown = 0,$activeSlave.pregType = 0,$activeSlave.broodmother = 0,$activeSlave.broodmotherFetuses = 0,$activeSlave.broodmotherOnHold = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.pregControl = "none",$activeSlave.health -= 10,$surgeryType = "pregRemove"]] + <<else>> + $He is pregnant right now, so $his broodmother implant can't be safely extracted. + <<if $activeSlave.broodmother == 1 && $activeSlave.broodmotherFetuses == 1>> /*hack can be applied only one time, for type 1 broodmothers, and only if implant already present*/ + <br> + [[Hack the pregnancy generator|Surgery Degradation][cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.pregControl = "none",$activeSlave.health -= 1,$surgeryType = "preg1hack"]] //This will trick the generator ova release logic, forcing it to release more than one ova each week. This is an untested override and can cause severe health problems.// + <<elseif $activeSlave.broodmother == 1 && $activeSlave.broodmotherFetuses > 1>> + <br> + The implant firmware has already been adjusted. + <</if>> <</if>> + <<elseif $activeSlave.indentureRestrictions > 0 || ($activeSlave.breedingMark == 1 && $propOutcome == 1 && $eugenicsFullControl != 1 && $arcologies[0].FSRestart != "unset")>> + //$He is protected from extreme surgery// + <<elseif isFertile($activeSlave) && $activeSlave.ovaryAge <= 46>> + $He could be made into a broodmother. + [[Implant a pregnancy generator|Surgery Degradation][$activeSlave.preg = 1,$activeSlave.pregWeek = 1,$activeSlave.pregKnown = 1,$activeSlave.pregType = 1,$activeSlave.broodmother = 1,$activeSlave.broodmotherFetuses = 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.pregControl = "none",$activeSlave.health -= 10,$surgeryType = "preg"]] //This will have severe effects on $his health and mind// + <<else>> + $His body cannot support being a broodmother. <</if>> - <<elseif $activeSlave.indentureRestrictions > 0 || ($activeSlave.breedingMark == 1 && $propOutcome == 1 && $eugenicsFullControl != 1 && $arcologies[0].FSRestart != "unset")>> - //$He is protected from extreme surgery// - <<elseif isFertile($activeSlave) && $activeSlave.ovaryAge <= 46>> - $He could be made into a broodmother. - [[Implant a pregnancy generator|Surgery Degradation][$activeSlave.preg = 1,$activeSlave.pregWeek = 1,$activeSlave.pregKnown = 1,$activeSlave.pregType = 1,$activeSlave.broodmother = 1,$activeSlave.broodmotherFetuses = 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.pregControl = "none",$activeSlave.health -= 10,$surgeryType = "preg"]] //This will have severe effects on $his health and mind// - <<else>> - $His body cannot support being a broodmother. <</if>> <</if>> -<</if>> +</div> <br> <<if ($activeSlave.dick == 0) && ($activeSlave.vagina == -1)>>