diff --git a/js/birth/birth.js b/js/birth/birth.js index 11d2eda07e04b3b6ba23dd7843559914c7257d85..12590b042298db4a368a80fdf34ee0b0c8e719c1 100644 --- a/js/birth/birth.js +++ b/js/birth/birth.js @@ -594,13 +594,13 @@ globalThis.allBirths = function() { if (_seb < _fathersReduced.length - 1) { r.push(`${_fathersReduced[_seb]},`); } else { - r.push(`and ${_fathersReduced[_seb]}${(cSection === 1)?`, entered the world`:``}.`); + r.push(`and ${_fathersReduced[_seb]}${(cSection === 1) ? `, entered the world` : ``}.`); } } } else if (_fathersReduced.length > 1) { - r.push(`${_fathersReduced[0]} and ${_fathersReduced[1]}${(cSection === 1)?`, entered the world`:``}.`); + r.push(`${_fathersReduced[0]} and ${_fathersReduced[1]}${(cSection === 1) ? `, entered the world` : ``}.`); } else { - r.push(`${_fathersReduced[0]}${(cSection === 1)?`, entered the world`:``}.`); + r.push(`${_fathersReduced[0]}${(cSection === 1) ? `, entered the world` : ``}.`); } } if (_curStill > 0 && curBabies > 0) { @@ -791,11 +791,11 @@ globalThis.allBirths = function() { if (slave.mpreg === 1) { if (slave.anus < 2) { - App.UI.DOM.appendNewElement("div", p, `${His} tight ass <span class="red">hindered ${his} ${(curBabies > 1)?`babies`:`baby's`} birth.</span>`); + App.UI.DOM.appendNewElement("div", p, `${His} tight ass <span class="red">hindered ${his} ${(curBabies > 1) ? `babies` : `baby's`} birth.</span>`); } } else { if (slave.vagina < 2) { - App.UI.DOM.appendNewElement("div", p, `${His} tight vagina <span class="red">hindered ${his} ${(curBabies > 1)?`babies`:`baby's`} birth.</span>`); + App.UI.DOM.appendNewElement("div", p, `${His} tight vagina <span class="red">hindered ${his} ${(curBabies > 1) ? `babies` : `baby's`} birth.</span>`); } if (slave.vaginaLube === 0) { @@ -864,11 +864,11 @@ globalThis.allBirths = function() { if ( ( (slave.vagina >= 2 || slave.vaginaLube > 0) && slave.mpreg === 1) || - _newMother === 0 || - slave.hips > 0 || - (setup.nurseCareers.includes(slave.career) && slave.fetish !== "mindbroken" && slave.muscles >= -95) || - slave.intelligenceImplant >= 15 || - slave.pregAdaptation >= 100 + _newMother === 0 || + slave.hips > 0 || + (setup.nurseCareers.includes(slave.career) && slave.fetish !== "mindbroken" && slave.muscles >= -95) || + slave.intelligenceImplant >= 15 || + slave.pregAdaptation >= 100 ) { p = document.createElement("p"); App.UI.DOM.appendNewElement("div", p, `However:`); @@ -949,7 +949,7 @@ globalThis.allBirths = function() { } if (slave.geneticQuirks.uterineHypersensitivity === 2) { - r.push(`Not only that, but <span class="green">the entire process was extremely pleasurable for ${him}</span>${(curBabies > 1)?`, with orgasms growing more powerful with each baby ${he} brought to the world`:``}. ${He} can't wait to be impregnated and give birth again,`); + r.push(`Not only that, but <span class="green">the entire process was extremely pleasurable for ${him}</span>${(curBabies > 1) ? `, with orgasms growing more powerful with each baby ${he} brought to the world` : ``}. ${He} can't wait to be impregnated and give birth again,`); if (V.birthDamage > 10) { r.push(`despite the complications,`); } @@ -977,7 +977,7 @@ globalThis.allBirths = function() { } /* this needs a tally of how many babies were lost due to underdevelopment instead of relying off a check */ if (V.surgeryUpgrade !== 1 && slave.curStillBirth > 0) { - App.UI.DOM.appendNewElement("div", p, `It's possible that <span class="red">having advanced equipment</span> in the remote surgery could have prevented the loss of ${his} ${slave.curStillBirth} unborn ${(slave.curStillBirth > 1)?`children`:`child`}.`); + App.UI.DOM.appendNewElement("div", p, `It's possible that <span class="red">having advanced equipment</span> in the remote surgery could have prevented the loss of ${his} ${slave.curStillBirth} unborn ${(slave.curStillBirth > 1) ? `children` : `child`}.`); } el.append(p); @@ -1075,5 +1075,753 @@ globalThis.allBirths = function() { } return el; } + + function birthBabies() { + const el = document.createElement("p"); + let r = []; + let _cToIncub = 0; + let _cToNursery = 0; + let _babyCost; + for (const baby of curBabies) { + if (baby.reserve === "incubator") { + _cToIncub++; + } else if (baby.reserve === "nursery") { + _cToNursery++; + } + } + + /* ----------------------- incubator/nursery adding subsection. There is support for broodmothers too. */ + + if ((_cToIncub + _cToNursery > 0) && curBabies > 0) { + /* Do we need keep child checks?*/ + // <br><br> + if (curBabies > 1) { + r.push(`Of ${his} ${curBabies} ${children},`); + } else { + r.push(`${His} child`); + } + if (_cToIncub > 0) { + if (curBabies > 1) { + _cToIncub; + } + if (_cToIncub === 1) { + r.push(`was`); + } else { + r.push(`were`); + } + r.push(` taken to ${V.incubatorName}`); + if (_cToNursery > 0) { + r.push(` and `); + } + } + if (_cToNursery > 0) { + if (curBabies > 1) { + _cToNursery; + } + if (_cToNursery === 1) { + r.push(`was`); + } else { + r.push(`were`); + } + r.push(` taken to ${V.nurseryName}`); + } + r.push(`.`); + if (_cToIncub + _cToNursery > 0) { + sendNewbornsToFacility(slave); + } + + curBabies = slave.curBabies.length; + // <br><br> + if (curBabies > 0) { + r.push(`After sending ${his} reserved child`); + if (_cToIncub + _cToNursery > 1) { + r.push(`ren`); + } + r.push(` to`); + if (_cToIncub > 0 && _cToNursery > 0) { + r.push(`${V.incubatorName} and V.nurseryName,`); + } else if (_cToIncub > 0) { + r.push(`${V.incubatorName},`); + } else { + r.push(`${V.nurseryName},`); + } + r.push(`it's time to decide the fate of the other`); + if (curBabies > 0) { + r.push(`s`); + } + r.push(`.`); + } + } + + /* ------------------------ Fate of other babies ---------------------------------------*/ + + if (slave.fetish !== "mindbroken" && slave.fuckdoll === 0 && curBabies > 0) { + // <br><br> + // <<span V.dispositionId>> + if (V.arcologies[0].FSRestart !== "unset" && slave.breedingMark === 1 && V.propOutcome === 1 && (slave.pregSource === -1 || slave.pregSource === -6)) { + r.push(`${His} child`); + if (curBabies > 1) { + r.push(`ren are`); + } else { + r.push(` is`); + } + r.push(` collected by the Societal Elite to be raised into upstanding members of the new society.`); + } else if (slave.breedingMark === 1 && V.propOutcome === 1 && (slave.pregSource === -1 || slave.pregSource === -6) && V.DefaultBirthDestination === "the market") { + _babyCost = random(2000, 4500); + r.push(`${His} `); + if (curBabies > 1) { + r.push(`babies were`); + } else { + r.push(`baby was`); + } + r.push(` purchased by the Societal Elite for <span class="yellowgreen">`); + cashFormat(curBabies * (_babyCost)); + r.push(`.</span>`); + cashX((curBabies * (_babyCost)), "babyTransfer"); + } else if (slave.pregSource === -9 && V.DefaultBirthDestination === "the market") { + _babyCost = random(1000, 2500); + r.push(`${His} `); + if (curBabies > 1) { + r.push(`babies were`); + } else { + r.push(`baby was`); + } + r.push(` purchased by the Futanari Sisters for <span class="yellowgreen">`); + cashFormat(curBabies * (_babyCost)); + r.push(`.</span>`); + cashX((curBabies * (_babyCost)), "babyTransfer"); + } else if (V.DefaultBirthDestination === "individually decided fates") { + V.slaveOrphanageTotal += curBabies; + r.push(`Unless you provide otherwise, the child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(` will be remanded to one of ${V.arcologies[0].name}'s slave orphanages. ${slave.slaveName}`); + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r.push(`shows no indication of an opinion on the matter.`); + } else if (slave.devotion > 95) { + r.push(`worships you so completely that ${he} will not resent this.`); + } else if (slave.devotion > 50) { + r.push(`is devoted to you, but ${he} will <span class="mediumorchid">struggle to accept this.</span>`); + slave.devotion -= 2; + } else if (slave.devotion > 20) { + r.push(`has accepted being a sex slave, but ${he} will <span class="mediumorchid">resent this intensely.</span>`); + slave.devotion -= 3; + } else { + r.push(`will of course <span class="mediumorchid">hate you for this.</span>`); + slave.devotion -= 4; + } + // <<capture V.i, V.dispositionId, curBabies>> + // <br> + if (V.arcologies[0].FSRepopulationFocus > 40) { + // <br> + // </br><<link "Send them to a breeder school">> + // <<replace `"#" + V.dispositionId`>> + r.push(`The child`); + if (curBabies > 1) { + r.push(`ren are`); + } else { + r.push(` is`); + } + r.push(` sent to one of ${V.arcologies[0].name}'s future minded schools, to be administered fertility and virility treatments as well as be brought up to take pride in reproduction. ${slave.slaveName}`); + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r.push(`has few thoughts about the matter.`); + } else if (slave.sexualFlaw === "breeder") { + r.push(`<span class="hotpink">almost orgasms</span> when ${he} imagines ${his} child`); + if (curBabies > 1) { + r.push(`ren being raised into breeding-obsessed baby-factories`); + } else { + r.push(` being raised into a breeding-obsessed baby-factory`); + } + r.push(`, just like ${himself}.`); + slave.devotion += 5; + } else if (slave.devotion > 95) { + r.push(`loves you already, but ${he}'ll <span class="hotpink">love you even more</span> for this. ${He} can't wait to see ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(` proudly furthering your cause.`); + slave.devotion += 4; + } else if (slave.devotion > 50) { + r.push(`heard about these and will be <span class="hotpink">happy that ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(` will have a purpose in your society other than slavery.</span> ${He} will miss ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but ${he} expected that.`); + slave.devotion += 4; + } else if (slave.devotion > 20) { + r.push(`will naturally miss ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but will is broken enough to hope that ${his} offspring will have a better life, or at least an enjoyable one.`); + } else { + r.push(`will of course <span class="mediumorchid">hate you for this.</span> The mere thought of ${his} `); + if (V.minimumSlaveAge > V.fertilityAge) { + r.push(`${V.minimumSlaveAge}`); + } else { + r.push(`${V.fertilityAge}`); + } + r.push(` year old daughter`); + if (curBabies > 1) { + r.push(`s`); + } + r.push(` swollen with life, and proud of it, fills ${him} with <span class="gold">disdain.</span>`); + slave.devotion -= 4; + slave.trust -= 4; + } + V.breederOrphanageTotal += curBabies; + V.slaveOrphanageTotal -= curBabies; + // <</replace>> + // <</link>> + // Will cost a one-time + cashFormat(50);// + } + // <br> + // <<link "Send them to a citizen school">> + // <<replace `"#" + V.dispositionId`>> + r.push(`The child`); + if (curBabies > 1) { + r.push(`ren are`); + } else { + r.push(` is`); + } + r.push(` sent to one of ${V.arcologies[0].name}'s citizen schools, to be brought up coequal with the arcology's other young people. ${slave.slaveName}`); + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r.push(`fails to acknowledge this.`); + } else if (slave.devotion > 95) { + r.push(`loves you already, but ${he}'ll <span class="hotpink">love you even more</span> for this.`); + slave.devotion += 4; + } else if (slave.devotion > 50) { + r.push(`knows about these and will be <span class="hotpink">overjoyed.</span> ${He} will miss ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but ${he} expected that.`); + slave.devotion += 4; + } else if (slave.devotion > 20) { + r.push(`will naturally miss ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but will <span class="hotpink">take comfort</span> in the hope that ${his} offspring will have a better life.`); + slave.devotion += 4; + } else { + r.push(`will naturally retain some resentment over being separated from ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but this should be balanced by hope that ${his} offspring will have a better life.`); + slave.devotion += 4; + } + V.citizenOrphanageTotal += curBabies; + V.slaveOrphanageTotal -= curBabies; + // <</replace>> + // <</link>> + // Will cost + cashFormat(100); + r.push(` weekly//`); + if (slave.breedingMark === 1 && (slave.pregSource === -1 || slave.pregSource === -6) && V.propOutcome === 1) { + // <br> + // </br><<link "Give them to the Societal Elite.">> + // <<replace #_disposition>> + r.push(`The child`); + if (curBabies > 1) { + r.push(`ren are`); + } else { + r.push(` is`); + } + r.push(` sent to be raised by the Societal Elite, to be brought up as `); + if (curBabies > 1) { + r.push(`future members`); + } else { + r.push(`a future member`); + } + r.push(` of their vision of the world. ${slave.slaveName}`); + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r.push(`does not give any hint of a response.`); + } else if (slave.devotion > 95) { + r.push(`will <span class="hotpink">worship you utterly</span> for this.`); + slave.devotion += 6; + } else if (slave.devotion > 50) { + r.push(`understands that this is the best possible outcome for the offspring of a slave, and will be <span class="hotpink">overjoyed.</span>`); + slave.devotion += 6; + } else if (slave.devotion > 20) { + r.push(`will miss ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but will be <span class="hotpink">very grateful,</span> since ${he}'ll understand this is the best possible outcome for a slave mother.`); + slave.devotion += 6; + } else { + r.push(`will resent being separated from ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but <span class="hotpink">should understand and be grateful</span> that this is the best possible outcome here.`); + slave.devotion += 6; + } + // <</replace>> + V.nextButton = "Back"; + // <<UpdateNextButton>> + /* unlock Continue button */ + // <</link>> + } + if (slave.pregSource === -9) { + // <br> + // <<link "Give them to the Futanari Sisters">> + // <<replace `"#" + V.dispositionId`>> + r.push(`The child`); + if (curBabies > 1) { + r.push(`ren are`); + } else { + r.push(` is`); + } + r.push(` handed off to be raised by their father, the Futanari Sisters. ${slave.slaveName}`); + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r.push(`has few thoughts about the matter.`); + } else { + r.push(`is overjoyed that ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(` will follow in `); + if (curBabies > 1) { + r.push(`their`); + } else { + r.push(`its`); + } + r.push(` parent's footsteps.`); + slave.devotion += 4; + } + V.slaveOrphanageTotal -= curBabies; + // <</replace>> + // <</link>> + } + // <br> + // <<link "Have them raised privately">> + // <<replace `"#" + V.dispositionId`>> + r.push(`The child`); + if (curBabies > 1) { + r.push(`ren are`); + } else { + r.push(` is`); + } + r.push(` sent to be privately raised, to be brought up as `); + if (curBabies > 1) { + r.push(`future high class citizens`); + } else { + r.push(`a future high class citizen`); + } + r.push(`. ${slave.slaveName}`); + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r.push(`does not give any hint of a response.`); + } else if (slave.devotion > 95) { + r.push(`will <span class="hotpink">worship you utterly</span> for this.`); + slave.devotion += 6; + } else if (slave.devotion > 50) { + r.push(`understands that this is the best possible outcome for the offspring of slave, and will be <span class="hotpink">overjoyed.</span>`); + slave.devotion += 6; + } else if (slave.devotion > 20) { + r.push(`will miss ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but will be <span class="hotpink">very grateful,</span> since ${he}'ll understand this is the best possible outcome for a slave mother.`); + slave.devotion += 6; + } else { + r.push(`will resent being separated from ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but <span class="hotpink">should understand and be grateful</span> that this is the best possible outcome here.`); + slave.devotion += 6; + } + r.push(`The child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(` will be raised privately, with expert care and tutoring, an expensive proposition.`); + V.privateOrphanageTotal += curBabies; + V.slaveOrphanageTotal -= curBabies; + // <</replace>> + // <</link>> + // Will cost + cashFormat(500); + r.push(` weekly//`); + if (V.policies.cash4Babies === 1) { + if (slave.prestige > 1 || slave.porn.prestige > 2) { + // <br> + // </br><<link "Send them to auction">> + // <<replace `"#" + V.dispositionId`>> + _babyCost = random(-12, 100); + if (slave.prematureBirth === 1) { + _babyCost = random(-32, 40); + } + r.push(`${His} `); + if (curBabies > 1) { + r.push(`babies were`); + } else { + r.push(`baby was`); + } + r.push(` sold for `); + if (curBabies > 1) { + r.push(`a total of `); + } + if (slave.prematureBirth === 1) { + r.push(`<span class="yellowgreen">`); + cashFormat(curBabies * (50 + _babyCost)); + r.push(`,</span> a low price, due to the added costs of caring for them.`); + } else { + r.push(`<span class="yellowgreen">`); + cashFormat(curBabies * (50 + _babyCost)); + r.push(`.</span>`); + } + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r.push(`${slave.slaveName} lacks the capacity to understand what you've done.`); + } else if (slave.devotion > 95) { + r.push(`${slave.slaveName} adheres to your thoughts so strongly that even though you backed out of caring for ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, ${he} still truly believes you are doing ${him} an honor.`); + } else if (slave.devotion > 50) { + r.push(`${slave.slaveName} is <span class="mediumorchid">deeply hurt</span> by your sudden decision to sell ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(` instead of having `); + if (curBabies > 1) { + r.push(`them`); + } else { + r.push(`it`); + } + r.push(` cared for. ${His} trust in your words <span class="gold">wavers</span> as ${he} thinks of ${his} ${children}'s future.`); + slave.trust -= 5; + slave.devotion -= 5; + } else if (slave.devotion > 20) { + r.push(`${slave.slaveName} is <span class="mediumorchid">devastated</span> by your sudden decision to sell ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(` instead of having `); + if (curBabies > 1) { + r.push(`them`); + } else { + r.push(`it`); + } + r.push(` cared for. ${His} mind struggles to comprehend <span class="gold">such betrayal.</span>`); + slave.trust -= 10; + slave.devotion -= 10; + } else { + r.push(`For a moment, ${slave.slaveName} thought ${he} saw a glimmer of good in you; <span class="mediumorchid">${he} was clearly wrong.</span> ${His} mind struggles to comprehend <span class="gold">why ${he} could ever even think of trusting such a person.</span>`); + slave.trust -= 30; + slave.devotion -= 30; + } + V.slaveOrphanageTotal -= curBabies; + cashX((curBabies * (50 + _babyCost)), "babyTransfer"); + // <</replace>> + // <</link>> + } else { + // | <<link "Sell them anyway">> + // <<replace `"#" + V.dispositionId`>> + _babyCost = random(-12, 12); + if (slave.prematureBirth === 1) { + _babyCost = -45; + } + r.push(`${His} `); + if (curBabies > 1) { + r.push(`babies were`); + } else { + r.push(`baby was`); + } + r.push(` sold for `); + if (curBabies > 1) { + r.push(`a total of `); + } + if (slave.prematureBirth === 1) { + r.push(`<span class="yellowgreen">`); + cashFormat(curBabies * (50 + _babyCost)); + r.push(`,</span> a low price, due to the added costs of caring for them.`); + } else { + r.push(`<span class="yellowgreen">`); + cashFormat(curBabies * (50 + _babyCost)); + r.push(`.</span>`); + } + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r.push(`${slave.slaveName} lacks the capacity to understand what you've done.`); + } else if (slave.devotion > 95) { + r.push(`${slave.slaveName} adheres to your thoughts so strongly that even though you backed out of caring for ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, ${he} still truly believes you are doing ${him} an honor.`); + } else if (slave.devotion > 50) { + r.push(`${slave.slaveName} is <span class="mediumorchid">deeply hurt</span> by your sudden decision to sell ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(` instead of having `); + if (curBabies > 1) { + r.push(`them`); + } else { + r.push(`it`); + } + r.push(` cared for. ${His} trust in your words <span class="gold">wavers</span> as ${he} thinks of ${his} ${children}'s future.`); + slave.trust -= 5; + slave.devotion -= 5; + } else if (slave.devotion > 20) { + r.push(`${slave.slaveName} is <span class="mediumorchid">devastated</span> by your sudden decision to sell ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(` instead of having `); + if (curBabies > 1) { + r.push(`them`); + } else { + r.push(`it`); + } + r.push(` cared for. ${His} mind struggles to comprehend <span class="gold">such betrayal.</span>`); + slave.trust -= 10; + slave.devotion -= 10; + } else { + r.push(`For a moment, ${slave.slaveName} thought ${he} saw a glimmer of good in you; <span class="mediumorchid">${he} was clearly wrong.</span> ${His} mind struggles to comprehend <span class="gold">why ${he} could ever even thing of trusting such a person.</span>`); + slave.trust -= 30; + slave.devotion -= 30; + } + V.slaveOrphanageTotal -= curBabies; + cashX((curBabies * (50 + _babyCost)), "babyTransfer"); + // <</replace>> + // <</link>> + } + } + // <</capture>> + } else { + r.push(`${His} `); + if (curBabies > 1) { + r.push(`babies were`); + } else { + r.push(`baby was`); + } + r.push(` sent to ${V.DefaultBirthDestination}.`); + switch (V.DefaultBirthDestination) { + case "an orphanage": + r.push(`${slave.slaveName}`); + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r.push(`shows no indication of an opinion on the matter.`); + } else if (slave.devotion > 95) { + r.push(`worships you so completely that ${he} will not resent this.`); + } else if (slave.devotion > 50) { + r.push(`is devoted to you, but ${he} will <span class="mediumorchid">struggle to accept this.</span>`); + slave.devotion -= 2; + } else if (slave.devotion > 20) { + r.push(`has accepted being a sex slave, but ${he} will <span class="mediumorchid">resent this intensely.</span>`); + slave.devotion -= 3; + } else { + r.push(`will of course <span class="mediumorchid">hate you for this.</span>`); + slave.devotion -= 4; + } + V.slaveOrphanageTotal += curBabies; + break; + case "a citizen school": + r.push(`${slave.slaveName}`); + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r.push(`fails to acknowledge this.`); + } else if (slave.devotion > 95) { + r.push(`loves you already, but ${he}'ll <span class="hotpink">love you even more</span> for this.`); + slave.devotion += 4; + } else if (slave.devotion > 50) { + r.push(`knows about these and will be <span class="hotpink">overjoyed.</span> ${He} will miss ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but ${he} expected that.`); + slave.devotion += 4; + } else if (slave.devotion > 20) { + r.push(`will naturally miss ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but will <span class="hotpink">take comfort</span> in the hope that ${his} offspring will have a better life.`); + slave.devotion += 4; + } else { + r.push(`will naturally retain some resentment over being separated from ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but this should be balanced by hope that ${his} offspring will have a better life.`); + slave.devotion += 4; + } + V.citizenOrphanageTotal += curBabies; + break; + case "a private school": + r.push(`${slave.slaveName}`); + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r.push(`does not give any hint of a response.`); + } else if (slave.devotion > 95) { + r.push(`will <span class="hotpink">worship you utterly</span> for this.`); + slave.devotion += 6; + } else if (slave.devotion > 50) { + r.push(`understands that this is the best possible outcome for the offspring of a slave, and will be <span class="hotpink">overjoyed.</span>`); + slave.devotion += 6; + } else if (slave.devotion > 20) { + r.push(`will miss ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but will be <span class="hotpink">very grateful,</span> since ${he}'ll understand this is the best possible outcome for a slave mother.`); + slave.devotion += 6; + } else { + r.push(`will resent being separated from ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but <span class="hotpink">should understand and be grateful</span> that this is the best possible outcome here.`); + slave.devotion += 6; + } + r.push(`The child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(` will be raised privately, with expert care and tutoring, an expensive proposition.`); + V.privateOrphanageTotal += curBabies; + break; + case "breeder schools": + r.push(`${slave.slaveName}`); + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r.push(`has few thoughts about the matter.`); + } else if (slave.sexualFlaw === "breeder") { + r.push(`<span class="hotpink">almost orgasms</span> when ${he} imagines ${his} child`); + if (curBabies > 1) { + r.push(`ren being raised into breeding-obsessed baby-factories`); + } else { + r.push(` being raised into a breeding-obsessed baby-factory`); + } + r.push(`, just like ${himself}.`); + slave.devotion += 5; + } else if (slave.devotion > 95) { + r.push(`loves you already, but ${he}'ll <span class="hotpink">love you even more</span> for this. ${He} can't wait to see ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(` proudly furthering your cause.`); + slave.devotion += 4; + } else if (slave.devotion > 50) { + r.push(`heard about these and will be <span class="hotpink">happy that ${his} child`); + if (slave.pregType > 1) { + r.push(`ren`); + } + r.push(` will have a purpose in your society other than slavery.</span> ${He} will miss ${his} child`); + if (slave.pregType > 1) { + r.push(`ren`); + } + r.push(`, but ${he} expected that.`); + slave.devotion += 4; + } else if (slave.devotion > 20) { + r.push(`will naturally miss ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, but will is broken enough to hope that ${his} offspring will have a better life, or at least an enjoyable one.`); + } else { + r.push(`will of course <span class="mediumorchid">hate you for this.</span> The mere thought of ${his} `); + if (V.minimumSlaveAge > V.fertilityAge) { + r.push(`${V.minimumSlaveAge}`); + } else { + r.push(`${V.fertilityAge}`); + } + r.push(` year old daughter`); + if (curBabies > 1) { + r.push(`s`); + } + r.push(` swollen with life, and proud of it, fills ${him} with <span class="gold">disdain.</span>`); + slave.devotion -= 4; + slave.trust -= 4; + } + V.breederOrphanageTotal += curBabies; + break; + case "the market": + if (slave.prestige > 1 || slave.porn.prestige > 2) { + _babyCost = random(-12, 100); + if (slave.prematureBirth > 0) { + _babyCost = random(-32, 40); + } + } else { + _babyCost = random(-12, 12); + if (slave.prematureBirth > 0) { + _babyCost = -45; + } + } + r.push(`${His} `); + if (curBabies > 1) { + r.push(`babies were`); + } else { + r.push(`baby was`); + } + r.push(` sold for `); + if (curBabies > 1) { + r.push(`a total of `); + } + if (slave.prematureBirth === 1) { + r.push(`<span class="yellowgreen">`); + cashFormat(curBabies * (50 + _babyCost)); + r.push(`,</span> a low price, due to the added costs of caring for them.`); + } else { + r.push(`<span class="yellowgreen">`); + cashFormat(curBabies * (50 + _babyCost)); + r.push(`.</span>`); + } + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r.push(`${slave.slaveName} lacks the capacity to understand what you've done.`); + } else if (slave.devotion > 95) { + r.push(`${slave.slaveName} adheres to your thoughts so strongly that even though you backed out of caring for ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(`, ${he} still truly believes you are doing ${him} an honor.`); + } else if (slave.devotion > 50) { + r.push(`${slave.slaveName} is <span class="mediumorchid">deeply hurt</span> by your sudden decision to sell ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(` instead of having `); + if (curBabies > 1) { + r.push(`them`); + } else { + r.push(`it`); + } + r.push(` cared for. ${His} trust in your words <span class="gold">wavers</span> as ${he} thinks of ${his} ${children}'s future.`); + slave.trust -= 5; + slave.devotion -= 5; + } else if (slave.devotion > 20) { + r.push(`${slave.slaveName} is <span class="mediumorchid">devastated</span> by your sudden decision to sell ${his} child`); + if (curBabies > 1) { + r.push(`ren`); + } + r.push(` instead of having `); + if (curBabies > 1) { + r.push(`them`); + } else { + r.push(`it`); + } + r.push(` cared for. ${His} mind struggles to comprehend <span class="gold">such betrayal.</span>`); + slave.trust -= 10; + slave.devotion -= 10; + } else { + r.push(`For a moment, ${slave.slaveName} thought ${he} saw a glimmer of good in you; <span class="mediumorchid">${he} was clearly wrong.</span> ${His} mind struggles to comprehend <span class="gold">why ${he} could ever even thing of trusting such a person.</span>`); + slave.trust -= 30; + slave.devotion -= 30; + } + cashX(curBabies * (50 + _babyCost), "babyTransfer"); + } + } + // <</span>> + } + return el; + } } };