diff --git a/Changelog.txt b/Changelog.txt index 01c43c94873ba06a27f64372dd1d42c293153ece..b5ef521fd3f63d2a9f2115207da7cbf15d0e309f 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -2,6 +2,7 @@ Pregmod 0.10.7.1-3.1.x + -eye object overhaul -added overflow feedback to demand -added pit assign/remove rules to the RA -fixes and cleaning diff --git a/devNotes/Useful JS Function Documentation.txt b/devNotes/Useful JS Function Documentation.txt index 602967b831108ea89b67a0622513be3167fafa7f..052d6e8686eab3f9062e362c17dee8597cef5ef5 100644 --- a/devNotes/Useful JS Function Documentation.txt +++ b/devNotes/Useful JS Function Documentation.txt @@ -346,14 +346,8 @@ Other Functions: isItemAccessible(itemName) - Returns if the string is available for use. Defaults to true. UtilJS [script] - arraySwap() - swaps inputted array. - html5passage(passage_function) - circumvents sugarcube, allowing a plain HTML5 UI within it - capFirstChar() - Capitalizes the first character of a given string. - - addA() - Adds an `a ` or, if the first character is a vocal, an `an ` in front of a given string. - cmToInchString() - takes an integer e.g. $activeSlave.hLength, returns a string in the format 10 inches cmToFootInchString() - takes an integer e.g. $activeSlave.height, returns a string in the format 6'5" @@ -365,11 +359,6 @@ UtilJS [script] FSChangePorn() - //Currently unused, widget version routes directly through FSChange() - ordinalSuffix(i) - takes a value as an input and then appends the appropriate suffix. e.g.$Day === 1 "today is the <<print ordinalSuffix($Day)>> of the month" - would print "today is the 1st of the month" - - removeDuplicates() - Takes an array and returns a new array without duplicate entries - HackingSkillMultiplier() - outputs a value based off of the PC's hacking skill. upgradeMultiplierArcology() - outputs a value based off of the PC's engineering skill. @@ -382,6 +371,3 @@ UtilJS [script] SkillIncrease() - Depreciates the sugarcube functions. - jsNdef - A .js port of sugarcube's ndef. - - jsDef - A .js port of sugarcube's def. diff --git a/devNotes/standaloneFunctions.md b/devNotes/standaloneFunctions.md new file mode 100644 index 0000000000000000000000000000000000000000..838817b4e50801ccda2b96b6e1331c041be84e21 --- /dev/null +++ b/devNotes/standaloneFunctions.md @@ -0,0 +1,34 @@ +# Standalone JS Functions + +Collection of custom functions without dependencies on FC specific variables/data structures. + +## utilJS.js + +* `arraySwap(array, a , b)`: + Swaps two values in an array. + +* `capFirstChar(string)`: + Capitalizes the first character of `string`. + +* `addA(word)`: + Adds an `an ` if the first character is a vocal, otherwise `a `. + +* `ordinalSuffix(i)`: + Takes a number and appends the appropriate suffix. + Example: `ordinalSuffix(1)` gives `1st`. + +* `ordinalSuffixWords(i)`: + Takes a number and returns the appropriate ordinal. + Example: `ordinalSuffix(1)` gives `first`. + For number greater than 19 identical to `ordinalSuffix(i)` + +* `removeDuplicates(array)`: + Takes an array and returns a new array without duplicate entries. + +* `jsDef(x)`: + Returns whether x is undefined. A JS port of sugarcube's def. + +* `between(a, low, high)`: + Returns `true` if `a` is between `low` and `high`, otherwise `false`. + + diff --git a/player variables documentation - Pregmod.txt b/player variables documentation - Pregmod.txt index 48b54feced0a464cd28a3d48cedda491582e5398..3f5e48965366778a2d85785396349e50d2405258 100644 --- a/player variables documentation - Pregmod.txt +++ b/player variables documentation - Pregmod.txt @@ -1,13 +1,15 @@ Player variables documentation - Pregmod +Shares the vast majority of slave variables. Only ones in use are listed here. For more, see /player/js/playerState.js. + **anything labeled accepts string will return any string entered into it** -name: +slaveName: your first name accepts string -surname: +slaveSurname: your last name accepts string @@ -30,20 +32,174 @@ Player's gender "XY" "XX" -dick: +degeneracy: + +How strong/are there rumors about you doing unsavory things with your slaves +0 - 10 - occasional whispers +11 - 25 - minor rumors +26 - 50 - rumors +51 - 75 - bad rumors +70 - 100 - severe rumors +101+ - life ruining rumors + +refreshment: + +your favorite refreshment +accepts string + +refreshmentType: + +(uncommon in events) +The method of consumption of .refreshment +0 - smoked +1 - drank +2 - eaten +3 - snorted +4 - injected +5 - popped +6 - orally dissolved + +career: + +Your career before becoming owner +"wealth" +"capitalist" +"mercenary" +"slaver" +"engineer" +"medicine" +"celebrity" +"escort" +"servant" +"gang" +"BlackHat" +"arcology owner" + +rumor: + +"wealth" +"diligence" +"force" +"social engineering" +"luck" + +actualAge: + +(uncommon in events) +your actualAge +14+ + +physicalAge: + +your body's age +14+ + +visualAge: + +(uncommon in events) +how old you look +14+ + +ovaryAge: + +How old your ovaries are +Used to delay menopause temporarily + +birthWeek: + +your week of birth in a year +accepts int between 0-51 + +ageImplant: + +have you had age altering surgery, not yet in use +0 - no +1 - yes + +boobs: (common in events) -Player has a cock +0 - 299 - masculine chest (if title = 1) or flat chested (if title = 0) +300-399 - A-cup; +400-499 - B-cup +500-649 - C-cup +650-799 - D-cup +800-999 - DD-cup +1000-1199 - F-cup +1200-1399 - G-cup +1400-1599 - H-cup + +boobsImplant: + +Size, if any, of breast implants +0 - none +1+ - yes + +lactation: + +is player lactating 0 - no 1 - yes +lactationDuration: + +how many more weeks the player will lactate for +0+ + +butt: + +how big your butt is +2 - normal +3 - big +4 - huge +5 - enormous + +buttImplant: + +do you have butt implants +0 - no +1+ - size + vagina: (common in events) Player has a pussy +-1 - no +0 - virgin +1 - tight +2 - reasonably tight +3 - loose +4 - cavernous + +newVag: + +have you had a loose vagina restored 0 - no 1 - yes +dick: + +(common in events) +Player has a cock +0 - no +4 - big + +balls: + +how big your balls are (sizes above 0 requires dick == 1) +0 - none +3 - normal +5 - massive +9 - monstrous +14 - hypertrophied +30 - melons + +ballsImplant: + +how big your balls implants are (requires dick == 1) +0 - none +1+ size added + preg: (uncommon in events) @@ -85,7 +241,7 @@ Menstrual cycle control variable. belly: (uncommon in events) -how big your belly is in CCs (preg only) +how big your belly is in CCs thresholds 100 - bloated 1500 - early pregnancy @@ -100,10 +256,6 @@ thresholds 105000 - full term septuplets 120000 - full term octuplets -mpreg: - -used for <<KnockMeUp>> compatibility - pregSource: who knocked you up @@ -132,158 +284,41 @@ are you giving birth this week 0 - no 1 - yes -births: +skill: -how many children you've had -accepts int + trading: -boobsBonus: + your trading skill + accepts int between -100 and 100 -(rare in events) -breast size --3 - B-cup --2 - C-cup --1 - D-cup - 0 - DD-cup - 1 - F-cup - 2 - G-cup - 3 - H-cup + warfare: -degeneracy: + your warfare skill + accepts int between -100 and 100 -How strong/are there rumors about you doing unsavory things with your slaves -0 - 10 - occasional whispers -11 - 25 - minor rumors -26 - 50 - rumors -51 - 75 - bad rumors -70 - 100 - severe rumors -101+ - life ruining rumors + hacking: -voiceImplant: + your hacking skill + accepts int between -100 and 100 -no effect + slaving: -accent: + your slaving skill + accepts int between -100 and 100 -no effect + engineering: -shoulders: + your engineering skill + accepts int between -100 and 100 -no effect + medicine: -shouldersImplant: + your medicine skill + accepts int between -100 and 100 -no effect + cumTap: -boobs: - -(common in events) -0 - masculine chest (if title = 1) or flat chested (if title = 0)(WIP) -1 - feminine bust - -lactation: - -is player lactating -0 - no -1 - yes - -lactationDuration: - -how many more weeks the player will lactate for -0+ - -career: - -Your career before becoming owner -"wealth" -"capitalist" -"mercenary" -"slaver" -"engineer" -"medicine" -"celebrity" -"escort" -"servant" -"gang" -"BlackHat" -"arcology owner" - -rumor: - -"wealth" -"diligence" -"force" -"social engineering" -"luck" - -birthWeek: - -your week of birth in a year -accepts int between 0-51 - -age: - -(uncommon in events) -your age (obsolete, not in use) -0 - young -1 - typical -2 - middle age - -sexualEnergy: - -how much fucking you can do in a week -accepts int - -refreshment: - -your favorite refreshment -accepts string - -refreshmentType: - -(uncommon in events) -The method of consumption of .refreshment -0 - smoked -1 - drank -2 - eaten -3 - snorted -4 - injected -5 - popped -6 - orally dissolved - -trading: - -your trading skill -accepts int between -100 and 100 - -warfare: - -your warfare skill -accepts int between -100 and 100 - -hacking: - -your hacking skill -accepts int between -100 and 100 - -slaving: - -your slaving skill -accepts int between -100 and 100 - -engineering: - -your engineering skill -accepts int between -100 and 100 - -medicine: - -your medicine skill -accepts int between -100 and 100 - -cumTap: - -how acclimated you are to taking huge loads + how acclimated you are to taking huge loads race: @@ -312,25 +347,27 @@ do you have markings? "freckles" "heavily freckled" -eyeColor: +eye: + right:/left: + iris: -your eye color -accepts string + your eye color + accepts string -origEye: + pupil: -your original eye color -accepts string + your pupil shape + accepts string -pupil: + sclerae: -your pupil shape -accepts string + your sclerae color + accepts string -sclerae: + origColor: -your sclerae color -accepts string + your genetic eye color + accepts string hColor: @@ -369,123 +406,76 @@ daughters: how many daughters you have -birthElite: - -how many children you've carried for the SE - -birthMaster: - -how many children you've carried for your former master (servant start only) - -birthDegenerate: - -how many slave babies you've had - -birthClient: - -how many whoring babies you've had - -birthOther: - -untracked births - -birthArcOwner: - -how many children you've carried for other arc owners - -birthCitizen: +counter: -how many children you've had by sex with citizens (not whoring) + birthsTotal: -birthSelf: + how many children you've had + accepts int -how many times you've giving birth to your own selfcest babies + birthElite: -birthLab: + how many children you've carried for the SE -how many designer babies you've produced + birthMaster: -slavesFathered: + how many children you've carried for your former master (servant start only) -how many slave babies you are the father of + birthDegenerate: -slavesKnockedUp: + how many slave babies you've had -how many slaves you've gotten pregnant + birthClient: -intelligence: + how many whoring babies you've had -100 + birthOther: -face: + untracked births -100 + birthArcOwner: -actualAge: + how many children you've carried for other arc owners -(uncommon in events) -your actualAge -14+ + birthCitizen: -physicalAge: + how many children you've had by sex with citizens (not whoring) -your body's age -14+ + birthSelf: -visualAge: + how many times you've giving birth to your own selfcest babies -(uncommon in events) -how old you look -14+ + birthLab: -boobsImplant: + how many designer babies you've produced + + birthFuta: -do you have breast implants -0 - no -1 - yes + how many babies you've had with the Futanari Sisters -butt: + storedCum: -how big your butt is -0 - normal -1 - big -2 - huge -3 - enormous + How many units of your cum are stored away for artificially inseminating slaves -buttImplant: + laborCount: -do you have butt implants -0 - no -1 - yes + Have you experienced labor. -balls: + slavesFathered: -how big your balls are (requires dick == 1) -0 - normal -1 - big -2 - huge -3 - massive + how many slave babies you are the father of -ballsImplant: + slavesKnockedUp: -how big your balls implants are (requires dick == 1) -0 - normal -1 - large -2 - huge -3 - enormous -4 - monstrous + how many slaves you've gotten pregnant -ageImplant: +intelligence: -have you had age altering surgery, not yet in use -0 - no -1 - yes +100 -newVag: +face: -have you had a loose vagina restored -0 - no -1 - yes +100 reservedChildren: @@ -507,56 +497,17 @@ have you been drugged with fertility drugs 0 - no 1+ - how many weeks they will remain in your system +sexualEnergy: + +how much fucking you can do in a week +accepts int + staminaPills: Are you taking pills to fuck more slaves each week? 0 - no 1 - yes -ovaryAge: - -How old your ovaries are -Used to delay menopause temporarily - -eggType: - -Used for compatibility. -"human" - -ballType: - -Used for compatibility. -"human" - -storedCum: - -How many units of your cum are stored away for artificially inseminating slaves - -behavioralFlaw: - -Used for compatibility. -"none" - -behavioralQuirk: - -Used for compatibility. -"none" - -sexualFlaw: - -Used for compatibility. -"none" - -sexualQuirk: - -Used for compatibility. -"none" - -fetish: - -Used for compatibility. -"none" - pubicHStyle: Used for compatibility. @@ -566,3 +517,19 @@ underArmHStyle: Used for compatibility. "hairless" + +rules: + living: + + Your starting expenses. Increases each NG+ until max. Keep in mind that this is in terms of an arcology owner. + "spare" + "normal" + "luxurious" + + lactation: + + How you are handling your lactation? + "none" + "induce" + "maintain" + "sell" diff --git a/src/endWeek/saServeThePublic.js b/src/endWeek/saServeThePublic.js index 0374d5bf3e8ace382e3a2016fce06907fc9b9c5e..78822bd5615654d044f46b948d8cd6410a96bf79 100644 --- a/src/endWeek/saServeThePublic.js +++ b/src/endWeek/saServeThePublic.js @@ -1025,7 +1025,7 @@ window.saServeThePublic = (function saServeThePublic() { } } else if (slave.attrXY <= 85) { if (slave.attrXX <= 15) { - r += ` ${His} sexual disgust with men makes ${him} a poor slut.`; + r += ` ${His} sexual disgust with women makes ${him} a poor slut.`; } else if (slave.attrXX <= 85) { r += ` ${His} indifference to men and women makes ${him} a poor slut.`; } else if (slave.attrXX <= 95) { @@ -1370,7 +1370,7 @@ window.saServeThePublic = (function saServeThePublic() { if (slave.nipples === "fuckable") { mammaryUse *= 2; } - let penetrativeUse = 0; + penetrativeUse = 0; if (canDoVaginal(slave) && slave.clit > 1) { penetrativeUse += (V.penetrativeUseWeight + (slave.skill.vaginal / 30) + slave.clit); } diff --git a/src/endWeek/saWhore.js b/src/endWeek/saWhore.js index 09a73cebd12864d666607b5e04a246ef13bac5f4..3bfcbe1064f1bde9e50fe6e323403157375035b5 100644 --- a/src/endWeek/saWhore.js +++ b/src/endWeek/saWhore.js @@ -1096,7 +1096,7 @@ window.saWhore = (function saWhore() { } } else if (slave.attrXY <= 85) { if (slave.attrXX <= 15) { - r += ` ${His} sexual disgust with men makes ${him} a poor whore.`; + r += ` ${His} sexual disgust with women makes ${him} a poor whore.`; } else if (slave.attrXX <= 85) { r += ` ${His} indifference to men and women makes ${him} a poor whore.`; } else if (slave.attrXX <= 95) { @@ -1452,7 +1452,7 @@ window.saWhore = (function saWhore() { if (slave.nipples === "fuckable") { mammaryUse *= 2; } - let penetrativeUse = 0; + penetrativeUse = 0; if (canDoVaginal(slave) && slave.clit > 1) { penetrativeUse += (V.penetrativeUseWeight + (slave.skill.vaginal / 30) + slave.clit); } diff --git a/src/events/intro/introSummary.tw b/src/events/intro/introSummary.tw index e0110d3a93c7d624c20470b7e90aa6a92f8f77c3..5618518cf7614ab90cc8bd27c367d5e21537a471 100644 --- a/src/events/intro/introSummary.tw +++ b/src/events/intro/introSummary.tw @@ -102,7 +102,7 @@ Economic forecast: <<else>> Current nationality distributions are [[Adjust the slave trade|Customize Slave Trade][$customWA = 0, $customVariety = 1]] | [[Stop customizing|Intro Summary][delete $customVariety]] <<if ndef $nationalitiescheck>> /* NGP: regenerate $nationalitiescheck from previous game's $nationalities array */ - <<silently>><<include "Customize Slave Trade">><</silently>> + <div id="SilentlyButWithStyle" style="display: none;"><<include "Customize Slave Trade">></div> <</if>> <br style="clear:both"><hr style="margin:0"> <<set _len = Object.keys($nationalitiescheck).length>> diff --git a/src/gui/css/mainStyleSheet.css b/src/gui/css/mainStyleSheet.css index 22a6fa7b2547f289b789aa663e7738de129898dc..fa035469b81aed81e1c883af7ca0b5f13837be99 100644 --- a/src/gui/css/mainStyleSheet.css +++ b/src/gui/css/mainStyleSheet.css @@ -349,6 +349,9 @@ div.organContainer { display: grid; grid-template-columns: max-content auto; } +div.tab { + margin-left: 20px; +} div.indent { text-indent: 20px; } diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw index 5da49ebb6af150363c99a3da89522ade0375cf47..430cf9b2059a7813760ae9ca8f65ea2867c7e35b 100644 --- a/src/init/storyInit.tw +++ b/src/init/storyInit.tw @@ -358,6 +358,7 @@ You should have received a copy of the GNU General Public License along with thi <<set $neighboringArcologies = 3>> <<set $newDescriptions = 0>> <<set $familyTesting = 0>> + <<set $showDistantRelatives = 0>> <<set $inbreeding = 1>> <<set $allowFamilyTitles = 0>> <<set $surnameOrder = 0>> diff --git a/src/interaction/prostheticConfig.tw b/src/interaction/prostheticConfig.tw index f628de0ddf67c45ede151be337a56615dbededd2..be79bc78afa2d5188176c8c32e722c4392c73c8f 100644 --- a/src/interaction/prostheticConfig.tw +++ b/src/interaction/prostheticConfig.tw @@ -230,11 +230,16 @@ This room is lined with shelves and cabinets, it could be easily mistaken for a <style> .container { display: grid; - grid-template-columns: 300px 200px 200px; + grid-template-columns: 300px 150px 150px 150px; } .full { grid-column-start: 2; - grid-column-end: 4; + grid-column-end: 5; + } + .research { + grid-column-start: 3; + grid-column-end: 5; + text-align: center; } </style> @@ -244,6 +249,15 @@ This room is lined with shelves and cabinets, it could be easily mistaken for a <div> <<if $researchLab.level > 0>> <<= App.UI.disabledLink(`''Construct in lab''`, ["Depending on lab speed might be faster than fitting an existing prosthetic but almost always faster than first building and than fitting it to $him."])>> + <<else>> + <<= App.UI.disabledLink(`''Construct in lab''`, ["With a lab you could both increase speed and decrease cost."])>> + <</if>> + </div> + <div style="text-align:right"> + <<if $researchLab.speed >= 300>> /* max speed */ + <<= App.UI.disabledLink(`''Fast assembly''`, ["Your lab is so fast that fitting prosthetics to your slave can done instantly though you will sacrifice some efficiency."])>> + <<elseif $researchLab.level > 0>> + <<= App.UI.disabledLink(`''Fast assembly''`, ["Your lab is not fast enough to fit prosthetics instantly."])>> <</if>> </div> @@ -269,7 +283,8 @@ This room is lined with shelves and cabinets, it could be easily mistaken for a <</link>> <</if>> </div> - <div> + <<if $prosthetics[_p].research > 0>> + <div style="text-align:center"> <<if $researchLab.level > 0 && $prosthetics[_p].research > 0>> <<link "Construct" "Prosthetics Configuration">> <<set $researchLab.tasks.push({ @@ -281,6 +296,24 @@ This room is lined with shelves and cabinets, it could be easily mistaken for a <</link>> <</if>> </div> + <div style="text-align:right"> + <<if $researchLab.speed >= 300 && $prosthetics[_p].research > 0>> /* max speed */ + <<if $prosthetics[_p].amount > 0>> + <<link "From storage: <<= cashFormat(setup.prosthetics[_p].adjust * 50)>>" "Prosthetics Configuration">> + <<set cashX(forceNeg(setup.prosthetics[_p].costs * 1.5), "slaveMod", $activeSlave), addProsthetic($activeSlave, _p)>> + <</link>> + <<else>> + <<link "<<= cashFormat(setup.prosthetics[_p].costs + setup.prosthetics[_p].adjust * 100)>>" "Prosthetics Configuration">> + <<set cashX(forceNeg(setup.prosthetics[_p].costs + setup.prosthetics[_p].adjust * 100), "slaveMod", $activeSlave), addProsthetic($activeSlave, _p)>> + <</link>> + <</if>> + <</if>> + </div> + <<elseif $researchLab.level > 0>> + <div class="research"> + //Not researched.// + </div> + <</if>> <</capture>> <</if>> <</if>> diff --git a/src/interaction/prothesticLab.tw b/src/interaction/prothesticLab.tw index a406a5226ffc5640e9afa935c1a847f6c1e3e829..dfb30a212bb1931b75fb7f9744f4f47e6d1dc595 100644 --- a/src/interaction/prothesticLab.tw +++ b/src/interaction/prothesticLab.tw @@ -12,7 +12,7 @@ Prosthetic Lab <<for _p range $adjustProsthetics>> <<if _p.workLeft > 0>> <<= capFirstChar(setup.prosthetics[_p.id].name)>> for <<= SlaveFullName($slaves[$slaveIndices[_p.slaveID]])>><br> - <</if>>s + <</if>> <</for>> <<else>> //Currently there are no prosthetics being fit to a slave.// diff --git a/src/js/SlaveState.js b/src/js/SlaveState.js index 9fb9ed392619adf37d48f31b8f9ae79eb7782419..987152eb02c56c9229e15ba15c0bb6e78726e36a 100644 --- a/src/js/SlaveState.js +++ b/src/js/SlaveState.js @@ -2490,6 +2490,7 @@ App.Entity.SlaveState = class SlaveState { porn: { fame: {} }, + rules: {}, skill: {}, custom: {}, }; diff --git a/src/js/heroCreator.js b/src/js/heroCreator.js index cfc178de66e528fb16493b0138b9ff32d34fc977..2f78670c4df783498796bac7561bf6d7b93bd5ae 100644 --- a/src/js/heroCreator.js +++ b/src/js/heroCreator.js @@ -43,7 +43,13 @@ App.Utils.getHeroSlave = function(heroSlave, baseHeroSlave) { } const newSlave = clone(baseHeroSlave); + let albinismOverride = null + if (heroSlave.albinismOverride !== null) { + albinismOverride = heroSlave.albinismOverride; + delete heroSlave.albinismOverride; + } deepAssign(newSlave, heroSlave); + newSlave.albinismOverride = albinismOverride; repairLimbs(newSlave); generatePuberty(newSlave); return newSlave; diff --git a/src/js/slaveSummaryWidgets.js b/src/js/slaveSummaryWidgets.js index fdc22b9405219ec4437541e07c2b71e2a2a0a382..4c10d6462675377ad78368c436ade10b1e46a1bc 100644 --- a/src/js/slaveSummaryWidgets.js +++ b/src/js/slaveSummaryWidgets.js @@ -3835,7 +3835,7 @@ window.SlaveSummaryUncached = (function() { makeSpan(block, `${getPronouns(slave).daughter}.`, "lightgreen"); } } else if (slave.father in V.missingTable && slave.father !== slave.mother && V.showMissingSlavesSD && V.showMissingSlaves) { - addText(block, `${V.missingTable[slave.mother].fullName}'s `); + addText(block, `${V.missingTable[slave.father].fullName}'s `); makeSpan(block, `${getPronouns(slave).daughter}.`, "lightgreen"); } if (areSisters(V.PC, slave) > 0) { diff --git a/src/js/statsChecker/eyeChecker.js b/src/js/statsChecker/eyeChecker.js index 058e3c1016904d72a7900d94480c5603734035b7..a98ddd2201a6e7205d31b4d5f56c0b86ac5a947d 100644 --- a/src/js/statsChecker/eyeChecker.js +++ b/src/js/statsChecker/eyeChecker.js @@ -242,7 +242,7 @@ window.getGeneticEyeColor = function(slave, side) { if (side !== "left" && side !== "right") { return "ERROR:" + side; } if (slave.geneticQuirks.albinism === 2) { - return "red"; + return slave.albinismOverride.eyeColor; } else { if (side === "left" && typeof slave.geneticQuirks.heterochromia === "string") { return slave.geneticQuirks.heterochromia; diff --git a/src/js/surgery.js b/src/js/surgery.js index 27a6159e36926dbd70f283e03e343bf9c58e30d9..f78ec553f5087b9f230904ee847afefde7bb16e2 100644 --- a/src/js/surgery.js +++ b/src/js/surgery.js @@ -553,7 +553,7 @@ window.eyeSurgery = function(slave, side, action) { } function addEye(slave) { - slave.eye[side] = new App.Entity.EyeState(); + slave.eye[side] = new App.Entity.SingleEyeState(); resetEyeColor(slave, side); } diff --git a/src/js/utilJS.js b/src/js/utilJS.js index 3aae1c82ed40ae69a4f1c48f93c1ed1e17c0d641..008044413dee80374e3f15e1139a14c5254b8ff8 100644 --- a/src/js/utilJS.js +++ b/src/js/utilJS.js @@ -1688,6 +1688,10 @@ window.lengthToEitherUnit = function(s) { return `${s}cm`; }; +/** + * @param {number} i + * @returns {string} + */ window.ordinalSuffix = function ordinalSuffix(i) { let j = i % 10; let k = i % 100; @@ -1702,6 +1706,11 @@ window.ordinalSuffix = function ordinalSuffix(i) { } return `${i}th`; }; + +/** + * @param {number} i + * @returns {string} + */ window.ordinalSuffixWords = function(i) { const text = ["zeroth", "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth", "ninth", "tenth", "eleventh", "twelfth", "thirteenth", "fourteenth", "fifteenth", "sixteenth", "seventeenth", "eighteenth", "nineteenth"]; if (i < text.length) { @@ -1712,7 +1721,7 @@ window.ordinalSuffixWords = function(i) { /** * @param {Iterable<any>} array - * @returns {Set<any>} + * @returns {any[]} */ window.removeDuplicates = function removeDuplicates(array) { return [...new Set(array)]; diff --git a/src/npc/databases/dSlavesDatabase.tw b/src/npc/databases/dSlavesDatabase.tw index 170d82a3094a42eb34e4f9f2fc139c47f079af91..476815c0ca39447df9822e5416bb7c3e0f895b64 100644 --- a/src/npc/databases/dSlavesDatabase.tw +++ b/src/npc/databases/dSlavesDatabase.tw @@ -497,7 +497,7 @@ <<set $heroSlaves.push(_HS)>> <<set _HS = App.Entity.SlaveState.makeSkeleton()>> -<<set _HS.slaveName = "'Virago' Kissa", _HS.birthName = "", _HS.birthSurname = "", _HS.origin = "In spite of the great demand for $his kind, $he has apparently eluded enslavement until recently.", _HS.career = "a wanderer", _HS.ID = _i++, _HS.prestige = 1, _HS.prestigeDesc = "$He is a natural albino.", _HS.birthWeek = random(0,51), _HS.health = 100, _HS.devotion = 100, _HS.muscles = 50, _HS.height = 190, _HS.nationality = "Ugandan", _HS.race = "black", _HS.eye.origColor = "pale grey", _HS.origHColor = "white", _HS.pubicHColor = "white", _HS.origSkin = "extremely pale", _HS.hLength = 100, _HS.hStyle = "extremely long and bushy", _HS.pubicHStyle = "bushy", _HS.waist = -55, _HS.boobs = 600, _HS.face = 55, _HS.lips = 35, _HS.vaginaLube = 1, _HS.clitPiercing = 3, _HS.clitSetting = "oral", _HS.ovaries = 1, _HS.anusTat = "bleached", _HS.skill.oral = 100, _HS.skill.whoring =100, _HS.skill.entertainment = 100, _HS.skill.combat = 3, _HS.rules.living = "luxurious", _HS.rules.speech = "permissive", _HS.rules.release = "permissive", _HS.collar = "pretty jewelry", _HS.shoes = "flats", _HS.intelligence = 100, _HS.intelligenceImplant = 30, _HS.attrXY = 40, _HS.fetish = "cumslut", _HS.fetishKnown = 1, _HS.behavioralFlaw = "odd", _HS.geneticQuirks = {albinism: 2}, _HS.custom.tattoo = "$His entire body is tattooed with a detailed map of $his arteries which, combined with $his albinism, gives $him a quasi-translucent quality.", _HS.custom.desc = "$His eyes are unsettling; though $his irises are a pale grey color, in some lights the whole eye takes on a red cast.">> +<<set _HS.slaveName = "'Virago' Kissa", _HS.birthName = "", _HS.birthSurname = "", _HS.origin = "In spite of the great demand for $his kind, $he has apparently eluded enslavement until recently.", _HS.career = "a wanderer", _HS.ID = _i++, _HS.prestige = 1, _HS.prestigeDesc = "$He is a natural albino.", _HS.birthWeek = random(0,51), _HS.health = 100, _HS.devotion = 100, _HS.muscles = 50, _HS.height = 190, _HS.nationality = "Ugandan", _HS.race = "black", _HS.hLength = 100, _HS.hStyle = "extremely long and bushy", _HS.pubicHStyle = "bushy", _HS.waist = -55, _HS.boobs = 600, _HS.face = 55, _HS.lips = 35, _HS.vaginaLube = 1, _HS.clitPiercing = 3, _HS.clitSetting = "oral", _HS.ovaries = 1, _HS.anusTat = "bleached", _HS.skill.oral = 100, _HS.skill.whoring =100, _HS.skill.entertainment = 100, _HS.skill.combat = 3, _HS.rules.living = "luxurious", _HS.rules.speech = "permissive", _HS.rules.release = "permissive", _HS.collar = "pretty jewelry", _HS.shoes = "flats", _HS.intelligence = 100, _HS.intelligenceImplant = 30, _HS.attrXY = 40, _HS.fetish = "cumslut", _HS.fetishKnown = 1, _HS.behavioralFlaw = "odd", _HS.geneticQuirks = {albinism: 2}, _HS.albinismOverride = {eyeColor: "pale grey", hColor: "white", skin: "extremely pale"}, _HS.custom.tattoo = "$His entire body is tattooed with a detailed map of $his arteries which, combined with $his albinism, gives $him a quasi-translucent quality.", _HS.custom.desc = "$His eyes are unsettling; though $his irises are a pale grey color, in some lights the whole eye takes on a red cast.">> <<set $heroSlaves.push(_HS)>> <<set _HS = App.Entity.SlaveState.makeSkeleton()>> diff --git a/src/player/js/PlayerState.js b/src/player/js/PlayerState.js index 7f982e33b695246614bc7df9176ae5c19b076486..3bea6558fa7ee1abeb7d38e7066f66d2e39d19ba 100644 --- a/src/player/js/PlayerState.js +++ b/src/player/js/PlayerState.js @@ -35,6 +35,12 @@ App.Entity.PlayerSkillsState = class { */ App.Entity.PlayerRulesState = class { constructor() { + /** + * Your starting expenses. + * * "spare" + * * "normal" + * * "luxurious" + */ this.living = "luxurious"; this.speech = "permissive"; this.release = "permissive"; @@ -1097,6 +1103,8 @@ App.Entity.PlayerState = class PlayerState { * * 4: gaping */ this.anus = 0; + /** used to calculate size of area around anus. */ + this.analArea = 1; /** * dick size * * 0: none @@ -1113,8 +1121,6 @@ App.Entity.PlayerState = class PlayerState { * * 11+: hypertrophied */ this.dick = 4; - /** used to calculate size of area around anus. */ - this.analArea = 1; /** * is dick pierced * * 0: no @@ -1995,6 +2001,7 @@ App.Entity.PlayerState = class PlayerState { brand: {}, scar: {}, skill: {}, + rules: {}, custom: {}, }; } diff --git a/src/pregmod/editGenetics.tw b/src/pregmod/editGenetics.tw index 20d3c162903144a333911f2a11ba3b6006d88767..ffdff2c224314e36be059b912c2d31464ea0b95b 100644 --- a/src/pregmod/editGenetics.tw +++ b/src/pregmod/editGenetics.tw @@ -43,9 +43,6 @@ <th>Mother</th><td colspan="2"><%= tmpl.parentFullName(s.mother) %></td> <th>Age</th><td><%- tmpl.ageDesc(s) %></td> </tr> - <% if(s.origin) { %><tr><td colspan="8"><i><%- s.origin %></td></i></tr><% } %> - <% if(s.prestigeDesc) { %><tr><td colspan="8"><i><%- s.prestigeDesc %></td></i></tr><% } %> - <% if(s.custom.desc) { %><tr><td colspan="8"><i><%- s.custom.desc %></td></i></tr><% } %> <% if(s.birthName !== s.slaveName || s.birthSurname !== s.slaveSurname) { %><tr><td colspan="8"><i>Currently called <%= tmpl.currentFullName(s) %>.</td></i></tr><% } %> <tr><td></td><td colspan="6"><hr></td><td></td></tr> <tr> diff --git a/src/pregmod/managePersonalAffairs.tw b/src/pregmod/managePersonalAffairs.tw index 6769847984529e211a1f641d1d7cc9bb58076333..1d67e9a6b2a15affd9f3ab147c0fc5a326314ddd 100644 --- a/src/pregmod/managePersonalAffairs.tw +++ b/src/pregmod/managePersonalAffairs.tw @@ -54,60 +54,60 @@ You current eye color is <<print App.Desc.eyeColor($PC)>>. <br> Side: -[[Left|Salon][$artificialEyeSide = "left"]] -| [[Right|Salon][$artificialEyeSide = "right"]] -| [[Both|Salon][$artificialEyeSide = "both"]] +[[Left|Manage Personal Affairs][$artificialEyeSide = "left"]] +| [[Right|Manage Personal Affairs][$artificialEyeSide = "right"]] +| [[Both|Manage Personal Affairs][$artificialEyeSide = "both"]] <br> Iris: -[[Amber|Salon][$artificialEyeColor = "amber"]] -| [[Black|Salon][$artificialEyeColor = "black"]] -| [[Blue|Salon][$artificialEyeColor = "blue"]] -| [[Brown|Salon][$artificialEyeColor = "brown"]] -| [[Green|Salon][$artificialEyeColor = "green"]] -| [[Hazel|Salon][$artificialEyeColor = "hazel"]] -| [[Orange|Salon][$artificialEyeColor = "orange"]] -| [[Pale-Grey|Salon][$artificialEyeColor = "pale-grey"]] -| [[Pink|Salon][$artificialEyeColor = "pink"]] -| [[Red|Salon][$artificialEyeColor = "red"]] -| [[Sky-Blue|Salon][$artificialEyeColor = "sky-blue"]] -| [[Turquoise|Salon][$artificialEyeColor = "turquoise"]] -| [[White|Salon][$artificialEyeColor = "white"]] -| [[Yellow|Salon][$artificialEyeColor = "yellow"]] +[[Amber|Manage Personal Affairs][$artificialEyeColor = "amber"]] +| [[Black|Manage Personal Affairs][$artificialEyeColor = "black"]] +| [[Blue|Manage Personal Affairs][$artificialEyeColor = "blue"]] +| [[Brown|Manage Personal Affairs][$artificialEyeColor = "brown"]] +| [[Green|Manage Personal Affairs][$artificialEyeColor = "green"]] +| [[Hazel|Manage Personal Affairs][$artificialEyeColor = "hazel"]] +| [[Orange|Manage Personal Affairs][$artificialEyeColor = "orange"]] +| [[Pale-Grey|Manage Personal Affairs][$artificialEyeColor = "pale-grey"]] +| [[Pink|Manage Personal Affairs][$artificialEyeColor = "pink"]] +| [[Red|Manage Personal Affairs][$artificialEyeColor = "red"]] +| [[Sky-Blue|Manage Personal Affairs][$artificialEyeColor = "sky-blue"]] +| [[Turquoise|Manage Personal Affairs][$artificialEyeColor = "turquoise"]] +| [[White|Manage Personal Affairs][$artificialEyeColor = "white"]] +| [[Yellow|Manage Personal Affairs][$artificialEyeColor = "yellow"]] <br> Pupil: -[[Circular|Salon][$artificialEyeShape = "circular"]] -| [[Almond-Shaped|Salon][$artificialEyeShape = "almond-shaped"]] -| [[Bright|Salon][$artificialEyeShape = "bright"]] -| [[Catlike|Salon][$artificialEyeShape = "catlike"]] -| [[Demonic|Salon][$artificialEyeShape = "demonic"]] -| [[Devilish|Salon][$artificialEyeShape = "devilish"]] -| [[Goat-Like|Salon][$artificialEyeShape = "goat-like"]] -| [[Heart-Shaped|Salon][$artificialEyeShape = "heart-shaped"]] -| [[Hypnotic|Salon][$artificialEyeShape = "hypnotic"]] -| [[Serpent-Like|Salon][$artificialEyeShape = "serpent-like"]] -| [[Star-Shaped|Salon][$artificialEyeShape = "star-shaped"]] -| [[Teary|Salon][$artificialEyeShape = "teary"]] -| [[Vacant|Salon][$artificialEyeShape = "vacant"]] -| [[Wide-Eyed|Salon][$artificialEyeShape = "wide-eyed"]] +[[Circular|Manage Personal Affairs][$artificialEyeShape = "circular"]] +| [[Almond-Shaped|Manage Personal Affairs][$artificialEyeShape = "almond-shaped"]] +| [[Bright|Manage Personal Affairs][$artificialEyeShape = "bright"]] +| [[Catlike|Manage Personal Affairs][$artificialEyeShape = "catlike"]] +| [[Demonic|Manage Personal Affairs][$artificialEyeShape = "demonic"]] +| [[Devilish|Manage Personal Affairs][$artificialEyeShape = "devilish"]] +| [[Goat-Like|Manage Personal Affairs][$artificialEyeShape = "goat-like"]] +| [[Heart-Shaped|Manage Personal Affairs][$artificialEyeShape = "heart-shaped"]] +| [[Hypnotic|Manage Personal Affairs][$artificialEyeShape = "hypnotic"]] +| [[Serpent-Like|Manage Personal Affairs][$artificialEyeShape = "serpent-like"]] +| [[Star-Shaped|Manage Personal Affairs][$artificialEyeShape = "star-shaped"]] +| [[Teary|Manage Personal Affairs][$artificialEyeShape = "teary"]] +| [[Vacant|Manage Personal Affairs][$artificialEyeShape = "vacant"]] +| [[Wide-Eyed|Manage Personal Affairs][$artificialEyeShape = "wide-eyed"]] <br> Sclera: -[[White|Salon][$artificialEyeFill = "white"]] -| [[Amber|Salon][$artificialEyeFill = "amber"]] -| [[Black|Salon][$artificialEyeFill = "black"]] -| [[Blue|Salon][$artificialEyeFill = "blue"]] -| [[Brown|Salon][$artificialEyeFill = "brown"]] -| [[Green|Salon][$artificialEyeFill = "green"]] -| [[Hazel|Salon][$artificialEyeFill = "hazel"]] -| [[Orange|Salon][$artificialEyeFill = "orange"]] -| [[Pale-Grey|Salon][$artificialEyeFill = "pale-grey"]] -| [[Pink|Salon][$artificialEyeFill = "pink"]] -| [[Red|Salon][$artificialEyeFill = "red"]] -| [[Sky-Blue|Salon][$artificialEyeFill = "sky-blue"]] -| [[Turquoise|Salon][$artificialEyeFill = "turquoise"]] -| [[Yellow|Salon][$artificialEyeFill = "yellow"]] +[[White|Manage Personal Affairs][$artificialEyeFill = "white"]] +| [[Amber|Manage Personal Affairs][$artificialEyeFill = "amber"]] +| [[Black|Manage Personal Affairs][$artificialEyeFill = "black"]] +| [[Blue|Manage Personal Affairs][$artificialEyeFill = "blue"]] +| [[Brown|Manage Personal Affairs][$artificialEyeFill = "brown"]] +| [[Green|Manage Personal Affairs][$artificialEyeFill = "green"]] +| [[Hazel|Manage Personal Affairs][$artificialEyeFill = "hazel"]] +| [[Orange|Manage Personal Affairs][$artificialEyeFill = "orange"]] +| [[Pale-Grey|Manage Personal Affairs][$artificialEyeFill = "pale-grey"]] +| [[Pink|Manage Personal Affairs][$artificialEyeFill = "pink"]] +| [[Red|Manage Personal Affairs][$artificialEyeFill = "red"]] +| [[Sky-Blue|Manage Personal Affairs][$artificialEyeFill = "sky-blue"]] +| [[Turquoise|Manage Personal Affairs][$artificialEyeFill = "turquoise"]] +| [[Yellow|Manage Personal Affairs][$artificialEyeFill = "yellow"]] <<if ndef $artificialEyeColor>> <<set $artificialEyeColor = "", $artificialEyeShape = "", $artificialEyeFill = "">> diff --git a/src/pregmod/widgets/pregmodWidgets.tw b/src/pregmod/widgets/pregmodWidgets.tw index 45130d592787a078291e7ccb5c66fb7b8af87a86..49c8d60a79255caffcaf71ef1b05bf4289808bfd 100644 --- a/src/pregmod/widgets/pregmodWidgets.tw +++ b/src/pregmod/widgets/pregmodWidgets.tw @@ -561,22 +561,22 @@ <<run delete $args[0].auricle>> <</if>> -<<if ndef _Slave.readyProsthetics>> - <<set _Slave.readyProsthetics = []>> +<<if ndef $args[0].readyProsthetics>> + <<set $args[0].readyProsthetics = []>> <</if>> -<<if def _Slave.readyLimbs>> - <<for _k = 0; _k < _Slave.readyLimbs.length; _k++>> - <<switch _Slave.readyLimbs[_k].type>> +<<if def $args[0].readyLimbs>> + <<for _k = 0; _k < $args[0].readyLimbs.length; _k++>> + <<switch $args[0].readyLimbs[_k].type>> <<case -1>> - <<run addProsthetic(_Slave, "basicL")>> + <<run addProsthetic($args[0], "basicL")>> <<case -2>> - <<run addProsthetic(_Slave, "sexL")>> + <<run addProsthetic($args[0], "sexL")>> <<case -3>> - <<run addProsthetic(_Slave, "beautyL")>> + <<run addProsthetic($args[0], "beautyL")>> <<case -4>> - <<run addProsthetic(_Slave, "combatL")>> + <<run addProsthetic($args[0], "combatL")>> <<case -5>> - <<run addProsthetic(_Slave, "cyberneticL")>> + <<run addProsthetic($args[0], "cyberneticL")>> <</switch>> <</for>> <</if>> @@ -1249,7 +1249,7 @@ $activeSlave.slaveName is up for review: <<widget "PlayerSkin">> <<replace #skin>> - You have $PC.skin skin. + You have $PC.origSkin skin. <</replace>> <</widget>> diff --git a/src/uncategorized/bodyModification.tw b/src/uncategorized/bodyModification.tw index 28d1f3163a7f7df653880a32c2d79b5401dbf0d8..02f393d8c63d9035fdc35b45942b107709cf8fe3 100644 --- a/src/uncategorized/bodyModification.tw +++ b/src/uncategorized/bodyModification.tw @@ -403,26 +403,26 @@ Piercings: <<if _piercingCount == 0>> $His smooth $activeSlave.skin skin is completely unpierced. <</if>> - -<<if $activeSlave.earPiercing > 0 >><br> <<= App.Desc.piercing($activeSlave, "ear")>><</if>> -<<if $activeSlave.nosePiercing > 0 >><br> <<= App.Desc.piercing($activeSlave, "nose")>><</if>> -<<if $activeSlave.eyebrowPiercing > 0 >><br> <<= App.Desc.piercing($activeSlave, "eyebrow")>><</if>> -<<if $activeSlave.lipsPiercing > 0 >><br> <<= App.Desc.piercing($activeSlave, "lips")>><</if>> -<<if $activeSlave.tonguePiercing > 0 >><br> <<= App.Desc.piercing($activeSlave, "tongue")>><</if>> -<<if $activeSlave.nipplesPiercing > 0 >><br> <<= App.Desc.piercing($activeSlave, "nipple")>><</if>> -<<if $activeSlave.areolaePiercing > 0 >><br> <<= App.Desc.piercing($activeSlave, "areolae")>><</if>> -<<if $activeSlave.navelPiercing > 0 >><br> <<= App.Desc.piercing($activeSlave, "navel")>><</if>> -<<if $activeSlave.corsetPiercing > 0 >><br> <<= App.Desc.piercing($activeSlave, "corset")>><</if>> -<<if $activeSlave.clitPiercing > 0 >><br> <<= App.Desc.piercing($activeSlave, "clit")>><</if>> -<<if $activeSlave.vaginaPiercing > 0 >><br> <<= App.Desc.piercing($activeSlave, "vagina")>><</if>> -<<if $activeSlave.dickPiercing > 0 >><br> <<= App.Desc.piercing($activeSlave, "dick")>><</if>> -<<if $activeSlave.anusPiercing > 0 >><br> <<= App.Desc.piercing($activeSlave, "anus")>><</if>> - -<br><<= App.Desc.piercing($activeSlave, "chastity")>> +<div class="tab"> +<<if $activeSlave.earPiercing > 0 >><div><<= App.Desc.piercing($activeSlave, "ear")>></div><</if>> +<<if $activeSlave.nosePiercing > 0 >><div><<= App.Desc.piercing($activeSlave, "nose")>></div><</if>> +<<if $activeSlave.eyebrowPiercing > 0 >><div><<= App.Desc.piercing($activeSlave, "eyebrow")>></div><</if>> +<<if $activeSlave.lipsPiercing > 0 >><div><<= App.Desc.piercing($activeSlave, "lips")>></div><</if>> +<<if $activeSlave.tonguePiercing > 0 >><div><<= App.Desc.piercing($activeSlave, "tongue")>></div><</if>> +<<if $activeSlave.nipplesPiercing > 0 >><div><<= App.Desc.piercing($activeSlave, "nipple")>></div><</if>> +<<if $activeSlave.areolaePiercing > 0 >><div><<= App.Desc.piercing($activeSlave, "areolae")>></div><</if>> +<<if $activeSlave.navelPiercing > 0 >><div><<= App.Desc.piercing($activeSlave, "navel")>></div><</if>> +<<if $activeSlave.corsetPiercing > 0 >><div><<= App.Desc.piercing($activeSlave, "corset")>></div><</if>> +<<if $activeSlave.clitPiercing > 0 >><div><<= App.Desc.piercing($activeSlave, "clit")>></div><</if>> +<<if $activeSlave.vaginaPiercing > 0 >><div><<= App.Desc.piercing($activeSlave, "vagina")>></div><</if>> +<<if $activeSlave.dickPiercing > 0 >><div><<= App.Desc.piercing($activeSlave, "dick")>></div><</if>> +<<if $activeSlave.anusPiercing > 0 >><div><<= App.Desc.piercing($activeSlave, "anus")>></div><</if>> + +<div><<= App.Desc.piercing($activeSlave, "chastity")>></div> /* Apply piercings */ -<br> +<br> Choose piercing style: <<if $piercingLevel != 1>>[[Light|Body Modification][$piercingLevel = 1]]<<else>>Light<</if>> <<if $piercingLevel != 2>>| [[Heavy|Body Modification][$piercingLevel = 2]]<<else>>| Heavy<</if>> @@ -431,7 +431,7 @@ Choose piercing style: <<if $piercingLevel == 1>> - <br> + <br> //Lightly// pierce $his: <<link "Entire body">> @@ -487,7 +487,7 @@ Choose piercing style: <</if>> <<if $piercingLevel == 2>> - <br> + <br> ''Heavily'' pierce $his: <<link "Entire body">> @@ -545,17 +545,17 @@ Choose piercing style: <<if $piercingLevel == 3>> <<if ($activeSlave.vagina != -1) || ($activeSlave.dick != 0)>> <<if $activeSlave.clitPiercing != 3>> - <br> + <br> Give $him a [[smart piercing?|Body Modification][$activeSlave.clitPiercing = 3,$activeSlave.clitSetting = "all",cashX(forceNeg($SPcost), "slaveMod", $activeSlave),$degradation += 1]] //Costs <<print cashFormat($SPcost)>>, unlocks options to mold sexuality// <<else>> - <br> + <br> $He already has a smart piercing! <</if>> <</if>> <</if>> <<if $piercingLevel == 0>> - <br> + <br> Remove piercings from: /* no dick/vagina checks in 'remove' so stealth piercings can be cleaned. Check only for piercings. */ @@ -595,8 +595,9 @@ Choose piercing style: <<if $activeSlave.dickPiercing > 0>> | [[Dick|Body Modification][$activeSlave.dickPiercing = 0, cashX(forceNeg($modCost), "slaveMod", $activeSlave)]]<</if>> <<if $activeSlave.anusPiercing > 0>> | [[Anus|Body Modification][$activeSlave.anusPiercing = 0, cashX(forceNeg($modCost), "slaveMod", $activeSlave)]]<</if>> <</if>> +</div> -<br><br> +<br> /* TATTOOS */ @@ -1347,4 +1348,4 @@ Or a custom site: <<textbox "$scarTarget.local" $scarTarget.local "Body Modifica <<goto "Body Modification">> <</link>> with $scarDesign.local on the $scarTarget.local<<if $activeSlave.scar[$scarTarget.local]>>, adding to the scars that are already there?<<else>>.<</if>> -<</if>> \ No newline at end of file +<</if>> diff --git a/src/uncategorized/costsWidgets.tw b/src/uncategorized/costsWidgets.tw index a0429d5e60b72489e94ce9ac39285835cdbceee3..770bc699e2edf4af6fb754685524511bb2794c50 100644 --- a/src/uncategorized/costsWidgets.tw +++ b/src/uncategorized/costsWidgets.tw @@ -229,7 +229,7 @@ @@.yellowgreen;<<print cashFormat(50)>>@@ <<set _individualCosts += 50>> <<elseif !canSeePerfectly($args[0])>> - <<if getBestVision($args[0] < 2)>> + <<if (getBestVision($args[0]) < 2)>> <br> <i>Increased living expenses due to poor vision:</i> <<else>> <br> <i>Increased living expenses due to blurred vision:</i> diff --git a/src/uncategorized/longSlaveDescription.tw b/src/uncategorized/longSlaveDescription.tw index d21f6e7bf2129cd3c13144cb61eeefa25e23e604..f8479dde9a96ec616ffd7c69d74b851f12e624ef 100644 --- a/src/uncategorized/longSlaveDescription.tw +++ b/src/uncategorized/longSlaveDescription.tw @@ -320,18 +320,17 @@ is <<set _nameloss = 1>> <</if>> <<elseif $activeSlave.slaveSurname != $activeSlave.birthSurname>> - <<if $activeSlave.slaveSurname === 0>> - $He once had a surname; - <<if $activeSlave.birthSurname === "">> - whatever it was, however, has been lost forever. - <<set _nameloss = 1>> - <</if>> - <<else>> + <<if $activeSlave.slaveSurname === 0 && $activeSlave.birthSurname === "">> + $He once had a surname; whatever it was, however, has been lost forever. + <<set _nameloss = 1>> + <<elseif $activeSlave.slaveSurname !== 0>> $activeSlave.slaveSurname is not $his original surname; <<if $activeSlave.birthSurname === "">> whatever it was, however, has been lost forever. <<set _nameloss = 1>> <</if>> + <<else>> + <<set _nameloss = 1>> <</if>> <</if>> <<if $activeSlave.birthName !== "" || $activeSlave.birthSurname !== "">> diff --git a/src/uncategorized/main.tw b/src/uncategorized/main.tw index ad81505f2668e4033bfa3b92e83b8e4f21cc1f90..972c677c548e5442d1d15bb9acc821f160d2587a 100644 --- a/src/uncategorized/main.tw +++ b/src/uncategorized/main.tw @@ -1,7 +1,9 @@ :: Main [nobr] <<if $releaseID >= 1000 || ["0.9", "0.8", "0.7", "0.6"].includes($ver)>> - <<if $releaseID >= 1057>> + <<if $releaseID >= 1059>> + <<elseif $releaseID < 1059>> + ''@@.red;INCOMPATIBILITY WARNING:@@'' your saved game was created using version $ver build $releaseID. As the side bar may have become nonfunctional, here is [[backwards compatibility|Backwards Compatibility]]. <<elseif $releaseID < 1057>> ''@@.red;MAJOR INCOMPATIBILITY WARNING:@@'' your saved game was created using version $ver build $releaseID. Due to overwhleming changes to the player object, you must run [[backwards compatibility|Backwards Compatibility]]. <<elseif $releaseID < 1050 && ndef $SecExp || ndef $secExpEnabled>> diff --git a/src/uncategorized/newGamePlus.tw b/src/uncategorized/newGamePlus.tw index 25f6e1ba852d22febeef056df1eb6142bb1b93ba..7d042a64219b2b0f02049ba593764c8e466edd07 100644 --- a/src/uncategorized/newGamePlus.tw +++ b/src/uncategorized/newGamePlus.tw @@ -53,4 +53,5 @@ You <<if $cash >= _fee>>have<<else>>lack<</if>> the funds to bring more than $sl Select up to $slavesToImportMax slaves to be imported into a new game and then click [[here.|init][$saveImported = 1,$oldCareer = "undefined",$slavesToImport = 0]] +<br> <<print App.UI.SlaveList.listNGPSlaves()>> diff --git a/src/uncategorized/remoteSurgery.tw b/src/uncategorized/remoteSurgery.tw index 0cd8d6f7f82b8f77a57cccb050ab6ae91ab3c16e..cbad7f9fcb7787cc7ded0958d69ec7b739434e5e 100644 --- a/src/uncategorized/remoteSurgery.tw +++ b/src/uncategorized/remoteSurgery.tw @@ -19,8 +19,9 @@ <h1>The Remote Surgery</h1> -//$activeSlave.slaveName is lying strapped down on the table in your <<if $surgeryUpgrade == 1>>heavily upgraded and customized remote surgery.<<else>>remote surgery.<</if>> The surgical equipment reads <<if $activeSlave.health < -20>>@@.red;SLAVE UNHEALTHY, SURGERY NOT RECOMMENDED.@@<<elseif $activeSlave.health <= 20>>@@.yellow;SLAVE HEALTHY, SURGERY SAFE.@@<<else>>@@.green;SLAVE HEALTHY, SURGERY ENCOURAGED.@@<</if>><<if $PC.skill.medicine >= 100>> The remote surgery mechanisms that allow a surgeon to be brought in by telepresence are inactive, and the autosurgery is ready for your control inputs. Surgery on your slaves is a challenge and a pleasure you wouldn't dream of sharing.<</if>>// -<br><br> +<div style="padding-bottom:2em"> + //$activeSlave.slaveName is lying strapped down on the table in your <<if $surgeryUpgrade == 1>>heavily upgraded and customized remote surgery.<<else>>remote surgery.<</if>> The surgical equipment reads <<if $activeSlave.health < -20>>@@.red;SLAVE UNHEALTHY, SURGERY NOT RECOMMENDED.@@<<elseif $activeSlave.health <= 20>>@@.yellow;SLAVE HEALTHY, SURGERY SAFE.@@<<else>>@@.green;SLAVE HEALTHY, SURGERY ENCOURAGED.@@<</if>><<if $PC.skill.medicine >= 100>> The remote surgery mechanisms that allow a surgeon to be brought in by telepresence are inactive, and the autosurgery is ready for your control inputs. Surgery on your slaves is a challenge and a pleasure you wouldn't dream of sharing.<</if>>// +</div> /* 000-250-006 */ <<if $seeImages == 1>> @@ -32,519 +33,530 @@ <</if>> /* 000-250-006 */ -<<if $activeSlave.indentureRestrictions >= 1>> - @@.yellow;This slave is subject to a restrictive indenture which forbids many invasive surgeries.@@ - <br><br> -<</if>> - -Work on $his face: -<br> - -$His $activeSlave.faceShape face is -<<if $activeSlave.face < -95>> - very ugly. -<<elseif $activeSlave.face < -40>> - ugly. -<<elseif $activeSlave.face < -10>> - unattractive. -<<elseif ($activeSlave.face <= 10)>> - quite average. -<<elseif ($activeSlave.face <= 40)>> - attractive. -<<elseif ($activeSlave.face <= 95)>> - beautiful. -<<elseif ($activeSlave.face > 95)>> - very beautiful. -<</if>> - -<<if $activeSlave.faceImplant == 0>> - It is entirely natural. -<<elseif $activeSlave.faceImplant > 5>> - It has seen some work. -<<elseif $activeSlave.faceImplant > 30>> - It has been totally reworked. -<</if>> +<div> + <<if $activeSlave.indentureRestrictions >= 1>> + @@.yellow;This slave is subject to a restrictive indenture which forbids many invasive surgeries.@@ + <</if>> +</div> + +<h3>Work on $his face:</h3> +<div style="text-indent:2em"> + $His $activeSlave.faceShape face is + <<if $activeSlave.face < -95>> + very ugly. + <<elseif $activeSlave.face < -40>> + ugly. + <<elseif $activeSlave.face < -10>> + unattractive. + <<elseif ($activeSlave.face <= 10)>> + quite average. + <<elseif ($activeSlave.face <= 40)>> + attractive. + <<elseif ($activeSlave.face <= 95)>> + beautiful. + <<elseif ($activeSlave.face > 95)>> + very beautiful. + <</if>> + + <<if $activeSlave.faceImplant == 0>> + It is entirely natural. + <<elseif $activeSlave.faceImplant > 5>> + It has seen some work. + <<elseif $activeSlave.faceImplant > 30>> + It has been totally reworked. + <</if>> -<<if $activeSlave.indentureRestrictions >= 2>> - //$His indenture forbids elective surgery// -<<elseif $activeSlave.faceImplant > 95>> - //$His face cannot sustain further cosmetic surgery// -<<else>> - <<set _artificiality = 25-5*Math.trunc($PC.skill.medicine/50)-5*$surgeryUpgrade>> - //Facial surgery can either rework it and improve its attractiveness, or simply make it more attractive. No facial surgery is perfect and each surgery will make it look less natural. - <<if $PC.skill.medicine >= 100 && $surgeryUpgrade>> - Your surgical skills and the advanced surgical suite will minimize this effect as much as possible. - <<elseif $PC.skill.medicine >= 100>> - Your surgical skills will reduce this effect. - <<elseif $surgeryUpgrade>> - The advanced surgical suite will reduce this effect. - <</if>> - <<if $activeSlave.faceImplant+_artificiality > 95>> - @@.yellow;<<if $activeSlave.faceImplant != 0>>Further f<<else>>F<</if>>acial surgery will create a severe uncanny valley effect.@@ - <<elseif $activeSlave.faceImplant+_artificiality > 60 && $activeSlave.faceImplant <= 60>> - @@.yellow;<<if $activeSlave.faceImplant != 0>>Further f<<else>>F<</if>>acial surgery will be extremely obvious.@@ - <<elseif $activeSlave.faceImplant+_artificiality > 30 && $activeSlave.faceImplant <= 30>> - @@.yellow;<<if $activeSlave.faceImplant != 0>>Further f<<else>>F<</if>>acial surgery will eliminate a natural appearance.@@ - <<elseif $activeSlave.faceImplant+_artificiality > 10 && $activeSlave.faceImplant <= 10>> - @@.yellow;<<if $activeSlave.faceImplant != 0>>Further f<<else>>F<</if>>acial surgery will disturb a perfectly natural appearance.@@ - <<else>> - A single facial surgery is not projected to significantly impact artificiality. - <</if>>// - <br> - <<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>> - <<if $activeSlave.faceShape == "masculine">> - [[Soften to androgynous|Surgery Degradation][$activeSlave.faceShape = "androgynous",$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] | + <<if $activeSlave.indentureRestrictions >= 2>> + //$His indenture forbids elective surgery// + <<elseif $activeSlave.faceImplant > 95>> + //$His face cannot sustain further cosmetic surgery// <<else>> - <<if $activeSlave.faceShape != "cute">> - [[Cute|Surgery Degradation][$activeSlave.faceShape = "cute",$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] | - <</if>> - <<if $activeSlave.faceShape != "exotic">> - [[Exotic|Surgery Degradation][$activeSlave.faceShape = "exotic",$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] | - <</if>> - <<if $activeSlave.faceShape != "sensual">> - [[Sensual|Surgery Degradation][$activeSlave.faceShape = "sensual",$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] | - <</if>> - <<if $activeSlave.faceShape != "androgynous">> - [[Androgynous|Surgery Degradation][$activeSlave.faceShape = "androgynous",$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] | + <<set _artificiality = 25-5*Math.trunc($PC.skill.medicine/50)-5*$surgeryUpgrade>> + //Facial surgery can either rework it and improve its attractiveness, or simply make it more attractive. No facial surgery is perfect and each surgery will make it look less natural. + <<if $PC.skill.medicine >= 100 && $surgeryUpgrade>> + Your surgical skills and the advanced surgical suite will minimize this effect as much as possible. + <<elseif $PC.skill.medicine >= 100>> + Your surgical skills will reduce this effect. + <<elseif $surgeryUpgrade>> + The advanced surgical suite will reduce this effect. + <</if>> + <<if $activeSlave.faceImplant+_artificiality > 95>> + @@.yellow;<<if $activeSlave.faceImplant != 0>>Further f<<else>>F<</if>>acial surgery will create a severe uncanny valley effect.@@ + <<elseif $activeSlave.faceImplant+_artificiality > 60 && $activeSlave.faceImplant <= 60>> + @@.yellow;<<if $activeSlave.faceImplant != 0>>Further f<<else>>F<</if>>acial surgery will be extremely obvious.@@ + <<elseif $activeSlave.faceImplant+_artificiality > 30 && $activeSlave.faceImplant <= 30>> + @@.yellow;<<if $activeSlave.faceImplant != 0>>Further f<<else>>F<</if>>acial surgery will eliminate a natural appearance.@@ + <<elseif $activeSlave.faceImplant+_artificiality > 10 && $activeSlave.faceImplant <= 10>> + @@.yellow;<<if $activeSlave.faceImplant != 0>>Further f<<else>>F<</if>>acial surgery will disturb a perfectly natural appearance.@@ <<else>> - [[Masculine|Surgery Degradation][$activeSlave.faceShape = "masculine",$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] | - <</if>> - <</if>> - [[Just improve attractiveness|Surgery Degradation][$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] - <<if ($activeSlave.ageImplant > 1)>> - <br> - //$He's had a multiple facelifts and other cosmetic procedures in an effort to preserve $his youth.// - <<elseif ($activeSlave.ageImplant > 0)>> - <br> - //$He's had a face lift and other minor cosmetic procedures to make $him look younger.// - <<elseif ($activeSlave.physicalAge >= 25) && ($activeSlave.visualAge >= 25)>> - <br> - //$He's old enough that a face lift and other minor cosmetic procedures could make $him look younger.// - [[Age lift|Surgery Degradation][$activeSlave.ageImplant = 1,$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "age"]] - <</if>> -<</if>> - -<br> -$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"]] + A single facial surgery is not projected to significantly impact artificiality. + <</if>>// + <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>> + <<if $activeSlave.faceShape == "masculine">> + [[Soften to androgynous|Surgery Degradation][$activeSlave.faceShape = "androgynous",$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] | + <<else>> + <<if $activeSlave.faceShape != "cute">> + [[Cute|Surgery Degradation][$activeSlave.faceShape = "cute",$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] | + <</if>> + <<if $activeSlave.faceShape != "exotic">> + [[Exotic|Surgery Degradation][$activeSlave.faceShape = "exotic",$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] | + <</if>> + <<if $activeSlave.faceShape != "sensual">> + [[Sensual|Surgery Degradation][$activeSlave.faceShape = "sensual",$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] | + <</if>> + <<if $activeSlave.faceShape != "androgynous">> + [[Androgynous|Surgery Degradation][$activeSlave.faceShape = "androgynous",$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] | + <<else>> + [[Masculine|Surgery Degradation][$activeSlave.faceShape = "masculine",$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] | + <</if>> + <</if>> + [[Just improve attractiveness|Surgery Degradation][$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health -= 10,$surgeryType = "face"]] + <div> + <<if ($activeSlave.ageImplant > 1)>> + //$He's had a multiple facelifts and other cosmetic procedures in an effort to preserve $his youth.// + <<elseif ($activeSlave.ageImplant > 0)>> + //$He's had a face lift and other minor cosmetic procedures to make $him look younger.// + <<elseif ($activeSlave.physicalAge >= 25) && ($activeSlave.visualAge >= 25)>> + //$He's old enough that a face lift and other minor cosmetic procedures could make $him look younger.// + [[Age lift|Surgery Degradation][$activeSlave.ageImplant = 1,$activeSlave.faceImplant = Math.clamp($activeSlave.faceImplant+_artificiality,0,100),cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "age"]] + <</if>> + </div> + </div> <</if>> -<</if>> +</div> -<<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 _n === 2>> + | [[Remove both eyes|Surgery Degradation][eyeSurgery($activeSlave, "both", "remove"), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $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"]] + /* 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>> - <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"]] + 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>> + <<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"]] + <<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)]] - <</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"]] +<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 $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 $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 != "cow horns">> - | [[Bovine horns|Surgery Degradation][$activeSlave.horn = "cow horns", $activeSlave.hornColor = "ivory", 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 != "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.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 != "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.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 != "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.lipsImplant != 0>> + <<if $activeSlave.indentureRestrictions < 2>> + | [[Remove lip implants|Surgery Degradation][surgeryAmp($activeSlave, "lips"), $surgeryType = "lips", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] + <</if>> <</if>> -<</if>> - -<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// + <<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>> +</div> + +/*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>> +</div> -<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>> - -<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>> - +</div> -<<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> +<h3>Work on $his chest:</h3> -Work on $his chest: - -<br> +/*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. @@ -557,1194 +569,1244 @@ Work on $his chest: <<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.@@ - <</if>> -<<else>> - no implants. -<</if>> +/*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>> -<<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(' | ')>> +</div> -<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. +<div style="text-indent:2em"> + <<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>> +</div> -<br><br> +<h3>Work on $his midriff:</h3> -Work on $his midriff: - -<<if $activeSlave.indentureRestrictions >= 2 && $activeSlave.weight > 30>> - <br> - //$His indenture forbids elective surgery// -<<elseif $activeSlave.weight > 30>> - <br> - <<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>> -<</if>> +</div> -<br> -$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>> +</div> + +/*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>> -<</if>> - -<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. - <</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"]] + //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"]] + //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>> - -<<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"]] - <</if>> -<</if>> - -<<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>> - -<br><br> - -Work on $his butt: -<br> -$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>> +</div> -<<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 +/*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>> - <<if $activeSlave.buttImplant > 8>> - hyper - <<elseif $activeSlave.buttImplant > 4>> - advanced + $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>> +</div> + +/*Csec*/ +<div style="text-indent:2em"> + <<if ($activeSlave.scar.hasOwnProperty("belly") && $activeSlave.scar.belly.hasOwnProperty("c-section"))>> + <<if $activeSlave.scar.belly["c-section"] > 0>> + $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>> +</div> + +<h3>Work on $his butt:</h3> + +/*Butt*/ +<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>> - <</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(' | ')>> - -<br><br> -Work on $his sex: - -<<if $activeSlave.vagina > -1>> -<br> -<<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>> - <<if $activeSlave.indentureRestrictions < 2>> - [[Apply clitoral reduction|Surgery Degradation][$activeSlave.clit = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "clitoral reduction"]] + butt + <<if $activeSlave.buttImplantType == 1>> + string + <<elseif $activeSlave.buttImplant >= 3>> + fillable <</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"]] + implants. + <<if $activeSlave.buttImplant > 3 && $activeSlave.buttImplantType == 1>> + @@.yellow;Large string based implants are a risk to a slave's health.@@ <</if>> <</if>> - <<if ($activeSlave.foreskin > 0) && $activeSlave.clit > 0>> - <<if $seeCircumcision == 1>> + + <<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> + +<h3>Work on $his sex:</h3> + +/*Female 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>> - | [[Remove clitoral hood|Surgery Degradation][$activeSlave.foreskin = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "circumcision"]] + [[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>> + <div style="text-indent:2em"> + <<if $activeSlave.dick == 0>> + $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>> + [[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>> + </div> <</if>> -<</if>> -<</if>> /*closes vag check */ +</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)>> - <br> - $He has not had $his first period. -<<elseif ($activeSlave.preg > -2) && ($activeSlave.preg < 1) && ($activeSlave.ovaries != 0 || $activeSlave.mpreg != 0)>> - <br> - $He has a working womb. -<<elseif ($activeSlave.preg <= -2) && ($activeSlave.ovaries != 0 || $activeSlave.mpreg != 0)>> - <br> - $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>> - <<if $activeSlave.ovaImplant != 0>> - <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>> - <<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 ($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.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. + <<if ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>> + <div style="text-indent:2em"> + <<if ($activeSlave.pubertyXX == 0)>> + $He has <<if ($activeSlave.eggType != "human")>><<print ($activeSlave.eggType)>><</if>> ovaries but has not had $his first period. <<else>> - [[Oophorectomy|Surgery Degradation][$activeSlave.ovaries = 0,$activeSlave.ovaImplant = 0,$activeSlave.wombImplant = "none",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ster"]] + $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>> - <<if $activeSlave.mpreg == 1>> - <<if $activeSlave.preg > 0>> - $His anal womb cannot be removed while $he is pregnant. + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.ovaImplant != 0>> + <<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>> - [[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 $fertilityImplant == 1>> + [[Install fertility implants|Surgery Degradation][$activeSlave.ovaImplant = "fertility",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ovaImplant added"]] + <</if>> + <<if $sympatheticOvaries == 1>> + [[Install sympathetic ovulation implants|Surgery Degradation][$activeSlave.ovaImplant = "sympathy",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "ovaImplant added"]] + <</if>> <</if>> - <</if>> - <</if>> + </div> - <<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. + <div style="text-indent:2em"> + <<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> + <<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 $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>> + </div> + + <<if $seeExtreme == 1 && $seeHyperPreg == 1 && $seePreg != 0 && $permaPregImplant == 1>> + <div style="text-indent:2em"> + <<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. + <div style="text-indent:4em"> + <<if $activeSlave.broodmother == 1 && $activeSlave.broodmotherFetuses == 1>> /*hack can be applied only one time, for type 1 broodmothers, and only if implant already present*/ + [[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>> + The implant firmware has already been adjusted. + <</if>> + </div> + <</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>> + </div> + <</if>> + <</if>> +</div> + +/*Sex description*/ +<div style="text-indent:2em"> + <<if ($activeSlave.dick == 0) && ($activeSlave.vagina == -1)>> + $He is a null, possessing neither penis nor vagina. + <<elseif ($activeSlave.dick != 0)>> + $He has + <<if ($seeCircumcision == 1)>> + <<if ($activeSlave.foreskin == 0)>> + a circumcised + <<elseif ($activeSlave.foreskin >= 1)>> + an uncircumcised <</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. + a + <</if>> + <<if ($activeSlave.vagina == -1)>> + penis. + <<elseif ($activeSlave.ovaries != 0)>> + penis and a + <<elseif ($activeSlave.vagina != -1)>> + penis and a<<if $activeSlave.genes == "XY">>n artificial<</if>> + <</if>> + <<elseif ($activeSlave.dick == 0)>> + $He has a + <</if>> + + <<if $activeSlave.vagina > -1>> + <<if $activeSlave.vagina == 0>> + virgin pussy. + <<elseif $activeSlave.vagina == 1>> + tight pussy. + <<elseif $activeSlave.vagina == 2>> + used pussy. + <<elseif $activeSlave.vagina == 3>> + loose pussy. + <<elseif $activeSlave.vagina == 10>> + ruined cunt. + <<else>> + gaping cunt. <</if>> <</if>> -<</if>> -<br> -<<if ($activeSlave.dick == 0) && ($activeSlave.vagina == -1)>> - $He is a null, possessing neither penis nor vagina. -<<elseif ($activeSlave.dick != 0)>> - $He has - <<if ($seeCircumcision == 1)>> - <<if ($activeSlave.foreskin == 0)>> - a circumcised - <<elseif ($activeSlave.foreskin >= 1)>> - an uncircumcised - <</if>> - <<else>> - a - <</if>> - <<if ($activeSlave.vagina == -1)>> - penis. - <<elseif ($activeSlave.ovaries != 0)>> - penis and a - <<elseif ($activeSlave.vagina != -1)>> - penis and a<<if $activeSlave.genes == "XY">>n artificial<</if>> + <<if ($activeSlave.dick != 0) && (($activeSlave.ovaries != 0) || ($activeSlave.vagina != -1))>> + It's possible to remove either and leave $him sexually functional. <</if>> -<<elseif ($activeSlave.dick == 0)>> - $He has a -<</if>> -<<if $activeSlave.vagina > -1>> - <<if $activeSlave.vagina == 0>> - virgin pussy. - <<elseif $activeSlave.vagina == 1>> - tight pussy. - <<elseif $activeSlave.vagina == 2>> - used pussy. - <<elseif $activeSlave.vagina == 3>> - loose pussy. - <<elseif $activeSlave.vagina == 10>> - ruined cunt. - <<else>> - gaping cunt. + <<if $activeSlave.vagina > -1>> + <<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> + | [[Remove pussy|Surgery Degradation][surgeryAmp($activeSlave, "vagina"), $surgeryType = "vaginaRemoval", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] <<if $activeSlave.ovaries == 1>>//This will remove $his ovaries as well//<</if>> + <</if>> <</if>> -<</if>> - -<<if ($activeSlave.dick != 0) && (($activeSlave.ovaries != 0) || ($activeSlave.vagina != -1))>> - It's possible to remove either and leave $him sexually functional. -<</if>> -<<if $activeSlave.vagina > -1>> <<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> - | [[Remove pussy|Surgery Degradation][surgeryAmp($activeSlave, "vagina"), $surgeryType = "vaginaRemoval", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] <<if $activeSlave.ovaries == 1>>//This will remove $his ovaries as well//<</if>> - <</if>> -<</if>> - -<<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> - <<if ($activeSlave.vagina == -1) && ($activeSlave.dick != 0)>> - | [[Convert genitalia to female|Surgery Degradation][$activeSlave.dick = 0,$activeSlave.dickAccessory = "none",$activeSlave.chastityPenis = 0,$activeSlave.dickTat = 0,$activeSlave.foreskin = 0,$activeSlave.scrotum = 0,$activeSlave.balls = 0,$activeSlave.ballType = "human",$activeSlave.vasectomy = 0,$activeSlave.vagina = 0,$activeSlave.preg = -2,$activeSlave.skill.vaginal = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $surgeryType = "mtf"]] - <</if>> - <<if ($activeSlave.vagina == -1) && ($activeSlave.dick == 0) && ($surgeryUpgrade == 1)>> - | [[Create a vagina|Surgery Degradation][$activeSlave.vagina = 0,$activeSlave.skill.vaginal = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $surgeryType = "ntf"]] - <</if>> - <<if ($activeSlave.dick > 0) && ($seeExtreme == 1)>> - | [[Remove penis|Surgery Degradation][surgeryAmp($activeSlave, "dick"), $surgeryType = "chop", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] - <</if>> - <<if ($activeSlave.foreskin > 0) && $activeSlave.dick > 0>> - <<if $activeSlave.indentureRestrictions < 2>> - <<if $seeCircumcision == 1>> - | [[Remove foreskin|Surgery Degradation][$activeSlave.foreskin = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "circumcision"]] - <</if>> - <<if $activeSlave.foreskin - $activeSlave.dick > 0>> - | [[Remove excess foreskin|Surgery Degradation][$activeSlave.foreskin = $activeSlave.dick,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "foreskinTuck"]] + <<if ($activeSlave.vagina == -1) && ($activeSlave.dick != 0)>> + | [[Convert genitalia to female|Surgery Degradation][$activeSlave.dick = 0,$activeSlave.dickAccessory = "none",$activeSlave.chastityPenis = 0,$activeSlave.dickTat = 0,$activeSlave.foreskin = 0,$activeSlave.scrotum = 0,$activeSlave.balls = 0,$activeSlave.ballType = "human",$activeSlave.vasectomy = 0,$activeSlave.vagina = 0,$activeSlave.preg = -2,$activeSlave.skill.vaginal = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $surgeryType = "mtf"]] + <</if>> + <<if ($activeSlave.vagina == -1) && ($activeSlave.dick == 0) && ($surgeryUpgrade == 1)>> + | [[Create a vagina|Surgery Degradation][$activeSlave.vagina = 0,$activeSlave.skill.vaginal = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $surgeryType = "ntf"]] + <</if>> + <<if ($activeSlave.dick > 0) && ($seeExtreme == 1)>> + | [[Remove penis|Surgery Degradation][surgeryAmp($activeSlave, "dick"), $surgeryType = "chop", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)]] + <</if>> + <<if ($activeSlave.foreskin > 0) && $activeSlave.dick > 0>> + <<if $activeSlave.indentureRestrictions < 2>> + <<if $seeCircumcision == 1>> + | [[Remove foreskin|Surgery Degradation][$activeSlave.foreskin = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "circumcision"]] + <</if>> + <<if $activeSlave.foreskin - $activeSlave.dick > 0>> + | [[Remove excess foreskin|Surgery Degradation][$activeSlave.foreskin = $activeSlave.dick,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "foreskinTuck"]] + <</if>> <</if>> <</if>> <</if>> -<</if>> - -<<if ($activeSlave.dick != 0) && ($activeSlave.vagina == -1) && ($surgeryUpgrade == 1)>> - <<if $activeSlave.indentureRestrictions < 1>> - | [[Create surgical hermaphrodite|Surgery Degradation][$activeSlave.vagina = 0,$activeSlave.skill.vaginal = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $surgeryType = "herm"]] - <</if>> -<</if>> - -<<if ($activeSlave.vagina > 3)>> - <br> - $His vagina could benefit from surgical repair. - [[Repair pussy|Surgery Degradation][$activeSlave.vagina = 3,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "vagina"]] //This will reduce $his vaginal skills// -<<elseif ($surgeryUpgrade == 1) && ($activeSlave.indentureRestrictions < 2)>> - <<if ($activeSlave.vagina > 1)>> - <br> - $His vaginal muscles could benefit from microsurgical rejuvenation. - [[Tighten pussy|Surgery Degradation][$activeSlave.vagina = 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "vagina"]] //This will reduce $his vaginal skills// - <<elseif ($activeSlave.vagina > 0)>> - <br> - $His pussy is as tight as a virgin's, and $his hymen could be restored. - [[Restore virginity|Surgery Degradation][$activeSlave.vagina = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "vagina"]] //This will reduce $his vaginal skills// - <</if>> -<</if>> -<<if ($activeSlave.balls > 0)>> - <<if ($activeSlave.balls == 1)>> - <br> - $His testicles are vestigial, but $he has balls. Technically. They are - <<elseif ($activeSlave.balls > 1)>> - <br> - $He has testicles - <</if>> - <<if ($activeSlave.scrotum > 0)>> - located in $his scrotum. - <br> - <<if $activeSlave.indentureRestrictions < 2>> - <<if $activeSlave.scrotum - $activeSlave.balls > 0>> - [[Remove excess scrotal skin|Surgery Degradation][$activeSlave.scrotum = $activeSlave.balls,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "scrotalTuck"]] - <<if $activeSlave.indentureRestrictions < 1>> | <</if>> - <</if>> - <</if>> + <<if ($activeSlave.dick != 0) && ($activeSlave.vagina == -1) && ($surgeryUpgrade == 1)>> <<if $activeSlave.indentureRestrictions < 1>> - [[Move them inside abdomen and remove scrotum|Surgery Degradation][$activeSlave.scrotum = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "relocate"]] - //This will have a negative impact on cum production// - <</if>> - <<else>> - <<if ($activeSlave.genes == "XY")>> - relocated inside $his abdomen, and $his scrotum has been removed. - <<else>> - implanted inside $his abdomen. + | [[Create surgical hermaphrodite|Surgery Degradation][$activeSlave.vagina = 0,$activeSlave.skill.vaginal = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $surgeryType = "herm"]] <</if>> <</if>> - <<if ($seeExtreme == 1)>> - <<if ($activeSlave.scrotum > 0)>> - | +</div> + +/*Extra sex surgery*/ +<div style="text-indent:2em"> + <<if ($activeSlave.vagina > 3)>> + $His vagina could benefit from surgical repair. + [[Repair pussy|Surgery Degradation][$activeSlave.vagina = 3,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "vagina"]] //This will reduce $his vaginal skills// + <<elseif ($surgeryUpgrade == 1) && ($activeSlave.indentureRestrictions < 2)>> + <<if ($activeSlave.vagina > 1)>> + $His vaginal muscles could benefit from microsurgical rejuvenation. + [[Tighten pussy|Surgery Degradation][$activeSlave.vagina = 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "vagina"]] //This will reduce $his vaginal skills// + <<elseif ($activeSlave.vagina > 0)>> + $His pussy is as tight as a virgin's, and $his hymen could be restored. + [[Restore virginity|Surgery Degradation][$activeSlave.vagina = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "vagina"]] //This will reduce $his vaginal skills// <</if>> - [[Geld|Surgery Degradation][$activeSlave.balls = 0,$activeSlave.ballType = "human",$activeSlave.scrotum = 0,$activeSlave.vasectomy = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $surgeryType = "geld"]] <</if>> - <<if $activeSlave.ballType != "sterile">> - <<if ($activeSlave.scrotum > 0)>> - | +</div> + +<div style="text-indent:2em"> + <<if ($activeSlave.balls > 0)>> + <<if ($activeSlave.balls == 1)>> + $His testicles are vestigial, but $he has balls. Technically. They are + <<elseif ($activeSlave.balls > 1)>> + $He has testicles <</if>> - [[Chemically castrate|Surgery Degradation][$activeSlave.ballType = "sterile",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "chem castrate"]] - <</if>> - <<if ($activeSlave.vasectomy == 1)>> - <br> - $He has had a vasectomy and shoots blanks when $he cums<<if $activeSlave.pubertyXY == 0 || $activeSlave.ballType == "sterile">>, or would, if $he were potent<</if>>. - [[Reverse vasectomy|Surgery Degradation][$activeSlave.vasectomy = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "vasectomy undo"]] - <<else>> - <br> - <<if $activeSlave.ballType == "sterile">> - $He has non-functional testicles. + <<if ($activeSlave.scrotum > 0)>> + located in $his scrotum. + <<if $activeSlave.indentureRestrictions < 2>> + <<if $activeSlave.scrotum - $activeSlave.balls > 0>> + [[Remove excess scrotal skin|Surgery Degradation][$activeSlave.scrotum = $activeSlave.balls,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "scrotalTuck"]] + <<if $activeSlave.indentureRestrictions < 1>> | <</if>> + <</if>> + <</if>> <<if $activeSlave.indentureRestrictions < 1>> - [[Clamp vas deferens|Surgery Degradation][$activeSlave.vasectomy = 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "vasectomy"]] + [[Move them inside abdomen and remove scrotum|Surgery Degradation][$activeSlave.scrotum = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "relocate"]] + //This will have a negative impact on cum production// <</if>> <<else>> - $He has working testicles<<if $activeSlave.pubertyXY == 0>>, though $he isn't potent<</if>>. - <<if $activeSlave.indentureRestrictions < 1>> - [[Clamp vas deferens to cull potency|Surgery Degradation][$activeSlave.vasectomy = 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "vasectomy"]] + <<if ($activeSlave.genes == "XY")>> + relocated inside $his abdomen, and $his scrotum has been removed. + <<else>> + implanted inside $his abdomen. <</if>> <</if>> - <</if>> -<</if>> - -<<if $activeSlave.prostate>> - <br> - $He has a <<if $activeSlave.prostate > 2>>hyperactive, ejaculation enhancing<<elseif $activeSlave.prostate > 1>>hyperactive<<else>>normal<</if>> prostate. - <<if $activeSlave.prostate >= 2 && $prostateImplants == 1>> - <<if $activeSlave.prostate < 3>> - <<if $activeSlave.indentureRestrictions < 2>> - [[Implant prostate with an ejaculation boosting implant|Surgery Degradation][$activeSlave.prostate = 3,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "ejaculation"]] //This will thin $his ejaculate but greatly increase its quantity// + <<if ($seeExtreme == 1)>> + <<if ($activeSlave.scrotum > 0)>> + | <</if>> + [[Geld|Surgery Degradation][$activeSlave.balls = 0,$activeSlave.ballType = "human",$activeSlave.scrotum = 0,$activeSlave.vasectomy = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $surgeryType = "geld"]] <</if>> - <<if $activeSlave.prostate == 3>> - | [[Remove ejaculation implant|Surgery Degradation][$activeSlave.prostate = 2,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "endejac"]] - <<elseif $activeSlave.prostate == 2>> - | [[Remove drug implant|Surgery Degradation][$activeSlave.prostate=1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType="endprecum"]] - <</if>> - <<else>> - <<if $activeSlave.prostate > 1>> - [[Remove drug implant|Surgery Degradation][$activeSlave.prostate=1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType="endprecum"]] + <<if $activeSlave.ballType != "sterile">> + <<if ($activeSlave.scrotum > 0)>> + | + <</if>> + [[Chemically castrate|Surgery Degradation][$activeSlave.ballType = "sterile",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "chem castrate"]] <</if>> - <<if $activeSlave.prostate < 2>> - <<if $activeSlave.indentureRestrictions < 2>> - | [[Implant slow-release productivity drugs|Surgery Degradation][$activeSlave.prostate=2,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health-=10,$surgeryType="precum"]] //This may cause some leaking// + <div style="text-indent:2em"> + <<if ($activeSlave.vasectomy == 1)>> + $He has had a vasectomy and shoots blanks when $he cums<<if $activeSlave.pubertyXY == 0 || $activeSlave.ballType == "sterile">>, or would, if $he were potent<</if>>. + [[Reverse vasectomy|Surgery Degradation][$activeSlave.vasectomy = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "vasectomy undo"]] + <<else>> + <<if $activeSlave.ballType == "sterile">> + $He has non-functional testicles. + <<if $activeSlave.indentureRestrictions < 1>> + [[Clamp vas deferens|Surgery Degradation][$activeSlave.vasectomy = 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "vasectomy"]] + <</if>> + <<else>> + $He has working testicles<<if $activeSlave.pubertyXY == 0>>, though $he isn't potent<</if>>. + <<if $activeSlave.indentureRestrictions < 1>> + [[Clamp vas deferens to cull potency|Surgery Degradation][$activeSlave.vasectomy = 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "vasectomy"]] + <</if>> + <</if>> + <</if>> + </div> + <</if>> +</div> + +/*Prostate*/ +<div style="text-indent:2em"> + <<if $activeSlave.prostate>> + $He has a <<if $activeSlave.prostate > 2>>hyperactive, ejaculation enhancing<<elseif $activeSlave.prostate > 1>>hyperactive<<else>>normal<</if>> prostate. + <<if $activeSlave.prostate >= 2 && $prostateImplants == 1>> + <<if $activeSlave.prostate < 3>> + <<if $activeSlave.indentureRestrictions < 2>> + [[Implant prostate with an ejaculation boosting implant|Surgery Degradation][$activeSlave.prostate = 3,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "ejaculation"]] //This will thin $his ejaculate but greatly increase its quantity// + <</if>> + <</if>> + <<if $activeSlave.prostate == 3>> + | [[Remove ejaculation implant|Surgery Degradation][$activeSlave.prostate = 2,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "endejac"]] + <<elseif $activeSlave.prostate == 2>> + | [[Remove drug implant|Surgery Degradation][$activeSlave.prostate=1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType="endprecum"]] + <</if>> + <<else>> + <<if $activeSlave.prostate > 1>> + [[Remove drug implant|Surgery Degradation][$activeSlave.prostate=1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType="endprecum"]] + <</if>> + <<if $activeSlave.prostate < 2>> + <<if $activeSlave.indentureRestrictions < 2>> + | [[Implant slow-release productivity drugs|Surgery Degradation][$activeSlave.prostate=2,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.health-=10,$surgeryType="precum"]] //This may cause some leaking// + <</if>> <</if>> <</if>> - <</if>> - <<if ($seeExtreme == 1)>> - <<if $activeSlave.indentureRestrictions < 1>> - | [[Remove prostate|Surgery Degradation][$activeSlave.prostate = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $surgeryType = "prostate"]] + <<if ($seeExtreme == 1)>> + <<if $activeSlave.indentureRestrictions < 1>> + | [[Remove prostate|Surgery Degradation][$activeSlave.prostate = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $surgeryType = "prostate"]] + <</if>> <</if>> <</if>> -<</if>> +</div> -<br><br> - -Work on $his asshole: -<br> -$He has -<<if $activeSlave.anus == 0>> - a virgin asshole. -<<elseif $activeSlave.anus == 1>> - a tight asshole. -<<elseif $activeSlave.anus == 2>> - a loose asshole. -<<elseif $activeSlave.anus == 3>> - a very loose asshole. -<<else>> - a permanently gaping asshole. -<</if>> -<<if ($activeSlave.anus > 3)>> - <br> - $His anal sphincter could benefit from surgical repair. - [[Repair asshole|Surgery Degradation][$activeSlave.anus = 3,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "anus"]] //This will reduce $his anal skills// -<<elseif ($surgeryUpgrade == 1) && ($activeSlave.indentureRestrictions < 2)>> - <<if ($activeSlave.anus > 1)>> - <br> - $His anal sphincter could benefit from microsurgical rejuvenation. - [[Tighten asshole|Surgery Degradation][$activeSlave.anus = 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "anus"]] //This will reduce $his anal skills// - <<elseif ($activeSlave.anus > 0)>> - <br> - $His butthole is fairly narrow, but could be tightened to virgin status. - [[Restore anal virginity|Surgery Degradation][$activeSlave.anus = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "anus"]] //This will reduce $his anal skills// +<h3>Work on $his asshole:</h3> + +/*Asshole*/ +<div style="text-indent:2em"> + $He has + <<if $activeSlave.anus == 0>> + a virgin asshole. + <<elseif $activeSlave.anus == 1>> + a tight asshole. + <<elseif $activeSlave.anus == 2>> + a loose asshole. + <<elseif $activeSlave.anus == 3>> + a very loose asshole. + <<else>> + a permanently gaping asshole. <</if>> -<</if>> +</div> -<br><br> +/*Pucker up*/ +<div style="text-indent:2em"> + <<if ($activeSlave.anus > 3)>> + $His anal sphincter could benefit from surgical repair. + [[Repair asshole|Surgery Degradation][$activeSlave.anus = 3,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "anus"]] //This will reduce $his anal skills// + <<elseif ($surgeryUpgrade == 1) && ($activeSlave.indentureRestrictions < 2)>> + <<if ($activeSlave.anus > 1)>> + $His anal sphincter could benefit from microsurgical rejuvenation. + [[Tighten asshole|Surgery Degradation][$activeSlave.anus = 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "anus"]] //This will reduce $his anal skills// + <<elseif ($activeSlave.anus > 0)>> + $His butthole is fairly narrow, but could be tightened to virgin status. + [[Restore anal virginity|Surgery Degradation][$activeSlave.anus = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "anus"]] //This will reduce $his anal skills// + <</if>> + <</if>> +</div> <<if $geneticMappingUpgrade >= 1>> - Apply a retro-virus treatment: - <br> + <h2>Apply a retro-virus treatment:</h2> <<if ($activeSlave.indentureRestrictions >= 1)>> - //Modification at a genetic level clearly violates $his indenture contract// + <div style="text-indent:2em"> + //Modification at a genetic level clearly violates $his indenture contract// + </div> <<elseif $activeSlave.health < 0>> - //$He's too unhealthy to undergo gene therapy// + <div style="text-indent:2em"> + //$He's too unhealthy to undergo gene therapy// + </div> <<else>> - Available treatments: - <<if $arcologies[0].childhoodFertilityInducedNCSResearch == 1>> - <br> - <<if $activeSlave.geneMods.NCS == 0>> - [[Induced NCS treatment|Surgery Degradation][$activeSlave.geneMods.NCS = 1,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 80, $activeSlave.chem += 40,$surgeryType = "retrograde virus injection NCS"]] //This will induce @@.orange;NCS@@ in $his genetic code// - <<else>> - //$He already has Induced @@.orange;NCS@@// + <h3>Available treatments:</h3> + + <div style="text-indent:2em"> + <<if $arcologies[0].childhoodFertilityInducedNCSResearch == 1>> + <<if $activeSlave.geneMods.NCS == 0>> + [[Induced NCS treatment|Surgery Degradation][$activeSlave.geneMods.NCS = 1,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 80, $activeSlave.chem += 40,$surgeryType = "retrograde virus injection NCS"]] //This will induce @@.orange;NCS@@ in $his genetic code// + <<else>> + //$He already has Induced @@.orange;NCS@@// + <</if>> <</if>> - <</if>> - <<if $RapidCellGrowthFormula == 1>> - <br> - <<if $activeSlave.geneMods.rapidCellGrowth == 0>> - [[Increased elasticity treatment|Surgery Degradation][$activeSlave.geneMods.rapidCellGrowth = 1,cashX(forceNeg($surgeryCost * 4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "elasticity treatment"]] //This will alter $his genetic code to encourage $his body to stretch// - <<else>> - //$He already has received the plasticity increasing elasticity treatment// - <</if>> - <</if>> - <<if $activeSlave.geneticQuirks.albinism == 2>> - <br> - [[Albinism prevention treatment|Surgery Degradation][$activeSlave.geneticQuirks.albinism = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.albinism == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Albinism activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.albinism = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] //Will not have an active effect// - | [[Albinism carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.albinism = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $geneticFlawLibrary == 1>> - <br> - [[Induced albinism treatment|Surgery Degradation][$activeSlave.geneticQuirks.albinism = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;albinism@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.androgyny == 2>> - <br> - [[Androgyny correction treatment|Surgery Degradation][$activeSlave.geneticQuirks.androgyny = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.androgyny == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Androgyny activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.androgyny = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Androgyny carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.androgyny = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $geneticFlawLibrary == 1>> - <br> - [[Induced androgyny treatment|Surgery Degradation][$activeSlave.geneticQuirks.androgyny = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;natural androgyny@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.dwarfism == 2>> - <br> - [[Dwarfism correction treatment|Surgery Degradation][$activeSlave.geneticQuirks.dwarfism = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.dwarfism == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Dwarfism activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.dwarfism = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Dwarfism carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.dwarfism = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $geneticFlawLibrary == 1>> - <br> - [[Induced dwarfism treatment|Surgery Degradation][$activeSlave.geneticQuirks.dwarfism = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;dwarfism@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.gigantism == 2>> - <br> - [[Gigantism correction treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantism = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.gigantism == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Gigantism activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantism = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Gigantism carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantism = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $geneticFlawLibrary == 1>> - <br> - [[Induced gigantism treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantism = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;gigantism@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.pFace == 2>> - <br> - [[Prevent passing of perfect faces|Surgery Degradation][$activeSlave.geneticQuirks.pFace = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <</if>> - <<if $activeSlave.geneticQuirks.uFace == 2>> - <br> - [[Prevent passing of hideous faces|Surgery Degradation][$activeSlave.geneticQuirks.uFace = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <</if>> - <<if $activeSlave.geneticQuirks.hyperFertility == 2>> - <br> - [[Correct genetic hyper fertility|Surgery Degradation][$activeSlave.geneticQuirks.hyperFertility = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.hyperFertility == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Hyper fertility activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.hyperFertility = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Hyper fertility carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.hyperFertility = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $geneticFlawLibrary == 1>> - <br> - [[Induced hyper fertility treatment|Surgery Degradation][$activeSlave.geneticQuirks.hyperFertility = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;inhumanly high fertility@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.fertility == 2>> - <br> - [[Correct heightened fertility|Surgery Degradation][$activeSlave.geneticQuirks.fertility = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.fertility == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Heightened fertility activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.fertility = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Heightened fertility carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.fertility = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $geneticFlawLibrary == 1>> - <br> - [[Induced heightened fertility treatment|Surgery Degradation][$activeSlave.geneticQuirks.fertility = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;heightened fertility@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.superfetation == 2>> - <br> - [[Correct ova release during pregnancy|Surgery Degradation][$activeSlave.geneticQuirks.superfetation = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.superfetation == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Superfetation activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.superfetation = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Superfetation carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.superfetation = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $geneticFlawLibrary == 1>> - <br> - [[Induced superfetation treatment|Surgery Degradation][$activeSlave.geneticQuirks.superfetation = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;superfetation@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.gigantomastia >= 2>> - <br> - [[Correct gigantomastia|Surgery Degradation][$activeSlave.geneticQuirks.gigantomastia = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.gigantomastia == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Gigantomastia activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantomastia = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Gigantomastia carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantomastia = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.gigantomastia == 0 && $geneticFlawLibrary == 1>> - <br> - [[Induced gigantomastia treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantomastia = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;gigantomastia@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.macromastia >= 2>> - <br> - [[Correct macromastia|Surgery Degradation][$activeSlave.geneticQuirks.macromastia = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.macromastia == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Macromastia activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.macromastia = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Macromastia carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.macromastia = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.macromastia == 0 && $geneticFlawLibrary == 1>> - <br> - [[Induced macromastia treatment|Surgery Degradation][$activeSlave.geneticQuirks.macromastia = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;macromastia@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.rearLipedema == 2>> - <br> - [[Correct lipedema|Surgery Degradation][$activeSlave.geneticQuirks.rearLipedema = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.rearLipedema == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Lipedema activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.rearLipedema = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Lipedema carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.rearLipedema = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $geneticFlawLibrary == 1>> - <br> - [[Induced lipedema treatment|Surgery Degradation][$activeSlave.geneticQuirks.rearLipedema = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;lipedema@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.wellHung == 2>> - <br> - [[Correct genetic predisposition for large genitals|Surgery Degradation][$activeSlave.geneticQuirks.wellHung = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.wellHung == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Enhanced penile development activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.wellHung = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Enhanced penile development carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.wellHung = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $geneticFlawLibrary == 1>> - <br> - [[Induced penile development treatment|Surgery Degradation][$activeSlave.geneticQuirks.wellHung = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;penile development@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.wGain == 2>> - <br> - [[Correct hyperleptinemia|Surgery Degradation][$activeSlave.geneticQuirks.wGain = 0, $activeSlave.weightDirection = 0, cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.wGain == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Hyperleptinemia activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.wGain = 2, $activeSlave.weightDirection = 1, cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Hyperleptinemia carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.wGain = 0, $activeSlave.weightDirection = 0, cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $geneticFlawLibrary == 1>> - <br> - [[Induced hyperleptinemia treatment|Surgery Degradation][$activeSlave.geneticQuirks.wGain = 2, $activeSlave.weightDirection = 1, cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;hyperleptinemia@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.wLoss == 2>> - <br> - [[Correct hypoleptinemia|Surgery Degradation][$activeSlave.geneticQuirks.wLoss = 0, $activeSlave.weightDirection = 0, cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.wLoss == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Hypoleptinemia activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.wLoss = 2, $activeSlave.weightDirection = -1, cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Hypoleptinemia carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.wLoss = 0, $activeSlave.weightDirection = 0, cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $geneticFlawLibrary == 1>> - <br> - [[Induced hypoleptinemia treatment|Surgery Degradation][$activeSlave.geneticQuirks.wLoss = 2, $activeSlave.weightDirection = -1, cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;hypoleptinemia@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.mGain == 2>> - <br> - [[Correct myotonic hypertrophy|Surgery Degradation][$activeSlave.geneticQuirks.mGain = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.mGain == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Myotonic hypertrophy activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.mGain = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Myotonic hypertrophy carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.mGain = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $geneticFlawLibrary == 1>> - <br> - [[Induced myotonic hypertrophy treatment|Surgery Degradation][$activeSlave.geneticQuirks.mGain = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;myotonic hypertrophy@@ in $his genetic code// - <</if>> - <<if $activeSlave.geneticQuirks.mLoss == 2>> - <br> - [[Correct myotonic dystrophy|Surgery Degradation][$activeSlave.geneticQuirks.mLoss = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $activeSlave.geneticQuirks.mLoss == 1 && $geneticMappingUpgrade >= 2>> - <br> - [[Myotonic dystrophy activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.mLoss = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - | [[Myotonic dystrophy carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.mLoss = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] - <<elseif $geneticFlawLibrary == 1>> - <br> - [[Induced myotonic dystrophy treatment|Surgery Degradation][$activeSlave.geneticQuirks.mLoss = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;myotonic dystrophy@@ in $his genetic code// - <</if>> - <</if>> - <br><br> -<</if>> + </div> + + <div style="text-indent:2em"> + <<if $RapidCellGrowthFormula == 1>> + <<if $activeSlave.geneMods.rapidCellGrowth == 0>> + [[Increased elasticity treatment|Surgery Degradation][$activeSlave.geneMods.rapidCellGrowth = 1,cashX(forceNeg($surgeryCost * 4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "elasticity treatment"]] //This will alter $his genetic code to encourage $his body to stretch// + <<else>> + //$He already has received the plasticity increasing elasticity treatment// + <</if>> + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.albinism == 2>> + [[Albinism prevention treatment|Surgery Degradation][$activeSlave.geneticQuirks.albinism = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.albinism == 1 && $geneticMappingUpgrade >= 2>> + [[Albinism activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.albinism = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] //Will not have an active effect// + | [[Albinism carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.albinism = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $geneticFlawLibrary == 1>> + [[Induced albinism treatment|Surgery Degradation][$activeSlave.geneticQuirks.albinism = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;albinism@@ in $his genetic code// + <</if>> + <<if $activeSlave.geneticQuirks.androgyny == 2>> + [[Androgyny correction treatment|Surgery Degradation][$activeSlave.geneticQuirks.androgyny = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.androgyny == 1 && $geneticMappingUpgrade >= 2>> + [[Androgyny activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.androgyny = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Androgyny carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.androgyny = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $geneticFlawLibrary == 1>> + [[Induced androgyny treatment|Surgery Degradation][$activeSlave.geneticQuirks.androgyny = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;natural androgyny@@ in $his genetic code// + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.dwarfism == 2>> + [[Dwarfism correction treatment|Surgery Degradation][$activeSlave.geneticQuirks.dwarfism = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.dwarfism == 1 && $geneticMappingUpgrade >= 2>> + [[Dwarfism activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.dwarfism = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Dwarfism carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.dwarfism = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $geneticFlawLibrary == 1>> + [[Induced dwarfism treatment|Surgery Degradation][$activeSlave.geneticQuirks.dwarfism = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;dwarfism@@ in $his genetic code// + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.gigantism == 2>> + [[Gigantism correction treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantism = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.gigantism == 1 && $geneticMappingUpgrade >= 2>> + [[Gigantism activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantism = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Gigantism carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantism = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $geneticFlawLibrary == 1>> + [[Induced gigantism treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantism = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;gigantism@@ in $his genetic code// + <</if>> + </div> -Deal with $his hair: + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.pFace == 2>> + [[Prevent passing of perfect faces|Surgery Degradation][$activeSlave.geneticQuirks.pFace = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <</if>> + <div> -<<set _pubertyAge = Math.min($activeSlave.pubertyAgeXX, $activeSlave.pubertyAgeXY)>> -<br> -<<if $activeSlave.bald == 0 && $activeSlave.hStyle != "bald">> - $He naturally grows $activeSlave.origHColor hair from $his head. - [["Surgically remove " + $his + " ability to grow hair"|Surgery Degradation][cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.bald = 1,$surgeryType = "hair removal"]] -<<else>> - $He is no longer capable of growing hair on $his head. -<</if>> -<br> -<<if ($activeSlave.eyebrowHStyle != "bald")>> - $He has $activeSlave.origHColor eyebrows. - [["Surgically remove " + $his + " ability to grow eyebrows"|Surgery Degradation][cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType = "eyebrow removal"]] -<<else>> - $He is no longer capable of growing eyebrow hair. -<</if>> -<br> -<<if ($activeSlave.underArmHStyle != "bald" && $activeSlave.underArmHStyle != "hairless") || ($activeSlave.pubicHStyle != "bald" && $activeSlave.pubicHStyle != "hairless")>> - $He <<if $activeSlave.physicalAge >= _pubertyAge>>naturally grows<<elseif $activeSlave.physicalAge >= _pubertyAge-1>>is beginning to grow<<else>>will someday grow<</if>> $activeSlave.origHColor body hair. - [["Surgically remove " + $his + " ability to grow body hair"|Surgery Degradation][cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType = "body hair removal"]] -<<else>> - $His $activeSlave.skin skin is silky smooth and hair free from $his neck to $his <<if !hasAnyLegs($activeSlave)>>hips<<else>>toes<</if>>. + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.uFace == 2>> + [[Prevent passing of hideous faces|Surgery Degradation][$activeSlave.geneticQuirks.uFace = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.hyperFertility == 2>> + [[Correct genetic hyper fertility|Surgery Degradation][$activeSlave.geneticQuirks.hyperFertility = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.hyperFertility == 1 && $geneticMappingUpgrade >= 2>> + [[Hyper fertility activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.hyperFertility = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Hyper fertility carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.hyperFertility = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $geneticFlawLibrary == 1>> + [[Induced hyper fertility treatment|Surgery Degradation][$activeSlave.geneticQuirks.hyperFertility = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;inhumanly high fertility@@ in $his genetic code// + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.fertility == 2>> + [[Correct heightened fertility|Surgery Degradation][$activeSlave.geneticQuirks.fertility = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.fertility == 1 && $geneticMappingUpgrade >= 2>> + [[Heightened fertility activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.fertility = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Heightened fertility carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.fertility = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $geneticFlawLibrary == 1>> + [[Induced heightened fertility treatment|Surgery Degradation][$activeSlave.geneticQuirks.fertility = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;heightened fertility@@ in $his genetic code// + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.superfetation == 2>> + [[Correct ova release during pregnancy|Surgery Degradation][$activeSlave.geneticQuirks.superfetation = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.superfetation == 1 && $geneticMappingUpgrade >= 2>> + [[Superfetation activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.superfetation = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Superfetation carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.superfetation = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $geneticFlawLibrary == 1>> + [[Induced superfetation treatment|Surgery Degradation][$activeSlave.geneticQuirks.superfetation = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;superfetation@@ in $his genetic code// + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.gigantomastia >= 2>> + [[Correct gigantomastia|Surgery Degradation][$activeSlave.geneticQuirks.gigantomastia = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.gigantomastia == 1 && $geneticMappingUpgrade >= 2>> + [[Gigantomastia activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantomastia = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Gigantomastia carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantomastia = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.gigantomastia == 0 && $geneticFlawLibrary == 1>> + [[Induced gigantomastia treatment|Surgery Degradation][$activeSlave.geneticQuirks.gigantomastia = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;gigantomastia@@ in $his genetic code// + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.macromastia >= 2>> + [[Correct macromastia|Surgery Degradation][$activeSlave.geneticQuirks.macromastia = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.macromastia == 1 && $geneticMappingUpgrade >= 2>> + [[Macromastia activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.macromastia = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Macromastia carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.macromastia = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.macromastia == 0 && $geneticFlawLibrary == 1>> + [[Induced macromastia treatment|Surgery Degradation][$activeSlave.geneticQuirks.macromastia = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;macromastia@@ in $his genetic code// + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.rearLipedema == 2>> + [[Correct lipedema|Surgery Degradation][$activeSlave.geneticQuirks.rearLipedema = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.rearLipedema == 1 && $geneticMappingUpgrade >= 2>> + [[Lipedema activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.rearLipedema = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Lipedema carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.rearLipedema = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $geneticFlawLibrary == 1>> + [[Induced lipedema treatment|Surgery Degradation][$activeSlave.geneticQuirks.rearLipedema = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;lipedema@@ in $his genetic code// + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.wellHung == 2>> + [[Correct genetic predisposition for large genitals|Surgery Degradation][$activeSlave.geneticQuirks.wellHung = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.wellHung == 1 && $geneticMappingUpgrade >= 2>> + [[Enhanced penile development activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.wellHung = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Enhanced penile development carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.wellHung = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $geneticFlawLibrary == 1>> + [[Induced penile development treatment|Surgery Degradation][$activeSlave.geneticQuirks.wellHung = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;penile development@@ in $his genetic code// + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.wGain == 2>> + [[Correct hyperleptinemia|Surgery Degradation][$activeSlave.geneticQuirks.wGain = 0, $activeSlave.weightDirection = 0, cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.wGain == 1 && $geneticMappingUpgrade >= 2>> + [[Hyperleptinemia activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.wGain = 2, $activeSlave.weightDirection = 1, cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Hyperleptinemia carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.wGain = 0, $activeSlave.weightDirection = 0, cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $geneticFlawLibrary == 1>> + [[Induced hyperleptinemia treatment|Surgery Degradation][$activeSlave.geneticQuirks.wGain = 2, $activeSlave.weightDirection = 1, cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;hyperleptinemia@@ in $his genetic code// + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.wLoss == 2>> + [[Correct hypoleptinemia|Surgery Degradation][$activeSlave.geneticQuirks.wLoss = 0, $activeSlave.weightDirection = 0, cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.wLoss == 1 && $geneticMappingUpgrade >= 2>> + [[Hypoleptinemia activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.wLoss = 2, $activeSlave.weightDirection = -1, cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Hypoleptinemia carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.wLoss = 0, $activeSlave.weightDirection = 0, cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $geneticFlawLibrary == 1>> + [[Induced hypoleptinemia treatment|Surgery Degradation][$activeSlave.geneticQuirks.wLoss = 2, $activeSlave.weightDirection = -1, cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;hypoleptinemia@@ in $his genetic code// + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.mGain == 2>> + [[Correct myotonic hypertrophy|Surgery Degradation][$activeSlave.geneticQuirks.mGain = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.mGain == 1 && $geneticMappingUpgrade >= 2>> + [[Myotonic hypertrophy activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.mGain = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Myotonic hypertrophy carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.mGain = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $geneticFlawLibrary == 1>> + [[Induced myotonic hypertrophy treatment|Surgery Degradation][$activeSlave.geneticQuirks.mGain = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;myotonic hypertrophy@@ in $his genetic code// + <</if>> + </div> + + <div style="text-indent:2em"> + <<if $activeSlave.geneticQuirks.mLoss == 2>> + [[Correct myotonic dystrophy|Surgery Degradation][$activeSlave.geneticQuirks.mLoss = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $activeSlave.geneticQuirks.mLoss == 1 && $geneticMappingUpgrade >= 2>> + [[Myotonic dystrophy activation treatment|Surgery Degradation][$activeSlave.geneticQuirks.mLoss = 2,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + | [[Myotonic dystrophy carrier corrective treatment|Surgery Degradation][$activeSlave.geneticQuirks.mLoss = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + <<elseif $geneticFlawLibrary == 1>> + [[Induced myotonic dystrophy treatment|Surgery Degradation][$activeSlave.geneticQuirks.mLoss = 2,cashX(forceNeg($surgeryCost*10), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 40,$surgeryType = "gene treatment"]] //This will induce @@.orange;myotonic dystrophy@@ in $his genetic code// + <</if>> + </div> + <</if>> <</if>> -<br><br> +<h3>Deal with $his hair:</h3> -Alter $his race: -<br> -<<if $activeSlave.indentureRestrictions < 1>> - $He is $activeSlave.race<<if $activeSlave.race != $activeSlave.origRace>>, but was originally $activeSlave.origRace<</if>>. Surgically alter $him to look more: - <<if $activeSlave.race != "white">> - [[White|Surgery Degradation][$activeSlave.race = "white", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | - <</if>> - <<if $activeSlave.race != "latina">> - [[Latina|Surgery Degradation][$activeSlave.race = "latina", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | - <</if>> - <<if $activeSlave.race != "black">> - [[Black|Surgery Degradation][$activeSlave.race = "black", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | - <</if>> - <<if $activeSlave.race != "asian">> - [[Asian|Surgery Degradation][$activeSlave.race = "asian", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | - <</if>> - <<if $activeSlave.race != "middle eastern">> - [[Middle Eastern|Surgery Degradation][$activeSlave.race = "middle eastern", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | - <</if>> - <<if $activeSlave.race != "indo-aryan">> - [[Indo-Aryan|Surgery Degradation][$activeSlave.race = "indo-aryan", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | - <</if>> - <<if $activeSlave.race != "pacific islander">> - [[Pacific Islander|Surgery Degradation][$activeSlave.race = "pacific islander", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | - <</if>> - <<if $activeSlave.race != "malay">> - [[Malay|Surgery Degradation][$activeSlave.race = "malay", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | - <</if>> - <<if $activeSlave.race != "amerindian">> - [[Amerindian|Surgery Degradation][$activeSlave.race = "amerindian", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | - <</if>> - <<if $activeSlave.race != "southern european">> - [[Southern European|Surgery Degradation][$activeSlave.race = "southern european", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | - <</if>> - <<if $activeSlave.race != "semitic">> - [[Semitic|Surgery Degradation][$activeSlave.race = "semitic", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | +/*Main Hair*/ +<div style="text-indent:2em"> + <<set _pubertyAge = Math.min($activeSlave.pubertyAgeXX, $activeSlave.pubertyAgeXY)>> + <<if $activeSlave.bald == 0 && $activeSlave.hStyle != "bald">> + $He naturally grows $activeSlave.origHColor hair from $his head. + [["Surgically remove " + $his + " ability to grow hair"|Surgery Degradation][cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$activeSlave.bald = 1,$surgeryType = "hair removal"]] + <<else>> + $He is no longer capable of growing hair on $his head. <</if>> - <<if $activeSlave.race != "mixed race">> - [[Mixed Race|Surgery Degradation][$activeSlave.race = "mixed race", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] +</div> + +/*Eyebrows*/ +<div style="text-indent:2em"> + <<if ($activeSlave.eyebrowHStyle != "bald")>> + $He has $activeSlave.origHColor eyebrows. + [["Surgically remove " + $his + " ability to grow eyebrows"|Surgery Degradation][cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType = "eyebrow removal"]] + <<else>> + $He is no longer capable of growing eyebrow hair. <</if>> -<<else>> - //$His indenture forbids elective surgery// -<</if>> +</div> -<br><br> -Work on $him structurally: -<br> -<<if $activeSlave.indentureRestrictions < 1>> - <<if ($activeSlave.shoulders < -1)>> - $He has very narrow shoulders. - <<elseif ($activeSlave.shoulders < 0)>> - $He has narrow shoulders. - <<elseif ($activeSlave.shoulders < 1)>> - $He has average shoulders. - <<elseif ($activeSlave.shoulders < 2)>> - $He has broad shoulders. - <<elseif ($activeSlave.shoulders == 2)>> - $He has very broad shoulders. - <</if>> - <<if ($activeSlave.shouldersImplant == 0)>> - $He has a natural shoulder structure. - <<elseif ($activeSlave.shouldersImplant > 3)>> - $His shoulders have been completely rebuilt to be massively wider. - <<elseif ($activeSlave.shouldersImplant > 2)>> - $His shoulders have been heavily restructured to broaden them. - <<elseif ($activeSlave.shouldersImplant > 1)>> - $His shoulders have been repeatedly restructured to broaden them. - <<elseif ($activeSlave.shouldersImplant > 0)>> - $His shoulders have been restructured to broaden them. - <<elseif ($activeSlave.shouldersImplant < -3)>> - $His shoulders have been completely rebuilt to be massively narrower. - <<elseif ($activeSlave.shouldersImplant < -2)>> - $His shoulders have been heavily restructured to narrow them. - <<elseif ($activeSlave.shouldersImplant < -1)>> - $His shoulders have been repeatedly restructured to narrow them. - <<elseif ($activeSlave.shouldersImplant < 0)>> - $His shoulders have been restructured to narrow them. - <</if>> - <<if ($activeSlave.shouldersImplant == 0)>> - <<if $activeSlave.shoulders > -2 && $activeSlave.shoulders < 2>> - [[Restructure shoulders more broadly|Surgery Degradation][$activeSlave.shouldersImplant++,$activeSlave.shoulders++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] | [[Restructure shoulders more narrowly|Surgery Degradation][$activeSlave.shouldersImplant--,$activeSlave.shoulders--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] - <<elseif $activeSlave.shoulders <= -1>> - [[Restructure shoulders more broadly|Surgery Degradation][$activeSlave.shouldersImplant++,$activeSlave.shoulders++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] - <<elseif $activeSlave.shoulders >= 2>> - [[Restructure shoulders more narrowly|Surgery Degradation][$activeSlave.shouldersImplant--,$activeSlave.shoulders--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] - <</if>> - <<elseif $surgeryUpgrade == 1>> - <<if $activeSlave.shoulders > -2 && $activeSlave.shoulders < 2>> - [[Advanced shoulder broadening surgery|Surgery Degradation][$activeSlave.shouldersImplant++,$activeSlave.shoulders++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] | [[Advanced shoulder narrowing surgery|Surgery Degradation][$activeSlave.shouldersImplant--,$activeSlave.shoulders--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] - <<elseif $activeSlave.shoulders <= -1>> - [[Advanced shoulder broadening surgery|Surgery Degradation][$activeSlave.shouldersImplant++,$activeSlave.shoulders++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] - <<elseif $activeSlave.shoulders >= 2>> - [[Advanced shoulder narrowing surgery|Surgery Degradation][$activeSlave.shouldersImplant--,$activeSlave.shoulders--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] - <</if>> - <</if>> - <br> -<</if>> +/*Armpit hair*/ +<div style="text-indent:2em"> + <<if ($activeSlave.underArmHStyle != "bald" && $activeSlave.underArmHStyle != "hairless") || ($activeSlave.pubicHStyle != "bald" && $activeSlave.pubicHStyle != "hairless")>> + $He <<if $activeSlave.physicalAge >= _pubertyAge>>naturally grows<<elseif $activeSlave.physicalAge >= _pubertyAge-1>>is beginning to grow<<else>>will someday grow<</if>> $activeSlave.origHColor body hair. + [["Surgically remove " + $his + " ability to grow body hair"|Surgery Degradation][cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$surgeryType = "body hair removal"]] + <<else>> + $His $activeSlave.skin skin is silky smooth and hair free from $his neck to $his <<if !hasAnyLegs($activeSlave)>>hips<<else>>toes<</if>>. + <</if>> +</div> -<<if $activeSlave.indentureRestrictions < 1>> - <<if ($activeSlave.hips < -1)>> - $He has very narrow hips. - <<elseif ($activeSlave.hips < 0)>> - $He has narrow hips. - <<elseif ($activeSlave.hips < 1)>> - $He has average hips. - <<elseif ($activeSlave.hips < 2)>> - $He has broad hips. - <<elseif ($activeSlave.hips < 3)>> - $He has very broad hips. - <<elseif ($activeSlave.hips == 3)>> - $He has doorway-jamming hips. - <</if>> - <<if ($activeSlave.hipsImplant == 0)>> - They have not been altered. - <<elseif ($activeSlave.hipsImplant > 3)>> - $His pelvis has been completely rebuilt to be massively wider. - <<elseif ($activeSlave.hipsImplant > 2)>> - $His pelvis has been heavily broadened. - <<elseif ($activeSlave.hipsImplant > 1)>> - $His pelvis has been repeatedly broadened. - <<elseif ($activeSlave.hipsImplant > 0)>> - $His pelvis has been broadened. - <<elseif ($activeSlave.hipsImplant < -3)>> - $His pelvis has been completely rebuilt to be massively narrower. - <<elseif ($activeSlave.hipsImplant < -2)>> - $His pelvis has heavily narrowed. - <<elseif ($activeSlave.hipsImplant < -1)>> - $His pelvis has been repeatedly narrowed. - <<elseif ($activeSlave.hipsImplant < 0)>> - $His pelvis has been narrowed. - <</if>> - <<if ($activeSlave.hipsImplant == 0)>> - <<if $activeSlave.hips > -2 && $activeSlave.hips < 3 && $surgeryUpgrade == 1>> - [[Broaden pelvis|Surgery Degradation][$activeSlave.hipsImplant++,$activeSlave.hips++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] | [[Narrow pelvis|Surgery Degradation][$activeSlave.hipsImplant--,$activeSlave.hips--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] - <<elseif $activeSlave.hips > -2 && $activeSlave.hips < 2>> - [[Broaden pelvis|Surgery Degradation][$activeSlave.hipsImplant++,$activeSlave.hips++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] | [[Narrow pelvis|Surgery Degradation][$activeSlave.hipsImplant--,$activeSlave.hips--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] - <<elseif $activeSlave.hips <= -1>> - [[Broaden pelvis|Surgery Degradation][$activeSlave.hipsImplant++,$activeSlave.hips++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] - <<elseif $activeSlave.hips >= 2>> - [[Narrow pelvis|Surgery Degradation][$activeSlave.hipsImplant--,$activeSlave.hips--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] - <</if>> - <<elseif $surgeryUpgrade == 1>> - <<if $activeSlave.hips > -2 && $activeSlave.hips < 3>> - [[Advanced pelvis broadening|Surgery Degradation][$activeSlave.hipsImplant++,$activeSlave.hips++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] | [[Advanced pelvis narrowing|Surgery Degradation][$activeSlave.hipsImplant--,$activeSlave.hips--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] - <<elseif $activeSlave.hips <= -1>> - [[Advanced pelvis broadening|Surgery Degradation][$activeSlave.hipsImplant++,$activeSlave.hips++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] - <<elseif $activeSlave.hips >= 3>> - [[Advanced pelvis narrowing|Surgery Degradation][$activeSlave.hipsImplant--,$activeSlave.hips--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] - <</if>> - <</if>> - <br> -<</if>> +<h3>Alter $his race:</h3> -<<if hasAllNaturalLimbs($activeSlave)>> - <<if ($activeSlave.heightImplant == 0)>> - $He has normal femurs and humeri. - <<elseif ($activeSlave.heightImplant > 0)>> - $His femurs, humeri, and other major bones have been lengthened. - <<elseif ($activeSlave.heightImplant < 0)>> - $His femurs, humeri, and other major bones have been shortened. - <</if>> - <<if ($activeSlave.heightImplant == 0)>> - <<if $activeSlave.indentureRestrictions < 1>> - [[Lengthen major bones|Surgery Degradation][$activeSlave.heightImplant = 1,$activeSlave.height += 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "height"]] | [[Shorten major bones|Surgery Degradation][$activeSlave.heightImplant = -1,$activeSlave.height -= 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "height"]] +/*Race*/ +<div style="text-indent:2em"> + <<if $activeSlave.indentureRestrictions < 1>> + $He is $activeSlave.race<<if $activeSlave.race != $activeSlave.origRace>>, but was originally $activeSlave.origRace<</if>>. Surgically alter $him to look more: + <<if $activeSlave.race != "white">> + [[White|Surgery Degradation][$activeSlave.race = "white", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | <</if>> - <<elseif ($activeSlave.height < (Height.mean($activeSlave)+15)) && ($activeSlave.height >= (Height.mean($activeSlave)-15)) && ($surgeryUpgrade == 1)>> - <<if $activeSlave.indentureRestrictions < 1>> - [[Advanced height gain surgery|Surgery Degradation][$activeSlave.heightImplant = 1,$activeSlave.height += 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "height"]] | [[Advanced height reduction surgery|Surgery Degradation][$activeSlave.heightImplant = -1,$activeSlave.height -= 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "height"]] + <<if $activeSlave.race != "latina">> + [[Latina|Surgery Degradation][$activeSlave.race = "latina", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | <</if>> - <<elseif ($activeSlave.height < (Height.mean($activeSlave)+15)) && ($surgeryUpgrade == 1)>> - <<if $activeSlave.indentureRestrictions < 1>> - [[Advanced height gain surgery|Surgery Degradation][$activeSlave.heightImplant = 1,$activeSlave.height += 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "height"]] + <<if $activeSlave.race != "black">> + [[Black|Surgery Degradation][$activeSlave.race = "black", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | <</if>> - <<elseif ($activeSlave.height >= (Height.mean($activeSlave)-15)) && ($surgeryUpgrade == 1)>> - <<if $activeSlave.indentureRestrictions < 1>> - [[Advanced height reduction surgery|Surgery Degradation][$activeSlave.heightImplant = -1,$activeSlave.height -= 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "height"]] + <<if $activeSlave.race != "asian">> + [[Asian|Surgery Degradation][$activeSlave.race = "asian", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | <</if>> + <<if $activeSlave.race != "middle eastern">> + [[Middle Eastern|Surgery Degradation][$activeSlave.race = "middle eastern", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | + <</if>> + <<if $activeSlave.race != "indo-aryan">> + [[Indo-Aryan|Surgery Degradation][$activeSlave.race = "indo-aryan", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | + <</if>> + <<if $activeSlave.race != "pacific islander">> + [[Pacific Islander|Surgery Degradation][$activeSlave.race = "pacific islander", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | + <</if>> + <<if $activeSlave.race != "malay">> + [[Malay|Surgery Degradation][$activeSlave.race = "malay", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | + <</if>> + <<if $activeSlave.race != "amerindian">> + [[Amerindian|Surgery Degradation][$activeSlave.race = "amerindian", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | + <</if>> + <<if $activeSlave.race != "southern european">> + [[Southern European|Surgery Degradation][$activeSlave.race = "southern european", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | + <</if>> + <<if $activeSlave.race != "semitic">> + [[Semitic|Surgery Degradation][$activeSlave.race = "semitic", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] | + <</if>> + <<if $activeSlave.race != "mixed race">> + [[Mixed Race|Surgery Degradation][$activeSlave.race = "mixed race", $activeSlave.skin = randomRaceSkin($activeSlave.race), $activeSlave.hColor = randomRaceHair($activeSlave.race), setEyeColor($activeSlave, randomRaceEye($activeSlave.race)), cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "race"]] + <</if>> + <<else>> + //$His indenture forbids elective surgery// <</if>> - <br> - <<if ($activeSlave.heels == 0) && hasAnyNaturalLegs($activeSlave)>> - $He has healthy calves. - <<elseif ($activeSlave.heels == 1) && hasAnyNaturalLegs($activeSlave)>> - $His calves have been altered so that $he cannot walk in anything but very high heels. - <</if>> - <<if ($activeSlave.heels == 0) && hasAnyNaturalLegs($activeSlave) && ($seeExtreme == 1)>> - <<if $activeSlave.indentureRestrictions < 1>> - [[Shorten tendons|Surgery Degradation][$activeSlave.heels = 1,$activeSlave.shoes = "heels",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "heels"]] //Prevents $him from walking in anything but very high heels// +</div> + +<h3>Work on $him structurally:</h3> + +/*Shoulder bones*/ +<div style="text-indent:2em"> + <<if $activeSlave.indentureRestrictions < 1>> + <<if ($activeSlave.shoulders < -1)>> + $He has very narrow shoulders. + <<elseif ($activeSlave.shoulders < 0)>> + $He has narrow shoulders. + <<elseif ($activeSlave.shoulders < 1)>> + $He has average shoulders. + <<elseif ($activeSlave.shoulders < 2)>> + $He has broad shoulders. + <<elseif ($activeSlave.shoulders == 2)>> + $He has very broad shoulders. + <</if>> + <<if ($activeSlave.shouldersImplant == 0)>> + $He has a natural shoulder structure. + <<elseif ($activeSlave.shouldersImplant > 3)>> + $His shoulders have been completely rebuilt to be massively wider. + <<elseif ($activeSlave.shouldersImplant > 2)>> + $His shoulders have been heavily restructured to broaden them. + <<elseif ($activeSlave.shouldersImplant > 1)>> + $His shoulders have been repeatedly restructured to broaden them. + <<elseif ($activeSlave.shouldersImplant > 0)>> + $His shoulders have been restructured to broaden them. + <<elseif ($activeSlave.shouldersImplant < -3)>> + $His shoulders have been completely rebuilt to be massively narrower. + <<elseif ($activeSlave.shouldersImplant < -2)>> + $His shoulders have been heavily restructured to narrow them. + <<elseif ($activeSlave.shouldersImplant < -1)>> + $His shoulders have been repeatedly restructured to narrow them. + <<elseif ($activeSlave.shouldersImplant < 0)>> + $His shoulders have been restructured to narrow them. + <</if>> + <<if ($activeSlave.shouldersImplant == 0)>> + <<if $activeSlave.shoulders > -2 && $activeSlave.shoulders < 2>> + [[Restructure shoulders more broadly|Surgery Degradation][$activeSlave.shouldersImplant++,$activeSlave.shoulders++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] | [[Restructure shoulders more narrowly|Surgery Degradation][$activeSlave.shouldersImplant--,$activeSlave.shoulders--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] + <<elseif $activeSlave.shoulders <= -1>> + [[Restructure shoulders more broadly|Surgery Degradation][$activeSlave.shouldersImplant++,$activeSlave.shoulders++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] + <<elseif $activeSlave.shoulders >= 2>> + [[Restructure shoulders more narrowly|Surgery Degradation][$activeSlave.shouldersImplant--,$activeSlave.shoulders--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] + <</if>> + <<elseif $surgeryUpgrade == 1>> + <<if $activeSlave.shoulders > -2 && $activeSlave.shoulders < 2>> + [[Advanced shoulder broadening surgery|Surgery Degradation][$activeSlave.shouldersImplant++,$activeSlave.shoulders++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] | [[Advanced shoulder narrowing surgery|Surgery Degradation][$activeSlave.shouldersImplant--,$activeSlave.shoulders--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] + <<elseif $activeSlave.shoulders <= -1>> + [[Advanced shoulder broadening surgery|Surgery Degradation][$activeSlave.shouldersImplant++,$activeSlave.shoulders++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] + <<elseif $activeSlave.shoulders >= 2>> + [[Advanced shoulder narrowing surgery|Surgery Degradation][$activeSlave.shouldersImplant--,$activeSlave.shoulders--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "shoulders"]] + <</if>> <</if>> <</if>> - <<if ($activeSlave.heels == 1)>> - [[Replace tendons|Surgery Degradation][$activeSlave.heels = 0,$activeSlave.shoes = "none",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "heelsRestoration"]] +</div> + +/*Hip bones*/ +<div style="text-indent:2em"> + <<if $activeSlave.indentureRestrictions < 1>> + <<if ($activeSlave.hips < -1)>> + $He has very narrow hips. + <<elseif ($activeSlave.hips < 0)>> + $He has narrow hips. + <<elseif ($activeSlave.hips < 1)>> + $He has average hips. + <<elseif ($activeSlave.hips < 2)>> + $He has broad hips. + <<elseif ($activeSlave.hips < 3)>> + $He has very broad hips. + <<elseif ($activeSlave.hips == 3)>> + $He has doorway-jamming hips. + <</if>> + <<if ($activeSlave.hipsImplant == 0)>> + They have not been altered. + <<elseif ($activeSlave.hipsImplant > 3)>> + $His pelvis has been completely rebuilt to be massively wider. + <<elseif ($activeSlave.hipsImplant > 2)>> + $His pelvis has been heavily broadened. + <<elseif ($activeSlave.hipsImplant > 1)>> + $His pelvis has been repeatedly broadened. + <<elseif ($activeSlave.hipsImplant > 0)>> + $His pelvis has been broadened. + <<elseif ($activeSlave.hipsImplant < -3)>> + $His pelvis has been completely rebuilt to be massively narrower. + <<elseif ($activeSlave.hipsImplant < -2)>> + $His pelvis has heavily narrowed. + <<elseif ($activeSlave.hipsImplant < -1)>> + $His pelvis has been repeatedly narrowed. + <<elseif ($activeSlave.hipsImplant < 0)>> + $His pelvis has been narrowed. + <</if>> + <<if ($activeSlave.hipsImplant == 0)>> + <<if $activeSlave.hips > -2 && $activeSlave.hips < 3 && $surgeryUpgrade == 1>> + [[Broaden pelvis|Surgery Degradation][$activeSlave.hipsImplant++,$activeSlave.hips++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] | [[Narrow pelvis|Surgery Degradation][$activeSlave.hipsImplant--,$activeSlave.hips--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] + <<elseif $activeSlave.hips > -2 && $activeSlave.hips < 2>> + [[Broaden pelvis|Surgery Degradation][$activeSlave.hipsImplant++,$activeSlave.hips++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] | [[Narrow pelvis|Surgery Degradation][$activeSlave.hipsImplant--,$activeSlave.hips--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] + <<elseif $activeSlave.hips <= -1>> + [[Broaden pelvis|Surgery Degradation][$activeSlave.hipsImplant++,$activeSlave.hips++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] + <<elseif $activeSlave.hips >= 2>> + [[Narrow pelvis|Surgery Degradation][$activeSlave.hipsImplant--,$activeSlave.hips--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] + <</if>> + <<elseif $surgeryUpgrade == 1>> + <<if $activeSlave.hips > -2 && $activeSlave.hips < 3>> + [[Advanced pelvis broadening|Surgery Degradation][$activeSlave.hipsImplant++,$activeSlave.hips++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] | [[Advanced pelvis narrowing|Surgery Degradation][$activeSlave.hipsImplant--,$activeSlave.hips--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] + <<elseif $activeSlave.hips <= -1>> + [[Advanced pelvis broadening|Surgery Degradation][$activeSlave.hipsImplant++,$activeSlave.hips++,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] + <<elseif $activeSlave.hips >= 3>> + [[Advanced pelvis narrowing|Surgery Degradation][$activeSlave.hipsImplant--,$activeSlave.hips--,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "hips"]] + <</if>> + <</if>> <</if>> - <br> +</div> + +/*Tweak height*/ + +<<if hasAllNaturalLimbs($activeSlave)>> + <div style="text-indent:2em"> + <<if ($activeSlave.heightImplant == 0)>> + $He has normal femurs and humeri. + <<elseif ($activeSlave.heightImplant > 0)>> + $His femurs, humeri, and other major bones have been lengthened. + <<elseif ($activeSlave.heightImplant < 0)>> + $His femurs, humeri, and other major bones have been shortened. + <</if>> + <<if ($activeSlave.heightImplant == 0)>> + <<if $activeSlave.indentureRestrictions < 1>> + [[Lengthen major bones|Surgery Degradation][$activeSlave.heightImplant = 1,$activeSlave.height += 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "height"]] | [[Shorten major bones|Surgery Degradation][$activeSlave.heightImplant = -1,$activeSlave.height -= 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "height"]] + <</if>> + <<elseif ($activeSlave.height < (Height.mean($activeSlave)+15)) && ($activeSlave.height >= (Height.mean($activeSlave)-15)) && ($surgeryUpgrade == 1)>> + <<if $activeSlave.indentureRestrictions < 1>> + [[Advanced height gain surgery|Surgery Degradation][$activeSlave.heightImplant = 1,$activeSlave.height += 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "height"]] | [[Advanced height reduction surgery|Surgery Degradation][$activeSlave.heightImplant = -1,$activeSlave.height -= 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "height"]] + <</if>> + <<elseif ($activeSlave.height < (Height.mean($activeSlave)+15)) && ($surgeryUpgrade == 1)>> + <<if $activeSlave.indentureRestrictions < 1>> + [[Advanced height gain surgery|Surgery Degradation][$activeSlave.heightImplant = 1,$activeSlave.height += 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "height"]] + <</if>> + <<elseif ($activeSlave.height >= (Height.mean($activeSlave)-15)) && ($surgeryUpgrade == 1)>> + <<if $activeSlave.indentureRestrictions < 1>> + [[Advanced height reduction surgery|Surgery Degradation][$activeSlave.heightImplant = -1,$activeSlave.height -= 10,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 40,$surgeryType = "height"]] + <</if>> + <</if>> + </div> + + <div style="text-indent:2em"> + <<if ($activeSlave.heels == 0) && hasAnyNaturalLegs($activeSlave)>> + $He has healthy calves. + <<elseif ($activeSlave.heels == 1) && hasAnyNaturalLegs($activeSlave)>> + $His calves have been altered so that $he cannot walk in anything but very high heels. + <</if>> + <<if ($activeSlave.heels == 0) && hasAnyNaturalLegs($activeSlave) && ($seeExtreme == 1)>> + <<if $activeSlave.indentureRestrictions < 1>> + [[Shorten tendons|Surgery Degradation][$activeSlave.heels = 1,$activeSlave.shoes = "heels",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "heels"]] //Prevents $him from walking in anything but very high heels// + <</if>> + <</if>> + <<if ($activeSlave.heels == 1)>> + [[Replace tendons|Surgery Degradation][$activeSlave.heels = 0,$activeSlave.shoes = "none",cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10,$surgeryType = "heelsRestoration"]] + <</if>> + </div> <</if>> -<br> /* PROSTHETICS */ <<= App.Desc.limbs($activeSlave)>> <<if isAmputee($activeSlave)>> @@ -1754,146 +1816,157 @@ Work on $him structurally: $He has been implanted with an advanced PLimb interface. <</if>> <</if>> -<br> <<if $seeExtreme === 1 && $activeSlave.indentureRestrictions < 1 && hasAnyNaturalLimbs($activeSlave)>> <style> .container { display: grid; - grid-template-columns: 100px 100px 100px; + grid-template-columns: max-content 100px 100px; } </style> <<set _LA = 0, _RA = 0, _LL = 0, _RL = 0>> <div class="container"> <<if getLeftArmID($activeSlave) === 1>> - <div> Left arm:</div> + <div style="text-indent:2em">Left arm:</div> <div><label><<radiobutton "_LA" 0 checked>> Leave </label></div> <div><label><<radiobutton "_LA" 1>> Amputate </label></div> <</if>> <<if getRightArmID($activeSlave) === 1>> - <div> Right arm:</div> + <div style="text-indent:2em">Right arm:</div> <div><label><<radiobutton "_RA" 0 checked>> Leave </label></div> <div><label><<radiobutton "_RA" 1>> Amputate </label></div> <</if>> <<if getLeftLegID($activeSlave) === 1>> - <div> Left leg:</div> + <div style="text-indent:2em">Left leg:</div> <div><label><<radiobutton "_LL" 0 checked>> Leave </label></div> <div><label><<radiobutton "_LL" 1>> Amputate </label></div> <</if>> <<if getRightLegID($activeSlave) === 1>> - <div> Right leg:</div> + <div style="text-indent:2em">Right leg:</div> <div><label><<radiobutton "_RL" 0 checked>> Leave </label></div> <div><label><<radiobutton "_RL" 1>> Amputate </label></div> <</if>> </div> - - <<link "Amputate limb(s)">> - <<set _atleastOne = 0>> - /* temporary story variable */ - <<set $oldLimbs = App.Desc.limbChange().currentLimbs($activeSlave)>> - <<if _LA === 1>> - <<run removeLimbs($activeSlave, "left arm")>> - <<set _atleastOne++>> - <</if>> - <<if _RA === 1>> - <<run removeLimbs($activeSlave, "right arm")>> - <<set _atleastOne++>> - <</if>> - <<if _LL === 1>> - <<run removeLimbs($activeSlave, "left leg")>> - <<set _atleastOne++>> - <</if>> - <<if _RL === 1>> - <<run removeLimbs($activeSlave, "right leg")>> - <<set _atleastOne++>> - <</if>> - <<if _atleastOne>> - <<set $activeSlave.health -= _atleastOne * 10, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)>> - <<if !hasAnyArms($activeSlave)>> - <<set $activeSlave.rules.release = "restrictive">> - <</if>> - <<set $surgeryType = "amp">> - <<goto "Surgery Degradation">> - <<else>> - <<unset $oldLimbs>> - <</if>> - <</link>> //This will greatly restrict $him.// - <br> + <div style="text-indent:2em"> + <<link "Amputate limb(s)">> + <<set _atleastOne = 0>> + /* temporary story variable */ + <<set $oldLimbs = App.Desc.limbChange().currentLimbs($activeSlave)>> + <<if _LA === 1>> + <<run removeLimbs($activeSlave, "left arm")>> + <<set _atleastOne++>> + <</if>> + <<if _RA === 1>> + <<run removeLimbs($activeSlave, "right arm")>> + <<set _atleastOne++>> + <</if>> + <<if _LL === 1>> + <<run removeLimbs($activeSlave, "left leg")>> + <<set _atleastOne++>> + <</if>> + <<if _RL === 1>> + <<run removeLimbs($activeSlave, "right leg")>> + <<set _atleastOne++>> + <</if>> + <<if _atleastOne>> + <<set $activeSlave.health -= _atleastOne * 10, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)>> + <<if !hasAnyArms($activeSlave)>> + <<set $activeSlave.rules.release = "restrictive">> + <</if>> + <<set $surgeryType = "amp">> + <<goto "Surgery Degradation">> + <<else>> + <<unset $oldLimbs>> + <</if>> + <</link>> //This will greatly restrict $him.// + </div> <</if>> /* extreme toggle */ -<<if !hasAllNaturalLimbs($activeSlave) && $activeSlave.PLimb == 0>> - <<if isProstheticAvailable($activeSlave, "interfaceP1")>> - [[Install basic prosthetic interface|Surgery Degradation][$oldLimbs = App.Desc.limbChange().currentLimbs($activeSlave), $activeSlave.PLimb = 1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "PLimb interface"]] - <</if>> - <<if isProstheticAvailable($activeSlave, "interfaceP2")>> | - [[Install advanced prosthetic interface|Surgery Degradation][$oldLimbs = App.Desc.limbChange().currentLimbs($activeSlave), $activeSlave.PLimb = 2, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "PLimb interface"]] +<div style="text-indent:2em"> + <<if !hasAllNaturalLimbs($activeSlave) && $activeSlave.PLimb == 0>> + <<if isProstheticAvailable($activeSlave, "interfaceP1")>> + [[Install basic prosthetic interface|Surgery Degradation][$oldLimbs = App.Desc.limbChange().currentLimbs($activeSlave), $activeSlave.PLimb = 1, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "PLimb interface"]] + <</if>> + <<if isProstheticAvailable($activeSlave, "interfaceP2")>> | + [[Install advanced prosthetic interface|Surgery Degradation][$oldLimbs = App.Desc.limbChange().currentLimbs($activeSlave), $activeSlave.PLimb = 2, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20, $surgeryType = "PLimb interface"]] + <</if>> + <<elseif $activeSlave.PLimb == 1 && isProstheticAvailable($activeSlave, "interfaceP2")>> + [[Upgrade to advanced prosthetic interface|Surgery Degradation][$oldLimbs = App.Desc.limbChange().currentLimbs($activeSlave), $activeSlave.PLimb = 2, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "PLimb interface"]] <</if>> -<<elseif $activeSlave.PLimb == 1 && isProstheticAvailable($activeSlave, "interfaceP2")>> - [[Upgrade to advanced prosthetic interface|Surgery Degradation][$oldLimbs = App.Desc.limbChange().currentLimbs($activeSlave), $activeSlave.PLimb = 2, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 5, $surgeryType = "PLimb interface"]] -<</if>> +</div> -<br> -<<if $activeSlave.PTail == 1>> - $He has a neural interface allowing attachment of tails. -<<elseif isProstheticAvailable($activeSlave, "interfaceTail")>> - $He lacks a neural interface allowing attachment of tails. - [[Implant interface|Surgery Degradation][$activeSlave.PTail = 1, $activeSlave.tail = "none", $activeSlave.tailColor = "none", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "tailInterface"]] -<<else>> - $He lacks a neural interface allowing attachment of tails and you have none ready for $him. -<</if>> +<div style="text-indent:2em"> + <<if $activeSlave.PTail == 1>> + $He has a neural interface allowing attachment of tails. + <<elseif isProstheticAvailable($activeSlave, "interfaceTail")>> + $He lacks a neural interface allowing attachment of tails. + [[Implant interface|Surgery Degradation][$activeSlave.PTail = 1, $activeSlave.tail = "none", $activeSlave.tailColor = "none", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "tailInterface"]] + <<else>> + $He lacks a neural interface allowing attachment of tails and you have none ready for $him. + <</if>> +</div> +<div style="text-indent:2em"> + <<if $organFarmUpgrade >= 1>> /* ORGAN FARM */ + <<if $activeSlave.indentureRestrictions < 2>> + <<include "organFarmOptions">> + <</if>> + <</if>> /* CLOSES ORGAN FARM */ +</div> -<<if $organFarmUpgrade >= 1>> /* ORGAN FARM */ - <<if $activeSlave.indentureRestrictions < 2>> - <br><br> - <<include "organFarmOptions">> - <</if>> -<</if>> /* CLOSES ORGAN FARM */ +<h3>Perform more extreme surgery:</h3> -<br> -<<if $seeExtreme == 1>> - <<if $activeSlave.fuckdoll == 0>> - <br>$He is a normal sex slave, not a living sex toy. - <<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> - [[Encase in a Fuckdoll suit|Surgery Degradation][beginFuckdoll($activeSlave), $surgeryType = "fuckdoll"]] //This will greatly restrict $him// +/*Fuckdoll*/ +<div style="text-indent:2em"> + <<if $seeExtreme == 1>> + <<if $activeSlave.fuckdoll == 0>> + $He is a normal sex slave, not a living sex toy. + <<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> + [[Encase in a Fuckdoll suit|Surgery Degradation][beginFuckdoll($activeSlave), $surgeryType = "fuckdoll"]] //This will greatly restrict $him// + <</if>> + <<else>> + $He is encased in a Fuckdoll suit. [["Extract " + $him|Surgery Degradation][$activeSlave.fuckdoll = 0, $activeSlave.clothes = "no clothing", $activeSlave.shoes = "none", $surgeryType = "fuckdollExtraction"]] <</if>> - <<else>> - <br>$He is encased in a Fuckdoll suit. [["Extract " + $him|Surgery Degradation][$activeSlave.fuckdoll = 0, $activeSlave.clothes = "no clothing", $activeSlave.shoes = "none", $surgeryType = "fuckdollExtraction"]] <</if>> -<</if>> +</div> +/*Scorch mind*/ -<<if ($seeExtreme == 1)>> - <<if $activeSlave.fetish != "mindbroken">> - <br>$He is mentally competent. - <<elseif $activeSlave.fetish == "mindbroken">> - <br>$His mind is gone; $he has either been chemically lobotomized, or has lost $his mind due to extreme abuse. - <</if>> - <<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> +<div style="text-indent:2em"> + <<if ($seeExtreme == 1)>> <<if $activeSlave.fetish != "mindbroken">> - [[Chemically lobotomize|Surgery Degradation][$activeSlave.fetish = "mindbroken",$activeSlave.fetishKnown = 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "mindbreak"]] - //Warning: this is permanent and irreversible. It will destroy $his will and $his ability to remember anything but the simplest skills.// + $He is mentally competent. + <<elseif $activeSlave.fetish == "mindbroken">> + $His mind is gone; $he has either been chemically lobotomized, or has lost $his mind due to extreme abuse. + <</if>> + <<if $activeSlave.indentureRestrictions < 1 && ($activeSlave.breedingMark != 1 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>> + <<if $activeSlave.fetish != "mindbroken">> + [[Chemically lobotomize|Surgery Degradation][$activeSlave.fetish = "mindbroken",$activeSlave.fetishKnown = 1,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 20,$surgeryType = "mindbreak"]] + //Warning: this is permanent and irreversible. It will destroy $his will and $his ability to remember anything but the simplest skills.// + <</if>> <</if>> <</if>> -<</if>> +</div> -<<if $bodyswapAnnounced == 1 && $activeSlave.indenture < 0>> - <br> - <<if $activeSlave.bodySwap == 0>> - $He is in $his native body. - <<elseif $activeSlave.origBodyOwner != "">> - $He currently occupies <<print $activeSlave.origBodyOwner>>'s body. - <<else>> - $He is no longer in $his native body. - <</if>> - <<if $activeSlave.indenture == -1>> - [["Swap " + $his + " body with another of your stock"|Slave Slave Swap Workaround]] - <<else>> - //Indentured servants must remain in their own bodies.// +/*Bodyswap*/ +<div style="text-indent:2em"> + <<if $bodyswapAnnounced == 1 && $activeSlave.indenture < 0>> + <<if $activeSlave.bodySwap == 0>> + $He is in $his native body. + <<elseif $activeSlave.origBodyOwner != "">> + $He currently occupies <<print $activeSlave.origBodyOwner>>'s body. + <<else>> + $He is no longer in $his native body. + <</if>> + <<if $activeSlave.indenture == -1>> + [["Swap " + $his + " body with another of your stock"|Slave Slave Swap Workaround]] + <<else>> + //Indentured servants must remain in their own bodies.// + <</if>> + <<elseif $cheatMode == 1>> + [[Force enable bodyswapping|Remote Surgery][$bodyswapAnnounced = 1]] <</if>> -<<elseif $cheatMode == 1>> - <br>[[Force enable bodyswapping|Remote Surgery][$bodyswapAnnounced = 1]] -<</if>> +</div> diff --git a/src/uncategorized/saLiveWithHG.tw b/src/uncategorized/saLiveWithHG.tw index 5b24622594fefecc4cb348b886bcdacaeb541f9a..1425d998c355e3c3912617441ab8d834140e217c 100644 --- a/src/uncategorized/saLiveWithHG.tw +++ b/src/uncategorized/saLiveWithHG.tw @@ -825,7 +825,7 @@ and keeps $him working out. <</if>> <<elseif $slaves[$i].balls > 0 && $HeadGirl.fetish == "cumslut" && $HeadGirl.fetishKnown == 1 && $cumProDiet == 1>> - HeadGirl.slaveName loves cum, so _he2 + $HeadGirl.slaveName loves cum, so _he2 <<if $slaves[$i].diet != "cum production">> puts <<set $slaves[$i].diet = "cum production">> diff --git a/src/uncategorized/saLongTermEffects.tw b/src/uncategorized/saLongTermEffects.tw index 69ddc3c8570217c76c7c5f42c99e200618a7e611..ecc82ddd0392f3194188b4fb86fbe8a2cffb303f 100644 --- a/src/uncategorized/saLongTermEffects.tw +++ b/src/uncategorized/saLongTermEffects.tw @@ -1695,7 +1695,7 @@ <</if>> <<else>> successfully @@.green;increases $his attraction to girls@@ by pleasuring $him when $he's around them. - <<set $slaves[$i].attrXX += 7+$assistant+$assistant>> + <<set $slaves[$i].attrXX += 4+$assistant+$assistant>> <<if $slaves[$i].energy < 80>> This has the secondary effect of slightly @@.green;enhancing $his libido.@@ <<set $slaves[$i].energy++>> diff --git a/src/uncategorized/saRecruitGirls.tw b/src/uncategorized/saRecruitGirls.tw index 6c8246c9be47c6a91e87902829912bddfb7b4dc2..9bd82c96373b276eeea84fd69980e9474bf7627e 100644 --- a/src/uncategorized/saRecruitGirls.tw +++ b/src/uncategorized/saRecruitGirls.tw @@ -432,7 +432,7 @@ <<set _seed -= (6 - (6*$slaves[$i].skill.entertainment/100))>> <<set _seed -= (3 - $slaves[$i].face)>> <<if $slaves[$i].intelligence+$slaves[$i].intelligenceImplant < -15>> - <<set _seed = Math.min(_seed, (($slaves[$i].intelligence+$slaves[$i].intelligenceImplant)/10)>> + <<set _seed = Math.min(_seed, ($slaves[$i].intelligence+$slaves[$i].intelligenceImplant)/10)>> <</if>> <<if _seed < 0>> /*catches overload from very high entertainment*/ <<set $recruiterProgress += _seed/10>>