Skip to content
Snippets Groups Projects
Commit 9899aa0f authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'BirthTextFix' into 'pregmod-master'

BirthTextFix

See merge request pregmodfan/fc-pregmod!3464
parents 270e8450 7fabac20
No related branches found
No related tags found
No related merge requests found
...@@ -10,69 +10,83 @@ window.BirthDestinationText = function(choice,slave) { ...@@ -10,69 +10,83 @@ window.BirthDestinationText = function(choice,slave) {
} }
switch(choice) { switch(choice) {
case "Breeder": 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. ${sn} `; 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.fetish == "mindbroken" || slave.fuckdoll > 0) { 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.`; 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.`; if (V.slave.burst < 1) {
slave.devotion += 4; if (slave.devotion > 95) {
} else if (slave.devotion > 50) { 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.`;
r += `heard about these and will be <span class='hotpink;happy that ${his} ${child} will have a purpose in your society other than slavery.</span> ${He} will miss ${his} ${child}, but ${he} expected that.`; slave.devotion += 4;
slave.devotion += 4; } else if (slave.devotion > 50) {
} else if (slave.devotion > 20) { r += `heard about these and will be <span class='hotpink;happy that ${his} ${child} will have a purpose in your society other than slavery.</span> ${He} will miss ${his} ${child}, but ${he} expected that.`;
r += `will naturally miss ${his} ${child}, but will is broken enough to hope that ${his} offspring will have a better life, or at least an enjoyable one.`; slave.devotion += 4;
} else { } else if (slave.devotion > 20) {
r += `will of course <span class='mediumorchid'>hate you for this.</span> The mere thought of ${his} ${V.fertilityAge} year old daughter${T.count > 1 ? 's':''} swollen with life, and proud of it, fills ${him} with <span class='gold'>disdain.</span>`; r += `will naturally miss ${his} ${child}, but will is broken enough to hope that ${his} offspring will have a better life, or at least an enjoyable one.`;
slave.devotion -= 4, slave.trust -= 4; } else {
r += `will of course <span class='mediumorchid'>hate you for this.</span> The mere thought of ${his} ${V.fertilityAge} year old daughter${T.count > 1 ? 's':''} swollen with life, and proud of it, fills ${him} with <span class='gold'>disdain.</span>`;
slave.devotion -= 4, slave.trust -= 4;
}
} }
break; break;
case "Orphanage": case "Orphanage":
if (slave.fetish == "mindbroken" || slave.fuckdoll > 0) { if (slave.fetish == "mindbroken" || slave.fuckdoll > 0 || slave.burst > 0) {
r += `has few thoughts about the matter.`; r += `has few thoughts about the matter.`;
} else if (slave.devotion > 95) { }
r += `worships you so completely that ${he} will not resent this.`; if (V.slave.burst < 1) {
} else if ( slave.devotion > 50) { if (slave.devotion > 95) {
r += `is devoted to you, but ${he} will <span class='mediumorchid'>struggle to accept this.</span>`; r += `worships you so completely that ${he} will not resent this.`;
slave.devotion -= 2; } else if ( slave.devotion > 50) {
} else if ( slave.devotion > 20) { r += `is devoted to you, but ${he} will <span class='mediumorchid'>struggle to accept this.</span>`;
r += `has accepted being a sex slave, but ${he} will <span class='mediumorchid'>resent this intensely.</span>`; slave.devotion -= 2;
slave.devotion -= 3; } else if ( slave.devotion > 20) {
} else { r += `has accepted being a sex slave, but ${he} will <span class='mediumorchid'>resent this intensely.</span>`;
r += `will of course <span class='mediumorchid'>hate you for this.</span>`; slave.devotion -= 3;
slave.devotion -= 4; } else {
r += `will of course <span class='mediumorchid'>hate you for this.</span>`;
slave.devotion -= 4;
}
} }
break; break;
case "Citizen": case "Citizen":
if (T.call !== 1) r += `citizen schools, to be brought up coequal with the arcology's other young people. ${sn} `; 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) { if (slave.fetish == "mindbroken" || slave.fuckdoll > 0 || slave.burst > 0) {
r += `has few thoughts about the matter.`; 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.`; if (V.slave.burst < 1) {
} else if (slave.devotion > 50) { if (slave.devotion > 95) {
r += `knows about these and will be <span class='hotpink'>overjoyed,</span> ${he} will miss ${his} ${child}, but ${he} expected that.`; r += `loves you already, but ${he}'ll <span class='hotpink'>love you even more</span> for this.`;
} else if (slave.devotion > 20) { } else if (slave.devotion > 50) {
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 += `knows about these and will be <span class='hotpink'>overjoyed,</span> ${he} will miss ${his} ${child}, but ${he} expected that.`;
} else { } else if (slave.devotion > 20) {
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.`; 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; break;
case "Private": 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 (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) { if (slave.fetish == "mindbroken" || slave.fuckdoll > 0 || slave.burst > 0) {
r += `has few thoughts about the matter.`; r += `has few thoughts about the matter.`;
} else if (slave.devotion > 95) { }
r += `will <span class='hotpink'>worship you utterly</span> for this.`; if (V.slave.burst < 1) {
} else if (slave.devotion > 50) { if (slave.devotion > 95) {
r += `understands that this is the best possible outcome for the offspring of a slave, and will be <span class='hotpink'>overjoyed.</span>`; r += `will <span class='hotpink'>worship you utterly</span> for this.`;
} else if (slave.devotion > 20) { } else if (slave.devotion > 50) {
r += `will miss ${his} ${child}, but will be <span class='hotpink'>very grateful,</span> since ${he}'ll understand this is the best possible outcome for a slave mother.`; r += `understands that this is the best possible outcome for the offspring of a slave, and will be <span class='hotpink'>overjoyed.</span>`;
} else { } else if (slave.devotion > 20) {
r += `will resent being separated from ${his} ${child}, but <span class='hotpink'>should understand and be grateful</span> that this is the best possible outcome here.`; r += `will miss ${his} ${child}, but will be <span class='hotpink'>very grateful,</span> since ${he}'ll understand this is the best possible outcome for a slave mother.`;
} else {
r += `will resent being separated from ${his} ${child}, but <span class='hotpink'>should understand and be grateful</span> that this is the best possible outcome here.`;
}
} }
r += ` The ${child} will be raised privately, with expert care and tutoring, an expensive proposition.`; r += ` The ${child} will be raised privately, with expert care and tutoring, an expensive proposition.`;
break; break;
case "Sold": case "Sold":
r += `${T.call !== 1 ? "${V.his} ${T.count > 1 ? 'babies':'baby'}":"Where they"} `; if (T.call !== 1) r += `${T.call !== 1 ? "${V.his} ${T.count > 1 ? 'babies':'baby'}":"Where they"} `;
if (slave.prestige > 1 || slave.pornPrestige > 2) { if (slave.prestige > 1 || slave.pornPrestige > 2) {
T.babyCost = jsRandom(-12,100); T.babyCost = jsRandom(-12,100);
if (slave.prematureBirth > 0) { T.babyCost = jsRandom(-32,40); } if (slave.prematureBirth > 0) { T.babyCost = jsRandom(-32,40); }
...@@ -84,20 +98,23 @@ window.BirthDestinationText = function(choice,slave) { ...@@ -84,20 +98,23 @@ window.BirthDestinationText = function(choice,slave) {
} }
const cash = cashFormat(T.count*(50+T.babyCost));r += ` <span class='yellowgreen'>${cash}.</span>`; 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'}.`; if (slave.prematureBirth > 0) r += ` A low price due to the added costs of caring for ${T.count > 1 ? 'them':'it'}.`;
if (slave.devotion > 20) r += ` ${sn} `; r += ` ${sn} `;
if (slave.fetish == "mindbroken" || slave.fuckdoll > 0) { if (slave.fetish == "mindbroken" || slave.fuckdoll > 0 || slave.burst > 0) {
r += `has few thoughts about the matter.`; 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.`; if (V.slave.burst < 1) {
} else if (slave.devotion > 50) { if (slave.devotion > 95) {
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.`; 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.`;
slave.trust -= 5, slave.devotion -= 5; } else if (slave.devotion > 50) {
} else if (slave.devotion > 20) { 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.`;
r += `is <span class='mediumorchid'>devastated</span> by your sudden decision to sell ${his} ${child} instead of having ${T.count > 1 ? 'them':'it'} cared for. ${His} mind struggles to comprehend <span class='gold'>such betrayal.</span>`; slave.trust -= 5, slave.devotion -= 5;
slave.trust -= 10, slave.devotion -= 10; } else if (slave.devotion > 20) {
} else { r += `is <span class='mediumorchid'>devastated</span> by your sudden decision to sell ${his} ${child} instead of having ${T.count > 1 ? 'them':'it'} cared for. ${His} mind struggles to comprehend <span class='gold'>such betrayal.</span>`;
r += `For a moment, ${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 -= 10, slave.devotion -= 10;
slave.trust -= 30, slave.devotion -= 30; } else {
r += `For a moment, ${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;
}
} }
cashX(T.curBabies*(50+T.babyCost), "babyTransfer", slave); cashX(T.curBabies*(50+T.babyCost), "babyTransfer", slave);
break; break;
......
...@@ -210,9 +210,8 @@ Performing a cesarean section is trivial for the remote surgery to carry out. $a ...@@ -210,9 +210,8 @@ Performing a cesarean section is trivial for the remote surgery to carry out. $a
<<set _lostBabies = 1>> <<set _lostBabies = 1>>
handed off to the Societal Elite to be raised into upstanding members of the new society. handed off to the Societal Elite to be raised into upstanding members of the new society.
<<elseif $Cash4Babies == 1 && ($activeSlave.relationship != -3) && ($activeSlave.assignment != "serve in the master suite") && ($activeSlave.assignment != "be your Concubine")>> <<elseif $Cash4Babies == 1 && ($activeSlave.relationship != -3) && ($activeSlave.assignment != "serve in the master suite") && ($activeSlave.assignment != "be your Concubine")>>
<<set _lostBabies = 1, _babyCost = random(-12,12)>> <<set _lostBabies = 1, _call = 1>>
sold for a total of @@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@ <<= BirthDestinationText("Sold",$activeSlave)>>
<<run cashX((_curBabies*(50+_babyCost)), "babyTransfer", $activeSlave)>>
<<elseif $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">> <<elseif $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">>
<<set _lostBabies = 1>> <<set _lostBabies = 1>>
<<= BirthDestinationText("Orphanage",$activeSlave)>> <<= BirthDestinationText("Orphanage",$activeSlave)>>
......
...@@ -195,29 +195,27 @@ ...@@ -195,29 +195,27 @@
<<set _count = _curBabies>> <<set _count = _curBabies>>
<br><br> <br><br>
<<span $dispositionId>> <<span $dispositionId>>
<<if $arcologies[0].FSRestart != "unset" && $slaves[[_b].breedingMark == 1 && $propOutcome == 1 && $slaves[$i].pregSource == -1>> <<if $arcologies[0].FSRestart != "unset" && $slaves[_b].breedingMark == 1 && $propOutcome == 1 && $slaves[_b].pregSource == -1>>
<<set _lostBabies = 1>> <<set _lostBabies = 1>>
From there, $his child<<if _curBabies > 1>>ren are<<else>> is<</if>> collected by the Societal Elite to be raised into upstanding members of the new society. From there, $his child<<if _curBabies > 1>>ren are<<else>> is<</if>> collected by the Societal Elite to be raised into upstanding members of the new society.
<<elseif $Cash4Babies == 1 && $DefaultBirthDestination !== "the market">> <<elseif $Cash4Babies == 1 && $DefaultBirthDestination !== "the market">>
<<set _lostBabies = 1>> <<set _lostBabies = 1>>
<<set _babyCost = random(-12,12)>> <<= BirthDestinationText("Sold",$slaves[_b])>>
<<if $slaves[$i].prematureBirth == 1>><<set _babyCost = -45>><</if>>
$His <<if _curBabies > 1>>babies<<else>>baby<</if>> sold for <<if _curBabies > 1>>a total of <</if>>@@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>>
<<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>>
<</if>> <</if>>
<<if _lostBabies != 1 && $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">> <<if _lostBabies != 1 && $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">>
<<set _lostBabies = 1>> <<set _lostBabies = 1>>
$His child<<if _curBabies > 1>>ren are<<else>> is<</if>> sent to one of $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. Hopefully there they will be trained to not suffer the same fate. $His <<= BirthDestinationText("Breeder",$slaves[_b])>>
<<set $breederOrphanageTotal += _count>> <<set $breederOrphanageTotal += _count>>
<<elseif _lostBabies != 1 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>> <<elseif _lostBabies != 1 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>>
<<set $slaveOrphanageTotal += _curBabies>>
Unless you provide otherwise, the child<<if _curBabies > 1>>ren<</if>> will be remanded to one of $arcologies[0].name's slave orphanages. Unless you provide otherwise, the child<<if _curBabies > 1>>ren<</if>> will be remanded to one of $arcologies[0].name's slave orphanages.
<<set _call = 1>> <<= BirthDestinationText("Orphanage",$slaves[_b])>>
<<set $slaveOrphanageTotal += _count>>
<<capture $i, $dispositionId, _count>> <<capture $i, $dispositionId, _count>>
<br> <br>
<<if $arcologies[0].FSRepopulationFocus > 40>> <<if $arcologies[0].FSRepopulationFocus > 40>>
<<link 'Send them to a breeder school'>> <<link 'Send them to a breeder school'>>
<<replace `"#" + $dispositionId`>> <<replace `"#" + $dispositionId`>>
The child<<if _count > 1>>ren are<<else>> is<</if>> sent to one of $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. Hopefully there they will be trained to not suffer the same fate. The child<<if _count > 1>>ren are<<else>> is<</if>> <<= BirthDestinationText("Breeder",$slaves[_b])>>
<<set $breederOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> <<set $breederOrphanageTotal += _count, $slaveOrphanageTotal -= _count>>
<</replace>> <</replace>>
<</link>> <</link>>
...@@ -225,36 +223,30 @@ ...@@ -225,36 +223,30 @@
<</if>> <</if>>
<<link 'Send them to a citizen school'>> <<link 'Send them to a citizen school'>>
<<replace `"#" + $dispositionId`>> <<replace `"#" + $dispositionId`>>
The child<<if _count > 1>>ren are<<else>> is<</if>> sent to one of $arcologies[0].name's citizen schools, to be brought up coequal with the arcology's other young people. The child<<if _count > 1>>ren are<<else>> is<</if>> <<= BirthDestinationText("Citizen",$slaves[_b])>>
<<set $slaves[$i].devotion += 4, $citizenOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> <<set $slaves[_b].devotion += 4, $citizenOrphanageTotal += _count, $slaveOrphanageTotal -= _count>>
<</replace>> <</replace>>
<</link>> <</link>>
//Will cost <<print cashFormat(100)>> weekly// //Will cost <<print cashFormat(100)>> weekly//
| <<link 'Have them raised privately'>> | <<link 'Have them raised privately'>>
<<replace `"#" + $dispositionId`>> <<replace `"#" + $dispositionId`>>
The child<<if _count > 1>>ren are<<else>> is<</if>> sent to be privately raised, to be brought up as a future high class citizen. The <<= BirthDestinationText("Private",$slaves[_b])>>
<<set $slaves[$i].devotion += 6, $privateOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> <<set $slaves[_b].devotion += 6, $privateOrphanageTotal += _count, $slaveOrphanageTotal -= _count>>
<</replace>> <</replace>>
<</link>> <</link>>
//Will cost <<print cashFormat(500)>> weekly// //Will cost <<print cashFormat(500)>> weekly//
<<if $Cash4Babies == 1>> <<if $Cash4Babies == 1>>
<<if $slaves[$i].prestige > 1 || $slaves[$i].pornPrestige > 2>> <<if $slaves[_b].prestige > 1 || $slaves[_b].pornPrestige > 2>>
| <<link 'Send them to auction'>> | <<link 'Send them to auction'>>
<<replace `"#" + $dispositionId`>> <<replace `"#" + $dispositionId`>>
<<set _babyCost = random(-12,12)>> <<= BirthDestinationText("Sold",$slaves[_b])>>
<<if $slaves[$i].prematureBirth == 1>><<set _babyCost = -45>><</if>>
$His <<if _curBabies > 1>>babies<<else>>baby<</if>> sold for <<if _curBabies > 1>>a total of <</if>>@@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>>
<<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>>
<<set $slaveOrphanageTotal -= _count>> <<set $slaveOrphanageTotal -= _count>>
<</replace>> <</replace>>
<</link>> <</link>>
<<else>> <<else>>
| <<link 'Sell them anyway'>> | <<link 'Sell them anyway'>>
<<replace `"#" + $dispositionId`>> <<replace `"#" + $dispositionId`>>
<<set _babyCost = random(-12,12)>> <<= BirthDestinationText("Sold",$slaves[_b])>>
<<if $slaves[$i].prematureBirth == 1>><<set _babyCost = -45>><</if>>
$His <<if _curBabies > 1>>babies<<else>>baby<</if>> sold for <<if _curBabies > 1>>a total of <</if>>@@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>>
<<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>>
<<set $slaveOrphanageTotal -= _count>> <<set $slaveOrphanageTotal -= _count>>
<</replace>> <</replace>>
<</link>> <</link>>
...@@ -264,11 +256,7 @@ ...@@ -264,11 +256,7 @@
<</if>> <</if>>
<</span>> <</span>>
<<elseif $Cash4Babies == 1 && _curBabies > 0 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>> <<elseif $Cash4Babies == 1 && _curBabies > 0 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>>
<br><br> <<= BirthDestinationText("Sold",$slaves[_b])>>
<<set _babyCost = random(-12,12)>>
<<if $slaves[$i].prematureBirth == 1>><<set _babyCost = -45>><</if>>
$His <<if _curBabies > 1>>babies<<else>>baby<</if>> were sold for <<if _curBabies > 1>>a total of <</if>>@@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>>
<<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>>
<</if>> <</if>>
<<if $arcologies[0].FSRestart != "unset" && _curBabies > 0 && $eugenicsFullControl != 1>> <<if $arcologies[0].FSRestart != "unset" && _curBabies > 0 && $eugenicsFullControl != 1>>
......
...@@ -912,18 +912,17 @@ All in all, ...@@ -912,18 +912,17 @@ All in all,
<<set $slaves[$i].trust += 3, $slaves[$i].devotion += 3>> <<set $slaves[$i].trust += 3, $slaves[$i].devotion += 3>>
<<set _lostBabies = 0>> <<set _lostBabies = 0>>
<<else>> <<else>>
$His <<if _curBabies > 1>>babies<<else>>baby<</if>> sold for <<if _curBabies > 1>>a total of <</if>>@@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> <<= BirthDestinationText("Sold",$slaves[$i])>>
<<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>>
<</if>> <</if>>
<</if>> <</if>>
<<if _lostBabies != 1 && $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">> <<if _lostBabies != 1 && $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">>
<<set _lostBabies = 1>> <<set _lostBabies = 1>>
$His <<= BirthDestinationText("Orphanage",$slaves[$i])>> $His <<= BirthDestinationText("Breeder",$slaves[$i])>>
<<set $breederOrphanageTotal += _curBabies>> <<set $breederOrphanageTotal += _curBabies>>
<<elseif _lostBabies != 1 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>> <<elseif _lostBabies != 1 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>>
<<set $slaveOrphanageTotal += _curBabies>>
Unless you provide otherwise, the child<<if _curBabies > 1>>ren<</if>> will be remanded to one of $arcologies[0].name's slave orphanages. Unless you provide otherwise, the child<<if _curBabies > 1>>ren<</if>> will be remanded to one of $arcologies[0].name's slave orphanages.
<<= BirthDestinationText("Orphanage",$slaves[$i])>> <<set _call = 1>> <<= BirthDestinationText("Orphanage",$slaves[$i])>>
<<set $slaveOrphanageTotal += _curBabies>>
<<capture $i, $dispositionId, _count>> <<capture $i, $dispositionId, _count>>
<br> <br>
<<if $arcologies[0].FSRepopulationFocus > 40>> <<if $arcologies[0].FSRepopulationFocus > 40>>
...@@ -969,12 +968,6 @@ All in all, ...@@ -969,12 +968,6 @@ All in all,
<</capture>> <</capture>>
<</if>> <</if>>
<</span>> <</span>>
<<elseif $Cash4Babies == 1 && _curBabies > 0 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>>
<br><br>
<<set _babyCost = random(-12,12)>>
<<if $slaves[$i].prematureBirth == 1>><<set _babyCost = -45>><</if>>
$His <<if _curBabies > 1>>babies<<else>>baby<</if>> were sold for <<if _curBabies > 1>>a total of <</if>>@@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>>
<<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>>
<</if>> <</if>>
<</widget>> <</widget>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment