From 770993bfaf3ce3e081a9afa0e17781fedc01e5d6 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Fri, 16 Oct 2020 22:55:58 -0400 Subject: [PATCH] fixes --- src/npc/generate/newChildIntro.js | 12 +- src/npc/generate/newSlaveIntro.js | 1224 +++++++++++++++-------------- 2 files changed, 626 insertions(+), 610 deletions(-) diff --git a/src/npc/generate/newChildIntro.js b/src/npc/generate/newChildIntro.js index b03e1989ca9..1b32b4b99e8 100644 --- a/src/npc/generate/newChildIntro.js +++ b/src/npc/generate/newChildIntro.js @@ -903,7 +903,17 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) { } // Normal intro stuff - el.append(App.UI.newSlaveIntro(slave, null, {isChild: true, momInterest:momInterest, dadInterest:dadInterest})); + el.append( + App.UI.newSlaveIntro( + slave, + null, + { + isChild: true, + momInterest: momInterest, + dadInterest: dadInterest + } + ) + ); return el; }; diff --git a/src/npc/generate/newSlaveIntro.js b/src/npc/generate/newSlaveIntro.js index 2a9b0f03393..5fc535502d5 100644 --- a/src/npc/generate/newSlaveIntro.js +++ b/src/npc/generate/newSlaveIntro.js @@ -4105,285 +4105,485 @@ App.UI.newSlaveIntro = function(slave, slave2, familyStatus = {isChild: false}) } } lineBreak(); - if (familyStatus.isChild) { - let interestLine; - if ((familyStatus.momInterest === "boobs") || (familyStatus.dadInterest === "boobs")) { - interestLine = document.createElement("div"); - linkArray = []; - r = []; - r.push(`You noticed ${his} interest in ${his}`); - if (familyStatus.momInterest === "boobs" && familyStatus.dadInterest === "boobs") { - r.push(`parents'`); - } else if (familyStatus.momInterest === "boobs") { - r.push(`mother's`); - } else { - r.push(`father's`); - } - r.push(`massive breasts when ${he} was around them.`); - p.append(r.join(" ")); - if (slave.geneMods.NCS === 0) { - if (slave.boobs >= 4000 && V.arcologies[0].FSAssetExpansionistResearch === 1) { - linkArray.push( - App.UI.DOM.link( - `Start ${him} on a regimen of hyper breast growth drugs`, - () => { - slave.devotion += 25; - slave.trust += 20; - slave.boobs += 500; - slave.drugs = "hyper breast injections"; - jQuery("#introResult").empty().append( - `${He} squeals in protest as you inject ${his} breasts with their first dosage of HA-HGH, though ${he} changes ${his} tune by the end of the day once ${he} realizes ${his} breasts are bigger. By the end of the week, ${he}'s <span class="hotpink">deliriously happy</span> over ${his} swollen chest and <span class="mediumaquamarine">hopes</span> you'll let them grow even larger.` - ); - } - ) - ); - } else if (slave.boobs < 4000) { - linkArray.push( - App.UI.DOM.link( - `Start ${him} on a regimen of breast growth drugs`, - () => { - slave.devotion += 15; - slave.trust += 10; - slave.boobs += 200; - slave.drugs = "breast injections"; - jQuery("#introResult").empty().append( - `${He} squeals in protest as you inject ${his} breasts with their first dosage of A-HGH, though ${he} changes ${his} tune by the end of the week once ${he} realizes ${his} breasts are bigger than before. ${He}'s <span class="hotpink">deliriously happy</span> that ${his} chest is swelling and <span class="mediumaquamarine">hopes</span> you'll make them even larger.` - ); - } - ) - ); - } else { - linkArray.push( - App.UI.DOM.makeElement("span", `${His} breasts are already so huge that basic growth drugs will not have a noticeable enough effect to sate ${his} curiosity.`) - ); - } - } - if (slave.boobs >= 1000 && V.arcologies[0].FSTransformationFetishistResearch === 1) { + p.append(newChild()); + } + + IncreasePCSkills('trading', 0.1); + if (V.PC.skill.slaving < 100 && jsRandom(V.PC.skill.slaving, 100) > 50) { + IncreasePCSkills('slaving', 0.5); + } else { + IncreasePCSkills('slaving', 0.1); + } + + return el; + + function lineBreak() { + if (linkArray.length > 0) { + App.UI.DOM.appendNewElement("div", p, App.UI.DOM.generateLinksStrip(linkArray)); + } + linkArray = []; + } + + function applyBrand() { + if ( + (V.brandDesign.primary === "a racial slur") && // Oh no, will this slur make sense... + (V.brandDesign.secondary) && // They actually set a backup, so we can care + ( + (V.arcologies[0].FSSupremacist !== "unset" && slave.race !== V.arcologies[0].FSSupremacistRace) || + (V.arcologies[0].FSSubjugationist !== "unset" && slave.race === V.arcologies[0].FSSubjugationistRace) + ) + ) { + slave.brand[brandTarget] = V.brandDesign.secondary; // Slur made no sense, use the backup + } else { + slave.brand[brandTarget] = V.brandDesign.primary; + } + slave.devotion -= 5; + slave.trust -= 10; + healthDamage(slave, 10); + } + } + function newChild() { + let linkArray; + let p = document.createElement("p"); + if (familyStatus.isChild) { + let interestLine; + if ((familyStatus.momInterest === "boobs") || (familyStatus.dadInterest === "boobs")) { + interestLine = document.createElement("div"); + linkArray = []; + r = []; + r.push(`You noticed ${his} interest in ${his}`); + if (familyStatus.momInterest === "boobs" && familyStatus.dadInterest === "boobs") { + r.push(`parents'`); + } else if (familyStatus.momInterest === "boobs") { + r.push(`mother's`); + } else { + r.push(`father's`); + } + r.push(`massive breasts when ${he} was around them.`); + p.append(r.join(" ")); + if (slave.geneMods.NCS === 0) { + if (slave.boobs >= 4000 && V.arcologies[0].FSAssetExpansionistResearch === 1) { linkArray.push( App.UI.DOM.link( - `Implant a heaving pair of 4000cc fillable implants in ${his} chest`, + `Start ${him} on a regimen of hyper breast growth drugs`, () => { slave.devotion += 25; slave.trust += 20; - slave.boobs += 4000; - slave.boobsImplant += 4000; - slave.boobsImplantType = "advanced fillable"; - cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); - surgeryDamage(slave, 10); - slave.boobShape = "normal"; - const r = []; - r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); - if (hasAnyArms(slave)) { - r.push(`keep ${his} hand`); - if (hasBothArms(slave)) { - r.push(`s`); - } - r.push(` off`); - } else { - r.push(`stop shaking around`); - } - r.push(` ${his} new ridiculous fake tits. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of giant breasts hanging from ${his} stretched chest and <span class="mediumaquamarine">hopes</span> you have plans to make them even bigger, even though ${he} is already struggling to keep upright. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); - jQuery("#introResult").empty().append(r.join(" ")); - }, - [], - "", - `This option costs ${cashFormat(V.surgeryCost)}` - ) - ); - linkArray.push( - App.UI.DOM.link( - `Implant a heaving pair of 4000cc fillable implants in ${his} chest`, - () => { - slave.devotion += 25; - slave.trust += 25; - slave.boobs += 7500; - slave.boobsImplant += 7500; - slave.boobsImplantType = "string"; - cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); - surgeryDamage(slave, 10); - slave.boobShape = "normal"; - const r = []; - r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); - if (hasAnyArms(slave)) { - r.push(`keep ${his} hand`); - if (hasBothArms(slave)) { - r.push(`s`); - } - r.push(` off`); - } else { - r.push(`stop shaking around`); - } - r.push(` ${his} new ridiculous fake tits. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of monster breasts straining ${his} chest and <span class="mediumaquamarine">bounces cheerfully</span> when ${he} `); - if (canHear(slave)) { - r.push(`hears`); - } else { - r.push(`discovers`); - } - r.push(` they'll keep growing, despite ${his} near inability to stay upright. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); - jQuery("#introResult").empty().append(r.join(" ")); - }, - [], - "", - `This option costs ${cashFormat(V.surgeryCost)}` + slave.boobs += 500; + slave.drugs = "hyper breast injections"; + jQuery("#introResult").empty().append( + `${He} squeals in protest as you inject ${his} breasts with their first dosage of HA-HGH, though ${he} changes ${his} tune by the end of the day once ${he} realizes ${his} breasts are bigger. By the end of the week, ${he}'s <span class="hotpink">deliriously happy</span> over ${his} swollen chest and <span class="mediumaquamarine">hopes</span> you'll let them grow even larger.` + ); + } ) ); - } else if (slave.boobs < 1000) { + } else if (slave.boobs < 4000) { linkArray.push( App.UI.DOM.link( - `Implant a pair of 1000cc fillable implants in ${his} chest`, + `Start ${him} on a regimen of breast growth drugs`, () => { slave.devotion += 15; slave.trust += 10; - slave.boobs += 1000; - slave.boobsImplant += 1000; - slave.boobsImplantType = "fillable"; - cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); - surgeryDamage(slave, 10); - slave.boobShape = "normal"; - const r = []; - r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); - if (hasAnyArms(slave)) { - r.push(`keep ${his} hand`); - if (hasBothArms(slave)) { - r.push(`s`); - } - r.push(` off`); - } else { - r.push(`stop shaking around`); - } - r.push(` ${his} new fake balloons. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of big breasts hanging from ${his} chest and <span class="mediumaquamarine">hopes</span> you have plans to make them even bigger. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); - jQuery("#introResult").empty().append(r.join(" ")); - }, - [], - "", - `This option costs ${cashFormat(V.surgeryCost)}` - ) - ); - - linkArray.push( - App.UI.DOM.link( - `Implant a heavy pair of 1500cc string implants in ${his} chest`, - () => { - slave.devotion += 15; - slave.trust += 15; - slave.boobs += 1500; - slave.boobsImplant += 1500; - slave.boobsImplantType = "string"; - cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); - surgeryDamage(slave, 10); - slave.boobShape = "normal"; - const r = []; - r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); - if (hasAnyArms(slave)) { - r.push(`keep ${his} hand`); - if (hasBothArms(slave)) { - r.push(`s`); - } - r.push(` off`); - } else { - r.push(`stop shaking around`); - } - r.push(` ${his} new fake balloons. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of big breasts hanging from ${his} chest and <span class="mediumaquamarine">bounces cheerfully</span> when ${he} `); - if (canHear(slave)) { - r.push(`hears`); - } else { - r.push(`discovers`); - } - r.push(` they'll keep growing. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); - jQuery("#introResult").empty().append(r.join(" ")); - }, - [], - "", - `This option costs ${cashFormat(V.surgeryCost)}` + slave.boobs += 200; + slave.drugs = "breast injections"; + jQuery("#introResult").empty().append( + `${He} squeals in protest as you inject ${his} breasts with their first dosage of A-HGH, though ${he} changes ${his} tune by the end of the week once ${he} realizes ${his} breasts are bigger than before. ${He}'s <span class="hotpink">deliriously happy</span> that ${his} chest is swelling and <span class="mediumaquamarine">hopes</span> you'll make them even larger.` + ); + } ) ); } else { - r.push( - App.UI.DOM.makeElement("span", `${His} breasts are already so large that basic implants will not have a noticeable enough effect to sate ${his} curiosity.`) + linkArray.push( + App.UI.DOM.makeElement("span", `${His} breasts are already so huge that basic growth drugs will not have a noticeable enough effect to sate ${his} curiosity.`) ); } - p.append(App.UI.DOM.generateLinksStrip(linkArray)); - p.append(interestLine); } - - if (familyStatus.momInterest === "belly" || familyStatus.dadInterest === "belly") { - interestLine = document.createElement("div"); - linkArray = []; - r = []; - r.push(`You noticed ${his} interest in ${his}`); - if (familyStatus.momInterest === "belly" && familyStatus.dadInterest === "belly") { - r.push(`parents'`); - } else if (familyStatus.momInterest === "belly") { - r.push(`mother's`); - } else { - r.push(`father's`); - } - r.push(` rounded middle when ${he} was around them.`); - interestLine.append(r.join(" ")); - if (isItemAccessible.entry("a huge empathy belly", "bellyAccessory")) { - linkArray.push( - App.UI.DOM.link( - `Give ${him} a big fake belly to wear`, - () => { - slave.devotion += 15; - slave.trust += 15; - slave.bellyAccessory = "a huge empathy belly"; - const r = []; - r.push(`You tell ${him} to cover ${his} eyes and wait while you go fetch something for ${him}. Lugging back the biggest empathy belly you had available, you slip it onto ${him}, eliciting a grunt of discomfort. You order ${him} to open ${his} eyes and look ${himself} over. ${He}'s <span class="hotpink">deliriously happy</span> at ${his} huge belly and <span class="mediumaquamarine">bounces cheerfully</span> when ${he} `); - if (canHear(slave)) { - r.push(`hears`); - } else { - r.push(`discovers`); + if (slave.boobs >= 1000 && V.arcologies[0].FSTransformationFetishistResearch === 1) { + linkArray.push( + App.UI.DOM.link( + `Implant a heaving pair of 4000cc fillable implants in ${his} chest`, + () => { + slave.devotion += 25; + slave.trust += 20; + slave.boobs += 4000; + slave.boobsImplant += 4000; + slave.boobsImplantType = "advanced fillable"; + cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); + surgeryDamage(slave, 10); + slave.boobShape = "normal"; + const r = []; + r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); + if (hasAnyArms(slave)) { + r.push(`keep ${his} hand`); + if (hasBothArms(slave)) { + r.push(`s`); } - r.push(` ${he} can keep it. ${He} spends the rest of the day bumping into things and struggling to adjust to the huge weight hanging off ${his} front.`); - jQuery("#introResult").empty().append(r.join(" ")); + r.push(` off`); + } else { + r.push(`stop shaking around`); } - ) - ); - } - if (V.arcologies[0].FSTransformationFetishistResearch === 1) { - linkArray.push( - App.UI.DOM.link( - `Put ${him} into a medical coma and implant a 200000cc belly implant in ${his} abdomen`, - () => { - slave.devotion += 25; - slave.trust += 25; - slave.bellyImplant = 200000; - cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); - surgeryDamage(slave, 50); - SetBellySize(slave); - const r = []; - r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes from ${his} induced coma, ${he} nearly faints at the `); - if (canSee(slave)) { - r.push(`sight`); - } else { - r.push(`feeling`); + r.push(` ${his} new ridiculous fake tits. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of giant breasts hanging from ${his} stretched chest and <span class="mediumaquamarine">hopes</span> you have plans to make them even bigger, even though ${he} is already struggling to keep upright. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); + jQuery("#introResult").empty().append(r.join(" ")); + }, + [], + "", + `This option costs ${cashFormat(V.surgeryCost)}` + ) + ); + linkArray.push( + App.UI.DOM.link( + `Implant a heaving pair of 4000cc fillable implants in ${his} chest`, + () => { + slave.devotion += 25; + slave.trust += 25; + slave.boobs += 7500; + slave.boobsImplant += 7500; + slave.boobsImplantType = "string"; + cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); + surgeryDamage(slave, 10); + slave.boobShape = "normal"; + const r = []; + r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); + if (hasAnyArms(slave)) { + r.push(`keep ${his} hand`); + if (hasBothArms(slave)) { + r.push(`s`); } - r.push(` of ${his} immense middle. ${He}'s <span class="hotpink">deliriously happy</span> at ${his} hugeness and <span class="mediumaquamarine">squirms happily</span> when ${he} `); - if (canHear(slave)) { - r.push(`hears`); - } else { - r.push(`discovers`); + r.push(` off`); + } else { + r.push(`stop shaking around`); + } + r.push(` ${his} new ridiculous fake tits. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of monster breasts straining ${his} chest and <span class="mediumaquamarine">bounces cheerfully</span> when ${he} `); + if (canHear(slave)) { + r.push(`hears`); + } else { + r.push(`discovers`); + } + r.push(` they'll keep growing, despite ${his} near inability to stay upright. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); + jQuery("#introResult").empty().append(r.join(" ")); + }, + [], + "", + `This option costs ${cashFormat(V.surgeryCost)}` + ) + ); + } else if (slave.boobs < 1000) { + linkArray.push( + App.UI.DOM.link( + `Implant a pair of 1000cc fillable implants in ${his} chest`, + () => { + slave.devotion += 15; + slave.trust += 10; + slave.boobs += 1000; + slave.boobsImplant += 1000; + slave.boobsImplantType = "fillable"; + cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); + surgeryDamage(slave, 10); + slave.boobShape = "normal"; + const r = []; + r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); + if (hasAnyArms(slave)) { + r.push(`keep ${his} hand`); + if (hasBothArms(slave)) { + r.push(`s`); } - r.push(` you can make it bigger, despite the fact that it is nearly as large as ${he} is and pins ${him} to the bed ${he} lies upon. As it was an invasive surgery, <span class="red">${his} health has been greatly affected.</span>`); - jQuery("#introResult").empty().append(r.join(" ")); - }, - [], - "", - `This option costs ${cashFormat(V.surgeryCost)}` - ) - ); - } + r.push(` off`); + } else { + r.push(`stop shaking around`); + } + r.push(` ${his} new fake balloons. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of big breasts hanging from ${his} chest and <span class="mediumaquamarine">hopes</span> you have plans to make them even bigger. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); + jQuery("#introResult").empty().append(r.join(" ")); + }, + [], + "", + `This option costs ${cashFormat(V.surgeryCost)}` + ) + ); + + linkArray.push( + App.UI.DOM.link( + `Implant a heavy pair of 1500cc string implants in ${his} chest`, + () => { + slave.devotion += 15; + slave.trust += 15; + slave.boobs += 1500; + slave.boobsImplant += 1500; + slave.boobsImplantType = "string"; + cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); + surgeryDamage(slave, 10); + slave.boobShape = "normal"; + const r = []; + r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); + if (hasAnyArms(slave)) { + r.push(`keep ${his} hand`); + if (hasBothArms(slave)) { + r.push(`s`); + } + r.push(` off`); + } else { + r.push(`stop shaking around`); + } + r.push(` ${his} new fake balloons. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of big breasts hanging from ${his} chest and <span class="mediumaquamarine">bounces cheerfully</span> when ${he} `); + if (canHear(slave)) { + r.push(`hears`); + } else { + r.push(`discovers`); + } + r.push(` they'll keep growing. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); + jQuery("#introResult").empty().append(r.join(" ")); + }, + [], + "", + `This option costs ${cashFormat(V.surgeryCost)}` + ) + ); + } else { + r.push( + App.UI.DOM.makeElement("span", `${His} breasts are already so large that basic implants will not have a noticeable enough effect to sate ${his} curiosity.`) + ); + } + p.append(App.UI.DOM.generateLinksStrip(linkArray)); + p.append(interestLine); + } + + if (familyStatus.momInterest === "belly" || familyStatus.dadInterest === "belly") { + interestLine = document.createElement("div"); + linkArray = []; + r = []; + r.push(`You noticed ${his} interest in ${his}`); + if (familyStatus.momInterest === "belly" && familyStatus.dadInterest === "belly") { + r.push(`parents'`); + } else if (familyStatus.momInterest === "belly") { + r.push(`mother's`); + } else { + r.push(`father's`); + } + r.push(` rounded middle when ${he} was around them.`); + interestLine.append(r.join(" ")); + if (isItemAccessible.entry("a huge empathy belly", "bellyAccessory")) { + linkArray.push( + App.UI.DOM.link( + `Give ${him} a big fake belly to wear`, + () => { + slave.devotion += 15; + slave.trust += 15; + slave.bellyAccessory = "a huge empathy belly"; + const r = []; + r.push(`You tell ${him} to cover ${his} eyes and wait while you go fetch something for ${him}. Lugging back the biggest empathy belly you had available, you slip it onto ${him}, eliciting a grunt of discomfort. You order ${him} to open ${his} eyes and look ${himself} over. ${He}'s <span class="hotpink">deliriously happy</span> at ${his} huge belly and <span class="mediumaquamarine">bounces cheerfully</span> when ${he} `); + if (canHear(slave)) { + r.push(`hears`); + } else { + r.push(`discovers`); + } + r.push(` ${he} can keep it. ${He} spends the rest of the day bumping into things and struggling to adjust to the huge weight hanging off ${his} front.`); + jQuery("#introResult").empty().append(r.join(" ")); + } + ) + ); + } + if (V.arcologies[0].FSTransformationFetishistResearch === 1) { + linkArray.push( + App.UI.DOM.link( + `Put ${him} into a medical coma and implant a 200000cc belly implant in ${his} abdomen`, + () => { + slave.devotion += 25; + slave.trust += 25; + slave.bellyImplant = 200000; + cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); + surgeryDamage(slave, 50); + SetBellySize(slave); + const r = []; + r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes from ${his} induced coma, ${he} nearly faints at the `); + if (canSee(slave)) { + r.push(`sight`); + } else { + r.push(`feeling`); + } + r.push(` of ${his} immense middle. ${He}'s <span class="hotpink">deliriously happy</span> at ${his} hugeness and <span class="mediumaquamarine">squirms happily</span> when ${he} `); + if (canHear(slave)) { + r.push(`hears`); + } else { + r.push(`discovers`); + } + r.push(` you can make it bigger, despite the fact that it is nearly as large as ${he} is and pins ${him} to the bed ${he} lies upon. As it was an invasive surgery, <span class="red">${his} health has been greatly affected.</span>`); + jQuery("#introResult").empty().append(r.join(" ")); + }, + [], + "", + `This option costs ${cashFormat(V.surgeryCost)}` + ) + ); + } + linkArray.push( + App.UI.DOM.link( + `Implant a 2000cc belly implant in ${his} abdomen`, + () => { + slave.devotion += 15; + slave.trust += 15; + slave.bellyImplant = 2000; + cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); + surgeryDamage(slave, 10); + SetBellySize(slave); + const r = []; + r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); + if (hasAnyArms(slave)) { + r.push(`keep ${his} hand`); + if (hasBothArms(slave)) { + r.push(`s`); + } + r.push(` off`); + } else { + r.push(`stop shaking around`); + } + r.push(` ${his} new bulbous middle. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own round belly and <span class="mediumaquamarine">bounces cheerfully</span> when ${he} `); + if (canHear(slave)) { + r.push(`hears`); + } else { + r.push(`discovers`); + } + r.push(` you can make it bigger. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); + jQuery("#introResult").empty().append(r.join(" ")); + }, + [], + "", + `This option costs ${cashFormat(V.surgeryCost)}` + ) + ); + p.append(interestLine); + p.append(App.UI.DOM.generateLinksStrip(linkArray)); + } + + if ((slave.geneMods.NCS === 0) && ((familyStatus.momInterest === "dick") || (familyStatus.dadInterest === "dick"))) { + interestLine = document.createElement("div"); + linkArray = []; + r = []; + r.push(`You noticed ${his} interest in ${his}`); + if (familyStatus.momInterest === "dick" && familyStatus.dadInterest === "dick") { + r.push(`parents'`); + } else if (familyStatus.momInterest === "dick") { + r.push(`mother's`); + } else { + r.push(`father's`); + } + r.push(` enormous cock while ${he} was around them.`); + interestLine.append(r.join(" ")); + if (slave.dick >= 10 && V.arcologies[0].FSAssetExpansionistResearch === 1) { + linkArray.push( + App.UI.DOM.link( + `Start ${him} on a regimen of hyper penis growth drugs`, + () => { + slave.devotion += 25; + slave.trust += 20; + slave.dick += 3; + slave.drugs = "hyper penis enhancement"; + const r = []; + r.push(`${He} squeals in protest as you inject ${his} penis with its first dosage of HA-HGH, though ${he} changes ${his} tune by the end of the day once ${he} realizes ${his} dick feels heavier. By the end of the week, ${he}'s <span class="hotpink">deliriously happy</span> over ${his} meaty cock and <span class="mediumaquamarine">hopes</span> you'll let it grow even larger.`); + jQuery("#introResult").empty().append(r.join(" ")); + } + ) + ); + } else if (slave.dick < 10) { + linkArray.push( + App.UI.DOM.link( + `Start ${him} on a regimen of penis growth drugs`, + () => { + slave.devotion += 15; + slave.trust += 10; + slave.dick += 1; + slave.drugs = "penis enhancement"; + const r = []; + r.push(`${He} squeals in protest as you inject ${his} cock with its first dosage of A-HGH, though ${he} changes ${his} tune by the end of the week once ${he} realizes ${his} dick feels heavier than before. ${He}'s <span class="hotpink">deliriously happy</span> that ${his} penis is steadily growing and <span class="mediumaquamarine">hopes</span> you'll make it even larger.`); + jQuery("#introResult").empty().append(r.join(" ")); + } + ) + ); + } else { + r.push( + App.UI.DOM.makeElement("span", `${His} dick is already so huge that basic growth drugs will not have a noticeable enough effect to sate ${his} curiosity.`) + ); + } + p.append(interestLine); + p.append(App.UI.DOM.generateLinksStrip(linkArray)); + } + + if ((slave.geneMods.NCS === 0) && ((familyStatus.momInterest === "balls") || (familyStatus.dadInterest === "balls"))) { + interestLine = document.createElement("div"); + linkArray = []; + r = []; + r.push(`You noticed ${his} interest in ${his}`); + if (familyStatus.momInterest === "balls" && familyStatus.dadInterest === "balls") { + r.push(`parents'`); + } else if (familyStatus.momInterest === "balls") { + r.push(`mother's`); + } else { + r.push(`father's`); + } + r.push(`pendulous testicles while ${he} was around them.`); + interestLine.append(r.join(" ")); + if (slave.balls >= 6 && V.arcologies[0].FSAssetExpansionistResearch === 1) { + linkArray.push( + App.UI.DOM.link( + `Start ${him} on a regimen of hyper testicle growth drugs`, + () => { + slave.devotion += 25; + slave.trust += 20; + slave.balls += 10; + slave.drugs = "hyper testicle enhancement"; + const r = []; + r.push(`${He} squeals in protest as you inject ${his} testicles with their first dosage of HA-HGH, though ${he} changes ${his} tune by the end of the day once ${he} realizes ${his} nuts feel heavier. By the end of the week, ${he}'s <span class="hotpink">deliriously happy</span> over ${his} swollen balls and <span class="mediumaquamarine">hopes</span> you'll let them grow even larger.`); + jQuery("#introResult").empty().append(r.join(" ")); + } + ) + ); + } else if (slave.balls < 6) { + linkArray.push( + App.UI.DOM.link( + `Start ${him} on a regimen of testicle growth drugs`, + () => { + slave.devotion += 15; + slave.trust += 10; + slave.balls += 1; + slave.drugs = "testicle enhancement"; + const r = []; + r.push(`${He} squeals in protest as you inject ${his} testicles with their first dosage of A-HGH, though ${he} changes ${his} tune by the end of the week once ${he} realizes ${his} nuts feel heavier and fuller than before. ${He}'s <span class="hotpink">deliriously happy</span> that ${his} balls are steadily swelling and <span class="mediumaquamarine">hopes</span> you'll make them even larger.`); + jQuery("#introResult").empty().append(r.join(" ")); + } + ) + ); + } else { + r.push( + App.UI.DOM.makeElement("span", `${His} balls are already so huge that basic growth drugs will not have a noticeable enough effect to sate ${his} curiosity.`) + ); + } + p.append(interestLine); + p.append(App.UI.DOM.generateLinksStrip(linkArray)); + } + + if ((familyStatus.momInterest === "hips") || (familyStatus.dadInterest === "hips")) { + interestLine = document.createElement("div"); + linkArray = []; + r = []; + r.push(`You noticed ${his} interest in ${his}`); + if (familyStatus.momInterest === "hips" && familyStatus.dadInterest === "hips") { + r.push(`parents'`); + } else if (familyStatus.momInterest === "hips") { + r.push(`mother's`); + } else { + r.push(`father's`); + } + r.push(` door jamming hips while ${he} was around them.`); + interestLine.append(r.join(" ")); + if (slave.hips === 2 && V.surgeryUpgrade === 1) { linkArray.push( App.UI.DOM.link( - `Implant a 2000cc belly implant in ${his} abdomen`, + `Surgically widen ${his} hips`, () => { slave.devotion += 15; slave.trust += 15; - slave.bellyImplant = 2000; + slave.hips += 1; + slave.hipsImplant = 1; cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); - surgeryDamage(slave, 10); - SetBellySize(slave); + surgeryDamage(slave, 40); const r = []; r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); if (hasAnyArms(slave)) { @@ -4395,13 +4595,37 @@ App.UI.newSlaveIntro = function(slave, slave2, familyStatus = {isChild: false}) } else { r.push(`stop shaking around`); } - r.push(` ${his} new bulbous middle. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own round belly and <span class="mediumaquamarine">bounces cheerfully</span> when ${he} `); - if (canHear(slave)) { - r.push(`hears`); + r.push(` ${his} wide hips, especially since ${he} can't figure out how to roll over with them. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} is ridiculously wide and <span class="mediumaquamarine">wiggles ${his} door-jammers cheerfully</span> at you whenever ${he} gets the chance. Since the surgery was invasive, <span class="red">${his} health has been greatly affected.</span>`); + jQuery("#introResult").empty().append(r.join(" ")); + }, + [], + "", + `This option costs ${cashFormat(V.surgeryCost)}` + ) + ); + } else if (slave.hips < 2) { + linkArray.push( + App.UI.DOM.link( + `Surgically widen ${his} hips`, + () => { + slave.devotion += 15; + slave.trust += 15; + slave.hips += 1; + slave.hipsImplant = 1; + cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); + surgeryDamage(slave, 40); + const r = []; + r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); + if (hasAnyArms(slave)) { + r.push(`keep ${his} hand`); + if (hasBothArms(slave)) { + r.push(`s`); + } + r.push(` off`); } else { - r.push(`discovers`); + r.push(`stop shaking around`); } - r.push(` you can make it bigger. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); + r.push(` ${his} wide hips. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} is wider than ever and <span class="mediumaquamarine">wiggles ${his} hips cheerfully</span> at you whenever ${he} gets the chance. Since the surgery was invasive, <span class="red">${his} health has been greatly affected.</span>`); jQuery("#introResult").empty().append(r.join(" ")); }, [], @@ -4409,391 +4633,173 @@ App.UI.newSlaveIntro = function(slave, slave2, familyStatus = {isChild: false}) `This option costs ${cashFormat(V.surgeryCost)}` ) ); - p.append(interestLine); - p.append(App.UI.DOM.generateLinksStrip(linkArray)); + } else { + r.push( + App.UI.DOM.makeElement("span", `Your surgery suite is not outfitted to widen ${his} hips further.`) + ); } + p.append(interestLine); + p.append(App.UI.DOM.generateLinksStrip(linkArray)); + } - if ((slave.geneMods.NCS === 0) && ((familyStatus.momInterest === "dick") || (familyStatus.dadInterest === "dick"))) { - interestLine = document.createElement("div"); - linkArray = []; - r = []; - r.push(`You noticed ${his} interest in ${his}`); - if (familyStatus.momInterest === "dick" && familyStatus.dadInterest === "dick") { - r.push(`parents'`); - } else if (familyStatus.momInterest === "dick") { - r.push(`mother's`); - } else { - r.push(`father's`); - } - r.push(` enormous cock while ${he} was around them.`); - interestLine.append(r.join(" ")); - if (slave.dick >= 10 && V.arcologies[0].FSAssetExpansionistResearch === 1) { - linkArray.push( - App.UI.DOM.link( - `Start ${him} on a regimen of hyper penis growth drugs`, - () => { - slave.devotion += 25; - slave.trust += 20; - slave.dick += 3; - slave.drugs = "hyper penis enhancement"; - const r = []; - r.push(`${He} squeals in protest as you inject ${his} penis with its first dosage of HA-HGH, though ${he} changes ${his} tune by the end of the day once ${he} realizes ${his} dick feels heavier. By the end of the week, ${he}'s <span class="hotpink">deliriously happy</span> over ${his} meaty cock and <span class="mediumaquamarine">hopes</span> you'll let it grow even larger.`); - jQuery("#introResult").empty().append(r.join(" ")); - } - ) - ); - } else if (slave.dick < 10) { - linkArray.push( - App.UI.DOM.link( - `Start ${him} on a regimen of penis growth drugs`, - () => { - slave.devotion += 15; - slave.trust += 10; - slave.dick += 1; - slave.drugs = "penis enhancement"; - const r = []; - r.push(`${He} squeals in protest as you inject ${his} cock with its first dosage of A-HGH, though ${he} changes ${his} tune by the end of the week once ${he} realizes ${his} dick feels heavier than before. ${He}'s <span class="hotpink">deliriously happy</span> that ${his} penis is steadily growing and <span class="mediumaquamarine">hopes</span> you'll make it even larger.`); - jQuery("#introResult").empty().append(r.join(" ")); - } - ) - ); - } else { - r.push( - App.UI.DOM.makeElement("span", `${His} dick is already so huge that basic growth drugs will not have a noticeable enough effect to sate ${his} curiosity.`) - ); - } - p.append(interestLine); - p.append(App.UI.DOM.generateLinksStrip(linkArray)); + if ((familyStatus.momInterest === "butt") || (familyStatus.dadInterest === "butt")) { + interestLine = document.createElement("div"); + linkArray = []; + r = []; + r.push(`You noticed ${his} interest in ${his}`); + if (familyStatus.momInterest === "butt" && familyStatus.dadInterest === "butt") { + r.push(`parents'`); + } else if (familyStatus.momInterest === "butt") { + r.push(`mother's`); + } else { + r.push(`father's`); } - - if ((slave.geneMods.NCS === 0) && ((familyStatus.momInterest === "balls") || (familyStatus.dadInterest === "balls"))) { - interestLine = document.createElement("div"); - linkArray = []; - r = []; - r.push(`You noticed ${his} interest in ${his}`); - if (familyStatus.momInterest === "balls" && familyStatus.dadInterest === "balls") { - r.push(`parents'`); - } else if (familyStatus.momInterest === "balls") { - r.push(`mother's`); - } else { - r.push(`father's`); - } - r.push(`pendulous testicles while ${he} was around them.`); - interestLine.append(r.join(" ")); - if (slave.balls >= 6 && V.arcologies[0].FSAssetExpansionistResearch === 1) { + r.push(` ever-jiggling ass while ${he} was around them.`); + interestLine.append(r.join(" ")); + if (slave.geneMods.NCS === 0) { + if (slave.butt >= 10 && V.arcologies[0].FSAssetExpansionistResearch === 1) { linkArray.push( App.UI.DOM.link( - `Start ${him} on a regimen of hyper testicle growth drugs`, + `Start ${him} on a regimen of hyper ass growth drugs`, () => { slave.devotion += 25; slave.trust += 20; - slave.balls += 10; - slave.drugs = "hyper testicle enhancement"; - const r = []; - r.push(`${He} squeals in protest as you inject ${his} testicles with their first dosage of HA-HGH, though ${he} changes ${his} tune by the end of the day once ${he} realizes ${his} nuts feel heavier. By the end of the week, ${he}'s <span class="hotpink">deliriously happy</span> over ${his} swollen balls and <span class="mediumaquamarine">hopes</span> you'll let them grow even larger.`); - jQuery("#introResult").empty().append(r.join(" ")); - } - ) - ); - } else if (slave.balls < 6) { - linkArray.push( - App.UI.DOM.link( - `Start ${him} on a regimen of testicle growth drugs`, - () => { - slave.devotion += 15; - slave.trust += 10; - slave.balls += 1; - slave.drugs = "testicle enhancement"; - const r = []; - r.push(`${He} squeals in protest as you inject ${his} testicles with their first dosage of A-HGH, though ${he} changes ${his} tune by the end of the week once ${he} realizes ${his} nuts feel heavier and fuller than before. ${He}'s <span class="hotpink">deliriously happy</span> that ${his} balls are steadily swelling and <span class="mediumaquamarine">hopes</span> you'll make them even larger.`); - jQuery("#introResult").empty().append(r.join(" ")); - } - ) - ); - } else { - r.push( - App.UI.DOM.makeElement("span", `${His} balls are already so huge that basic growth drugs will not have a noticeable enough effect to sate ${his} curiosity.`) - ); - } - p.append(interestLine); - p.append(App.UI.DOM.generateLinksStrip(linkArray)); - } - - if ((familyStatus.momInterest === "hips") || (familyStatus.dadInterest === "hips")) { - interestLine = document.createElement("div"); - linkArray = []; - r = []; - r.push(`You noticed ${his} interest in ${his}`); - if (familyStatus.momInterest === "hips" && familyStatus.dadInterest === "hips") { - r.push(`parents'`); - } else if (familyStatus.momInterest === "hips") { - r.push(`mother's`); - } else { - r.push(`father's`); - } - r.push(` door jamming hips while ${he} was around them.`); - interestLine.append(r.join(" ")); - if (slave.hips === 2 && V.surgeryUpgrade === 1) { - linkArray.push( - App.UI.DOM.link( - `Surgically widen ${his} hips`, - () => { - slave.devotion += 15; - slave.trust += 15; - slave.hips += 1; - slave.hipsImplant = 1; - cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); - surgeryDamage(slave, 40); + slave.butt += 3; + slave.drugs = "hyper butt injections"; const r = []; - r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); - if (hasAnyArms(slave)) { - r.push(`keep ${his} hand`); - if (hasBothArms(slave)) { - r.push(`s`); - } - r.push(` off`); - } else { - r.push(`stop shaking around`); - } - r.push(` ${his} wide hips, especially since ${he} can't figure out how to roll over with them. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} is ridiculously wide and <span class="mediumaquamarine">wiggles ${his} door-jammers cheerfully</span> at you whenever ${he} gets the chance. Since the surgery was invasive, <span class="red">${his} health has been greatly affected.</span>`); + r.push(`${He} squeals in protest as you inject ${his} buttcheeks with their first dosage of HA-HGH, though ${he} changes ${his} tune by the end of the day once ${he} realizes ${his} butt is larger than ever. By the end of the week, ${he}'s <span class="hotpink">deliriously happy</span> over ${his} swollen rear and <span class="mediumaquamarine">hopes</span> you'll let it grow even larger.`); jQuery("#introResult").empty().append(r.join(" ")); }, - [], - "", - `This option costs ${cashFormat(V.surgeryCost)}` ) ); - } else if (slave.hips < 2) { + } else if (slave.butt < 10) { linkArray.push( App.UI.DOM.link( - `Surgically widen ${his} hips`, + `Start ${him} on a regimen of ass growth drugs`, () => { slave.devotion += 15; - slave.trust += 15; - slave.hips += 1; - slave.hipsImplant = 1; - cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); - surgeryDamage(slave, 40); + slave.trust += 10; + slave.butt += 1; + slave.drugs = "butt injections"; const r = []; - r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); - if (hasAnyArms(slave)) { - r.push(`keep ${his} hand`); - if (hasBothArms(slave)) { - r.push(`s`); - } - r.push(` off`); - } else { - r.push(`stop shaking around`); - } - r.push(` ${his} wide hips. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} is wider than ever and <span class="mediumaquamarine">wiggles ${his} hips cheerfully</span> at you whenever ${he} gets the chance. Since the surgery was invasive, <span class="red">${his} health has been greatly affected.</span>`); + r.push(`${He} squeals in protest as you inject ${his} buttcheeks with their first dosage of A-HGH, though ${he} changes ${his} tune by the end of the week once ${he} realizes ${his} butt is bigger than before. ${He}'s <span class="hotpink">deliriously happy</span> that ${his} rear is swelling and <span class="mediumaquamarine">hopes</span> you'll make it even larger.`); jQuery("#introResult").empty().append(r.join(" ")); }, - [], - "", - `This option costs ${cashFormat(V.surgeryCost)}` ) ); } else { r.push( - App.UI.DOM.makeElement("span", `Your surgery suite is not outfitted to widen ${his} hips further.`) + App.UI.DOM.makeElement("span", `${His} butt is already so huge that basic growth drugs will not have a noticeable enough effect to sate ${his} curiosity.`) ); } - p.append(interestLine); - p.append(App.UI.DOM.generateLinksStrip(linkArray)); } - - if ((familyStatus.momInterest === "butt") || (familyStatus.dadInterest === "butt")) { - interestLine = document.createElement("div"); - linkArray = []; - r = []; - r.push(`You noticed ${his} interest in ${his}`); - if (familyStatus.momInterest === "butt" && familyStatus.dadInterest === "butt") { - r.push(`parents'`); - } else if (familyStatus.momInterest === "butt") { - r.push(`mother's`); - } else { - r.push(`father's`); - } - r.push(` ever-jiggling ass while ${he} was around them.`); - interestLine.append(r.join(" ")); - if (slave.geneMods.NCS === 0) { - if (slave.butt >= 10 && V.arcologies[0].FSAssetExpansionistResearch === 1) { - linkArray.push( - App.UI.DOM.link( - `Start ${him} on a regimen of hyper ass growth drugs`, - () => { - slave.devotion += 25; - slave.trust += 20; - slave.butt += 3; - slave.drugs = "hyper butt injections"; - const r = []; - r.push(`${He} squeals in protest as you inject ${his} buttcheeks with their first dosage of HA-HGH, though ${he} changes ${his} tune by the end of the day once ${he} realizes ${his} butt is larger than ever. By the end of the week, ${he}'s <span class="hotpink">deliriously happy</span> over ${his} swollen rear and <span class="mediumaquamarine">hopes</span> you'll let it grow even larger.`); - jQuery("#introResult").empty().append(r.join(" ")); - }, - ) - ); - } else if (slave.butt < 10) { - linkArray.push( - App.UI.DOM.link( - `Start ${him} on a regimen of ass growth drugs`, - () => { - slave.devotion += 15; - slave.trust += 10; - slave.butt += 1; - slave.drugs = "butt injections"; - const r = []; - r.push(`${He} squeals in protest as you inject ${his} buttcheeks with their first dosage of A-HGH, though ${he} changes ${his} tune by the end of the week once ${he} realizes ${his} butt is bigger than before. ${He}'s <span class="hotpink">deliriously happy</span> that ${his} rear is swelling and <span class="mediumaquamarine">hopes</span> you'll make it even larger.`); - jQuery("#introResult").empty().append(r.join(" ")); - }, - ) - ); - } else { - r.push( - App.UI.DOM.makeElement("span", `${His} butt is already so huge that basic growth drugs will not have a noticeable enough effect to sate ${his} curiosity.`) - ); - } - } - if (slave.butt >= 6 && V.arcologies[0].FSTransformationFetishistResearch === 1) { - linkArray.push( - App.UI.DOM.link( - `Implant a heaving pair of fillable implants in ${his} rear`, - () => { - slave.devotion += 25; - slave.trust += 20; - slave.butt += 8; - slave.buttImplant += 8; - slave.buttImplantType = "advanced fillable"; - cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); - surgeryDamage(slave, 10); - const r = []; - r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); - if (hasAnyArms(slave)) { - r.push(`keep ${his} hand`); - if (hasBothArms(slave)) { - r.push(`s`); - } - r.push(` off`); - } else { - r.push(`stop shaking around`); - } - r.push(` ${his} new ridiculous fake ass, not that ${he} has much choice, since it has ${him} pinned to the bed. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of giant butt cheeks ballooning from ${his} bottom and <span class="mediumaquamarine">hopes</span> you have plans to make them even bigger, even though ${he} is already struggling to escape from under them. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); - jQuery("#introResult").empty().append(r.join(" ")); - }, - [], - "", - `This option costs ${cashFormat(V.surgeryCost)}` - ) - ); - } else if (slave.butt < 6) { - linkArray.push( - App.UI.DOM.link( - `Implant a pair of fillable implants in ${his} rear`, - () => { - slave.devotion += 15; - slave.trust += 10; - slave.butt += 2; - slave.buttImplant += 2; - slave.buttImplantType = "fillable"; - cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); - surgeryDamage(slave, 10); - const r = []; - r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); - if (hasAnyArms(slave)) { - r.push(`keep ${his} hand`); - if (hasBothArms(slave)) { - r.push(`s`); - } - r.push(` off`); - } else { - r.push(`stop shaking around`); + if (slave.butt >= 6 && V.arcologies[0].FSTransformationFetishistResearch === 1) { + linkArray.push( + App.UI.DOM.link( + `Implant a heaving pair of fillable implants in ${his} rear`, + () => { + slave.devotion += 25; + slave.trust += 20; + slave.butt += 8; + slave.buttImplant += 8; + slave.buttImplantType = "advanced fillable"; + cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); + surgeryDamage(slave, 10); + const r = []; + r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); + if (hasAnyArms(slave)) { + r.push(`keep ${his} hand`); + if (hasBothArms(slave)) { + r.push(`s`); } - r.push(` ${his} new fake bottom. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of big butt cheeks hanging from ${his} rear and <span class="mediumaquamarine">hopes</span> you have plans to make them even bigger. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); - jQuery("#introResult").empty().append(r.join(" ")); - }, - [], - "", - `This option costs ${cashFormat(V.surgeryCost)}` - ) - ); - linkArray.push( - App.UI.DOM.link( - `Implant a heavy pair of string implants in ${his} rear`, - () => { - slave.devotion += 15; - slave.trust += 15; - slave.butt += 3; - slave.buttImplant += 3; - slave.buttImplantType = "string"; - cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); - surgeryDamage(slave, 10); - const r = []; - r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); - if (hasAnyArms(slave)) { - r.push(`keep ${his} hand`); - if (hasBothArms(slave)) { - r.push(`s`); - } - r.push(` off`); - } else { - r.push(`stop shaking around`); + r.push(` off`); + } else { + r.push(`stop shaking around`); + } + r.push(` ${his} new ridiculous fake ass, not that ${he} has much choice, since it has ${him} pinned to the bed. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of giant butt cheeks ballooning from ${his} bottom and <span class="mediumaquamarine">hopes</span> you have plans to make them even bigger, even though ${he} is already struggling to escape from under them. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); + jQuery("#introResult").empty().append(r.join(" ")); + }, + [], + "", + `This option costs ${cashFormat(V.surgeryCost)}` + ) + ); + } else if (slave.butt < 6) { + linkArray.push( + App.UI.DOM.link( + `Implant a pair of fillable implants in ${his} rear`, + () => { + slave.devotion += 15; + slave.trust += 10; + slave.butt += 2; + slave.buttImplant += 2; + slave.buttImplantType = "fillable"; + cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); + surgeryDamage(slave, 10); + const r = []; + r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); + if (hasAnyArms(slave)) { + r.push(`keep ${his} hand`); + if (hasBothArms(slave)) { + r.push(`s`); } - r.push(` ${his} new fake bottom. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of big butt cheeks hanging from ${his} rear and <span class="mediumaquamarine">bounces them cheerfully</span> when ${he} `); - if (canHear(slave)) { - r.push(`hears`); - } else { - r.push(`discovers`); + r.push(` off`); + } else { + r.push(`stop shaking around`); + } + r.push(` ${his} new fake bottom. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of big butt cheeks hanging from ${his} rear and <span class="mediumaquamarine">hopes</span> you have plans to make them even bigger. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); + jQuery("#introResult").empty().append(r.join(" ")); + }, + [], + "", + `This option costs ${cashFormat(V.surgeryCost)}` + ) + ); + linkArray.push( + App.UI.DOM.link( + `Implant a heavy pair of string implants in ${his} rear`, + () => { + slave.devotion += 15; + slave.trust += 15; + slave.butt += 3; + slave.buttImplant += 3; + slave.buttImplantType = "string"; + cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); + surgeryDamage(slave, 10); + const r = []; + r.push(`You escort ${him} to the remote surgery, strap ${him} in, and put ${him} under. When ${he} awakes, ${he} can't `); + if (hasAnyArms(slave)) { + r.push(`keep ${his} hand`); + if (hasBothArms(slave)) { + r.push(`s`); } - r.push(` they'll keep growing. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); - jQuery("#introResult").empty().append(r.join(" ")); - }, - [], - "", - `This option costs ${cashFormat(V.surgeryCost)}` - ) - ); - } else { - r.push( - App.UI.DOM.makeElement("span", `${His} butt is already so large that basic implants will not have a noticeable enough effect to sate ${his} curiosity.`) - ); - } - p.append(interestLine); - p.append(App.UI.DOM.generateLinksStrip(linkArray)); + r.push(` off`); + } else { + r.push(`stop shaking around`); + } + r.push(` ${his} new fake bottom. ${He}'s <span class="hotpink">deliriously happy</span> that ${he} has ${his} own pair of big butt cheeks hanging from ${his} rear and <span class="mediumaquamarine">bounces them cheerfully</span> when ${he} `); + if (canHear(slave)) { + r.push(`hears`); + } else { + r.push(`discovers`); + } + r.push(` they'll keep growing. As with all surgery <span class="red">${his} health has been slightly affected.</span>`); + jQuery("#introResult").empty().append(r.join(" ")); + }, + [], + "", + `This option costs ${cashFormat(V.surgeryCost)}` + ) + ); + } else { + r.push( + App.UI.DOM.makeElement("span", `${His} butt is already so large that basic implants will not have a noticeable enough effect to sate ${his} curiosity.`) + ); } + p.append(interestLine); + p.append(App.UI.DOM.generateLinksStrip(linkArray)); } } - - IncreasePCSkills('trading', 0.1); - if (V.PC.skill.slaving < 100 && jsRandom(V.PC.skill.slaving, 100) > 50) { - IncreasePCSkills('slaving', 0.5); - } else { - IncreasePCSkills('slaving', 0.1); - } - - return el; - - function lineBreak() { - if (linkArray.length > 0) { - App.UI.DOM.appendNewElement("div", p, App.UI.DOM.generateLinksStrip(linkArray)); - } - linkArray = []; - } - - function applyBrand() { - if ( - (V.brandDesign.primary === "a racial slur") && // Oh no, will this slur make sense... - (V.brandDesign.secondary) && // They actually set a backup, so we can care - ( - (V.arcologies[0].FSSupremacist !== "unset" && slave.race !== V.arcologies[0].FSSupremacistRace) || - (V.arcologies[0].FSSubjugationist !== "unset" && slave.race === V.arcologies[0].FSSubjugationistRace) - ) - ) { - slave.brand[brandTarget] = V.brandDesign.secondary; // Slur made no sense, use the backup - } else { - slave.brand[brandTarget] = V.brandDesign.primary; - } - slave.devotion -= 5; - slave.trust -= 10; - healthDamage(slave, 10); - } + return p; } }; -- GitLab