Skip to content
Snippets Groups Projects
Commit 41d4c9b5 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

Put babyTransfer back in

parent 048cfe13
No related branches found
No related tags found
1 merge request!3349Menial transfer labeled badly/babyTransfer
......@@ -101,7 +101,7 @@ window.BirthDestinationText = function(choice,slave) {
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), "slaveTransfer", slave);
cashX(T.curBabies*(50+T.babyCost), "babyTransfer", slave);
break;
}
return r;
......
......@@ -59,7 +59,7 @@ The remote surgery allows the removal of the pregnancy generator through convent
<</if>>
<<if $Cash4Babies == 1 && _curBabies > 0>>
$His surviving <<if _curBabies > 1>>children<<else>>child<</if>> sold for a total of @@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyPrice))>>.@@
<<run cashX((_curBabies*(50+_babyPrice)), "slaveTransfer", $activeSlave)>>
<<run cashX((_curBabies*(50+_babyPrice)), "babyTransfer", $activeSlave)>>
<</if>>
<<set $activeSlave.births += _curBabies>>
<<set $activeSlave.birthsTotal += _curBabies>>
......
......@@ -212,7 +212,7 @@ Performing a cesarean section is trivial for the remote surgery to carry out. $a
<<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)>>
sold for a total of @@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@
<<run cashX((_curBabies*(50+_babyCost)), "slaveTransfer", $activeSlave)>>
<<run cashX((_curBabies*(50+_babyCost)), "babyTransfer", $activeSlave)>>
<<elseif $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">>
<<set _lostBabies = 1>>
<<= BirthDestinationText("Orphanage",$activeSlave)>>
......
......@@ -623,7 +623,7 @@ You arrange yourself to give birth, relaxing until your body urges you to begin
<<if $arcologies[0].FSRepopulationFocus > 40>>
| <<link "Breeding School">><<replace "#choice">><<print "You have decided to send them to be raised into a proper breeder. Perhaps you'll even see them again, though it's unlikely you'll recognize them with their reproduction focused body.">><</replace>><<set $breederOrphanageTotal += _curBabies>><</link>>
<</if>>
<<if $Cash4Babies == 1>> | <<link "Auction Them">><<replace "#choice">><<print "You send the child<<if _curBabies > 1>>ren<</if>> to be sold at auction amongst other prestigious slaves. The winning bid for your offspring came in at @@.yellowgreen;<<print cashFormat(1000*_seed*_curBabies)>>.@@">><</replace>><<run cashX((1000*_seed*_curBabies), "slaveTransfer")>><</link>><</if>>
<<if $Cash4Babies == 1>> | <<link "Auction Them">><<replace "#choice">><<print "You send the child<<if _curBabies > 1>>ren<</if>> to be sold at auction amongst other prestigious slaves. The winning bid for your offspring came in at @@.yellowgreen;<<print cashFormat(1000*_seed*_curBabies)>>.@@">><</replace>><<run cashX((1000*_seed*_curBabies), "babyTransfer")>><</link>><</if>>
</span>
<</if>>
......
......@@ -913,7 +913,7 @@ All in all,
<<set _lostBabies = 0>>
<<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>>
<<run cashX((_curBabies*(50+_babyCost)), "slaveTransfer")>>
<<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>>
<</if>>
<</if>>
<<if _lostBabies != 1 && $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">>
......@@ -972,7 +972,7 @@ All in all,
<<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)), "slaveTransfer")>>
<<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>>
<</if>>
<</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