diff --git a/src/js/birth/birth.js b/src/js/birth/birth.js index 98a711105de273fbba0ab04336c3012baaf7d368..a1834aa2b31260ebc851db2bf5de749f48edf80a 100644 --- a/src/js/birth/birth.js +++ b/src/js/birth/birth.js @@ -37,6 +37,7 @@ globalThis.birth = function(slave, {birthStorm = false, cSection = false} = {}) let numStillborn = 0; let babiesBeingBorn; let numBeingBorn; + let compoundCondition; const oldDevotion = slave.devotion; const babies = (slave.pregType > 1) ? `babies` : `baby`; const children = (slave.pregType > 1) ? `children` : `child`; @@ -49,14 +50,14 @@ globalThis.birth = function(slave, {birthStorm = false, cSection = false} = {}) } = getPronouns(slave); el.append(titleText()); - const postBirthReactionText = postBirthReaction(); // update birthDamage at this time + const birthDamageText = calcBirthDamage(); // update birthDamage at this time suddenBirthCheck(); el.append(preBirthScene()); if (!slaveDead) { birthCalc(); el.append(birthMainScene()); if (!slaveDead) { - el.append(postBirthReactionText); + el.append(postBirthReaction()); } el.append(birthBabies()); if (numStillborn) { @@ -686,257 +687,11 @@ globalThis.birth = function(slave, {birthStorm = false, cSection = false} = {}) return el; } - function postBirthReaction() { - const el = new DocumentFragment(); - let r = []; - let compoundCondition; - /* ---- Postbirth reactions, body -------------------------------------------------------------------------------------------*/ - if (!cSection) { // all this block only if no c'section used. - r = []; - if (slave.broodmother > 0 || slave.womb.length > 0) { /* Now this block shown only for broodmothers or partial birth. They birth only ready children, so numBeingBorn is effective to see how many birthed this time.*/ - if (diffSize > 1.5 && numBeingBorn >= 80) { // only show if belly lost at least 1/4 of original size. - r.push(`After an entire day of labor and birth, ${his} belly sags heavily.`); - } else if (diffSize > 1.5 && numBeingBorn >= 40) { - r.push(`After half a day of labor and birth, ${his} belly sags softly.`); - } else if (diffSize > 1.5 && numBeingBorn >= 20) { - r.push(`After several hours of labor and birth, ${his} belly sags softly.`); - } else if (diffSize > 1.5 && numBeingBorn >= 10) { - r.push(`After few hours of labor and birth, ${his} belly sags softly.`); - } else if (diffSize > 1.5) { - r.push(`After labor and birth, ${his} belly sags softly.`); - } - } else { // this was intended for normal birth to draw attention to how long it takes to pass that many children as well as how deflated she'll be after the fact. - if (slave.pregType >= 80) { - r.push(`After an entire day of labor and birth, ${his} belly sags heavily.`); - } else if (slave.pregType >= 40) { - r.push(`After half a day of labor and birth, ${his} belly sags emptily.`); - } else if (slave.pregType >= 20) { - r.push(`After several hours of labor and birth, ${his} belly sags softly.`); - } - } - App.Events.addNode(el, r, "p"); - if ( - (slave.mpreg === 0 && slave.vagina === 0) || - (slave.mpreg === 1 && slave.anus === 0) - ) { - r = []; - r.push(`Since ${he} was a virgin, giving birth was a`); - r.push(App.UI.DOM.makeElement("span", `terribly painful`, "red")); - r.push(`experience.`); - if (slave.fetish !== "mindbroken") { - if (slave.fetish === "masochist") { - if (slave.fetishKnown === 0) { - r.push(`${He} seems to have orgasmed several times during the experience and appears to`); - r.push(App.UI.DOM.makeElement("span", `really like pain.`, "lightcoral")); - slave.fetishKnown = 1; - } else { - r.push(`However, due to ${his} masochistic streak, ${he}`); - r.push(App.UI.DOM.makeElement("span", `greatly enjoyed`, "hotpink")); - r.push(`said experience.`); - } - slave.devotion += 2; - } else if (slave.devotion > 70) { - r.push(`Being allowed to give birth in such a state`); - r.push(App.UI.DOM.makeElement("span", `tests ${his} devotion`, "mediumorchid")); - r.push(`and`); - r.push(App.UI.DOM.makeElement("span", `devastates ${his} trust`, "gold")); - r.push(`in you.`); - slave.devotion -= 10; - slave.trust -= 25; - } else { - r.push(`${He}`); - r.push(App.UI.DOM.makeElement("span", `despises`, "mediumorchid")); - r.push(`you for taking ${his} virginity in such a`); - r.push(App.UI.DOM.makeElement("span", `horrifying`, "gold")); - r.push(`way.`); - slave.devotion -= 25; - slave.trust -= 25; - } - } - healthDamage(slave, 10); - App.Events.addNode(el, r, "p"); - } - if (slave.hips < -1) { - r = []; - r.push(`${He} had exceedingly narrow hips, completely unsuitable for childbirth. As ${he} struggled on ${his}`); - if (numBeingBorn > 1) { - r.push(`first`); - } - r.push(`child, ${his} pelvic bone strained under the pressure until it could no longer hold together and`); - r.push(App.UI.DOM.makeElement("span", `agonizingly snapped.`, "red")); - if (slave.fetish !== "mindbroken") { - if (slave.fetish === "masochist") { - if (slave.fetishKnown === 0) { - r.push(`What would have made most girls blackout from pain sent ${him} into the lewdest orgasm you've seen today. ${He}`); - r.push(App.UI.DOM.makeElement("span", `must get off to pain.`, "lightcoral")); - slave.fetishKnown = 1; - } else { - r.push(`${He} claims to have never climaxed so hard and`); - r.push(App.UI.DOM.makeElement("span", `wishes ${his} hips could have stayed that narrow for next time.`, "hotpink")); - } - slave.devotion += 5; - } else if (slave.devotion > 70) { - r.push(`When ${he} finally comes to after blacking out, ${his} pelvis has already been patched up. ${He} is just glad that ${he} managed to finish giving birth despite the hindrance.`); - } else { - r.push(`When ${he} finally comes to after blacking out, ${his} pelvis has already been patched up. ${He}`); - r.push(App.UI.DOM.makeElement("span", `loathes you`, "mediumorchid")); - r.push(`for forcing ${his} body to undergo such a painful experience and`); - r.push(App.UI.DOM.makeElement("span", `fears`, "gold")); - r.push(`what horror you have planned next.`); - slave.devotion -= 25; - slave.trust -= 25; - } - } else { - r.push(`It only hurt for an instant and a second later was promptly forgotten. To ${him}, ${his} hips were always this wide.`); - } - r.push(`${His} pelvis has been forced into a`); - r.push(App.UI.DOM.makeElement("span", `more feminine`, "lime")); - r.push(`shape.`); - if (slave.hipsImplant > 0) { - r.push(`This has also undone any surgical narrowing ${he} has undergone.`); - } - healthDamage(slave, 20); - slave.hips = 0; - slave.hipsImplant = 0; - App.Events.addNode(el, r, "p"); - } - r = []; - if (birthStorm) { - r.push( - App.UI.DOM.makeElement("span", `The ordeal of constant birthing has had a massive effect on ${his} health as well as completely destroying ${his} vagina.`, "red") - ); - } else if (slave.mpreg === 1) { - if (slave.anus < 0) { // you somehow got a pregnant slave with no vagina catch - r.push(`Childbirth has`); - r.push(App.UI.DOM.makeElement("span", `has torn ${him} a gaping anus.`, "lime")); - } else if (slave.anus === 0) { // please stop selling me pregnant virgins, neighbor gender fundamentalist arcology - r.push(`Childbirth has`); - r.push(App.UI.DOM.makeElement("span", `ruined ${his} virgin ass.`, "lime")); - } else if (slave.anus === 1) { - r.push(`Childbirth has`); - r.push(App.UI.DOM.makeElement("span", `greatly stretched out ${his} ass.`, "lime")); - } else if (slave.anus === 2) { - r.push(`Childbirth has`); - r.push(App.UI.DOM.makeElement("span", `stretched out ${his} ass.`, "lime")); - } else if (slave.anus === 3) { - r.push(`${His} ass was loose enough to not be stretched by childbirth.`); - } else if (slave.anus < 6) { - r.push(`Childbirth stood no chance of stretching ${his} gaping ass.`); - } else if (slave.anus >= 10) { - r.push(`${His} child could barely stretch ${his} cavernous ass.`); - } else { - r.push(`Childbirth has`); - r.push(App.UI.DOM.makeElement("span", `stretched out ${his} ass.`, "lime")); - } - } else { - if (slave.vagina < 0) { // you somehow got a pregnant slave with no vagina catch - r.push(`Childbirth has`); - r.push(App.UI.DOM.makeElement("span", `has torn ${him} a gaping vagina.`, "lime")); - } else if (slave.vagina === 0) { // please stop selling me pregnant virgins, neighbor gender fundamentalist arcology (or maybe it's just surgery?) - r.push(`Childbirth has`); - r.push(App.UI.DOM.makeElement("span", `ruined ${his} virgin vagina.`, "lime")); - } else if (slave.vagina === 1) { - r.push(`Childbirth has`); - r.push(App.UI.DOM.makeElement("span", `greatly stretched out ${his} vagina.`, "lime")); - } else if (slave.vagina === 2) { - r.push(`Childbirth has`); - r.push(App.UI.DOM.makeElement("span", `stretched out ${his} vagina.`, "lime")); - } else if (slave.vagina === 3) { - r.push(`${His} vagina was loose enough to not be stretched by childbirth.`); - } else if (slave.vagina < 6) { - r.push(`Childbirth stood no chance of stretching ${his} gaping vagina.`); - } else if (slave.vagina >= 10) { - r.push(`${His} child could barely stretch ${his} cavernous vagina.`); - } else { - r.push(`Childbirth has`); - r.push(App.UI.DOM.makeElement("span", `stretched out ${his} vagina.`, "lime")); - } - } - App.Events.addNode(el, r, "p"); - if (slave.mpreg === 1) { - /* - r.push(`Childbirth has`) - r.push(App.UI.DOM.makeElement("span", `stretched out ${his} anus.`, "lime")); - //no need for description now - */ - if (V.dairyPregSetting > 1 && slave.anus < 4) { - slave.anus += 1; - } else if (slave.anus < 3) { - slave.anus += 1; - } - } else { - /* - r.push(`Childbirth has`) - r.push(App.UI.DOM.makeElement("span", `stretched out ${his} vagina.`, "lime")); - //no need for description now - */ - if (V.dairyPregSetting > 1 && slave.vagina < 4) { - slave.vagina += 1; - } else if (slave.vagina < 3) { - slave.vagina += 1; - } - } - } else { - r = []; - r.push(`Since ${his}`); - if (slave.mpreg === 1) { - r.push(`ass`); - } else { - r.push(`vagina`); - } - r.push(`was spared from childbirth,`); - r.push(App.UI.DOM.makeElement("span", `it retained its tightness.`, "lime")); - if (V.PC.skill.medicine >= 100) { - r.push(`Since you`); - r.push(App.UI.DOM.makeElement("span", `performed the surgery yourself,`, "springgreen")); - r.push(`and you do an artist's work, ${his} health is`); - r.push(App.UI.DOM.makeElement("span", `less affected`, "green")); - r.push(`by the surgery than it would have been if you'd paid some hack to do it remotely.`); - if (slave.fetish !== "mindbroken" && slave.fuckdoll === 0) { - r.push(`${He} went into the surgery very aware that you were performing it manually.`); - if (slave.devotion < oldDevotion) { - if (slave.devotion > 50) { - r.push(`Though ${he} is unhappy with the results, ${he} consoles ${himself} with the knowledge that you cared enough to do it personally.`); - } else if (slave.devotion >= -20) { - r.push(`${He} is`); - r.push(App.UI.DOM.makeElement("span", `even more afraid`, "gold")); - r.push(`of you afterward than ${he} would otherwise be. You must seem a cruel and near-omnipotent power to ${him}.`); - slave.trust -= 5; - } else { - r.push(`${He} is`); - r.push(App.UI.DOM.makeElement("span", `even more hateful`, "mediumorchid")); - r.push(`of you afterward than ${he} would otherwise be. It must seem to ${him} that ${he}'s nothing more than a test subject to you.`); - slave.devotion -= 5; - } - } else { - if (slave.devotion > 50) { - r.push(`Since ${he}'s happy with the results, ${he}'s almost beside ${himself} with`); - r.push(App.UI.DOM.makeElement("span", `gratitude,`, "hotpink")); - r.push(`and filled with`); - r.push(App.UI.DOM.makeElement("span", `admiration`, "mediumaquamarine")); - r.push(`of your skill.`); - slave.devotion += 4; - slave.trust += 4; - } else if (slave.devotion >= -20) { - r.push(`${He} is quite struck by how you performed the surgery personally. ${He} admires your refusal to be one of the idle rich, and`); - r.push(App.UI.DOM.makeElement("span", `likes you more.`, "hotpink")); - slave.devotion += 5; - } else { - r.push(`${He} knows that ${he} should be grateful to you for performing the surgery personally, but the emotional turmoil of the occasion is too much for ${him}, and the realization makes little lasting impact.`); - } - } - } - } else { - r.push(`As with all surgery`); - r.push(App.UI.DOM.makeElement("span", `${his} health has been slightly affected.`, "red")); - surgeryDamage(slave, 5); - } - App.Events.addNode(el, r, "p"); - } - /* ------ Post birth reactions, mother experience ------------------ */ + function calcBirthDamage() { /* I think all this reactions should be showed only if no c'section used too. Setting it up for just in case: */ if (!cSection && slave.assignment !== "work in the dairy") { // if not desired, this check can be easily removed or deactivated with condition set to true. p = document.createElement("p"); + let r; if (newMother) { App.Events.addNode( p, @@ -1242,8 +997,260 @@ globalThis.birth = function(slave, {birthStorm = false, cSection = false} = {}) for (const boost of r) { App.Events.addNode(p, boost, "div"); } - el.append(p); + return p; + } + } + } + + function postBirthReaction() { + const el = new DocumentFragment(); + let r = []; + /* ---- Postbirth reactions, body -------------------------------------------------------------------------------------------*/ + if (!cSection) { // all this block only if no c'section used. + r = []; + if (slave.broodmother > 0 || slave.womb.length > 0) { /* Now this block shown only for broodmothers or partial birth. They birth only ready children, so numBeingBorn is effective to see how many birthed this time.*/ + if (diffSize > 1.5 && numBeingBorn >= 80) { // only show if belly lost at least 1/4 of original size. + r.push(`After an entire day of labor and birth, ${his} belly sags heavily.`); + } else if (diffSize > 1.5 && numBeingBorn >= 40) { + r.push(`After half a day of labor and birth, ${his} belly sags softly.`); + } else if (diffSize > 1.5 && numBeingBorn >= 20) { + r.push(`After several hours of labor and birth, ${his} belly sags softly.`); + } else if (diffSize > 1.5 && numBeingBorn >= 10) { + r.push(`After few hours of labor and birth, ${his} belly sags softly.`); + } else if (diffSize > 1.5) { + r.push(`After labor and birth, ${his} belly sags softly.`); + } + } else { // this was intended for normal birth to draw attention to how long it takes to pass that many children as well as how deflated she'll be after the fact. + if (slave.pregType >= 80) { + r.push(`After an entire day of labor and birth, ${his} belly sags heavily.`); + } else if (slave.pregType >= 40) { + r.push(`After half a day of labor and birth, ${his} belly sags emptily.`); + } else if (slave.pregType >= 20) { + r.push(`After several hours of labor and birth, ${his} belly sags softly.`); + } } + App.Events.addNode(el, r, "p"); + if ( + (slave.mpreg === 0 && slave.vagina === 0) || + (slave.mpreg === 1 && slave.anus === 0) + ) { + r = []; + r.push(`Since ${he} was a virgin, giving birth was a`); + r.push(App.UI.DOM.makeElement("span", `terribly painful`, "red")); + r.push(`experience.`); + if (slave.fetish !== "mindbroken") { + if (slave.fetish === "masochist") { + if (slave.fetishKnown === 0) { + r.push(`${He} seems to have orgasmed several times during the experience and appears to`); + r.push(App.UI.DOM.makeElement("span", `really like pain.`, "lightcoral")); + slave.fetishKnown = 1; + } else { + r.push(`However, due to ${his} masochistic streak, ${he}`); + r.push(App.UI.DOM.makeElement("span", `greatly enjoyed`, "hotpink")); + r.push(`said experience.`); + } + slave.devotion += 2; + } else if (slave.devotion > 70) { + r.push(`Being allowed to give birth in such a state`); + r.push(App.UI.DOM.makeElement("span", `tests ${his} devotion`, "mediumorchid")); + r.push(`and`); + r.push(App.UI.DOM.makeElement("span", `devastates ${his} trust`, "gold")); + r.push(`in you.`); + slave.devotion -= 10; + slave.trust -= 25; + } else { + r.push(`${He}`); + r.push(App.UI.DOM.makeElement("span", `despises`, "mediumorchid")); + r.push(`you for taking ${his} virginity in such a`); + r.push(App.UI.DOM.makeElement("span", `horrifying`, "gold")); + r.push(`way.`); + slave.devotion -= 25; + slave.trust -= 25; + } + } + healthDamage(slave, 10); + App.Events.addNode(el, r, "p"); + } + if (slave.hips < -1) { + r = []; + r.push(`${He} had exceedingly narrow hips, completely unsuitable for childbirth. As ${he} struggled on ${his}`); + if (numBeingBorn > 1) { + r.push(`first`); + } + r.push(`child, ${his} pelvic bone strained under the pressure until it could no longer hold together and`); + r.push(App.UI.DOM.makeElement("span", `agonizingly snapped.`, "red")); + if (slave.fetish !== "mindbroken") { + if (slave.fetish === "masochist") { + if (slave.fetishKnown === 0) { + r.push(`What would have made most girls blackout from pain sent ${him} into the lewdest orgasm you've seen today. ${He}`); + r.push(App.UI.DOM.makeElement("span", `must get off to pain.`, "lightcoral")); + slave.fetishKnown = 1; + } else { + r.push(`${He} claims to have never climaxed so hard and`); + r.push(App.UI.DOM.makeElement("span", `wishes ${his} hips could have stayed that narrow for next time.`, "hotpink")); + } + slave.devotion += 5; + } else if (slave.devotion > 70) { + r.push(`When ${he} finally comes to after blacking out, ${his} pelvis has already been patched up. ${He} is just glad that ${he} managed to finish giving birth despite the hindrance.`); + } else { + r.push(`When ${he} finally comes to after blacking out, ${his} pelvis has already been patched up. ${He}`); + r.push(App.UI.DOM.makeElement("span", `loathes you`, "mediumorchid")); + r.push(`for forcing ${his} body to undergo such a painful experience and`); + r.push(App.UI.DOM.makeElement("span", `fears`, "gold")); + r.push(`what horror you have planned next.`); + slave.devotion -= 25; + slave.trust -= 25; + } + } else { + r.push(`It only hurt for an instant and a second later was promptly forgotten. To ${him}, ${his} hips were always this wide.`); + } + r.push(`${His} pelvis has been forced into a`); + r.push(App.UI.DOM.makeElement("span", `more feminine`, "lime")); + r.push(`shape.`); + if (slave.hipsImplant > 0) { + r.push(`This has also undone any surgical narrowing ${he} has undergone.`); + } + healthDamage(slave, 20); + slave.hips = 0; + slave.hipsImplant = 0; + App.Events.addNode(el, r, "p"); + } + r = []; + if (birthStorm) { + r.push( + App.UI.DOM.makeElement("span", `The ordeal of constant birthing has had a massive effect on ${his} health as well as completely destroying ${his} vagina.`, "red") + ); + } else if (slave.mpreg === 1) { + if (slave.anus < 0) { // you somehow got a pregnant slave with no vagina catch + r.push(`Childbirth has`); + r.push(App.UI.DOM.makeElement("span", `has torn ${him} a gaping anus.`, "lime")); + } else if (slave.anus === 0) { // please stop selling me pregnant virgins, neighbor gender fundamentalist arcology + r.push(`Childbirth has`); + r.push(App.UI.DOM.makeElement("span", `ruined ${his} virgin ass.`, "lime")); + } else if (slave.anus === 1) { + r.push(`Childbirth has`); + r.push(App.UI.DOM.makeElement("span", `greatly stretched out ${his} ass.`, "lime")); + } else if (slave.anus === 2) { + r.push(`Childbirth has`); + r.push(App.UI.DOM.makeElement("span", `stretched out ${his} ass.`, "lime")); + } else if (slave.anus === 3) { + r.push(`${His} ass was loose enough to not be stretched by childbirth.`); + } else if (slave.anus < 6) { + r.push(`Childbirth stood no chance of stretching ${his} gaping ass.`); + } else if (slave.anus >= 10) { + r.push(`${His} child could barely stretch ${his} cavernous ass.`); + } else { + r.push(`Childbirth has`); + r.push(App.UI.DOM.makeElement("span", `stretched out ${his} ass.`, "lime")); + } + } else { + if (slave.vagina < 0) { // you somehow got a pregnant slave with no vagina catch + r.push(`Childbirth has`); + r.push(App.UI.DOM.makeElement("span", `has torn ${him} a gaping vagina.`, "lime")); + } else if (slave.vagina === 0) { // please stop selling me pregnant virgins, neighbor gender fundamentalist arcology (or maybe it's just surgery?) + r.push(`Childbirth has`); + r.push(App.UI.DOM.makeElement("span", `ruined ${his} virgin vagina.`, "lime")); + } else if (slave.vagina === 1) { + r.push(`Childbirth has`); + r.push(App.UI.DOM.makeElement("span", `greatly stretched out ${his} vagina.`, "lime")); + } else if (slave.vagina === 2) { + r.push(`Childbirth has`); + r.push(App.UI.DOM.makeElement("span", `stretched out ${his} vagina.`, "lime")); + } else if (slave.vagina === 3) { + r.push(`${His} vagina was loose enough to not be stretched by childbirth.`); + } else if (slave.vagina < 6) { + r.push(`Childbirth stood no chance of stretching ${his} gaping vagina.`); + } else if (slave.vagina >= 10) { + r.push(`${His} child could barely stretch ${his} cavernous vagina.`); + } else { + r.push(`Childbirth has`); + r.push(App.UI.DOM.makeElement("span", `stretched out ${his} vagina.`, "lime")); + } + } + App.Events.addNode(el, r, "p"); + if (slave.mpreg === 1) { + /* + r.push(`Childbirth has`) + r.push(App.UI.DOM.makeElement("span", `stretched out ${his} anus.`, "lime")); + //no need for description now + */ + if (V.dairyPregSetting > 1 && slave.anus < 4) { + slave.anus += 1; + } else if (slave.anus < 3) { + slave.anus += 1; + } + } else { + /* + r.push(`Childbirth has`) + r.push(App.UI.DOM.makeElement("span", `stretched out ${his} vagina.`, "lime")); + //no need for description now + */ + if (V.dairyPregSetting > 1 && slave.vagina < 4) { + slave.vagina += 1; + } else if (slave.vagina < 3) { + slave.vagina += 1; + } + } + } else { + r = []; + r.push(`Since ${his}`); + if (slave.mpreg === 1) { + r.push(`ass`); + } else { + r.push(`vagina`); + } + r.push(`was spared from childbirth,`); + r.push(App.UI.DOM.makeElement("span", `it retained its tightness.`, "lime")); + if (V.PC.skill.medicine >= 100) { + r.push(`Since you`); + r.push(App.UI.DOM.makeElement("span", `performed the surgery yourself,`, "springgreen")); + r.push(`and you do an artist's work, ${his} health is`); + r.push(App.UI.DOM.makeElement("span", `less affected`, "green")); + r.push(`by the surgery than it would have been if you'd paid some hack to do it remotely.`); + if (slave.fetish !== "mindbroken" && slave.fuckdoll === 0) { + r.push(`${He} went into the surgery very aware that you were performing it manually.`); + if (slave.devotion < oldDevotion) { + if (slave.devotion > 50) { + r.push(`Though ${he} is unhappy with the results, ${he} consoles ${himself} with the knowledge that you cared enough to do it personally.`); + } else if (slave.devotion >= -20) { + r.push(`${He} is`); + r.push(App.UI.DOM.makeElement("span", `even more afraid`, "gold")); + r.push(`of you afterward than ${he} would otherwise be. You must seem a cruel and near-omnipotent power to ${him}.`); + slave.trust -= 5; + } else { + r.push(`${He} is`); + r.push(App.UI.DOM.makeElement("span", `even more hateful`, "mediumorchid")); + r.push(`of you afterward than ${he} would otherwise be. It must seem to ${him} that ${he}'s nothing more than a test subject to you.`); + slave.devotion -= 5; + } + } else { + if (slave.devotion > 50) { + r.push(`Since ${he}'s happy with the results, ${he}'s almost beside ${himself} with`); + r.push(App.UI.DOM.makeElement("span", `gratitude,`, "hotpink")); + r.push(`and filled with`); + r.push(App.UI.DOM.makeElement("span", `admiration`, "mediumaquamarine")); + r.push(`of your skill.`); + slave.devotion += 4; + slave.trust += 4; + } else if (slave.devotion >= -20) { + r.push(`${He} is quite struck by how you performed the surgery personally. ${He} admires your refusal to be one of the idle rich, and`); + r.push(App.UI.DOM.makeElement("span", `likes you more.`, "hotpink")); + slave.devotion += 5; + } else { + r.push(`${He} knows that ${he} should be grateful to you for performing the surgery personally, but the emotional turmoil of the occasion is too much for ${him}, and the realization makes little lasting impact.`); + } + } + } + } else { + r.push(`As with all surgery`); + r.push(App.UI.DOM.makeElement("span", `${his} health has been slightly affected.`, "red")); + surgeryDamage(slave, 5); + } + App.Events.addNode(el, r, "p"); + } + /* ------ Post birth reactions, mother experience ------------------ */ + if (birthDamageText) { + el.append(birthDamageText); } /* ----- Body/mother resume -------------------------*/ p = document.createElement("p");