diff --git a/src/js/birthJS.js b/src/js/birthJS.js index 691204ee9498f8e0158602f7d2cfebc08131f1a1..6f38f46a463014ca1475368f0ea9a45df5e9f7b4 100644 --- a/src/js/birthJS.js +++ b/src/js/birthJS.js @@ -2,22 +2,28 @@ window.BirthDestinationText = function(choice,slave) { var pronouns = getPronouns(slave); var he = pronouns.pronoun, him = pronouns.object, his = pronouns.possessive, hers = pronouns.possessivePronoun, himself = pronouns.objectReflexive, boy = pronouns.noun; var He = capFirstChar(he), His = capFirstChar(his); - const V = State.variables,T = State.temporary, sn = SlaveFullName(slave); + const V = State.variables, T = State.temporary, sn = SlaveFullName(slave); var child = T.count > 1 ? 'children' : 'child'; var r = ``; - if (T.call !== 1) { if (choice !== "Private") r += `sent to one of ${V.arcologies[0].name}'s `; - } else { if (choice !== "Sold") r += ` ${sn} `; + if (T.call !== 1) { + if (choice !== "Private") { + r += `sent to one of ${V.arcologies[0].name}'s `; + } + } else if (choice !== "Sold" && slave.burst < 1) { + r += ` ${sn} `; } switch(choice) { case "Breeder": - if (T.call !== 1) r += `future minded schools, to be administered fertility and virility treatments as well as be brought up to take pride in reproduction.`; - if (slave.burst > 0) r += ` Hopefully there they will be trained to not suffer the same fate.`; - r += ` ${sn} `; - if (slave.fetish === "mindbroken" || slave.fuckdoll > 0 || slave.burst > 0) { - r += `has few thoughts about the matter.`; + if (T.call !== 1) { + r += `future minded schools, to be administered fertility and virility treatments as well as be brought up to take pride in reproduction.`; } - if (V.slave.burst < 1) { - if (slave.devotion > 95) { + if (slave.burst > 0) { + r += ` Hopefully there they will be trained to not suffer the same fate.`; + } else { + r += ` ${sn} `; + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r += `has few thoughts about the matter.`; + } else if (slave.devotion > 95) { r += `loves you already, but ${he}'ll <span class='hotpink'>love you even more</span> for this. ${He} can't wait to see ${his} ${child} proudly furthering your cause.`; slave.devotion += 4; } else if (slave.devotion > 50) { @@ -32,11 +38,10 @@ window.BirthDestinationText = function(choice,slave) { } break; case "Orphanage": - if (slave.fetish == "mindbroken" || slave.fuckdoll > 0 || slave.burst > 0) { - r += `has few thoughts about the matter.`; - } if (V.slave.burst < 1) { - if (slave.devotion > 95) { + if (slave.fetish == "mindbroken" || slave.fuckdoll > 0) { + r += `has few thoughts about the matter.`; + } else if (slave.devotion > 95) { r += `worships you so completely that ${he} will not resent this.`; } else if ( slave.devotion > 50) { r += `is devoted to you, but ${he} will <span class='mediumorchid'>struggle to accept this.</span>`; @@ -51,29 +56,31 @@ window.BirthDestinationText = function(choice,slave) { } break; case "Citizen": - if (T.call !== 1) r += `citizen schools, to be brought up coequal with the arcology's other young people. ${sn} `; - if (slave.fetish === "mindbroken" || slave.fuckdoll > 0 || slave.burst > 0) { - r += `has few thoughts about the matter.`; + if (T.call !== 1) { + r += `citizen schools, to be brought up coequal with the arcology's other young people.`; } if (V.slave.burst < 1) { - if (slave.devotion > 95) { + r += ` ${sn} `; + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r += `has few thoughts about the matter.`; + } else if (slave.devotion > 95) { r += `loves you already, but ${he}'ll <span class='hotpink'>love you even more</span> for this.`; } else if (slave.devotion > 50) { r += `knows about these and will be <span class='hotpink'>overjoyed,</span> ${he} will miss ${his} ${child}, but ${he} expected that.`; } else if (slave.devotion > 20) { - r += `will naturally miss ${his} ${child}, but will <span class='hotpink;take comfort@@ in the hope that ${his} offspring will have a better life.`; + r += `will naturally miss ${his} ${child}, but will <span class='hotpink'>;take comfort@@ in the hope that ${his} offspring will have a better life.`; } else { r += `will naturally retain some resentment over being separated from ${his} ${child}, but this should be balanced by hope that ${his} offspring will have a better life.`; } } break; case "Private": - if (T.call !== 1) r += `${T.count > 1 ? 'ren are':' is'} sent to be privately raised, to be brought up as a future high class citizen. ${sn} `; - if (slave.fetish === "mindbroken" || slave.fuckdoll > 0 || slave.burst > 0) { - r += `has few thoughts about the matter.`; - } + if (T.call !== 1) r += `${child} ${T.count > 1 ? ' are':' is'} sent to be privately raised, to be brought up as a future high class citizen.`; if (V.slave.burst < 1) { - if (slave.devotion > 95) { + r += ` ${sn} `; + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r += `has few thoughts about the matter.`; + } else if (slave.devotion > 95) { r += `will <span class='hotpink'>worship you utterly</span> for this.`; } else if (slave.devotion > 50) { r += `understands that this is the best possible outcome for the offspring of a slave, and will be <span class='hotpink'>overjoyed.</span>`; @@ -86,7 +93,9 @@ window.BirthDestinationText = function(choice,slave) { r += ` The ${child} will be raised privately, with expert care and tutoring, an expensive proposition.`; break; case "Sold": - if (T.call !== 1) r += `${T.call !== 1 ? "${V.his} ${T.count > 1 ? 'babies':'baby'}":"Where they"} `; + if (T.call !== 1) { + r += `${T.call !== 1 ? "${his} ${T.count > 1 ? 'babies':'baby'}":"Where they"} `; + } if (slave.prestige > 1 || slave.pornPrestige > 2) { T.babyCost = jsRandom(-12,100); if (slave.prematureBirth > 0) { T.babyCost = jsRandom(-32,40); } @@ -98,12 +107,11 @@ window.BirthDestinationText = function(choice,slave) { } const cash = cashFormat(T.count*(50+T.babyCost));r += ` <span class='yellowgreen'>${cash}.</span>`; if (slave.prematureBirth > 0) r += ` A low price due to the added costs of caring for ${T.count > 1 ? 'them':'it'}.`; - r += ` ${sn} `; - if (slave.fetish === "mindbroken" || slave.fuckdoll > 0 || slave.burst > 0) { - r += `has few thoughts about the matter.`; - } if (V.slave.burst < 1) { - if (slave.devotion > 95) { + r += ` ${sn} `; + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r += `has few thoughts about the matter.`; + } else if (slave.devotion > 95) { r += `adheres to your thoughts so strongly that even though you backed out of caring for ${his} ${child}, ${he} still truly believes you are doing ${him} an honor.`; } else if (slave.devotion > 50) { r += `is <span class='mediumorchid'>deeply hurt</span> by your sudden decision to sell ${his} ${child} instead of having ${T.count > 1 ? 'them':'it'} cared for. ${His} trust in your words <span class='gold'>wavers</span> as ${he} thinks of ${his} ${child}'s future.`;