diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt index 2945880da41d5a976c8a0c07a37200f631c24475..74d9a17eaf1f58d36114dd2e89502ce35edd91b0 100644 --- a/devNotes/VersionChangeLog-Premod+LoliMod.txt +++ b/devNotes/VersionChangeLog-Premod+LoliMod.txt @@ -4,6 +4,7 @@ Pregmod 0 -overhauled reputation tracking + -reputation is now harder to build the higher it gets -fixes 0.10.7.1-2.1.x diff --git a/src/js/birthJS.js b/src/js/birthJS.js deleted file mode 100644 index fe3c117fcc06812453909bca19df30512854af2c..0000000000000000000000000000000000000000 --- a/src/js/birthJS.js +++ /dev/null @@ -1,132 +0,0 @@ -/** @param {App.Entity.SlaveState} slave */ -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); - 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" && 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.`; - } 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) { - 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; - } else if (slave.devotion > 20) { - 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.`; - } 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; - case "Orphanage": - if (slave.burst < 1) { - 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>`; - slave.devotion -= 2; - } else if ( slave.devotion > 20) { - r += `has accepted being a sex slave, but ${he} will <span class='mediumorchid'>resent this intensely.</span>`; - slave.devotion -= 3; - } else { - r += `will of course <span class='mediumorchid'>hate you for this.</span>`; - slave.devotion -= 4; - } - } - break; - case "Citizen": - if (T.call !== 1) { - r += `citizen schools, to be brought up coequal with the arcology's other young people.`; - } - if (slave.burst < 1) { - 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.`; - } 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 += `${child} ${T.count > 1 ? ' are':' is'} sent to be privately raised, to be brought up as a future high class citizen.`; - if (slave.burst < 1) { - 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>`; - } else if (slave.devotion > 20) { - 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.`; - break; - case "Sold": - 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); } - r += `went for ${T.curBabies > 1 ? ' a total ':'a'} bid of`; - } else { - T.babyCost = jsRandom(-12,12); - if (slave.prematureBirth > 0) { T.babyCost = -45; } - r += `sold for ${T.curBabies > 1 ? ' a total of':''}`; - } - 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.burst < 1) { - 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.`; - slave.trust -= 5, slave.devotion -= 5; - } else if (slave.devotion > 20) { - 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 -= 10, slave.devotion -= 10; - } 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); - break; - } - return r; -}; diff --git a/src/js/economyJS.js b/src/js/economyJS.js index 71f355dd232921065c51ff17c1dd585e872519a7..1ff71a07f7fc65e1bd222e0dac5eddb8f4bcbb1c 100644 --- a/src/js/economyJS.js +++ b/src/js/economyJS.js @@ -1161,29 +1161,23 @@ window.repX = function(rep, what, who) { //round the change rep = Math.trunc(rep); - //Apply the reputation change - V.rep += rep; - - //Check if total rep is over cap, and use "overflow" category to expense it down if needed. - if (V.rep > 20000) { - V.lastWeeksRepExpenses.overflow += (20000 - V.rep); V.rep = 20000; - } - //INCOME + //These are all scaled relative to current rep except when recording the who, to keep comparisons between slaves possible across times. This quite drastically reduces rep income at high levels of rep and only slightly at low levels. if(rep > 0) { + //record the slave, if available + if (typeof who !== 'undefined'){ + who.lastWeeksRepIncome += rep; + who.lifetimeRepIncome += rep; + } + //record the action if (typeof V.lastWeeksRepIncome[what] !== 'undefined') { + rep = Math.round(Math.pow(1000 * rep + Math.pow(V.rep, 2), 0.5) - V.rep)* (V.corpEasy + 1); V.lastWeeksRepIncome[what] += rep; } else { V.lastWeeksRepErrors += `Unknown place "${what}" gained you ${rep}<br>`; } - - //record the slave, if available - if (typeof who !== 'undefined'){ - who.lastWeeksRepIncome += rep; - who.lifetimeRepIncome += rep; - } } //EXPENSES @@ -1202,6 +1196,14 @@ window.repX = function(rep, what, who) { who.lifetimeRepExpenses += rep; } } + + //Apply the reputation change + V.rep += rep; + + //Check if total rep is over cap, and use "overflow" category to expense it down if needed. + if (V.rep > 20000) { + V.lastWeeksRepExpenses.overflow += (20000 - V.rep); V.rep = 20000; + } return rep; }; diff --git a/src/js/summaryWidgets.js b/src/js/summaryWidgets.js index 43a3266e7383864198c7397073172289f76a6931..6af4e66e07cbcc23cf89082681eef67d73aa3be7 100644 --- a/src/js/summaryWidgets.js +++ b/src/js/summaryWidgets.js @@ -8,7 +8,7 @@ window.SlaveStatClamp = /** @param {App.Entity.SlaveState} slave */ function Sla else if ((slave.trust < 100) && (slave.trust > 20)) slave.trust += (Math.trunc((slave.devotion-100)*5)/10); else - repX(10*(slave.devotion-100), "slavesViewOfPC", slave); + repX(4*(slave.devotion-100), "slavesViewOfPC", slave); slave.devotion = 100; } else if (slave.devotion < -95) slave.devotion = -100; @@ -18,7 +18,7 @@ window.SlaveStatClamp = /** @param {App.Entity.SlaveState} slave */ function Sla else if (slave.devotion < 100 && slave.devotion > 20) slave.devotion += Math.trunc(slave.trust-100); else - repX(10*(slave.trust-100), "slavesViewOfPC", slave); + repX(4*(slave.trust-100), "slavesViewOfPC", slave); slave.trust = 100; } else if (slave.trust < -95) slave.trust = -100; diff --git a/src/pregmod/csec.tw b/src/pregmod/csec.tw index 27fbaaea0794106d1b586a367b1cc25f0b89dabd..8f5c377df6d45a51ba024771b5e188a91a384dd9 100644 --- a/src/pregmod/csec.tw +++ b/src/pregmod/csec.tw @@ -210,26 +210,70 @@ Performing a cesarean section is trivial for the remote surgery to carry out. $a <<set _lostBabies = 1>> 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")>> - <<set _lostBabies = 1, _call = 1>> - <<= BirthDestinationText("Sold",$activeSlave)>> - <<elseif $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">> - <<set _lostBabies = 1, _call = 0, $breederOrphanageTotal += _curBabies>> - <<= BirthDestinationText("Breeder",$activeSlave)>> + <<set _lostBabies = 1, _babyCost = random(-12,12)>> + sold for a total of @@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@ + <<set $cash += _curBabies*(50+_babyCost)>> + <<elseif $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "anywhere">> + <<set _lostBabies = 1>> + 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. $activeSlave.slaveName + <<if $activeSlave.fetish == "mindbroken" || $activeSlave.fuckdoll > 0>> + has few thoughts about the matter. + <<elseif $activeSlave.devotion > 95>> + loves you already, but $he'll @@.hotpink;love you even more@@ for this. $He can't wait to see $his child<<if _curBabies > 1>>ren<</if>> proudly furthering your cause. + <<set $activeSlave.devotion += 4>> + <<elseif $activeSlave.devotion > 50>> + heard about these and will be @@.hotpink;happy that $his child<<if $activeSlave.pregType > 1>>ren<</if>> will have a purpose in your society other than slavery.@@ $He will miss $his child<<if $activeSlave.pregType > 1>>ren<</if>>, but $he expected that. + <<set $activeSlave.devotion += 4>> + <<elseif $activeSlave.devotion > 20>> + will naturally miss $his child<<if _curBabies > 1>>ren<</if>>, but will is broken enough to hope that $his offspring will have a better life, or at least an enjoyable one. + <<else>> + will of course @@.mediumorchid;hate you for this.@@ The mere thought of $his $fertilityAge year old daughter<<if _curBabies > 1>>s<</if>> swollen with life, and proud of it, fills $him with @@.gold;disdain.@@ + <<set $activeSlave.devotion -= 4, $activeSlave.trust -= 4>> + <</if>> + <<set $breederOrphanageTotal += _curBabies>> <</if>> <<if _lostBabies != 1 && $DefaultBirthDestination === "individually decided fates">> <br><br> <<link '...sent to a slave orphanage.'>> <<replace #_disposition>> - <<set $slaveOrphanageTotal += _curBabies, _call = 0>> - <<= BirthDestinationText("Orphanage",$activeSlave)>> + <<set $slaveOrphanageTotal += _curBabies>> + sent to one of $arcologies[0].name's slave orphanages. $activeSlave.slaveName + <<if $activeSlave.fetish == "mindbroken" || $activeSlave.fuckdoll > 0>> + has few thoughts about the matter. + <<elseif $activeSlave.devotion > 95>> + worships you so completely that $he will not resent this. + <<elseif $activeSlave.devotion > 50>> + is devoted to you, but $he will @@.mediumorchid;struggle to accept this.@@ + <<set $activeSlave.devotion -= 2>> + <<elseif $activeSlave.devotion > 20>> + has accepted being a sex slave, but $he will @@.mediumorchid;resent this intensely.@@ + <<set $activeSlave.devotion -= 3>> + <<else>> + will of course @@.mediumorchid;hate you for this.@@ + <<set $activeSlave.devotion -= 4>> + <</if>> <</replace>> <<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */ <</link>> <<if $arcologies[0].FSRepopulationFocus > 40>> <br><<link '...sent to a breeder school.'>> <<replace #_disposition>> - <<set $breederOrphanageTotal += _curBabies, _call = 0>> - <<= BirthDestinationText("Breeder",$activeSlave)>> + 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. $activeSlave.slaveName + <<if $activeSlave.fetish == "mindbroken" || $activeSlave.fuckdoll > 0>> + has few thoughts about the matter. + <<elseif $activeSlave.devotion > 95>> + loves you already, but $he'll @@.hotpink;love you even more@@ for this. $He can't wait to see $his child<<if _curBabies > 1>>ren<</if>> proudly furthering your cause. + <<set $activeSlave.devotion += 4>> + <<elseif $activeSlave.devotion > 50>> + heard about these and will be @@.hotpink;happy that $his child<<if $activeSlave.pregType > 1>>ren<</if>> will have a purpose in your society other than slavery.@@ $He will miss $his child<<if $activeSlave.pregType > 1>>ren<</if>>, but $he expected that. + <<set $activeSlave.devotion += 4>> + <<elseif $activeSlave.devotion > 20>> + will naturally miss $his child<<if _curBabies > 1>>ren<</if>>, but will is broken enough to hope that $his offspring will have a better life, or at least an enjoyable one. + <<else>> + will of course @@.mediumorchid;hate you for this.@@ The mere thought of $his $fertilityAge year old daughter<<if _curBabies > 1>>s<</if>> swollen with life, and proud of it, fills $him with @@.gold;disdain.@@ + <<set $activeSlave.devotion -= 4, $activeSlave.trust -= 4>> + <</if>> + <<set $breederOrphanageTotal += _curBabies>> <</replace>> <<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */ <</link>> @@ -237,34 +281,105 @@ Performing a cesarean section is trivial for the remote surgery to carry out. $a <</if>> <br><<link '...sent to a citizen school.'>> <<replace #_disposition>> - <<set $activeSlave.devotion += 4, $citizenOrphanageTotal += _curBabies, _call = 0>> - <<= BirthDestinationText("Citizen",$activeSlave)>> + sent to one of $arcologies[0].name's citizen schools, to be brought up coequal with the arcology's other young people. $activeSlave.slaveName + <<if $activeSlave.fetish == "mindbroken" || $activeSlave.fuckdoll > 0>> + has few thoughts about the matter. + <<elseif $activeSlave.devotion > 95>> + loves you already, but $he'll @@.hotpink;love you even more@@ for this. + <<elseif $activeSlave.devotion > 50>> + knows about these and will be @@.hotpink;overjoyed.@@ $He will miss $his child<<if _curBabies > 1>>ren<</if>>, but $he expected that. + <<elseif $activeSlave.devotion > 20>> + will naturally miss $his child<<if _curBabies > 1>>ren<</if>>, but will @@.hotpink;take comfort@@ in the hope that $his offspring will have a better life. + <<else>> + will naturally retain some resentment over being separated from $his child<<if _curBabies > 1>>ren<</if>>, but this should be balanced by hope that $his offspring will have a better life. + <</if>> + <<set $activeSlave.devotion += 4, $citizenOrphanageTotal += _curBabies>> <</replace>> <<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */ <</link>> //Will cost <<print cashFormat(100)>> weekly// <br><<link '...sent to be raised privately.'>> <<replace #_disposition>> - <<set $activeSlave.devotion += 6, $privateOrphanageTotal += _curBabies, _call = 0>> - The <<= BirthDestinationText("Private",$activeSlave)>> + The child<<if _curBabies > 1>>ren are<<else>> is<</if>> sent to be privately raised, to be brought up as a future high class citizen. $activeSlave.slaveName + <<if $activeSlave.fetish == "mindbroken" || $activeSlave.fuckdoll > 0>> + has few thoughts about the matter. + <<elseif $activeSlave.devotion > 95>> + will @@.hotpink;worship you utterly@@ for this. + <<elseif $activeSlave.devotion > 50>> + understands that this is the best possible outcome for the offspring of slave, and will be @@.hotpink;overjoyed.@@ + <<elseif $activeSlave.devotion > 20>> + will miss $his child<<if _curBabies > 1>>ren<</if>>, but will be @@.hotpink;very grateful,@@ since $he'll understand this is the best possible outcome for a slave mother. + <<else>> + will resent being separated from $his child<<if _curBabies > 1>>ren<</if>>, but @@.hotpink;should understand and be grateful@@ that this is the best possible outcome here. + <</if>> + The child<<if _curBabies > 1>>ren<</if>> will be raised privately, with expert care and tutoring, an expensive proposition. + <<set $activeSlave.devotion += 6, $privateOrphanageTotal += _curBabies>> <</replace>> <<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */ <</link>> //Will cost <<print cashFormat(500)>> weekly// <<elseif _lostBabies != 1 && $DefaultBirthDestination != "individually decided fates">> - <<set _call = 1>> $His <<if _curBabies > 1>>babies<<else>>baby<</if>> were sent to $DefaultBirthDestination. + $His <<if _curBabies > 1>>babies<<else>>baby<</if>> were sent to $DefaultBirthDestination. $activeSlave.slaveName <<switch $DefaultBirthDestination>> <<case "an orphanage">> - <<= BirthDestinationText("Orphanage",$activeSlave)>> + <<if $activeSlave.devotion > 95>> + worships you so completely that $he will not resent this. + <<elseif $activeSlave.devotion > 50>> + is devoted to you, but $he will @@.mediumorchid;struggle to accept this.@@ + <<set $activeSlave.devotion -= 2>> + <<elseif $activeSlave.devotion > 20>> + has accepted being a sex slave, but $he will @@.mediumorchid;resent this intensely.@@ + <<set $activeSlave.devotion -= 3>> + <<else>> + will of course @@.mediumorchid;hate you for this.@@ + <<set $activeSlave.devotion -= 4>> + <</if>> <<set $slaveOrphanageTotal += _curBabies>> <<case "a citizen school">> - <<= BirthDestinationText("Citizen",$activeSlave)>> + <<if $activeSlave.devotion > 95>> + loves you already, but <<print $he>>'ll @@.hotpink;love you even more@@ for this. + <<elseif $activeSlave.devotion > 50>> + knows about these and will be @@.hotpink;overjoyed.@@ $He will miss $his child<<if _curBabies > 1>>ren<</if>>, but $he expected that. + <<elseif $activeSlave.devotion > 20>> + will naturally miss $his child<<if _curBabies > 1>>ren<</if>>, but will @@.hotpink;take comfort@@ in the hope that $his offspring will have a better life. + <<else>> + will naturally retain some resentment over being separated from $his child<<if _curBabies > 1>>ren<</if>>, but this should be balanced by hope that $his offspring will have a better life. + <</if>> <<set $activeSlave.devotion += 4, $citizenOrphanageTotal += _curBabies>> <<case "a private school">> - <<= BirthDestinationText("Private",$activeSlave)>> + <<if $activeSlave.devotion > 95>> + will @@.hotpink;worship you utterly@@ for this. + <<elseif $activeSlave.devotion > 50>> + understands that this is the best possible outcome for the offspring of slave, and will be @@.hotpink;overjoyed.@@ + <<elseif $activeSlave.devotion > 20>> + will miss $his child<<if _curBabies > 1>>ren<</if>>, but will be @@.hotpink;very grateful,@@ since <<print $he>>'ll understand this is the best possible outcome for a slave mother. + <<else>> + will resent being separated from $his child<<if _curBabies > 1>>ren<</if>>, but @@.hotpink;should understand and be grateful@@ that this is the best possible outcome here. + <</if>> + The child<<if _curBabies > 1>>ren<</if>> will be raised privately, with expert care and tutoring, an expensive proposition. <<set $activeSlave.devotion += 6, $privateOrphanageTotal += _curBabies>> <<case "the market">> - <<= BirthDestinationText("Sold",$activeSlave)>> + <<if $activeSlave.prestige > 1 || $activeSlave.pornPrestige > 2>> + <<set _babyCost = random(-12,100)>> + <<if $activeSlave.prematureBirth > 0>><<set _babyCost = random(-32,40)>><</if>> + <<else>> + <<set _babyCost = random(-12,12)>> + <<if $activeSlave.prematureBirth > 0>><<set _babyCost = -45>><</if>> + <</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 $activeSlave.prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> + <<if $activeSlave.devotion > 95>> + $He adheres to your thoughts so strongly that even though you backed out of caring for $his child<<if _curBabies > 1>>ren<</if>>, $he still truly believes you are doing $him an honor. + <<elseif $activeSlave.devotion > 50>> + $He is @@.mediumorchid;deeply hurt@@ by your sudden decision to sell $his child<<if _curBabies > 1>>ren<</if>> instead of having <<if _curBabies > 1>>them<<else>>it<</if>> cared for. $His trust in your words @@.gold;wavers@@ as $he thinks of $his child<<if _curBabies > 1>>ren<</if>>'s future. + <<set $activeSlave.trust -= 5, $activeSlave.devotion -= 5>> + <<elseif $activeSlave.devotion > 20>> + $He is @@.mediumorchid;devastated@@ by your sudden decision to sell $his child<<if _curBabies > 1>>ren<</if>> instead of having <<if _curBabies > 1>>them<<else>>it<</if>> cared for. $His mind struggles to comprehend @@.gold;such betrayal.@@ + <<set $activeSlave.trust -= 10, $activeSlave.devotion -= 10>> + <<else>> + For a moment, $he saw a glimmer of good in you; @@.mediumorchid;$he was clearly wrong.@@ $His mind struggles to comprehend @@.gold;why $he could ever even thing of trusting such a person.@@ + <<set $activeSlave.trust -= 30, $activeSlave.devotion -= 30>> + <</if>> + <<set $cash += _curBabies*(50+_babyCost)>> <</switch>> <<else>> <<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */ diff --git a/src/pregmod/seBurst.tw b/src/pregmod/seBurst.tw index 4fb3b23f8cec01218a88a638d46bd066a909bc06..1b52e9d6d08532e4fcd5ce2fdeb7498a1c5703ae 100644 --- a/src/pregmod/seBurst.tw +++ b/src/pregmod/seBurst.tw @@ -198,22 +198,24 @@ 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">> <<set _lostBabies = 1>> - <<= BirthDestinationText("Sold",$slaves[_b])>> + <<set _babyCost = random(-12,12)>> + <<if $slaves[_b].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[_b].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> + <<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>> <</if>> <<if _lostBabies != 1 && $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">> <<set _lostBabies = 1>> - $His <<= BirthDestinationText("Breeder",$slaves[_b])>> + $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. <<set $breederOrphanageTotal += _count>> <<elseif _lostBabies != 1 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>> 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>> <br> <<if $arcologies[0].FSRepopulationFocus > 40>> <<link 'Send them to a breeder school'>> <<replace `"#" + $dispositionId`>> - The child<<if _count > 1>>ren are<<else>> is<</if>> <<= BirthDestinationText("Breeder",$slaves[_b])>> + 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. <<set $breederOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> <</replace>> <</link>> @@ -221,14 +223,14 @@ <</if>> <<link 'Send them to a citizen school'>> <<replace `"#" + $dispositionId`>> - The child<<if _count > 1>>ren are<<else>> is<</if>> <<= BirthDestinationText("Citizen",$slaves[_b])>> + 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. <<set $slaves[_b].devotion += 4, $citizenOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> <</replace>> <</link>> //Will cost <<print cashFormat(100)>> weekly// | <<link 'Have them raised privately'>> <<replace `"#" + $dispositionId`>> - The <<= BirthDestinationText("Private",$slaves[_b])>> + 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. <<set $slaves[_b].devotion += 6, $privateOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> <</replace>> <</link>> @@ -237,14 +239,20 @@ <<if $slaves[_b].prestige > 1 || $slaves[_b].pornPrestige > 2>> | <<link 'Send them to auction'>> <<replace `"#" + $dispositionId`>> - <<= BirthDestinationText("Sold",$slaves[_b])>> + <<set _babyCost = random(-12,12)>> + <<if $slaves[_b].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[_b].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> + <<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>> <<set $slaveOrphanageTotal -= _count>> <</replace>> <</link>> <<else>> | <<link 'Sell them anyway'>> <<replace `"#" + $dispositionId`>> - <<= BirthDestinationText("Sold",$slaves[_b])>> + <<set _babyCost = random(-12,12)>> + <<if $slaves[_b].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[_b].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> + <<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>> <<set $slaveOrphanageTotal -= _count>> <</replace>> <</link>> @@ -254,7 +262,11 @@ <</if>> <</span>> <<elseif $Cash4Babies == 1 && _curBabies > 0 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>> - <<= BirthDestinationText("Sold",$slaves[_b])>> + <br><br> + <<set _babyCost = random(-12,12)>> + <<if $slaves[_b].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[_b].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> + <<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>> <</if>> <<if $arcologies[0].FSRestart != "unset" && _curBabies > 0 && $eugenicsFullControl != 1>> diff --git a/src/pregmod/widgets/seBirthWidgets.tw b/src/pregmod/widgets/seBirthWidgets.tw index 11aac05d1533f5ebc39b8f2da1c848d6e86396e8..0d90cdf8548965bb1cab446306d9aa5e53e429de 100644 --- a/src/pregmod/widgets/seBirthWidgets.tw +++ b/src/pregmod/widgets/seBirthWidgets.tw @@ -912,23 +912,59 @@ All in all, <<set $slaves[$i].trust += 3, $slaves[$i].devotion += 3>> <<set _lostBabies = 0>> <<else>> - <<= BirthDestinationText("Sold",$slaves[$i])>> + $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>> + <<set $cash += _curBabies*(50+_babyCost)>> <</if>> <</if>> <<if _lostBabies != 1 && $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">> <<set _lostBabies = 1>> - $His <<= BirthDestinationText("Breeder",$slaves[$i])>> - <<set $breederOrphanageTotal += _curBabies>> - <<elseif _lostBabies != 1 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>> - 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[$i])>> + $His 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. $slaves[$i].slaveName + <<if $slaves[$i].devotion > 95>> + loves you already, but <<print $he>>'ll @@.hotpink;love you even more@@ for this. $He can't wait to see $his child<<if _count > 1>>ren<</if>> proudly furthering your cause. + <<set $slaves[$i].devotion += 4>> + <<elseif $slaves[$i].devotion > 50>> + heard about these and will be @@.hotpink;happy that $his child<<if _count > 1>>ren<</if>> will have a purpose in your society other than slavery.@@ $He will miss $his child<<if _count > 1>>ren<</if>>, but $he expected that. + <<set $slaves[$i].devotion += 4>> + <<elseif $slaves[$i].devotion > 20>> + will naturally miss $his child<<if _count > 1>>ren<</if>>, but will is broken enough to hope that $his offspring will have a better life, or at least an enjoyable one. + <<else>> + will of course @@.mediumorchid;hate you for this.@@ The mere thought of $his $fertilityAge year old daughter<<if _count > 1>>s<</if>> swollen with life, and proud of it, fills $him with @@.gold;disdain.@@ + <<set $slaves[$i].devotion -= 4, $slaves[$i].trust -= 4>> + <</if>> + <<set $breederOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> + <<elseif _lostBabies != 1 && $DefaultBirthDestination === "anywhere" && $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. $slaves[$i].slaveName + <<if $slaves[$i].devotion > 95>> + worships you so completely that $he will not resent this. + <<elseif $slaves[$i].devotion > 50>> + is devoted to you, but $he will @@.mediumorchid;struggle to accept this.@@ + <<set $slaves[$i].devotion -= 2>> + <<elseif $slaves[$i].devotion > 20>> + has accepted being a sex slave, but $he will @@.mediumorchid;resent this intensely.@@ + <<set $slaves[$i].devotion -= 3>> + <<else>> + will of course @@.mediumorchid;hate you for this.@@ + <<set $slaves[$i].devotion -= 4>> + <</if>> <<capture $i, $dispositionId, _count>> <br> <<if $arcologies[0].FSRepopulationFocus > 40>> <<link 'Send them to a breeder school'>> <<replace `"#" + $dispositionId`>> - The child<<if _count > 1>>ren are<<else>> is<</if>> <<= BirthDestinationText("Breeder",$slaves[$i])>> + 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. $slaves[$i].slaveName + <<if $slaves[$i].devotion > 95>> + loves you already, but <<print $he>>'ll @@.hotpink;love you even more@@ for this. $He can't wait to see $his child<<if _count > 1>>ren<</if>> proudly furthering your cause. + <<set $slaves[$i].devotion += 4>> + <<elseif $slaves[$i].devotion > 50>> + heard about these and will be @@.hotpink;happy that $his child<<if _count > 1>>ren<</if>> will have a purpose in your society other than slavery.@@ $He will miss $his child<<if _count > 1>>ren<</if>>, but $he expected that. + <<set $slaves[$i].devotion += 4>> + <<elseif $slaves[$i].devotion > 20>> + will naturally miss $his child<<if _count > 1>>ren<</if>>, but will is broken enough to hope that $his offspring will have a better life, or at least an enjoyable one. + <<else>> + will of course @@.mediumorchid;hate you for this.@@ The mere thought of $his $fertilityAge year old daughter<<if _count > 1>>s<</if>> swollen with life, and proud of it, fills $him with @@.gold;disdain.@@ + <<set $slaves[$i].devotion -= 4, $slaves[$i].trust -= 4>> + <</if>> <<set $breederOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> <</replace>> <</link>> @@ -936,14 +972,33 @@ All in all, <</if>> <<link 'Send them to a citizen school'>> <<replace `"#" + $dispositionId`>> - The child<<if _count > 1>>ren are<<else>> is<</if>> <<= BirthDestinationText("Citizen",$slaves[$i])>> + 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. $slaves[$i].slaveName + <<if $slaves[$i].devotion > 95>> + loves you already, but <<print $he>>'ll @@.hotpink;love you even more@@ for this. + <<elseif $slaves[$i].devotion > 50>> + knows about these and will be @@.hotpink;overjoyed.@@ $He will miss $his child<<if _count > 1>>ren<</if>>, but $he expected that. + <<elseif $slaves[$i].devotion > 20>> + will naturally miss $his child<<if _count > 1>>ren<</if>>, but will @@.hotpink;take comfort@@ in the hope that $his offspring will have a better life. + <<else>> + will naturally retain some resentment over being separated from $his child<<if _count > 1>>ren<</if>>, but this should be balanced by hope that $his offspring will have a better life. + <</if>> <<set $slaves[$i].devotion += 4, $citizenOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> <</replace>> <</link>> //Will cost <<print cashFormat(100)>> weekly// | <<link 'Have them raised privately'>> <<replace `"#" + $dispositionId`>> - The <<= BirthDestinationText("Private",$slaves[$i])>> + 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. $slaves[$i].slaveName + <<if $slaves[$i].devotion > 95>> + will @@.hotpink;worship you utterly@@ for this. + <<elseif $slaves[$i].devotion > 50>> + understands that this is the best possible outcome for the offspring of slave, and will be @@.hotpink;overjoyed.@@ + <<elseif $slaves[$i].devotion > 20>> + will miss $his child<<if _count > 1>>ren<</if>>, but will be @@.hotpink;very grateful,@@ since <<print $he>>'ll understand this is the best possible outcome for a slave mother. + <<else>> + will resent being separated from $his child<<if _count > 1>>ren<</if>>, but @@.hotpink;should understand and be grateful@@ that this is the best possible outcome here. + <</if>> + The child<<if _count > 1>>ren<</if>> will be raised privately, with expert care and tutoring, an expensive proposition. <<set $slaves[$i].devotion += 6, $privateOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> <</replace>> <</link>> @@ -952,15 +1007,43 @@ All in all, <<if $slaves[$i].prestige > 1 || $slaves[$i].pornPrestige > 2>> | <<link 'Send them to auction'>> <<replace `"#" + $dispositionId`>> - <<= BirthDestinationText("Sold",$slaves[$i])>> - <<set $slaveOrphanageTotal -= _count>> + <<set _babyCost = random(-12,100)>> + <<if $slaves[$i].prematureBirth == 1>><<set _babyCost = random(-32,40)>><</if>> + $His <<if _count > 1>>babies<<else>>baby<</if>> went for a <<if _curBabies > 1>>total <</if>>bid of @@.yellowgreen;<<print cashFormat(_count*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> + <<if $slaves[$i].devotion > 95>> + $He adheres to your thoughts so strongly that even though you backed out of caring for $his child<<if _count > 1>>ren<</if>>, $he still truly believes you are doing $him an honor. + <<elseif $slaves[$i].devotion > 50>> + $He is @@.mediumorchid;deeply hurt@@ by your sudden decision to sell $his child<<if _count > 1>>ren<</if>> instead of having <<if _count > 1>>them<<else>>it<</if>> cared for. $His trust in your words @@.gold;wavers@@ as $he thinks of $his child<<if _count > 1>>ren<</if>>'s future. + <<set $slaves[$i].trust -= 5, $slaves[$i].devotion -= 5>> + <<elseif $slaves[$i].devotion > 20>> + $He is @@.mediumorchid;devastated@@ by your sudden decision to sell $his child<<if _count > 1>>ren<</if>> instead of having <<if _count > 1>>them<<else>>it<</if>> cared for. $His mind struggles to comprehend @@.gold;such betrayal.@@ + <<set $slaves[$i].trust -= 10, $slaves[$i].devotion -= 10>> + <<else>> + For a moment, $he saw a glimmer of good in you; @@.mediumorchid;$he was clearly wrong.@@ $His mind struggles to comprehend @@.gold;why $he could ever even think of trusting such a person.@@ + <<set $slaves[$i].trust -= 30, $slaves[$i].devotion -= 30>> + <</if>> + <<set $cash += _curBabies*(50+_babyCost), $slaveOrphanageTotal -= _count>> <</replace>> <</link>> <<else>> | <<link 'Sell them anyway'>> <<replace `"#" + $dispositionId`>> - <<= BirthDestinationText("Sold",$slaves[$i])>> - <<set $slaveOrphanageTotal -= _count>> + <<set _babyCost = random(-12,12)>> + <<if $slaves[$i].prematureBirth == 1>><<set _babyCost = -45>><</if>> + $His <<if _count > 1>>babies<<else>>baby<</if>> sold for <<if _curBabies > 1>>a total of <</if>>@@.yellowgreen;<<print cashFormat(_count*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> + <<if $slaves[$i].devotion > 95>> + $He adheres to your thoughts so strongly that even though you backed out of caring for $his child<<if _count > 1>>ren<</if>>, $he still truly believes you are doing $him an honor. + <<elseif $slaves[$i].devotion > 50>> + $He is @@.mediumorchid;deeply hurt@@ by your sudden decision to sell $his child<<if _count > 1>>ren<</if>> instead of having <<if _count > 1>>them<<else>>it<</if>> cared for. $His trust in your words @@.gold;wavers@@ as $he thinks of $his child<<if _count > 1>>ren<</if>>'s future. + <<set $slaves[$i].trust -= 5, $slaves[$i].devotion -= 5>> + <<elseif $slaves[$i].devotion > 20>> + $He is @@.mediumorchid;devastated@@ by your sudden decision to sell $his child<<if _count > 1>>ren<</if>> instead of having <<if _count > 1>>them<<else>>it<</if>> cared for. $His mind struggles to comprehend @@.gold;such betrayal.@@ + <<set $slaves[$i].trust -= 10, $slaves[$i].devotion -= 10>> + <<else>> + For a moment, $he saw a glimmer of good in you; @@.mediumorchid;$he was clearly wrong.@@ $His mind struggles to comprehend @@.gold;why $he could ever even think of trusting such a person.@@ + <<set $slaves[$i].trust -= 30, $slaves[$i].devotion -= 30>> + <</if>> + <<set $cash += _curBabies*(50+_babyCost), $slaveOrphanageTotal -= _count>> <</replace>> <</link>> <</if>> diff --git a/src/uncategorized/reputation.tw b/src/uncategorized/reputation.tw index dcf562dbe47b61461532b37ba21aa543a1838f12..609f582864cdb1074fceded446d6391f1d5c4323 100644 --- a/src/uncategorized/reputation.tw +++ b/src/uncategorized/reputation.tw @@ -46,7 +46,7 @@ On formal occasions, you are announced as $PCTitle. <</if>> <</if>> -<<set $repDecay = 0.2>> +<<set $repDecay = 0.05>> <<if $arcologies[0].FSChattelReligionistLaw == 1>> <<set _repLoss = 0, $PC.degeneracy = 0>> Since you are the Prophet, your reputation no longer degrades at all. @@ -57,13 +57,13 @@ On formal occasions, you are announced as $PCTitle. <<if $arcologies[0].FSMaturityPreferentialistLaw == 1>> <<if $PC.actualAge >= 65>> Since you're getting on in years and have an impressive list of accomplishments, and $arcologies[0].name's society respects age, your reputation degrades quite slowly. - <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay-0.05))>> + <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay-0.0125))>> <<elseif $PC.actualAge >= 50>> Since you're well into middle age and have an impressive list of accomplishments, and $arcologies[0].name's society respects age, your reputation degrades quite slowly. - <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay-0.05))>> + <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay-0.0125))>> <<elseif $PC.actualAge < 35>> Since you're unusually young for an arcology owner, and $arcologies[0].name's society respects age, your reputation degrades quite quickly. - <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay+0.05))>> + <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay+0.0125))>> <<else>> Since you're only entering middle age, and $arcologies[0].name's society respects age, your reputation degrades fairly quickly. <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay))>> @@ -71,27 +71,27 @@ On formal occasions, you are announced as $PCTitle. <<elseif $arcologies[0].FSYouthPreferentialistLaw == 1>> <<if $PC.actualAge >= 65>> Since you're getting on in years and have an impressive list of accomplishments, but $arcologies[0].name's society is coming to prefer youth to experience, so your reputation degrades fairly quickly. - <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay+0.05))>> + <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay+0.0125))>> <<elseif $PC.actualAge >= 50>> You're well into middle age and have an impressive list of accomplishments, but $arcologies[0].name's society is coming to prefer youth to experience, so your reputation degrades fairly quickly. - <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay+0.05))>> + <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay+0.0125))>> <<elseif $PC.actualAge < 35>> You're unusually young for an arcology owner, but $arcologies[0].name's society doesn't mind. <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay))>> <<else>> Since you're entering middle age, and $arcologies[0].name's society respects youth, your reputation degrades fairly quickly. - <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay+0.05))>> + <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay+0.0125))>> <</if>> <<else>> <<if $PC.actualAge >= 65>> Since you're getting on in years and have an impressive list of accomplishments, and $arcologies[0].name's society respects age, your reputation degrades quite slowly. - <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay-0.05))>> + <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay-0.0125))>> <<elseif $PC.actualAge >= 50>> Since you're well into middle age and have an impressive list of accomplishments, your reputation degrades fairly slowly. - <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay-0.05))>> + <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay-0.0125))>> <<elseif $PC.actualAge < 35>> Since you're unusually young for an arcology owner, your reputation degrades fairly quickly. - <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay+0.05))>> + <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay+0.0125))>> <<else>> <<set _repLoss = Math.trunc(($rep-$enduringRep)*($repDecay))>> <</if>> @@ -103,7 +103,10 @@ On formal occasions, you are announced as $PCTitle. <<elseif $enduringRep > 2000>> However, you have been a figure of regard for long enough that some of your reputation has become permanent. <</if>> - <<set $enduringRep += Math.trunc(_repLoss*0.025)>> + <<if _repLoss > 500>> + <<set _repLoss = 500>> + <</if>> + <<set $enduringRep += Math.trunc(_repLoss*0.1)>> <<else>> <<set _repLoss = 0>> <<if $enduringRep > 8000>> @@ -150,7 +153,7 @@ On formal occasions, you are announced as $PCTitle. <</if>> <<else>> Most prominent slaveowners are male, and your obviously feminine appearance makes it @@.red;harder for you to maintain your reputation.@@ - <<run repX(forceNeg($rep*0.1), "PCappearance")>> + <<run repX(forceNeg(Math.min(($rep*0.05), 500)), "PCappearance")>> <<if $arcologies[0].FSGenderFundamentalist > 10>> Society @@.red;strongly resents@@ your being an arcology owner; this damages the idea that women should not be in positions of responsibility. <<= FSChange("GenderFundamentalist", -5)>> @@ -173,7 +176,7 @@ On formal occasions, you are announced as $PCTitle. <</if>> <<else>> Most prominent slaveowners are very masculine, and your feminine appearance makes it @@.red;harder for you to maintain your reputation.@@ - <<run repX(forceNeg($rep*0.05), "PCappearance")>> + <<run repX(forceNeg(Math.min(($rep*0.025), 250)), "PCappearance")>> <<if $arcologies[0].FSGenderFundamentalist > 30>> Society @@.red;strongly resents@@ your being an arcology owner; this damages the idea that feminine people should not be in positions of responsibility. <<= FSChange("GenderFundamentalist", -5)>> @@ -196,7 +199,7 @@ On formal occasions, you are announced as $PCTitle. <</if>> <<else>> Most prominent slaveowners are very masculine, and though your unorthodox arrangement downstairs isn't obvious when you're clothed, the rumors are unavoidable and it's @@.red;harder for you to maintain your reputation.@@ - <<run repX(forceNeg($rep*0.05), "PCappearance")>> + <<run repX(forceNeg(Math.min(($rep*0.025), 250)), "PCappearance")>> <<if $arcologies[0].FSGenderFundamentalist > 30>> Society @@.red;strongly resents@@ your being an arcology owner; this damages the idea that people who are not men should not be in positions of responsibility. <<= FSChange("GenderFundamentalist", -5)>> @@ -391,22 +394,22 @@ On formal occasions, you are announced as $PCTitle. <<if $PC.career == "escort" && $rep < 16000>> Society @@.red;frowns@@ over being run by an ex-whore. The presence of porn of you on the net doesn't aid your reputation either. - <<run repX(forceNeg($rep*0.1), "PCactions")>> + <<run repX(forceNeg(Math.min(($rep*0.05), 500)), "PCactions")>> <<elseif $PC.career == "escort">> Your reputation is so strong that society has accepted your previous endeavors despite how unusual it is for a prominent slaveowner to have once nearly been a slave. <</if>> <<if $PC.career == "servant" && $rep < 12000>> Society @@.red;frowns@@ over being run by an ex-<<if $PC.title == 1>>butler<<else>>maid<</if>>, despite how prominent their previous owner was. - <<run repX(forceNeg($rep*0.1), "PCactions")>> + <<run repX(forceNeg(Math.min(($rep*0.05), 500)), "PCactions")>> <<elseif $PC.career == "servant">> Your reputation is so strong that society has accepted your previous vocation despite how unusual it is for a prominent slaveowner to have once been nothing more than a lowly servant. <</if>> <<if $PC.career == "gang" && $rep < 15000>> Society @@.red;frowns@@ over being run by an ex-gang leader, no matter how strong they might have been. - <<run repX(forceNeg($rep*0.1), "PCactions")>> + <<run repX(forceNeg(Math.min(($rep*0.05), 500)), "PCactions")>> <<elseif $PC.career == "BlackHat" && $rep < 15000>> Society @@.red;dislikes@@ being run by someone so capable of dredging up secrets, especially when they used to do it for the highest bidder. - <<run repX(forceNeg($rep*0.1), "PCactions")>> + <<run repX(forceNeg(Math.min(($rep*0.05), 500)), "PCactions")>> <<elseif $PC.career == "gang" || $PC.career == "BlackHat">> Your reputation is strong enough that society has come to accept your background as part of your image. <</if>> diff --git a/src/uncategorized/saServeThePublic.tw b/src/uncategorized/saServeThePublic.tw index cf48b56d4c56f8c3da9e67549c4b59514c965ab1..95a3b696af0148fc10ba7b16ab38d91f23927c6a 100644 --- a/src/uncategorized/saServeThePublic.tw +++ b/src/uncategorized/saServeThePublic.tw @@ -1053,13 +1053,13 @@ $His appearance attracted $beauty members of the public (<<print Math.trunc($bea <<if ($slaves[$i].assignment == "recruit girls")>> <<elseif $slaves[$i].assignment == "serve in the club">> - <<run repX(Math.trunc(($beauty*$FResult)*(1+(0.003*$slaves[$i].entertainSkill))*0.1), "publicServantClub", $slaves[$i])>> + <<run repX(Math.trunc(($beauty*$FResult)*(1+(0.003*$slaves[$i].entertainSkill))*0.15), "publicServantClub", $slaves[$i])>> <<elseif $slaves[$i].assignment == "serve the public">> - <<run repX(Math.trunc(($beauty*$FResult)*(1+(0.003*$slaves[$i].entertainSkill))*0.1), "publicServant", $slaves[$i])>> + <<run repX(Math.trunc(($beauty*$FResult)*(1+(0.003*$slaves[$i].entertainSkill))*0.15), "publicServant", $slaves[$i])>> <<else>> - <<run repX(Math.trunc(($beauty*$FResult)*(1+(0.003*$slaves[$i].entertainSkill))*0.1), "serving the public in an unregistered building", $slaves[$i])>> + <<run repX(Math.trunc(($beauty*$FResult)*(1+(0.003*$slaves[$i].entertainSkill))*0.15), "serving the public in an unregistered building", $slaves[$i])>> <</if>> -<<set _incomeStats.income += Math.trunc(($beauty*$FResult)*(1+(0.003*$slaves[$i].entertainSkill))*0.1)>> +<<set _incomeStats.income += Math.trunc(($beauty*$FResult)*(1+(0.003*$slaves[$i].entertainSkill))*0.15)>> /* FACILITY DECORATION IMPACTS */ diff --git a/src/uncategorized/seBirth.tw b/src/uncategorized/seBirth.tw index 918451565753140b567db28d4fd81c6311a96dc5..fef2fcc47e4ba910ef7b56c45891d9723fa472ad 100644 --- a/src/uncategorized/seBirth.tw +++ b/src/uncategorized/seBirth.tw @@ -39,19 +39,67 @@ I need to break single passage to several widgets, as it's been overcomplicated <<seBirthMainScene>> <<seBirthBabies>> <<if $DefaultBirthDestination != "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>> - <<set _call = 1>> $His <<if _curBabies > 1>>babies were<<else>>baby was<</if>> sent to $DefaultBirthDestination. + $His <<if _curBabies > 1>>babies were<<else>>baby was<</if>> sent to $DefaultBirthDestination. $slaves[$i].slaveName <<switch $DefaultBirthDestination>> <<case "an orphanage">> - <<= BirthDestinationText("Orphanage",$slaves[$i])>> + <<if $slaves[$i].devotion > 95>> + worships you so completely that $he will not resent this. + <<elseif $slaves[$i].devotion > 50>> + is devoted to you, but $he will @@.mediumorchid;struggle to accept this.@@ + <<set $slaves[$i].devotion -= 2>> + <<elseif $slaves[$i].devotion > 20>> + has accepted being a sex slave, but $he will @@.mediumorchid;resent this intensely.@@ + <<set $slaves[$i].devotion -= 3>> + <<else>> + will of course @@.mediumorchid;hate you for this.@@ + <<set $slaves[$i].devotion -= 4>> + <</if>> <<set $slaveOrphanageTotal += _curBabies>> <<case "a citizen school">> - child<<if _count > 1>>ren are<<else>> is<</if>> <<= BirthDestinationText("Citizen",$slaves[$i])>> + <<if $slaves[$i].devotion > 95>> + loves you already, but <<print $he>>'ll @@.hotpink;love you even more@@ for this. + <<elseif $slaves[$i].devotion > 50>> + knows about these and will be @@.hotpink;overjoyed.@@ $He will miss $his child<<if _curBabies > 1>>ren<</if>>, but $he expected that. + <<elseif $slaves[$i].devotion > 20>> + will naturally miss $his child<<if _curBabies > 1>>ren<</if>>, but will @@.hotpink;take comfort@@ in the hope that $his offspring will have a better life. + <<else>> + will naturally retain some resentment over being separated from $his child<<if _curBabies > 1>>ren<</if>>, but this should be balanced by hope that $his offspring will have a better life. + <</if>> <<set $slaves[$i].devotion += 4, $citizenOrphanageTotal += _curBabies>> <<case "a private school">> - <<= BirthDestinationText("Private",$slaves[$i])>> + <<if $slaves[$i].devotion > 95>> + will @@.hotpink;worship you utterly@@ for this. + <<elseif $slaves[$i].devotion > 50>> + understands that this is the best possible outcome for the offspring of slave, and will be @@.hotpink;overjoyed.@@ + <<elseif $slaves[$i].devotion > 20>> + will miss $his child<<if _curBabies > 1>>ren<</if>>, but will be @@.hotpink;very grateful,@@ since <<print $he>>'ll understand this is the best possible outcome for a slave mother. + <<else>> + will resent being separated from $his child<<if _curBabies > 1>>ren<</if>>, but @@.hotpink;should understand and be grateful@@ that this is the best possible outcome here. + <</if>> + The child<<if _curBabies > 1>>ren<</if>> will be raised privately, with expert care and tutoring, an expensive proposition. <<set $slaves[$i].devotion += 6, $privateOrphanageTotal += _curBabies>> <<case "the market">> - <<= BirthDestinationText("Sold",$slaves[$i])>> + <<if $slaves[$i].prestige > 1 || $slaves[$i].pornPrestige > 2>> + <<set _babyCost = random(-12,100)>> + <<if $slaves[$i].prematureBirth > 0>><<set _babyCost = random(-32,40)>><</if>> + <<else>> + <<set _babyCost = random(-12,12)>> + <<if $slaves[$i].prematureBirth > 0>><<set _babyCost = -45>><</if>> + <</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>> + <<if $slaves[$i].devotion > 95>> + $He adheres to your thoughts so strongly that even though you backed out of caring for $his child<<if _curBabies > 1>>ren<</if>>, $he still truly believes you are doing $him an honor. + <<elseif $slaves[$i].devotion > 50>> + $He is @@.mediumorchid;deeply hurt@@ by your sudden decision to sell $his child<<if _curBabies > 1>>ren<</if>> instead of having <<if _curBabies > 1>>them<<else>>it<</if>> cared for. $His trust in your words @@.gold;wavers@@ as $he thinks of $his child<<if _curBabies > 1>>ren<</if>>'s future. + <<set $slaves[$i].trust -= 5, $slaves[$i].devotion -= 5>> + <<elseif $slaves[$i].devotion > 20>> + $He is @@.mediumorchid;devastated@@ by your sudden decision to sell $his child<<if _curBabies > 1>>ren<</if>> instead of having <<if _curBabies > 1>>them<<else>>it<</if>> cared for. $His mind struggles to comprehend @@.gold;such betrayal.@@ + <<set $slaves[$i].trust -= 10, $slaves[$i].devotion -= 10>> + <<else>> + For a moment, $he saw a glimmer of good in you; @@.mediumorchid;$he was clearly wrong.@@ $His mind struggles to comprehend @@.gold;why $he could ever even thing of trusting such a person.@@ + <<set $slaves[$i].trust -= 30, $slaves[$i].devotion -= 30>> + <</if>> + <<set $cash += _curBabies*(50+_babyCost)>> <</switch>> <</if>> <<seBirthPostpartum>> diff --git a/src/utility/saRulesWidgets.tw b/src/utility/saRulesWidgets.tw index 12fc8b6361b47bcd659205d51b046dbceb999768..833c302a63a6feac69f57ee6e36a56117fdb4aa4 100644 --- a/src/utility/saRulesWidgets.tw +++ b/src/utility/saRulesWidgets.tw @@ -90,7 +90,7 @@ and You have surplus sexual energy to burn, even when $he doesn't ask, and $he <<if $slaves[$i].devotion < -20>> @@.hotpink;hates $himself@@ for how often $he gets off on you relieving your needs with $his body. - <<elseif $slaves[$i].devotion <= 50 || slaves[$i].trust <= 20>> + <<elseif $slaves[$i].devotion <= 50 || $slaves[$i].trust <= 20>> @@.hotpink;gets used to being a sex slave@@ every time $he climaxes as you use $him. <<else>> @@.hotpink;eagerly looks forward@@ to each climax $he shares with you.