diff --git a/Changelog.txt b/Changelog.txt index e659993c4e32290493cd9dcea210671831b20498..dc9676a4cbc46416a6ea0c81e35dcb578def0ba9 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -4,6 +4,9 @@ Pregmod 3 -custom hotkeys + -custom theme support + -lactation rules applicable to all slaves + -fixes & code improvements 6/06/2020 diff --git a/src/js/DefaultRules.js b/src/js/DefaultRules.js index 9615a9cff33c8990778df23114bbc08ff6379d74..e9cbf43142f18673cb0f9c15e200f5c75c3eac36 100644 --- a/src/js/DefaultRules.js +++ b/src/js/DefaultRules.js @@ -81,6 +81,7 @@ globalThis.DefaultRules = (function() { ProcessSpeech(slave, rule); ProcessRelationship(slave, rule); ProcessRelease(slave, rule); + ProcessLactation(slave, rule); ProcessPunishment(slave, rule); ProcessReward(slave, rule); } @@ -1950,6 +1951,21 @@ globalThis.DefaultRules = (function() { } } + /** + * @param {App.Entity.SlaveState} slave + * @param {App.RA.RuleSetters} rule + */ + function ProcessLactation(slave, rule) { + if ((rule.lactationRules !== undefined) && (rule.lactationRules !== null)) { + if (slave.rules.lactation !== rule.lactationRules ) { + if ((rule.lactationRules === "induce" && slave.lactation === 0) || (rule.lactationRules === "maintain" && slave.lactation === 1) || (rule.lactationRules === "none")) { + slave.rules.lactation = rule.lactationRules; + r += `<br>${slave.slaveName}'s lactation rules have been set to ${rule.lactationRules}.`; + } + } + } + } + /** * @param {App.Entity.SlaveState} slave * @param {App.RA.RuleSetters} rule diff --git a/src/js/rulesAssistant.js b/src/js/rulesAssistant.js index 20623049ed540e3d35afd9dbe3034a8a8b53485c..375e1cc37effbad10074bf38ed1c373a6723befd 100644 --- a/src/js/rulesAssistant.js +++ b/src/js/rulesAssistant.js @@ -258,6 +258,7 @@ App.RA.newRule = function() { curatives: null, livingRules: null, relationshipRules: null, + lactationRules: null, standardPunishment: null, standardReward: null, weight: null, diff --git a/src/js/rulesAssistantOptions.js b/src/js/rulesAssistantOptions.js index b986d9b41b0b2cf975066e846ff1c7cb6d41e051..d1abe766c61830c36946c58daea1c703ab25721e 100644 --- a/src/js/rulesAssistantOptions.js +++ b/src/js/rulesAssistantOptions.js @@ -1665,6 +1665,7 @@ globalThis.rulesAssistantOptions = (function() { this.appendChild(new SmartEnergyList()); this.appendChild(new SpeechList()); this.appendChild(new RelationshipList()); + this.appendChild(new LactationList()); if (V.studio === 1) { this.appendChild(new PornBroadcastStatus()); this.appendChild(new PornList()); @@ -2798,6 +2799,19 @@ globalThis.rulesAssistantOptions = (function() { } } + class LactationList extends RadioSelector { + constructor() { + const pairs = [ + ["none"], + ["induce"], + ["maintain"] + ]; + super("Lactation rules", pairs, true); + this.setValue(current_rule.set.lactationRules); + this.onchange = (value) => current_rule.set.lactationRules = value; + } + } + class PornBroadcastStatus extends RadioSelector { constructor() { const pairs = [ diff --git a/src/js/rulesAutosurgery.js b/src/js/rulesAutosurgery.js index 0ae8f7f69287548db871e05ef298dc80a9ba536b..c20bc4f188cd8563c80d4b04f8543bd0a28e8e6a 100644 --- a/src/js/rulesAutosurgery.js +++ b/src/js/rulesAutosurgery.js @@ -236,7 +236,7 @@ globalThis.rulesAutosurgery = (function() { if (slave.lactation === 2 && thisSurgery.lactation === 0) { commitProcedure(`surgery to remove ${his} lactation implants`, s => { s.lactation = 0; }); } else if (slave.lactation !== 2 && (thisSurgery.lactation === 1)) { - commitProcedure("lactation inducing implanted drugs", s => { s.lactation = 2; }); + commitProcedure("lactation inducing implanted drugs", s => { s.lactation = 2, s.rules.lactation = "none"; }); } else if ((slave.boobShape === "saggy" || slave.boobShape === "downward-facing") && thisSurgery.cosmetic > 0 && slave.breastMesh !== 1) { commitProcedure("a breast lift", s => { s.boobShape = "normal"; }); } else if ((slave.boobShape === "normal" || slave.boobShape === "wide-set") && thisSurgery.cosmetic > 0 && slave.breastMesh !== 1) { diff --git a/src/js/summaryWidgets.js b/src/js/summaryWidgets.js index f33bedfe8f5a65cf4bddfafe69e5d8554ed8eecd..0f8b22447cb086950a7babc6cba91993ef1bf450 100644 --- a/src/js/summaryWidgets.js +++ b/src/js/summaryWidgets.js @@ -64,4 +64,7 @@ globalThis.SlaveStatClamp = function(slave) { slave.preg = 0; WombFlush(slave); } + if ((slave.rules.lactation === "induce" && slave.lactation !== 0) || (slave.rules.lactation === "maintain" && slave.lactation !== 1)) { + slave.rules.lactation === "none" + } }; diff --git a/src/uncategorized/initRules.tw b/src/uncategorized/initRules.tw index bf4b5a1d76aa497178465653052c1dbfb4ae8f8d..d4689a3d95bcc075ad9f0a004608c911470d080d 100644 --- a/src/uncategorized/initRules.tw +++ b/src/uncategorized/initRules.tw @@ -128,6 +128,7 @@ lips: "no default setting", holes: "no default setting" }, + lactationRules: "no default setting", underArmHColor: "no default setting", underArmHStyle: "no default setting", eyebrowHColor: "no default setting", @@ -254,6 +255,7 @@ lips: "no default setting", holes: "no default setting" }, + lactationRules: "no default setting", underArmHColor: "no default setting", underArmHStyle: "no default setting", eyebrowHColor: "no default setting", diff --git a/src/uncategorized/remoteSurgery.tw b/src/uncategorized/remoteSurgery.tw index 27c867f9d11197f0fea16b9067dab2d9b2202851..66493203bb2975683a30ed8d2c51aefbd64b3a3b 100644 --- a/src/uncategorized/remoteSurgery.tw +++ b/src/uncategorized/remoteSurgery.tw @@ -1005,7 +1005,7 @@ <div class="choices"> <<if getSlave($AS).lactation < 2>> <<if getSlave($AS).indentureRestrictions < 2>> - [[Implant slow-release pro-lactation drugs|Surgery Degradation][getSlave($AS).lactation = 2, getSlave($AS).lactationDuration = 2, getSlave($AS).induceLactation = 0, getSlave($AS).boobs -= getSlave($AS).boobsMilk, getSlave($AS).boobsMilk = 0,cashX(forceNeg($surgeryCost), "slaveSurgery", getSlave($AS)), surgeryDamage(getSlave($AS),10),$surgeryType = "lactation"]] <span class="note">This may increase $his natural breast size</span> + [[Implant slow-release pro-lactation drugs|Surgery Degradation][getSlave($AS).lactation = 2, getSlave($AS).lactationDuration = 2, getSlave($AS).induceLactation = 0, getSlave($AS).boobs -= getSlave($AS).boobsMilk, getSlave($AS).boobsMilk = 0, getSlave($AS).rules.lactation = "none", cashX(forceNeg($surgeryCost), "slaveSurgery", getSlave($AS)), surgeryDamage(getSlave($AS),10),$surgeryType = "lactation"]] <span class="note">This may increase $his natural breast size</span> <</if>> <</if>> <<if getSlave($AS).lactation > 1>> diff --git a/src/uncategorized/saRules.tw b/src/uncategorized/saRules.tw index 9001f41cb9fd723b1436ed177169743596de26b1..34b1607e917498957f991a0f3de11fd7f90453aa 100644 --- a/src/uncategorized/saRules.tw +++ b/src/uncategorized/saRules.tw @@ -536,6 +536,30 @@ <</if>> <</if>> + <<if $slaves[$i].rules.lactation == "induce">> + Customers are encouraged to work $his breats and nipples in an effort to induce lactation; whoever gets $him to start dribbling milk wins a week of drinks on the house. + <<set $slaves[$i].induceLactation += 4>> + <<= induceLactation($slaves[$i])>> + <<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>> + <<elseif $slaves[$i].rules.lactation == "maintain">> + <<if $slaves[$i].devotion > 20>> + <<if $slaves[$i].fetish == "boobs">> + It's unclear if $he is using $his milky breasts during sex for you or $himself; either way, $his lactation won't be going anywhere. + <<else>> + $He happily puts $his milky breasts to use during sex in order to keep lactating for you. + <</if>> + <<elseif $slaves[$i].devotion >= -20>> + <<if $slaves[$i].fetish == "boobs">> + $He doesn't need to be ordered to use $his milky breasts during sex since $he favors them heavily. + <<else>> + $He is required to utilize $his milky breasts during sex to keep $his lactation strong. + <</if>> + <<else>> + Customers are encouraged to molest $his breasts to keep $him lactating. + <</if>> + <<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>> + <</if>> + <<if $slaves[$i].devotion > 50>> $He does $his best for you, so $he frequently deserves a reward and never needs to be punished. <<set _punishments = 0>> @@ -1095,6 +1119,30 @@ <</if>> <</if>> + <<if $slaves[$i].rules.lactation == "induce">> + Citizens are encouraged to work $his breats and nipples in an effort to induce lactation; whoever gets $him to start dribbling milk wins a week of drinks on the house. + <<set $slaves[$i].induceLactation += 4>> + <<= induceLactation($slaves[$i])>> + <<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>> + <<elseif $slaves[$i].rules.lactation == "maintain">> + <<if $slaves[$i].devotion > 20>> + <<if $slaves[$i].fetish == "boobs">> + It's unclear if $his lactation based routines are for your benefit or $his own; either way, $his milk production won't be slowing down. + <<else>> + $He happily works $his lactation into $his routines in order to keep $his milk flowing. + <</if>> + <<elseif $slaves[$i].devotion >= -20>> + <<if $slaves[$i].fetish == "boobs">> + $He doesn't need to be ordered to work $his lactation into $his routines since $he does so already. + <<else>> + $He is required to utilize $his lactation while entertaining to keep $his lactation strong. + <</if>> + <<else>> + Citizens are encouraged to molest $his breasts to keep $him lactating. + <</if>> + <<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>> + <</if>> + <<if $slaves[$i].devotion > 50>> $He does $his best for you, so $he frequently deserves a reward and never needs to be punished. <<set _punishments = 0>> @@ -1548,6 +1596,34 @@ <</if>> <</if>> + <<if $slaves[$i].rules.lactation == "induce">> + $He spends $his stay with a pair of automatic breast pumps attached to $his chest. The constant stimulation will have $him milky soon enough. + <<set $slaves[$i].induceLactation += 10>> + <<= induceLactation($slaves[$i])>> + <<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>> + <<elseif $slaves[$i].rules.lactation == "maintain">> + <<if $slaves[$i].devotion > 20>> + <<if $slaves[$i].fetish == "boobs">> + <<if (canHold($slaves[$i]))>> + Whenever $he is feeling up to it, $he enjoys milking $himself by hand in lieu of using a breast pump; it's around for those times $he can't muster the energy. + <<else>> + $He spends $his stay mostly with a pair of automatic breast pumps attached to $his chest. They get $him so worked up, $he has to be asked to take breaks from using them. + <</if>> + <<else>> + $He spends $his stay with a pair of automatic breast pumps attached to $his chest. The periodic suction is both relieving and invigorating. + <</if>> + <<elseif $slaves[$i].devotion >= -20>> + <<if $slaves[$i].fetish == "boobs">> + $He spends most of $his stay with a pair of automatic breast pumps attached to $his chest. They get $him so worked up, $his time with them has to be limited. + <<else>> + $He spends $his stay with a pair of automatic breast pumps attached to $his chest. It's a little uncomfortable, but $he won't dare complain. + <</if>> + <<else>> + $He spends $his stay with a pair of automatic breast pumps locked to $his chest. $His lactation will not be allowed to wane so easily. + <</if>> + <<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>> + <</if>> + <<if random(-200,200) > $slaves[$i].health.condition>> <<if $slaves[$i].devotion > 50>> $He does $his best for you, so $he frequently deserves a reward and never needs to be punished. @@ -1878,6 +1954,31 @@ <<set $slaves[$i].trust -= 1>> <</switch>> + <<if $slaves[$i].rules.lactation == "induce">> + $He spends $his sentence with a pair of automatic breast pumps locked to $his chest. If all goes well, $he'll be both reformed and lactating by $his release. + <<set $slaves[$i].induceLactation += 10>> + <<= induceLactation($slaves[$i])>> + <<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>> + <<elseif $slaves[$i].rules.lactation == "maintain">> + $He spends $his stay with a pair of automatic breast pumps locked to $his chest. + <<if $slaves[$i].devotion > 20>> + <<if $slaves[$i].fetish == "boobs">> + It's both enjoyable and what you want, so the inconvenience is easily tolerated. + <<else>> + It beats swollen breasts, so $he can't complain. + <</if>> + <<elseif $slaves[$i].devotion >= -20>> + <<if $slaves[$i].fetish == "boobs">> + It's enjoyable, but showing it will only be met with punishment. + <<else>> + It's uncomfortable, but complaints will only be met with punishment. + <</if>> + <<else>> + $His lactation will not be allowed to wane so easily. + <</if>> + <<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>> + <</if>> + <<if $slaves[$i].trust < -50>> $He's only obedient out of terror, so $he sometimes needs to be punished. <<set _punishments = 1>> @@ -2355,6 +2456,26 @@ <</if>> <</if>> + <<if $AttendantID != 0>> /* Attendant milks natural lactation in order to relieve physical stress — spaReport */ + <<if $slaves[$i].rules.lactation == "induce">> + <<if canHold($slaves[$i]) && $slaves[$i].devotion >= -20>> + $He massages $his breasts while relaxing in an effort to bring in $his lactation. + <<else>> + $He tries to relax as best $he can with a pair of automatic breast pumps attached to $his chest in an attempt to induce lactation. + <</if>> + <<set $slaves[$i].induceLactation += 4>> + <<= induceLactation($slaves[$i])>> + <<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>> + <<elseif $slaves[$i].rules.lactation == "maintain">> + <<if canHold($slaves[$i]) && ($slaves[$i].devotion >= -20 || $slaves[$i].fetish == "boobs")>> + $He massages $his breasts while relaxing to take the edge off and keep the milk flowing. + <<else>> + $He tries to relax as best $he can with a pair of automatic breast pumps stuck to $his chest, keeping $his milk flowing. + <</if>> + <<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>> + <</if>> + <</if>> + <<if $slaves[$i].devotion > 50>> $He does $his best for you, so $he frequently deserves a reward and never needs to be punished. <<set _punishments = 0>> @@ -2892,6 +3013,23 @@ <</if>> <</if>> + /* update me, things like wet nursing and the like are important here */ + <<if $slaves[$i].rules.lactation == "induce">> + $He spends $his stay with a pair of automatic breast pumps attached to $his chest. The constant stimulation will have $him milky soon enough. + <<set $slaves[$i].induceLactation += 10>> + <<= induceLactation($slaves[$i])>> + <<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>> + <<elseif $slaves[$i].rules.lactation == "maintain">> + <<if $slaves[$i].devotion > 20>> + Milk is always needed in a nursery and $his is no exception. $He is thoroughly drained each and every day, be it by breast pump or nursing infant. + <<elseif $slaves[$i].devotion >= -20>> + Milk is always needed in a nursery and $his is no exception. $He is thoroughly drained each and every day. + <<else>> + $He spends $his stay with a pair of automatic breast pumps locked to $his chest. $His is a valuable commodity and needs to be maintained. + <</if>> + <<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>> + <</if>> + <<if $slaves[$i].devotion > 50>> $He does $his best for you, so $he frequently deserves a reward and never needs to be punished. <<set _punishments = 0>> @@ -3437,6 +3575,16 @@ <</if>> <</if>> + <<if $slaves[$i].rules.lactation == "induce">> + $He is taught and tested on how to properly induce lactation. + <<set $slaves[$i].induceLactation += 2>> + <<= induceLactation($slaves[$i])>> + <<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>> + <<elseif $slaves[$i].rules.lactation == "maintain">> + $He is taught and tested on how to properly manage lactation. + <<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>> + <</if>> + <<if $slaves[$i].devotion > 50>> $He does $his best for you, so $he frequently deserves a reward and never needs to be punished. <<set _punishments = 0>> @@ -4031,6 +4179,16 @@ <</if>> <</if>> + <<if $slaves[$i].rules.lactation == "induce">> + $He carries out $his daily tasks with a pair of automatic breast pumps attached to $his chest to help bring in $his lactation. + <<set $slaves[$i].induceLactation += 6>> + <<= induceLactation($slaves[$i])>> + <<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>> + <<elseif $slaves[$i].rules.lactation == "maintain" && $servantMilkers != 1>> + $He utilizes $his lactation during $his daily tasks when needed, and if it should not be needed, spends the evenings with a pair of automatic breast pumps. + <<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>> + <</if>> + <<if $slaves[$i].devotion > 50>> $He does $his best for you, so $he frequently deserves a reward and never needs to be punished. <<set _punishments = 0>> @@ -5194,6 +5352,16 @@ <</if>> <</if>> + <<if $slaves[$i].rules.lactation == "induce">> + $He carries out $his daily tasks with a pair of automatic breast pumps attached to $his chest to help bring in $his lactation. + <<set $slaves[$i].induceLactation += 6>> + <<= induceLactation($slaves[$i])>> + <<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>> + <<elseif $slaves[$i].rules.lactation == "maintain">> + $He carries out $his daily tasks with a pair of automatic breast pumps attached to $his chest to keep $him productive and drained. + <<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>> + <</if>> + <<if $slaves[$i].devotion > 50>> $He does $his best for you, so $he frequently deserves a reward and never needs to be punished. <<set _punishments = 0>> @@ -5422,6 +5590,30 @@ <</if>> <</if>> + <<if $slaves[$i].rules.lactation == "induce">> + When you have the free time, you message $his breasts and work $his nipples in an effort to bring in $his lactation. + <<set $slaves[$i].induceLactation += 2>> + <<= induceLactation($slaves[$i])>> + <<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>> + <<elseif $slaves[$i].rules.lactation == "maintain">> + <<if $slaves[$i].devotion > 20>> + <<if $slaves[$i].fetish == "boobs">> + $He puts $his breasts to work when you humor $his tastes, easily keeping $his lactation from diminishing. + <<else>> + You find ways to put $his milk to good use, and when you can't, see to it yourself that $he is kept drained and comfortable. + <</if>> + <<elseif $slaves[$i].devotion >= -20>> + <<if $slaves[$i].fetish == "boobs">> + $He responds positively to breast play in bed, assuring $his milk production isn't going anywhere. + <<else>> + You focus on $his breasts during foreplay to make sure $he keeps producing milk for you. + <</if>> + <<else>> + You make sure to see to it that $he keeps on lactating. + <</if>> + <<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>> + <</if>> + <<if $slaves[$i].devotion > 50>> $He does $his best for you, so $he frequently deserves a reward and never needs to be punished. <<set _punishments = 0>> @@ -5573,6 +5765,24 @@ <</if>> <</if>> + <<if $slaves[$i].rules.lactation == "induce">> + <<if $HeadGirl.fetish == "boobs">> + Your Head Girl enjoys playing with $his tits, making it an inevitability that $he'll begin lactating. + <<else>> + $He carries out $his daily tasks with a pair of automatic breast pumps attached to $his chest to help bring in $his lactation. + <</if>> + <<set $slaves[$i].induceLactation += 4>> + <<= induceLactation($slaves[$i])>> + <<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>> + <<elseif $slaves[$i].rules.lactation == "maintain">> + <<if $HeadGirl.fetish == "boobs">> + Your Head Girl enjoys playing with $his tits, thoroughly draining $him of milk and encouraging $his continued lactation. + <<else>> + $He utilizes $his lactation as your Head Girl demands, and if it should not be needed, spends the evenings with a pair of automatic breast pumps. + <</if>> + <<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>> + <</if>> + <<if $slaves[$i].devotion > 50>> $He does $his best for $HeadGirl.slaveName, and thus you, so $he frequently deserves a reward and never needs to be punished. <<set _punishments = 0>> @@ -6043,6 +6253,20 @@ <</if>> <</if>> + <<if $slaves[$i].rules.lactation == "induce">> + <<if (canHold($slaves[$i]))>> + $He is required to vigorously massage $his breasts and nipples in an effort to induce lactation. + <<else>> + $He spends $his nights with a pair of automatic breast pumps attached to $his chest in order bring in $his lactation. + <</if>> + <<set $slaves[$i].induceLactation += 4>> + <<= induceLactation($slaves[$i])>> + <<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>> + <<elseif $slaves[$i].rules.lactation == "maintain" && ($servantMilkers != 1 || !setup.servantMilkersJobs.includes($slaves[$i].assignment))>> + $He utilizes $his lactation during $his daily tasks as needed, and when $he isn't drained well enough, spends the evenings with a pair of automatic breast pumps. + <<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>> + <</if>> + <<if $slaves[$i].devotion > 50>> $He does $his best for you, so $he frequently deserves a reward and never needs to be punished. <<set _punishments = 0>> diff --git a/src/uncategorized/slaveInteract.tw b/src/uncategorized/slaveInteract.tw index 1544f95ebe0676dcd77323de6fed02c86f798163..cc7ee6ee6c7f43b7bf8713546df864b3dbee0020 100644 --- a/src/uncategorized/slaveInteract.tw +++ b/src/uncategorized/slaveInteract.tw @@ -355,15 +355,14 @@ <<link "Orgasm">><<set getSlave($AS).rules.reward = "orgasm">><<replace "#standardReward">><<= getSlave($AS).rules.reward>><</replace>><</link>> | <<link "Situational">><<set getSlave($AS).rules.reward = "situational">><<replace "#standardReward">><<= getSlave($AS).rules.reward>><</replace>><</link>> - <<if setup.facilityHeads.includes(getSlave($AS).assignment)>> - <<if getSlave($AS).lactation != 2>> - <br>Lactation maintenance for facility heads: <span id="lactationRules" style="font-weight:bold"><<= getSlave($AS).rules.lactation>></span>. - <<link "Left alone">><<set getSlave($AS).rules.lactation = "none">><<replace "#lactationRules">><<= getSlave($AS).rules.lactation>><</replace>><</link>> | - <<if getSlave($AS).lactation == 0>> - <<link "Induce lactation">><<set getSlave($AS).rules.lactation = "induce">><<replace "#lactationRules">><<= getSlave($AS).rules.lactation>><</replace>><</link>> - <<else>> - <<link "Maintain lactation">><<set getSlave($AS).rules.lactation = "maintain">><<replace "#lactationRules">><<= getSlave($AS).rules.lactation>><</replace>><</link>> - <</if>> + + <<if getSlave($AS).lactation != 2>> + <br>Lactation maintenance: <span id="lactationRules" style="font-weight:bold"><<= getSlave($AS).rules.lactation>></span>. + <<link "Left alone">><<set getSlave($AS).rules.lactation = "none">><<replace "#lactationRules">><<= getSlave($AS).rules.lactation>><</replace>><</link>> | + <<if getSlave($AS).lactation == 0>> + <<link "Induce lactation">><<set getSlave($AS).rules.lactation = "induce">><<replace "#lactationRules">><<= getSlave($AS).rules.lactation>><</replace>><</link>> + <<else>> + <<link "Maintain lactation">><<set getSlave($AS).rules.lactation = "maintain">><<replace "#lactationRules">><<= getSlave($AS).rules.lactation>><</replace>><</link>> <</if>> <</if>>