From 41d4c9b5334067b537d8ff26a90975a5904beddd Mon Sep 17 00:00:00 2001 From: lowercase-donkey <lowercasedonkey@gmail.com> Date: Fri, 18 Jan 2019 23:59:40 -0500 Subject: [PATCH] Put babyTransfer back in --- src/js/birthJS.tw | 2 +- src/pregmod/birthStorm.tw | 2 +- src/pregmod/csec.tw | 2 +- src/pregmod/sePlayerBirth.tw | 2 +- src/pregmod/widgets/seBirthWidgets.tw | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/js/birthJS.tw b/src/js/birthJS.tw index ae9d942a966..86e5522eee9 100644 --- a/src/js/birthJS.tw +++ b/src/js/birthJS.tw @@ -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; diff --git a/src/pregmod/birthStorm.tw b/src/pregmod/birthStorm.tw index 3604d1bbf26..2f12ac7e002 100644 --- a/src/pregmod/birthStorm.tw +++ b/src/pregmod/birthStorm.tw @@ -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>> diff --git a/src/pregmod/csec.tw b/src/pregmod/csec.tw index e1558e5f689..307d5a34646 100644 --- a/src/pregmod/csec.tw +++ b/src/pregmod/csec.tw @@ -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)>> diff --git a/src/pregmod/sePlayerBirth.tw b/src/pregmod/sePlayerBirth.tw index 908278bb095..b25d38376b1 100644 --- a/src/pregmod/sePlayerBirth.tw +++ b/src/pregmod/sePlayerBirth.tw @@ -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>> diff --git a/src/pregmod/widgets/seBirthWidgets.tw b/src/pregmod/widgets/seBirthWidgets.tw index 46dd288315f..ca8525c3f9a 100644 --- a/src/pregmod/widgets/seBirthWidgets.tw +++ b/src/pregmod/widgets/seBirthWidgets.tw @@ -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>> -- GitLab