diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw index 4d97b42b429b4aba1beff1b9638e448453b17b75..56898913f00ca3aa8b333905698f6e73fa029482 100644 --- a/src/init/storyInit.tw +++ b/src/init/storyInit.tw @@ -185,6 +185,12 @@ You should have received a copy of the GNU General Public License along with thi <<if ndef $PC.mpreg>> /* for <<KnockMeUp $PC>> */ <<set $PC.mpreg = 0>> <</if>> + <<if ndef $PC.slavesKnockedUp>> + <<set $PC.slavesKnockedUp = 0>> + <</if>> + <<if ndef $PC.slavesFathered>> + <<set $PC.slavesFathered = 0>> + <</if>> <<else>> <<set $slaves = []>> <<set $slavesOriginal = []>> /* not used by pregmod */ @@ -201,7 +207,7 @@ You should have received a copy of the GNU General Public License along with thi <<if $saveImported == 0>> <<set $cheater = 0>> -<<set $PC = {name: "Anonymous", surname: 0, title: 1, ID: -1, dick: 1, vagina: 0, preg: 0, mpreg: 0, pregSource: 0, pregMood: 0, labor: 0, births: 0, boobsBonus: 0, degeneracy: 0, voiceImplant: 0, accent: 0, shoulders: 0, shouldersImplant: 0, boobs: 0, career: "capitalist", rumor: "wealth", indenture: -1, indentureRestrictions: 0, birthWeek: random(0,51), age: 2, sexualEnergy: 4, refreshment: "cigar", refreshmentType: 0, trading: 0, warfare: 0, slaving: 0, engineering: 0, medicine: 0, cumTap: 0, race: "white", origRace: "white", skin: "white", origSkin: "white", markings: "none", eyeColor: "blue", origEye: "blue", hColor: "blonde", origHColor: "blonde", nationality: "Stateless", father: 0, mother: 0, sisters: 0, daughters: 0, birthElite: 0, birthMaster: 0, birthDegenerate: 0, birthClient: 0, birthOther: 0, birthArcOwner: 0, birthCitizen: 0, birthSelf: 0, intelligence: 3, face: 100, actualAge: 35, physicalAge: 35, visualAge: 35, birthWeek: 0, boobsImplant: 0, butt: 0, buttImplant: 0, balls: 0, ballsImplant: 0, ageImplant: 0, newVag: 0}>> +<<set $PC = {name: "Anonymous", surname: 0, title: 1, ID: -1, dick: 1, vagina: 0, preg: 0, mpreg: 0, pregSource: 0, pregMood: 0, labor: 0, births: 0, boobsBonus: 0, degeneracy: 0, voiceImplant: 0, accent: 0, shoulders: 0, shouldersImplant: 0, boobs: 0, career: "capitalist", rumor: "wealth", indenture: -1, indentureRestrictions: 0, birthWeek: random(0,51), age: 2, sexualEnergy: 4, refreshment: "cigar", refreshmentType: 0, trading: 0, warfare: 0, slaving: 0, engineering: 0, medicine: 0, cumTap: 0, race: "white", origRace: "white", skin: "white", origSkin: "white", markings: "none", eyeColor: "blue", origEye: "blue", hColor: "blonde", origHColor: "blonde", nationality: "Stateless", father: 0, mother: 0, sisters: 0, daughters: 0, birthElite: 0, birthMaster: 0, birthDegenerate: 0, birthClient: 0, birthOther: 0, birthArcOwner: 0, birthCitizen: 0, birthSelf: 0, slavesFathered: 0, slavesKnockedUp: 0, intelligence: 3, face: 100, actualAge: 35, physicalAge: 35, visualAge: 35, birthWeek: 0, boobsImplant: 0, butt: 0, buttImplant: 0, balls: 0, ballsImplant: 0, ageImplant: 0, newVag: 0}>> <<set $cash = 10000>> <<set $normalizedEvents = 0>> <<set $autosave = 1>> @@ -312,7 +318,7 @@ You should have received a copy of the GNU General Public License along with thi <<else>> <<set $cheater = 0>> <<set $cash = 10000>> - <<set $PC = {name: "Anonymous", surname: 0, title: 1, ID: -1, dick: 1, vagina: 0, preg: 0, mpreg: 0, pregSource: 0, pregMood: 0, labor: 0, births: 0, boobsBonus: 0, degeneracy: 0, voiceImplant: 0, accent: 0, shoulders: 0, shouldersImplant: 0, boobs: 0, career: "capitalist", rumor: "wealth", indenture: -1, indentureRestrictions: 0, birthWeek: random(0,51), age: 2, sexualEnergy: 4, refreshment: "cigar", refreshmentType: 0, trading: 0, warfare: 0, slaving: 0, engineering: 0, medicine: 0, cumTap: 0, race: "white", origRace: "white", skin: "white", origSkin: "white", markings: "none", eyeColor: "blue", origEye: "blue", hColor: "blonde", origHColor: "blonde", nationality: "Stateless", father: 0, mother: 0, sisters: 0, daughters: 0, birthElite: 0, birthMaster: 0, birthDegenerate: 0, birthClient: 0, birthOther: 0, birthArcOwner: 0, birthCitizen: 0, birthSelf: 0, intelligence: 3, face: 100, actualAge: 35, physicalAge: 35, visualAge: 35, birthWeek: 0, boobsImplant: 0, butt: 0, buttImplant: 0, balls: 0, ballsImplant: 0, ageImplant: 0, newVag: 0}>> + <<set $PC = {name: "Anonymous", surname: 0, title: 1, ID: -1, dick: 1, vagina: 0, preg: 0, mpreg: 0, pregSource: 0, pregMood: 0, labor: 0, births: 0, boobsBonus: 0, degeneracy: 0, voiceImplant: 0, accent: 0, shoulders: 0, shouldersImplant: 0, boobs: 0, career: "capitalist", rumor: "wealth", indenture: -1, indentureRestrictions: 0, birthWeek: random(0,51), age: 2, sexualEnergy: 4, refreshment: "cigar", refreshmentType: 0, trading: 0, warfare: 0, slaving: 0, engineering: 0, medicine: 0, cumTap: 0, race: "white", origRace: "white", skin: "white", origSkin: "white", markings: "none", eyeColor: "blue", origEye: "blue", hColor: "blonde", origHColor: "blonde", nationality: "Stateless", father: 0, mother: 0, sisters: 0, daughters: 0, birthElite: 0, birthMaster: 0, birthDegenerate: 0, birthClient: 0, birthOther: 0, birthArcOwner: 0, birthCitizen: 0, birthSelf: 0, slavesFathered: 0, slavesKnockedUp: 0, intelligence: 3, face: 100, actualAge: 35, physicalAge: 35, visualAge: 35, birthWeek: 0, boobsImplant: 0, butt: 0, buttImplant: 0, balls: 0, ballsImplant: 0, ageImplant: 0, newVag: 0}>> <</if>> <</if>> diff --git a/src/pregmod/managePersonalAffairs.tw b/src/pregmod/managePersonalAffairs.tw index 4bab88cbb25da5d71d05a43597845059b055a4f3..5f5341c6029dd6159a6755d10cafebd6a11fa0f7 100644 --- a/src/pregmod/managePersonalAffairs.tw +++ b/src/pregmod/managePersonalAffairs.tw @@ -420,13 +420,13 @@ __Contraceptives and Fertility__ <br> <span id="miniscene"> -<<if $PC.preg < 8 && $PC.preg > 0 && $PC.pregSource != -1>> +<<if $PC.preg > 3 && $PC.preg < 6 && $PC.pregSource != -1>> Your period is late, so the first thing you do is test yourself for a potential pregnancy: @@.lime;you are pregnant.@@ <<link "Abort your child">><<replace "#miniscene">><<set $PC.preg = 0, $PC.pregSource = 0>><<print "You take a syringe filled with abortificants and make your self comfortable. Injecting the vial through your belly into your womb, your close your eyes and wait for what is coming. Once you feel it is over, you clean yourself up and go on your way, child free.">><br> <</replace>><</link>> <<elseif $PC.labor == 1>> You are beginning to feel contractions, you'll be giving birth soon. <<elseif $PC.preg >= 39>> Your due date is looming, but your child doesn't seem to be interested in coming out just yet. [[Induce childbirth|Manage Personal Affairs][$PC.labor = 1]] -<<elseif $PC.preg >= 8 && $PC.pregSource != -1>> +<<elseif $PC.preg >= 6 && $PC.pregSource != -1>> You're pregnant, something rather unbecoming for an arcology owner. <<link "Abort your child">><<replace "#miniscene">><<set $PC.preg = 0, $PC.pregSource = 0>><<print "You take a syringe filled with abortificants and make your self comfortable. Injecting the vial through your belly into your womb, your close your eyes and wait for what is coming. Once you feel it is over, you clean yourself up and go on your way, child free.">><br> <</replace>><</link>> <</if>> </span> @@ -465,26 +465,31 @@ In total, you have given birth to: <br> <br> -I'm -<<if $PC.preg > 0>> - currently <<print $PC.preg>> week<<if $PC.preg > 1>>s<</if>> pregnant, so contraception doesn't matter right now. +<<if $PC.preg >= 8>> + You're currently <<print $PC.preg>> week<<if $PC.preg > 1>>s<</if>> pregnant, so contraception doesn't matter right now. +<<elseif $PC.preg >= 6>> + You're having morning sickness. +<<elseif $PC.preg > 3>> + You've missed your period. This could be bad. +<<elseif $PC.preg > 0>> + Your fertile pussy has been thoroughly seeded, there is a chance you are pregnant. [[Pop some morning after pills|Manage Personal Affairs][$PC.preg = 0]] <<elseif $PC.preg == -2>> - menopausal. My time to bear children has passed. + You're menopausal. Your time to bear children has passed. <<elseif $PC.preg == -1>> - currently on birth control. + You're currently on birth control. [[Stop taking it|Manage Personal Affairs][$PC.preg = 0]] <<elseif $PC.preg == 0>> - currently fertile. + You're currently fertile. [[Start taking birth control|Manage Personal Affairs][$PC.preg = -1]] <</if>> <<if $arcologies[0].FSRestartDecoration >= 100>> <<if $playerBred == 0>> <br><br> - I am currently not bearing children for the Societal Elite. + You are currently not bearing children for the Societal Elite. [[List your womb as available|Manage Personal Affairs][$playerBred = 1]] <<else>> - My womb is dedicated to carrying the Societal Elites' children. + Your womb is dedicated to carrying the Societal Elites' children. <</if>> <</if>> @@ -499,7 +504,7 @@ I'm <br><br> The tap connected to $dairyName is calling to you. Begging to let it fill you with cum again. If you wanted to try and go bigger, that is. <br>[[Sounds fun!|FSelf]] - <br>[[I only want to get pregnant.|Manage Personal Affairs][$PC.preg = 1, $PC.pregSource = 0]] + <br>[[You only want to get pregnant.|Manage Personal Affairs][$PC.preg = 1, $PC.pregSource = 0]] <</if>> <</if>> <<if $PC.vagina == 1 && $PC.dick == 1>> diff --git a/src/pregmod/personalNotes.tw b/src/pregmod/personalNotes.tw index 658903331211dcb469e60066457c2fb091f8da7d..0dbcf7af086ddbf1d294c4175f49a6cdc0d5c75f 100644 --- a/src/pregmod/personalNotes.tw +++ b/src/pregmod/personalNotes.tw @@ -35,6 +35,11 @@ Your apron holds your dress tightly to your bloated middle. <<elseif $PC.preg >= 8>> Your dress and apron feel tight around your middle. + <<if $PC.preg == 8 && $PC.pregSource > 0>> + <<set _babyDaddy = $slaves.findIndex(function(s) { return s.ID == $PC.pregSource; })>> + <<set $slaves[_babyDaddy].PCKnockedUp++>> + Rumors spread among your slaves that your middle is swollen with $slaves[_babyDaddy].slaveName's child. They're not wrong, though <<if $slaves[_babyDaddy].devotion > 20>>$slaves[_babyDaddy].slaveName is broken enough to not try and use it against you. In fact, it might even draw her closer to you<<else>>you'd have liked it to have kept that from $slaves[_babyDaddy].slaveName, lest the rebellious bitch uses it to remain defiant<</if>>. + <</if>> <</if>> <<if $PC.ballsImplant > 3>> Your dress and apron bulges with your enormous balls, you had to have your dresses tailored so that the swinging mass of your sack would stop bursting seams inadvertantly. @@ -94,6 +99,11 @@ Your exposed midriff is noticeably bloated. <<elseif $PC.preg >= 8>> When you look down, you can't help but notice your belly sticking out a little. + <<if $PC.preg == 8 && $PC.pregSource > 0>> + <<set _babyDaddy = $slaves.findIndex(function(s) { return s.ID == $PC.pregSource; })>> + <<set $slaves[_babyDaddy].PCKnockedUp++>> + Rumors spread among your slaves that your middle is swollen with $slaves[_babyDaddy].slaveName's child. They're not wrong, though <<if $slaves[_babyDaddy].devotion > 20>>$slaves[_babyDaddy].slaveName is broken enough to not try and use it against you. In fact, it might even draw her closer to you<<else>>you'd have liked it to have kept that from $slaves[_babyDaddy].slaveName, lest the rebellious bitch uses it to remain defiant<</if>>. + <</if>> <</if>> <<if $PC.ballsImplant > 3>> You've pretty much given up on pants because of your monstrous balls, but you've replaced them with a slutty skirt that stretches around their veiny contours. People can't help stairing to see if they'll get a glimpse of your massive sack peaking out from under the skirt. @@ -179,6 +189,11 @@ Your top tightly clings to your bloated middle. <<elseif $PC.preg >= 8>> Your top feels oddly tight around your middle. + <<if $PC.preg == 8 && $PC.pregSource > 0>> + <<set _babyDaddy = $slaves.findIndex(function(s) { return s.ID == $PC.pregSource; })>> + <<set $slaves[_babyDaddy].PCKnockedUp++>> + Rumors spread among your slaves that your middle is swollen with $slaves[_babyDaddy].slaveName's child. They're not wrong, though <<if $slaves[_babyDaddy].devotion > 20>>$slaves[_babyDaddy].slaveName is broken enough to not try and use it against you. In fact, it might even draw her closer to you<<else>>you'd have liked it to have kept that from $slaves[_babyDaddy].slaveName, lest the rebellious bitch uses it to remain defiant<</if>>. + <</if>> <</if>> <<if $PC.ballsImplant > 3>> You've pretty much given up on suit pants because of your monstrous balls, but you've replaced them with a custom kilt tailored to match the rest of your business attire. People would wonder why you're wearing such old fashioned clothes if your ridiculous bulge didn't make it obvious. diff --git a/src/pregmod/sePlayerBirth.tw b/src/pregmod/sePlayerBirth.tw index c231401e61f66f18826a55478dff65ef633a1d49..5524ba9340881f25d07954e41157091534cd8f48 100644 --- a/src/pregmod/sePlayerBirth.tw +++ b/src/pregmod/sePlayerBirth.tw @@ -39,6 +39,8 @@ PC.pregSource documentation <<set $PC.birthSelf += 1>> <<else>> <<set $PC.birthDegenerate += 1>> + <<set _babyDaddy = $slaves.findIndex(function(s) { return s.ID == $slaves[$i].pregSource; })>> + <<set $slaves[_babyDaddy].PCChildrenFathered++>> <</if>> <<set $babyGender to either(1,2)>> @@ -76,22 +78,39 @@ After what feels like a mile run, you finally waddle into your destination findi You arrange yourself to give birth, relaxing until your body urges you to begin bearing down and pushing your child into the world.<<if $Concubine != 0>>$Concubine.slaveName settles in beside you, one hand soothing your contraction wracked middle and the other <<if $PC.dick == 1>>stroking your hardening dick<<else>>teasing your stiffening clit<</if>>.<</if>> <<if $badBirth > random(1,100)>> /* shits going wrong */ <<if $Nurse != 0>> - You keep pushing and pushing, but your child is not coming out.<<if $Concubine != 0>> $Concubine.slaveName shifts to massaging your gravid middle, while whispering words of encouragement into your ear. Until $Nurse.slaveName shoos her away so she can take over and get this baby out of you.<</if>> $Nurse.slaveName was prepared for this possibility, adjusts your position and timings, and before long is holding your @@.lime;new baby <<if $babyGender == 1>>girl<<else>>boy<</if>>@@ in her arms. + You keep pushing and pushing, but your child is not coming out.<<if $Concubine != 0>> $Concubine.slaveName shifts to massaging your gravid middle<<if canTalk($Concubine)>>, while whispering words of encouragement into your ear<</if>>. Until $Nurse.slaveName shoos her away so she can take over and get this baby out of you.<</if>> $Nurse.slaveName was prepared for this possibility, adjusts your position and timings, and before long is holding your @@.lime;new baby <<if $babyGender == 1>>girl<<else>>boy<</if>>@@ in her arms. <<elseif $Bodyguard != 0>> - You keep pushing and pushing, but your child is not coming out.<<if $Concubine != 0>> $Concubine.slaveName shifts to massaging your gravid middle, while whispering words of encouragement into your ear. She begins to worry as her lover weakens in front of her. $Bodyguard.slaveName quickly pulls her away from you, fearing the worst.<</if>> $Bodyguard.slaveName read about this possibility and tries everything she can to coax your child out. As time passes, she notices your consciousness begin to fade as exhaustion kicks in. Fearing for your lives, and desperate to save you, she draws her sword from its sheath, hands unsteady from what she is about to do. Carefully, she slits your lower abdomen, allowing your baby-filled womb to pop out through the incision. Doing her best, she cuts open your uterus, pulls your child from you and severs the umbilical cord. + You keep pushing and pushing, but your child is not coming out.<<if $Concubine != 0>> $Concubine.slaveName shifts to massaging your gravid middle<<if canTalk($Concubine)>>, while whispering words of encouragement into your ear<</if>>. She begins to worry as her lover weakens in front of her. $Bodyguard.slaveName quickly pulls her away from you, fearing the worst.<</if>> $Bodyguard.slaveName read about this possibility and tries everything she can to coax your child out. As time passes, she notices your consciousness begin to fade as exhaustion kicks in. Fearing for your lives, and desperate to save you, she draws her sword from its sheath, hands unsteady from what she is about to do. Carefully, she slits your lower abdomen, allowing your baby-filled womb to pop out through the incision. Doing her best, she cuts open your uterus, pulls your child from you and severs the umbilical cord. <br> <br> You awake some time later in the remote surgery, your stomach extremely sore; you quickly realize you're no longer round with child. As you try to rise, $Bodyguard.slaveName stops you; she hefts you into a bridal carry and takes you to a recovery room, before gently placing you into a warm bed, tucking you in, and hurrying out of the room. Before you can call out, she returns carrying @@.lime;your baby <<if $babyGender == 1>>girl<<else>>boy<</if>>@@ in her arms. <<elseif $HeadGirl != 0>> - You keep pushing and pushing, but your child is not coming out.<<if $Concubine != 0>> $Concubine.slaveName shifts to massaging your gravid middle, while whispering words of encouragement into your ear. She begins to worry as her lover weakens in front of her. $HeadGirl.slaveName quickly pulls to her feet and orders her to help her carry you to the remote surgery.<<else>> $HeadGirl.slaveName notices your distress and carries you to the remote surgery.<</if>> + You keep pushing and pushing, but your child is not coming out.<<if $Concubine != 0>> $Concubine.slaveName shifts to massaging your gravid middle<<if canTalk($Concubine)>>, while whispering words of encouragement into your ear<</if>>. She begins to worry as her lover weakens in front of her. $HeadGirl.slaveName quickly pulls her to her feet and orders her to help her carry you to the remote surgery<<if !canWalk($Concubine)>>; in her rush, she completely forgot <<if tooBigBreasts($Concubine)>>$Concubine.slaveName's breasts have her pinned to the bed<<elseif tooBigBelly($Concubine)>>$Concubine.slaveName's pregnancy renders her immobile<<elseif tooBigDick($Concubine)>>$Concubine.slaveName can't walk with a dick that big<<elseif tooBigButt($Concubine)>>$Concubine.slaveName's butt pins her to the bed<<elseif tooBigBalls($Concubine)>>$Concubine.slaveName's balls act as a giant anchor<<elseif tooFatSlave($Concubine)>>$Concubine.slaveName is so fat, the bed is her home now<<else>>$Concubine.slaveName can't walk<</if>>.<<else>> $HeadGirl.slaveName notices your distress and carries you to the remote surgery.<</if>> <br> <br> You awake some time later in a recovery room<<if $Concubine != 0>>, $Concubine.slaveName beside you<</if>>, your stomach extremely sore; a quick glance at the prominent scar tells you everything you need to know. Seeing you're awake, $HeadGirl.slaveName catches your attention. In her arms is @@.lime;your baby <<if $babyGender == 1>>girl<<else>>boy<</if>>@@, <<if $HeadGirl.lactation > 0>>happily nursing from her breast, <</if>>alive and well. <<elseif $Concubine != 0>> - You keep pushing and pushing, but your child is not coming out. In a panic, $Concubine.slaveName carries you to the remote surgery. + You keep pushing and pushing, but your child is not coming out. <<if canWalk($Concubine)>>In a panic, $Concubine.slaveName carries you to the remote surgery<<else>>The last thing you remember as you fade is $Concubine.slaveName's look of panic<</if>>. <br> <br> You awake some time later in a recovery room, your stomach extremely sore; a quick glance at the prominent scar tells you everything you need to know. A content sigh comes from beside you; $Concubine.slaveName is snuggled next to you, snoozing with @@.lime;your baby <<if $babyGender == 1>>girl<<else>>boy<</if>>@@ in her arms.<<if $Concubine.lactation > 0>> Your child has managed to free one of $Concubine.slaveName's breasts and is eagerly suckling from her milky nipple.<</if>> + <<if !canWalk($Concubine)>> + <<if tooBigBreasts($Concubine)>> + You don't know how she managed to get you here when her breasts prevent her from walking, but you give the pair a gentle caress as thanks. + <<elseif tooBigBelly($Concubine)>> + You don't know how she managed to get you here when she's so gravid she can't walk, but you give the taut dome a gentle caress as thanks. + <<elseif tooBigDick($Concubine)>> + You don't know how she managed to get you here when her dick prevents her from walking, but you give the serpent a gentle caress as thanks. + <<elseif tooBigButt($Concubine)>> + You don't know how she managed to get you here when her ass prevent her from walking, but you give the jiggling giant a gentle caress as thanks. + <<elseif tooBigBalls($Concubine)>> + You don't know how she managed to get you here when her balls prevent her from walking, but you give the pair a gentle caress as thanks. She returns the kindness with a shudder and a large wetspot forming over her crotch. + <<elseif tooFatSlave($Concubine)>> + You don't know how she managed to get you here when she's so fat she can't walk, but you give her soft body a gentle caress as thanks. + <<else>> + You don't know how she managed to get you here, since she can't walk, but you're thankful either way. + <</if>> + <</if>> <<else>> You keep pushing and pushing, but your child is not coming out. @@.red;Something is wrong,@@ but you keep persisting. <<set $gameover = "birth complications", $nextButton = "Have to keep trying!", $nextLink = "Gameover">> diff --git a/src/pregmod/widgets/pregmodWidgets.tw b/src/pregmod/widgets/pregmodWidgets.tw index 207ce3c2a315ba954c7d5bfe907b76091edaafe0..e5075c3a27557cec2aff1447057b6ff69fcd9959 100644 --- a/src/pregmod/widgets/pregmodWidgets.tw +++ b/src/pregmod/widgets/pregmodWidgets.tw @@ -148,6 +148,18 @@ <<if ndef $args[0].buttplugAttachment>> <<set $args[0].buttplugAttachment = "none">> <</if>> +<<if ndef $args[0].slavesFathered>> + <<set $args[0].slavesFathered = 0>> +<</if>> +<<if ndef $args[0].PCChildrenFathered>> + <<set $args[0].PCChildrenFathered = 0>> +<</if>> +<<if ndef $args[0].slavesKnockedUp>> + <<set $args[0].slavesKnockedUp = 0>> +<</if>> +<<if ndef $args[0].PCKnockedUp>> + <<set $args[0].PCKnockedUp = 0>> +<</if>> <<if ndef $args[0].pubertyXX>> <<if $args[0].physicalAge >= $args[0].pubertyAgeXX>> @@ -1136,6 +1148,12 @@ Since $possessive <<if $slaves[$i].mpreg == 1>>ass<<else>>vagina<</if>> was spar <<set $slaves[$i].births += $slaves[$i].pregType>> <<set $slaves[$i].birthsTotal += $slaves[$i].pregType>> <<set $birthsTotal += $slaves[$i].pregType>> +<<if $slaves[$i].pregSource > 0>> + <<set _babyDaddy = $slaves.findIndex(function(s) { return s.ID == $slaves[$i].pregSource; })>> + <<set $slaves[_babyDaddy].slavesFathered += $slaves[$i].pregType>> +<<elseif $slaves[$i].pregSource == -1>> + <<set $PC.slavesFathered += $slaves[$i].pregType>> +<</if>> <<set $mom = $slaves[$i]>> @@ -1464,6 +1482,12 @@ Childbirth has @@.lime;stretched out $possessive vagina.@@ <<set $slaves[$i].births += $slaves[$i].pregType>> <<set $slaves[$i].birthsTotal += $slaves[$i].pregType>> <<set $birthsTotal += $slaves[$i].pregType>> +<<if $slaves[$i].pregSource > 0>> + <<set _babyDaddy = $slaves.findIndex(function(s) { return s.ID == $slaves[$i].pregSource; })>> + <<set $slaves[_babyDaddy].slavesFathered += $slaves[$i].pregType>> +<<elseif $slaves[$i].pregSource == -1>> + <<set $PC.slavesFathered += $slaves[$i].pregType>> +<</if>> <<set $mom = $slaves[$i]>> diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw index ce519b8f772643cc0c4e47330202ac649d9d5c9c..b8dacf463adf2aa256636226c28f2bb89219e29b 100644 --- a/src/uncategorized/BackwardsCompatibility.tw +++ b/src/uncategorized/BackwardsCompatibility.tw @@ -147,6 +147,13 @@ <<if ndef $PC.mpreg>> /* for <<KnockMeUp $PC>> */ <<set $PC.mpreg = 0>> <</if>> +<<if ndef $PC.slavesKnockedUp>> + <<set $PC.slavesKnockedUp = 0>> +<</if>> +<<if ndef $PC.slavesFathered>> + <<set $PC.slavesFathered = 0>> +<</if>> + <<if ndef $universalRulesImmobileSlavesMaintainMuscles>> <<set $universalRulesImmobileSlavesMaintainMuscles = 0>> <</if>> diff --git a/src/uncategorized/saLongTermEffects.tw b/src/uncategorized/saLongTermEffects.tw index ebe2f810d9a973124720c2dfd4c8d6fceaf9c0a7..674f23169c408215603101d4172a02e36e8a81a5 100644 --- a/src/uncategorized/saLongTermEffects.tw +++ b/src/uncategorized/saLongTermEffects.tw @@ -2240,13 +2240,13 @@ The tank's imprinting left a lasting impression on her; deep down she @@.hotpink;knows you are to be obeyed@@ and @@.mediumaquamarine;trusted,@@ even if she can't understand why. <<set $slaves[$i].devotion += 3, $slaves[$i].trust += 3>> <<elseif $slaves[$i].career == "a breeder">> - <<if $slaves[$i].preg > 1 && $arcologies[0].FSRepopulation != "unset">> + <<if $slaves[$i].preg > 3 && $arcologies[0].FSRepopulation != "unset">> Her life used to revolve around being pregnant all the time and nothing has changed. However, being surrounded with happy, heavily pregnant women leaves her @@.hotpink;slightly more accepting@@ of her fate and @@.mediumaquamarine;hopeful@@ that her trained body will be useful to you. <<set $slaves[$i].trust += 1, $slaves[$i].devotion += 1>> <<elseif $slaves[$i].pregControl == "speed up">> Her life used to revolve around being pregnant all the time and nothing has changed. She @@.gold;watches in horror@@ as her middle visibly swells before her eyes. She @@.hotpink;slips more into submission@@ as the pressure in her womb increases. <<set $slaves[$i].trust -= 10, $slaves[$i].devotion += 5>> - <<elseif $slaves[$i].preg > 1>> + <<elseif $slaves[$i].preg > 3>> Her life used to revolve around being pregnant all the time and nothing has changed. She @@.gold;fears@@ that her entire life will revolve around pregnancy and @@.hotpink;slips more into submission@@ of her fate. <<set $slaves[$i].trust -= 1, $slaves[$i].devotion += 1>> <<else>> @@ -2306,10 +2306,10 @@ <<if ($slaves[$i].assignment != "serve in the club")>> <<if ($slaves[$i].assignment != "serve in the master suite") || ($masterSuiteUpgradeLuxury < 2)>> <<if ($slaves[$i].assignment != "work in the dairy") || ($dairyStimulatorsSetting == 0)>> -<<if ($slaves[$i].vagina is 3) && ($slaves[$i].vaginalAccessory != "large dildo") && ($slaves[$i].vaginalAccessory != "huge dildo")>> +<<if ($slaves[$i].vagina is 3) && ($slaves[$i].vaginalAccessory != "large dildo") && ($slaves[$i].vaginalAccessory != "huge dildo") && ($slaves[$i].vaginalAccessory != "long, large dildo") && ($slaves[$i].vaginalAccessory != "long, huge dildo")>> With a rest from strenuous use, @@.orange;$possessive loose vagina recovers a little.@@ <<set $slaves[$i].vagina -= 1>> -<<elseif ($slaves[$i].anus is 3) && ($slaves[$i].buttplug != "large plug") && ($slaves[$i].buttplug != "huge plug")>> +<<elseif ($slaves[$i].anus is 3) && ($slaves[$i].buttplug != "large plug") && ($slaves[$i].buttplug != "huge plug") && ($slaves[$i].buttplug != "long, large plug") && ($slaves[$i].buttplug != "long, huge plug")>> With a rest from continual sodomy, @@.orange;$possessive gaping anus recovers a little.@@ <<set $slaves[$i].anus -= 1>> <</if>> @@ -3525,8 +3525,16 @@ /* PREGNANCY AND FERTILITY */ -<<if ($slaves[$i].preg > 0)>> /*EFFECTS OF PREGNANCY*/ +<<if ($slaves[$i].preg > 3)>> /*EFFECTS OF PREGNANCY*/ + <<if $slaves[$i].preg == 4>> + <<if $slaves[$i].pregSource == -1>> + <<set $PC.slavesKnockedUp++>> + <<elseif $slaves[$i].pregSource > 0>> + <<set _babyDaddy = $slaves.findIndex(function(s) { return s.ID == $slaves[$i].pregSource; })>> + <<set $slaves[_babyDaddy].slavesKnockedUp++>> + <</if>> + <</if>> <<if ($slaves[$i].fuckdoll == 0) && ($slaves[$i].fetish != "mindbroken")>> <<if ($slaves[$i].fetish == "pregnancy")>> <<if $slaves[$i].preg > 30>> @@ -6639,7 +6647,7 @@ <</if>> <<if $slaves[$i].breedingMark == 1>> - <<if $slaves[$i].preg > 5>> + <<if $slaves[$i].preg > 3>> <<if $slaves[$i].pregSource != -1>> $slaves[$i].slaveName's weekly health checkup revealed she is pregnant with an unacceptable child. @@.red;Its life has been terminated, you have been fined ¤100000, and your rep among the Elite has been severely damaged.@@ <<set $slaves[$i].preg = 0>> diff --git a/src/uncategorized/seBirth.tw b/src/uncategorized/seBirth.tw index bb2486954416f26d6493dbd5f5182e467a2685da..78210daf8692df33d1436c17eac08e95b9521cbd 100644 --- a/src/uncategorized/seBirth.tw +++ b/src/uncategorized/seBirth.tw @@ -441,6 +441,12 @@ Since $possessive <<if $slaves[$i].mpreg == 1>>ass<<else>>vagina<</if>> was spar <<set $slaves[$i].births += $slaves[$i].pregType>> <<set $slaves[$i].birthsTotal += $slaves[$i].pregType>> <<set $birthsTotal += $slaves[$i].pregType>> +<<if $slaves[$i].pregSource > 0>> + <<set _babyDaddy = $slaves.findIndex(function(s) { return s.ID == $slaves[$i].pregSource; })>> + <<set $slaves[_babyDaddy].slavesFathered += $slaves[$i].pregType>> +<<elseif $slaves[$i].pregSource == -1>> + <<set $PC.slavesFathered += $slaves[$i].pregType>> +<</if>> <<set $slaves[$i].pregType = 0>> <<set $slaves[$i].pregSource = 0>> <<set $csec = 0>> @@ -751,6 +757,9 @@ Childbirth has @@.lime;stretched out $possessive vagina.@@ <<set $slaves[$i].births += 12>> <<set $slaves[$i].birthsTotal += 12>> <<set $birthsTotal += 12>> + <<if $slaves[$i].pregSource == -1>> + <<set $PC.slavesFathered += 12>> + <</if>> <<if $slaves[$i].mpreg == 1>> <<if $slaves[$i].anus < 3>> <<set $slaves[$i].anus = 3>> @@ -766,6 +775,12 @@ Childbirth has @@.lime;stretched out $possessive vagina.@@ <<set $slaves[$i].births += $slaves[$i].pregType>> <<set $slaves[$i].birthsTotal += $slaves[$i].pregType>> <<set $birthsTotal += $slaves[$i].pregType>> + <<if $slaves[$i].pregSource > 0>> + <<set _babyDaddy = $slaves.findIndex(function(s) { return s.ID == $slaves[$i].pregSource; })>> + <<set $slaves[_babyDaddy].slavesFathered += $slaves[$i].pregType>> + <<elseif $slaves[$i].pregSource == -1>> + <<set $PC.slavesFathered += $slaves[$i].pregType>> + <</if>> <<set $slaves[$i].pregType = 0>> <<set $slaves[$i].pregSource = 0>> <<if $slaves[$i].mpreg == 1>> diff --git a/src/uncategorized/slaveInteract.tw b/src/uncategorized/slaveInteract.tw index 794fbe81325ce92efef94ab8937ce8d27ea429e8..7c194b7ce352f517572685b9243b3fb4ad1493f9 100644 --- a/src/uncategorized/slaveInteract.tw +++ b/src/uncategorized/slaveInteract.tw @@ -1025,7 +1025,7 @@ __Contraception__: <span id="fertility"><strong><<if $activeSlave.preg == -1>><< <</if>> <</if>> <</if>> -<<if ($activeSlave.preg > 1) && ($pregSpeedControl == 1) && ($activeSlave.breedingMark != 1) && ($activeSlave.indentureRestrictions < 1) && ($activeSlave.pregType < 50)>> +<<if ($activeSlave.preg > 3) && ($pregSpeedControl == 1) && ($activeSlave.breedingMark != 1) && ($activeSlave.indentureRestrictions < 1) && ($activeSlave.pregType < 50)>> <br> __Pregnancy control__: <span id="pregControl"><<if $activeSlave.pregControl == "labor supressors">>Labor is suppressed<<elseif $activeSlave.pregControl == "slow gestation">>Slowed gestation<<elseif $activeSlave.pregControl == "speed up">>Faster gestation<<else>>Normal gestation<</if>></span> <<if ($activeSlave.preg >= 30)>> diff --git a/src/utility/slaveCreationWidgets.tw b/src/utility/slaveCreationWidgets.tw index 04d35038d52dafe6e7f3de2503e12d48db4d0f36..17b29bc28436e7cce974b279580b7b60443e0486 100644 --- a/src/utility/slaveCreationWidgets.tw +++ b/src/utility/slaveCreationWidgets.tw @@ -6,7 +6,7 @@ Called from Gen XX, Gen XY, CheatMode DB, InitNationalities. %/ <<widget "BaseSlave">> - <<set $activeSlave = {slaveName: "blank", slaveSurname: 0, birthName: "blank", birthSurname: 0, genes: "XX", weekAcquired: 0, origin: 0, career: 0, ID: 0, prestige: 0, pornFame: 0, pornFameSpending: 0, prestigeDesc: 0, recruiter: 0, relation: 0, relationTarget: 0, relationship: 0, relationshipTarget: 0, rivalry: 0, rivalryTarget: 0, subTarget: 0, choosesOwnAssignment: 0, assignment: "rest", assignmentVisible: 1, sentence: 0, training: 0, toyHole: "all her holes", indenture: -1, indentureRestrictions: 0, birthWeek: random(0,51), actualAge: 18, visualAge: 18, physicalAge: 18, ageImplant: 0, health: 0, minorInjury: 0, trust: 0, oldTrust: 0, devotion: 0, oldDevotion: 0, weight: 0, muscles: 0, height: 170, heightImplant: 0, nationality: "slave", race: "white", markings: "none", eyes: 1, eyeColor: "brown", origEye: "brown", eyewear: "none", origHColor: "brown", hColor: "brown", pubicHColor: "brown", skin: "light", hLength: 60, hStyle: "short", pubicHStyle: "neat", waist: 0, corsetPiercing: 0, PLimb: 0, amp: 0, heels:0, voice: 2, voiceImplant: 0, accent: 0, shoulders: 0, shouldersImplant: 0, boobs: 0, boobsImplant: 0, boobsImplantType: 0, boobShape: "normal", nipples: "cute", nipplesPiercing: 0, areolae: 0, areolaePiercing: 0, boobsTat: 0, lactation: 0, lactationAdaptation: 0, milk: 0, cum: 0, hips: 0, hipsImplant: 0, butt: 0, buttImplant: 0, buttImplantType: 0, buttTat: 0, face: 0, faceImplant: 0, faceShape: "normal", lips: 15, lipsImplant: 0, lipsPiercing: 0, lipsTat: 0, teeth: "normal", tonguePiercing: 0, vagina: 0, vaginaLube: 0, vaginaPiercing: 0, vaginaTat: 0, preg: -1, pregSource: 0, pregType: 0, labor: 0, births: 0, cSec: 0, bellyAccessory: "none", labia: 0, clit: 0, clitPiercing: 0, clitSetting: "vanilla", foreskin: 0, anus: 0, dick: 0, analArea: 1, dickPiercing: 0, dickTat: 0, prostate: 0, balls: 0, scrotum: 0, ovaries: 0, anusPiercing: 0, anusTat: 0, makeup: 0, nails: 0, brand: 0, brandLocation: 0, earPiercing: 0, nosePiercing: 0, eyebrowPiercing: 0, navelPiercing: 0, shouldersTat: 0, armsTat: 0, legsTat: 0, backTat: 0, stampTat: 0, vaginalSkill: 0, oralSkill: 0, analSkill: 0, whoreSkill: 0, entertainSkill: 0, combatSkill: 0, livingRules: "spare", speechRules: "restrictive", releaseRules: "restrictive", relationshipRules: "restrictive", standardPunishment: "situational", standardReward: "situational", useRulesAssistant: 1, diet: "healthy", dietCum: 0, dietMilk: 0, tired: 0, hormones: 0, drugs: "no drugs", curatives: 0, chem: 0, aphrodisiacs: 0, addict: 0, fuckdoll: 0, choosesOwnClothes: 0, clothes: "no clothing", collar: "none", shoes: "none", vaginalAccessory: "none", dickAccessory: "none", buttplug: "none", intelligence: 0, intelligenceImplant: 0, energy: 50, attrXX: 0, attrXY: 0, attrKnown: 0, fetish: "none", fetishStrength: 70, fetishKnown: 0, behavioralFlaw: "none", behavioralQuirk: "none", sexualFlaw: "none", sexualQuirk: "none", oralCount: 0, vaginalCount: 0, analCount: 0, mammaryCount: 0, penetrativeCount: 0, publicCount: 0, pitKills: 0, customTat: "", customLabel: "", customDesc: "", customTitle: "", customTitleLisp: "", rudeTitle: 0, customImage: 0, currentRules: [], bellyTat: 0, induce: 0, mpreg: 0, inflation: 0, inflationType: "none", inflationMethod: 0, milkSource: 0, cumSource: 0, burst: 0, bellyImplant: 0, bellySag: 0, bellySagPreg: 0, bellyPain: 0, cervixImplant: 0, birthsTotal: 0, pubertyAgeXX: 13, pubertyAgeXY: 13, scars: 0, breedingMark: 0, underArmHStyle: "waxed", bodySwap: 0, father: 0, mother: 0, daughters: 0, sisters: 0, canRecruit: 0, HGExclude: 0, ballType: "human", eggType: "human", reservedChildren: 0, choosesOwnChastity: 0, pregControl: "none", readyLimbs: [], ageAdjust: 0, bald: 0, origBodyOwner: "", death: "", hormoneBalance: 0, onDiet: 0, breastMesh: 0, buttplugAttachment: "none"}>> + <<set $activeSlave = {slaveName: "blank", slaveSurname: 0, birthName: "blank", birthSurname: 0, genes: "XX", weekAcquired: 0, origin: 0, career: 0, ID: 0, prestige: 0, pornFame: 0, pornFameSpending: 0, prestigeDesc: 0, recruiter: 0, relation: 0, relationTarget: 0, relationship: 0, relationshipTarget: 0, rivalry: 0, rivalryTarget: 0, subTarget: 0, choosesOwnAssignment: 0, assignment: "rest", assignmentVisible: 1, sentence: 0, training: 0, toyHole: "all her holes", indenture: -1, indentureRestrictions: 0, birthWeek: random(0,51), actualAge: 18, visualAge: 18, physicalAge: 18, ageImplant: 0, health: 0, minorInjury: 0, trust: 0, oldTrust: 0, devotion: 0, oldDevotion: 0, weight: 0, muscles: 0, height: 170, heightImplant: 0, nationality: "slave", race: "white", markings: "none", eyes: 1, eyeColor: "brown", origEye: "brown", eyewear: "none", origHColor: "brown", hColor: "brown", pubicHColor: "brown", skin: "light", hLength: 60, hStyle: "short", pubicHStyle: "neat", waist: 0, corsetPiercing: 0, PLimb: 0, amp: 0, heels:0, voice: 2, voiceImplant: 0, accent: 0, shoulders: 0, shouldersImplant: 0, boobs: 0, boobsImplant: 0, boobsImplantType: 0, boobShape: "normal", nipples: "cute", nipplesPiercing: 0, areolae: 0, areolaePiercing: 0, boobsTat: 0, lactation: 0, lactationAdaptation: 0, milk: 0, cum: 0, hips: 0, hipsImplant: 0, butt: 0, buttImplant: 0, buttImplantType: 0, buttTat: 0, face: 0, faceImplant: 0, faceShape: "normal", lips: 15, lipsImplant: 0, lipsPiercing: 0, lipsTat: 0, teeth: "normal", tonguePiercing: 0, vagina: 0, vaginaLube: 0, vaginaPiercing: 0, vaginaTat: 0, preg: -1, pregSource: 0, pregType: 0, labor: 0, births: 0, cSec: 0, bellyAccessory: "none", labia: 0, clit: 0, clitPiercing: 0, clitSetting: "vanilla", foreskin: 0, anus: 0, dick: 0, analArea: 1, dickPiercing: 0, dickTat: 0, prostate: 0, balls: 0, scrotum: 0, ovaries: 0, anusPiercing: 0, anusTat: 0, makeup: 0, nails: 0, brand: 0, brandLocation: 0, earPiercing: 0, nosePiercing: 0, eyebrowPiercing: 0, navelPiercing: 0, shouldersTat: 0, armsTat: 0, legsTat: 0, backTat: 0, stampTat: 0, vaginalSkill: 0, oralSkill: 0, analSkill: 0, whoreSkill: 0, entertainSkill: 0, combatSkill: 0, livingRules: "spare", speechRules: "restrictive", releaseRules: "restrictive", relationshipRules: "restrictive", standardPunishment: "situational", standardReward: "situational", useRulesAssistant: 1, diet: "healthy", dietCum: 0, dietMilk: 0, tired: 0, hormones: 0, drugs: "no drugs", curatives: 0, chem: 0, aphrodisiacs: 0, addict: 0, fuckdoll: 0, choosesOwnClothes: 0, clothes: "no clothing", collar: "none", shoes: "none", vaginalAccessory: "none", dickAccessory: "none", buttplug: "none", intelligence: 0, intelligenceImplant: 0, energy: 50, attrXX: 0, attrXY: 0, attrKnown: 0, fetish: "none", fetishStrength: 70, fetishKnown: 0, behavioralFlaw: "none", behavioralQuirk: "none", sexualFlaw: "none", sexualQuirk: "none", oralCount: 0, vaginalCount: 0, analCount: 0, mammaryCount: 0, penetrativeCount: 0, publicCount: 0, pitKills: 0, customTat: "", customLabel: "", customDesc: "", customTitle: "", customTitleLisp: "", rudeTitle: 0, customImage: 0, currentRules: [], bellyTat: 0, induce: 0, mpreg: 0, inflation: 0, inflationType: "none", inflationMethod: 0, milkSource: 0, cumSource: 0, burst: 0, bellyImplant: 0, bellySag: 0, bellySagPreg: 0, bellyPain: 0, cervixImplant: 0, birthsTotal: 0, pubertyAgeXX: 13, pubertyAgeXY: 13, scars: 0, breedingMark: 0, underArmHStyle: "waxed", bodySwap: 0, father: 0, mother: 0, daughters: 0, sisters: 0, canRecruit: 0, HGExclude: 0, ballType: "human", eggType: "human", reservedChildren: 0, choosesOwnChastity: 0, pregControl: "none", readyLimbs: [], ageAdjust: 0, bald: 0, origBodyOwner: "", death: "", hormoneBalance: 0, onDiet: 0, breastMesh: 0, buttplugAttachment: "none", slavesFathered: 0, PCChildrenFathered: 0, slavesKnockedUp: 0, PCKnockedUp: 0}>> <</widget>> /%