diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt index 32219708c896f081905907d20de657e939ab8f00..2d87af9ababc7fd855185929a18e9f95339cd51b 100644 --- a/devNotes/twine JS.txt +++ b/devNotes/twine JS.txt @@ -10733,6 +10733,53 @@ window.fetalSplit = function(actor) { WombNormalizePreg(actor); }; +//safe alternative to .womb.length. +window.WombFetusCount(actor){ + WombInit(actor); + return actor.womb.length; +} + +//give reference to fetus object, but not remove fetus, use for manupulation in the womb. +window.WombGetFetus = function(actor, fetusNum){ + WombInit(actor); + if (actor.womb.length >= fetusNum) + return actor.womb[fetusNum]; + else + return null; +} + +//give reference to fetus object, and remove it form the womb. +window.WombRemoveFetus = function(actor, fetusNum){ + WombInit(actor); + if (actor.womb.length >= fetusNum){ + ft = actor.womb[fetusNum]; + actor.womb.splice(fetusNum, 1); + WombSort(actor); + } + else + return null; +} + +//to add fetus object in the womb. Be warned - you can add one single fetus to many wombs, or even add it many times to one womb. It's will not show error, but behavior become strange, as fetus object will be the same - it's reference, not full copies. If this not desired - use deepCopy on fetus before adding. +window.WombAddFetus = function(actor, fetus) +{ + WombInit(actor); + actor.womb.push(fetus); + WombSort(actor); +} + +// change property for all fetuses. Like fetus.age = X. +window.WombChangeFetus = function(actor, propName, newValue){ + WombInit(actor); + actor.womb.forEach(ft => ft[propName] = newValue); +} + +// change genetic property of all fetuses. Like fetus.genetic.intelligence = X +window.WombChangeGene = function(actor, geneName, newValue){ + WombInit(actor); + actor.womb.forEach(ft => ft.genetic[geneName] = newValue); +} + /* alt window.fetalSplit = function(actor) { @@ -36216,6 +36263,7 @@ window.PCDatatypeCleanup = function PCDatatypeCleanup() { PC.birthArcOwner = Math.max(+PC.birthArcOwner, 0) || 0; PC.birthCitizen = Math.max(+PC.birthCitizen, 0) || 0; PC.birthSelf = Math.max(+PC.birthSelf, 0) || 0; + PC.birthLab = Math.max(+PC.birthLab, 0) || 0; PC.slavesFathered = Math.max(+PC.slavesFathered, 0) || 0; PC.slavesKnockedUp = Math.max(+PC.slavesKnockedUp, 0) || 0; PC.intelligence = 100; diff --git a/player variables documentation - Pregmod.txt b/player variables documentation - Pregmod.txt index 04135371c0ef8048fd450d0baa411691fecd5827..b9605fe73beeed3c2c5678279ab4c3435e60eaf6 100644 --- a/player variables documentation - Pregmod.txt +++ b/player variables documentation - Pregmod.txt @@ -361,6 +361,10 @@ birthSelf: how many times you've giving birth to your own selfcest babies +birthLab: + +how many designer babies you've produced + slavesFathered: how many babies you are the father of diff --git a/src/facilities/nursery/nursery.tw b/src/facilities/nursery/nursery.tw index f89895108f68d95dc97d2d0e908b5773a721145d..b336720c320c0bb74677679451d0336d87dd90b1 100644 --- a/src/facilities/nursery/nursery.tw +++ b/src/facilities/nursery/nursery.tw @@ -69,10 +69,10 @@ $nurseryNameCaps $nurseryNameCaps is bustling with activity. Nannies are busily moving about, feeding babies and changing diapers. <<elseif $nurserySlaves > 0>> $nurseryNameCaps is working steadily. Nannies are moving about, cleaning up and feeding hungry children. - <<set $nannyInfluence == 1>> + <<set $nannyInfluence = 1>> <<elseif $Matron != 0>> $Matron.slaveName is alone in $nurseryName, and has nothing to do but keep the place clean and look after the children. - <<set $MatronInfluence == 1>> + <<set $MatronInfluence = 1>> <<elseif ($nurserySlaves <= 0) && ($nurseryBabies <= 0)>> $nurseryNameCaps is empty and quiet. <<link "Decommission the Nursery" "Main">><<set $nurseryCribs = 0, $nursery = 0, $nannyInfluence = 0, $nurseryDecoration = "standard", $cribs = [], $reservedChildrenNursery = 0>><<for _i = 0; _i < $slaves.length; _i++>><<set $slaves[_i].reservedChildrenNursery = 0>><</for>><</link>> <</if>> @@ -291,7 +291,7 @@ Reserve an eligible mother-to-be's child to be placed in a room upon birth. Of $ <br> //You have no pregnant slaves bearing eligible children.// <</if>> -<<if $PC.pregKnown == 1 && $PC.pregSource != -1>> +<<if $PC.pregKnown == 1 && $PC.pregSource != -6>> <br>''@@.pink;You're pregnant@@'' and going to have <<switch $PC.pregType>> <<case 1>> diff --git a/src/js/datatypeCleanupJS.tw b/src/js/datatypeCleanupJS.tw index e4274e131406847485a718b2cdeb2908fc929988..0d8dd149d98daae70e914817530e7ffe09fcf608 100644 --- a/src/js/datatypeCleanupJS.tw +++ b/src/js/datatypeCleanupJS.tw @@ -1149,6 +1149,7 @@ window.PCDatatypeCleanup = function PCDatatypeCleanup() { PC.birthArcOwner = Math.max(+PC.birthArcOwner, 0) || 0; PC.birthCitizen = Math.max(+PC.birthCitizen, 0) || 0; PC.birthSelf = Math.max(+PC.birthSelf, 0) || 0; + PC.birthLab = Math.max(+PC.birthLab, 0) || 0; PC.slavesFathered = Math.max(+PC.slavesFathered, 0) || 0; PC.slavesKnockedUp = Math.max(+PC.slavesKnockedUp, 0) || 0; PC.intelligence = 100; diff --git a/src/js/wombJS.tw b/src/js/wombJS.tw index 71947a497a2c82ca355d4248851cd8e9d3ea30fd..62f04539963b8149a846742a8c65df9e70768e16 100644 --- a/src/js/wombJS.tw +++ b/src/js/wombJS.tw @@ -321,6 +321,53 @@ window.fetalSplit = function(actor) { WombNormalizePreg(actor); }; +//safe alternative to .womb.length. +window.WombFetusCount(actor){ + WombInit(actor); + return actor.womb.length; +} + +//give reference to fetus object, but not remove fetus, use for manupulation in the womb. +window.WombGetFetus = function(actor, fetusNum){ + WombInit(actor); + if (actor.womb.length >= fetusNum) + return actor.womb[fetusNum]; + else + return null; +} + +//give reference to fetus object, and remove it form the womb. +window.WombRemoveFetus = function(actor, fetusNum){ + WombInit(actor); + if (actor.womb.length >= fetusNum){ + ft = actor.womb[fetusNum]; + actor.womb.splice(fetusNum, 1); + WombSort(actor); + } + else + return null; +} + +//to add fetus object in the womb. Be warned - you can add one single fetus to many wombs, or even add it many times to one womb. It's will not show error, but behavior become strange, as fetus object will be the same - it's reference, not full copies. If this not desired - use deepCopy on fetus before adding. +window.WombAddFetus = function(actor, fetus) +{ + WombInit(actor); + actor.womb.push(fetus); + WombSort(actor); +} + +// change property for all fetuses. Like fetus.age = X. +window.WombChangeFetus = function(actor, propName, newValue){ + WombInit(actor); + actor.womb.forEach(ft => ft[propName] = newValue); +} + +// change genetic property of all fetuses. Like fetus.genetic.intelligence = X +window.WombChangeGene = function(actor, geneName, newValue){ + WombInit(actor); + actor.womb.forEach(ft => ft.genetic[geneName] = newValue); +} + /* alt window.fetalSplit = function(actor) { diff --git a/src/npc/startingGirls/startingGirls.tw b/src/npc/startingGirls/startingGirls.tw index df4e84ff09a9bd4461fba2b7c198bf91233b1f14..91a33e5005fc46901511a93a4284da4adb451984 100644 --- a/src/npc/startingGirls/startingGirls.tw +++ b/src/npc/startingGirls/startingGirls.tw @@ -147,6 +147,11 @@ __You are customizing this slave:__ <<if ($activeSlave.vagina == -1)>> <<set $activeSlave.vaginaLube = 0>> <</if>> +<<if $activeSlave.preg > 0>> + <<if $activeSlave.pregType != -1>> + <<set $activeSlave.pregType = 0>> + <</if>> +<</if>> <<if ($activeSlave.ovaries == 0)>> <<set $activeSlave.preg = 0, $activeSlave.pregType = 0, $activeSlave.pregSource = 0, $activeSlave.pregWeek = 0, $activeSlave.pregKnown = 0>> <<set $activeSlave.belly = 0, $activeSlave.bellyPreg = 0>> @@ -247,6 +252,11 @@ __You are customizing this slave:__ <<set $activeSlave.origin = "She was a fellow escort you were popular with.">> <<set $activeSlave.customTat = "She has your custom emblem tattooed on her left breast. She got the tattoo after starring in a porno with you.">> <</if>> + <<if $activeSlave.preg > 0>> + <<if $activeSlave.pregType != -1>> + <<set $activeSlave.pregType = -5>> + <</if>> + <</if>> <<elseif $PC.career == "gang">> <<if $activeSlave.mother == -1 && $activeSlave.father == -1>> <<set $activeSlave.origin = "She was the result of a night of hard drugs and unprotected sex after a big score. It took quite a bit of alcohol to come to terms with drunkenly knocking yourself up.">> @@ -278,6 +288,11 @@ __You are customizing this slave:__ <<set $activeSlave.origin = "She was another of your late master's servants.">> <<set $activeSlave.customTat = "She has your master's brand on her left breast.">> <</if>> + <<if $activeSlave.preg > 0>> + <<if $activeSlave.pregType != -1>> + <<set $activeSlave.pregType = -3>> + <</if>> + <</if>> <<elseif $PC.career == "medicine">> <<if $activeSlave.mother == -1 && $activeSlave.father == -1>> <<set $activeSlave.origin = "She was conceived after a successful experiment in hermaphrodite self-reproduction.">> diff --git a/src/pregmod/eliteTakeOverFight.tw b/src/pregmod/eliteTakeOverFight.tw index dce7bf2f5ac7ba63e1752bd720c591d171a5577b..ef12b05cbc0654683767936a000fee229f87d919 100644 --- a/src/pregmod/eliteTakeOverFight.tw +++ b/src/pregmod/eliteTakeOverFight.tw @@ -52,7 +52,7 @@ <</switch>> <<if $finalChoice == "give in">> - <<if $PC.pregSource == -1>> Screw their plans, you're out of here. <</if>>With a bang! you drop dead. + <<if $PC.pregSource == -1 || $PC.pregSource == -6>> Screw their plans, you're out of here. <</if>>With a bang! you drop dead. <<set $ui = "start">> <br><br> ''GAME OVER'' @@ -71,7 +71,7 @@ <<set $eliteVegetable = 0>> /* To Hit chance */ - <<if $PC.pregSource == -1>> /* still woozy */ + <<if $PC.pregSource == -1 || $PC.pregSource == -6>> /* still woozy */ <<set _toHit = 56>> <<elseif $PC.career == "mercenary" || $PC.warfare == 100>> <<set _toHit = 83>> @@ -116,7 +116,7 @@ <<else>> Having failed to kill them with the revolver, in a desperate move you pick up the syringe from the desk and aim for the forehead of one of the elite. <</if>> - <<if $PC.pregSource == -1>>But there's two of them... Shaking your head, you realize it's the drugs messing with you. You just need to focus.<</if>> + <<if $PC.pregSource == -1 || $PC.pregSource == -6>>But there's two of them... Shaking your head, you realize it's the drugs messing with you. You just need to focus.<</if>> <<set _hitRoll = (random(0,100) - _druggedThrow)>> <<if $career == "mercenary" && _hitRoll > 0>> With your prior history as a mercenary, making the throw is child's play. diff --git a/src/pregmod/generateChild.tw b/src/pregmod/generateChild.tw index 83bd70891e3ea9f185c8b1450a0feda60f084148..ee2aa51f22453d3ae2f035f4f78902fe2b4adc46 100644 --- a/src/pregmod/generateChild.tw +++ b/src/pregmod/generateChild.tw @@ -28,7 +28,7 @@ <<if $PC.pregSource < 1>> <<set $activeSlave.slaveName = "Your daughter">> <<set $activeSlave.mother = -1>> - <<if $PC.pregSource != -6>> + <<if $PC.pregSource != -1>> <<set $activeSlave.father = $missingParent>> <<set $activeSlave.nationality = "Stateless">> <<set $activeSlave.eyeColor = either($PC.origEye, "brown", "blue", "brown", "green", "hazel", "green")>> @@ -39,7 +39,7 @@ <<set $activeSlave.eyeColor = $PC.origEye>> <<set $activeSlave.hColor = $PC.origHColor>> <</if>> - <<if $PC.pregSource == -2 && $arcologies[0].FSSupremacist != "unset">> + <<if ($PC.pregSource == -2 || $PC.pregSource == -5) && $arcologies[0].FSSupremacist != "unset">> <<set $activeSlave.race = either($PC.origRace, $arcologies[0].FSSubjugationistRace, $arcologies[0].FSSubjugationistRace)>> <<if $PC.origRace != $arcologies[0].FSSubjugationistRace>> <<if random(1,100) > 50>> @@ -164,7 +164,7 @@ <<if $PC.pregSource < 1>> <<set $activeSlave.slaveName = "Your son">> <<set $activeSlave.mother = -1>> - <<if $PC.pregSource != -6>> + <<if $PC.pregSource != -1>> <<set $activeSlave.father = $missingParent>> <<set $activeSlave.nationality = "Stateless">> <<set $activeSlave.eyeColor = either($PC.origEye, "brown", "blue", "brown", "green", "hazel", "green")>> @@ -175,7 +175,7 @@ <<set $activeSlave.eyeColor = $PC.origEye>> <<set $activeSlave.hColor = $PC.origHColor>> <</if>> - <<if $PC.pregSource == -2 && $arcologies[0].FSSupremacist != "unset">> + <<if ($PC.pregSource == -2 || $PC.pregSource == -5) && $arcologies[0].FSSupremacist != "unset">> <<set $activeSlave.race = either($PC.origRace, $arcologies[0].FSSubjugationistRace, $arcologies[0].FSSubjugationistRace)>> <<if $PC.origRace != $arcologies[0].FSSubjugationistRace>> <<if random(1,100) > 50>> @@ -461,7 +461,7 @@ <</if>> /* Int and facial attractiveness changes to bolster eugenics and add negatives for excessive inbreeding */ -<<if $activeSlave.mother == -1 && $PC.pregSource == -1>> +<<if $activeSlave.mother == -1 && $PC.pregSource == -6>> <<set $activeSlave.face = random(90,100)>> <<set $activeSlave.intelligence = random(90,100)>> <<elseif $activeSlave.mother == -1>> diff --git a/src/pregmod/incubator.tw b/src/pregmod/incubator.tw index 368ef0981b3568e7c367bda6b26dfb4e9aa6de94..d856e52574b29ed24ab2e90a9cb83ad4c5735236 100644 --- a/src/pregmod/incubator.tw +++ b/src/pregmod/incubator.tw @@ -151,7 +151,7 @@ Reserve an eligible mother-to-be's child to be placed in a tank upon birth. Of $ <br> //You have no pregnant slaves bearing eligible children.// <</if>> -<<if $PC.pregKnown == 1 && $PC.pregSource != -1>> +<<if $PC.pregKnown == 1 && $PC.pregSource != -6>> <br>''@@.pink;You're pregnant@@'' and going to have <<switch $PC.pregType>> <<case 1>> diff --git a/src/pregmod/managePersonalAffairs.tw b/src/pregmod/managePersonalAffairs.tw index ccc5dd80b55c8178e65fa43a10724af217ea0f32..a857ddc6d8920e1717599b2ac0c7cddc0bd9f38b 100644 --- a/src/pregmod/managePersonalAffairs.tw +++ b/src/pregmod/managePersonalAffairs.tw @@ -410,6 +410,9 @@ In total, you have given birth to: <<if $PC.birthSelf > 0>> <br><<print $PC.birthSelf>> bab<<if $PC.birthSelf > 1>>ies<<else>>y<</if>> that <<if $PC.birthSelf > 1>>are<<else>>is<</if>> literally all you. <</if>> +<<if $PC.birthLab > 0>> +<br><<print $PC.birthLab>> bab<<if $PC.birthLab > 1>>ies<<else>>y<</if>> specially designed in the lab. +<</if>> <</if>> <<if $PC.slavesKnockedUp > 0>> <br> diff --git a/src/pregmod/pInsemination.tw b/src/pregmod/pInsemination.tw index 321e39edeb99e21ca11a7464d43c53a313fbcd3a..59e67fbbd20a2fce5f5fd1537742259b2a8d0a43 100644 --- a/src/pregmod/pInsemination.tw +++ b/src/pregmod/pInsemination.tw @@ -104,6 +104,6 @@ <</if>> /* You're getting pregnant, period be damned */ -<<set $PC.preg = 1, $PC.pregSource = -1, $PC.pregKnown = 1>> +<<set $PC.preg = 1, $PC.pregSource = -6, $PC.pregKnown = 1>> <<set $PC.pregType = setPregType($PC)>> <<set WombImpregnate($PC, $PC.pregType, -1, 1)>> diff --git a/src/pregmod/sePlayerBirth.tw b/src/pregmod/sePlayerBirth.tw index 09a489be1687fbc7dc8e67e487ab413ab9cf0372..96342a4de1aa7ee99babad3010884c2bf5b6baa0 100644 --- a/src/pregmod/sePlayerBirth.tw +++ b/src/pregmod/sePlayerBirth.tw @@ -7,12 +7,13 @@ /* PC.pregSource documentation 0 - unknown --1 - Societal Elite --2 - client +-1 - Player - self-impreg +-2 - citizen -3 - former master -4 - male arc owner --5 - citizen --6 - Player - self-impreg +-5 - client +-6 - Societal Elite +-7 - designer baby */ @@ -24,7 +25,13 @@ PC.pregSource documentation <<set $PC.curBabies = WombBirth($PC, 35)>> <<set _curBabies = $PC.curBabies.length>> <<set _stilBirth = $PC.womb.length>> -<<set WombFlush($PC)>> +<<if _curBabies == 1>> + <<if $PC.curBabies[0].genetics.gender == "XX">> + <<set _gender = "XX">> + <<else>> + <<set _gender = "XY">> + <</if>> +<</if>> /* Difference in code below: * _curBabies - count of live babies after birth @@ -36,17 +43,19 @@ PC.pregSource documentation <<if $PC.pregSource == 0>> <<set $PC.birthOther += _curBabies>> <<elseif $PC.pregSource == -1>> - <<set $PC.birthElite += _curBabies>> + <<set $PC.birthSelf += _curBabies>> <<elseif $PC.pregSource == -2>> - <<set $PC.birthClient += _curBabies>> + <<set $PC.birthCitizen += _curBabies>> <<elseif $PC.pregSource == -3>> <<set $PC.birthMaster += _curBabies>> <<elseif $PC.pregSource == -4>> <<set $PC.birthArcOwner += _curBabies>> <<elseif $PC.pregSource == -5>> - <<set $PC.birthCitizen += _curBabies>> + <<set $PC.birthClient += _curBabies>> <<elseif $PC.pregSource == -6>> - <<set $PC.birthSelf += _curBabies>> + <<set $PC.birthElite += _curBabies>> +<<elseif $PC.pregSource == -7>> + <<set $PC.birthLab += _curBabies>> <<else>> <<set $PC.birthDegenerate += _curBabies>> <<set _babyDaddy = $slaveIndices[$PC.pregSource]>> @@ -55,13 +64,8 @@ PC.pregSource documentation <</if>> <</if>> -<<if $PC.pregSource == -1>> - <<if $seeDicksAffectsPregnancy == 1>> - <<set $babyGender = Math.floor(Math.random()*100) < $seeDicks ? 2 : 1>> - <<else>> - <<set $babyGender = random(1,2)>> - <</if>> - Since you are heavily pregnant with a child of the Societal Elite, you are quickly taken to the finest clinic the arcology has to offer. After a quick sedation, you awake to find your belly no longer round with child; that and a note stating your next breeding partner and a notice that <<print cashFormat(50000)>> has been added to your account. The Societal Elite are @@.green;very pleased@@ at their new addition to the ranks. You just wish you could have seen your <<if _curBabies == 1>>little <<if $babyGender == 1>>girl<<else>>boy<</if>> before they took <<if $babyGender == 1>>her<<else>>him<</if>><<else>>babies before they took them<</if>> away to be raised into a proper member of the future world. +<<if $PC.pregSource == -6>> + Since you are heavily pregnant with a child of the Societal Elite, you are quickly taken to the finest clinic the arcology has to offer. After a quick sedation, you awake to find your belly no longer round with child; that and a note stating your next breeding partner and a notice that <<print cashFormat(50000)>> has been added to your account. The Societal Elite are @@.green;very pleased@@ at their new addition to the ranks. You just wish you could have seen your <<if _curBabies == 1>>little <<if _gender == "XX">>girl<<else>>boy<</if>> before they took <<if _gender == "XX">>her<<else>>him<</if>><<else>>babies before they took them<</if>> away to be raised into a proper member of the future world. <<if $PC.ovaryAge >= 55 && $playerAging != 0>> You are getting too old to have children; you feel like <<if _curBabies > 1>>they<<else>>this<</if>> may be your last. <<set $PC.preg = -2>> @@ -116,14 +120,9 @@ While sitting at your desk planning your day, @@.lime;your water breaks,@@ thoro <br><br> You arrange yourself to give birth, relaxing until your body urges you to begin bearing down and pushing your child into the world.<<if _concubinePresent == 1>>$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 $seeDicksAffectsPregnancy == 1>> - <<set $babyGender = Math.floor(Math.random()*100) < $seeDicks ? 2 : 1>> - <<else>> - <<set $babyGender = random(1,2)>> - <</if>> <<if $Nurse != 0>> <<setLocalPronouns $Nurse>> - You keep pushing and pushing, but your child is not coming out.<<if _concubinePresent == 1>> $Concubine.slaveName shifts to massaging your gravid middle<<if canTalk($Concubine)>>, while whispering words of encouragement into your ear<</if>>. Until $Nurse.slaveName shoos _him2 away so $he 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 $his arms. + You keep pushing and pushing, but your child is not coming out.<<if _concubinePresent == 1>> $Concubine.slaveName shifts to massaging your gravid middle<<if canTalk($Concubine)>>, while whispering words of encouragement into your ear<</if>>. Until $Nurse.slaveName shoos _him2 away so $he 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 _gender == "XX">>girl<<else>>boy<</if>>@@ in $his arms. <<if $PC.pregType == 8>> But you aren't even close to done; your taut dome of a belly still houses another seven infants. You moan as the next child begins its decent; you'll be at this for awhile. If $Nurse.slaveName weren't here, you and your children would likely have perished. <<elseif $PC.pregType > 4>> @@ -143,7 +142,7 @@ You arrange yourself to give birth, relaxing until your body urges you to begin 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; $he 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, $he returns carrying <<switch _curBabies>> <<case 1>> - @@.lime;your baby <<if $babyGender == 1>>girl<<else>>boy<</if>>@@ + @@.lime;your baby <<if _gender == "XX">>girl<<else>>boy<</if>>@@ <<case 2>> @@.lime;your newborn twins@@ <<case 3>> @@ -173,7 +172,7 @@ You arrange yourself to give birth, relaxing until your body urges you to begin You awake some time later in a recovery room<<if _concubinePresent > 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 $his arms <<switch _curBabies>> <<case 1>> - is @@.lime;your baby <<if $babyGender == 1>>girl<<else>>boy<</if>>@@, <<if $HeadGirl.lactation > 0>>happily nursing from $his breast,<</if>> + is @@.lime;your baby <<if _gender == "XX">>girl<<else>>boy<</if>>@@, <<if $HeadGirl.lactation > 0>>happily nursing from $his breast,<</if>> <<case 2>> are @@.lime;your newborn twins@@, <<if $HeadGirl.lactation > 0>>happily nursing from $his breasts,<</if>> <<case 3>> @@ -197,7 +196,7 @@ You arrange yourself to give birth, relaxing until your body urges you to begin 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 <<switch _curBabies>> <<case 1>> - @@.lime;your baby <<if $babyGender == 1>>girl<<else>>boy<</if>>@@ in _his2 arms.<<if $Concubine.lactation > 0>> Your child has managed to free one of $Concubine.slaveName's breasts and is eagerly suckling from _his2 milky nipple.<</if>> + @@.lime;your baby <<if _gender == "XX">>girl<<else>>boy<</if>>@@ in _his2 arms.<<if $Concubine.lactation > 0>> Your child has managed to free one of $Concubine.slaveName's breasts and is eagerly suckling from _his2 milky nipple.<</if>> <<case 2>> @@.lime;your newborn twins@@ in _his2 arms.<<if $Concubine.lactation > 0>> Your children have managed to free $Concubine.slaveName's breasts and are eagerly suckling from their milky nipples.<</if>> <<case 3>> @@ -236,16 +235,11 @@ You arrange yourself to give birth, relaxing until your body urges you to begin <<set $gameover = "birth complications", $nextButton = "Have to keep trying!", $nextLink = "Gameover">> <</if>> <<else>> - <<if $seeDicksAffectsPregnancy == 1>> - <<set $babyGender = Math.floor(Math.random()*100) < $seeDicks ? 2 : 1>> - <<else>> - <<set $babyGender = random(1,2)>> - <</if>> <<if $Nurse != 0>> <<setLocalPronouns $Nurse>> Under $Nurse.slaveName's guidance, childbirth is a breeze for you. <<if $PC.pregType == 1>> - <<if _concubinePresent == 1>> Or it would have been, had $Concubine.slaveName not driven you to an intense orgasm right as your child entered the world.<<if $PC.balls > 1>> An orgasm that resulted in $Concubine.slaveName, $Nurse.slaveName, and your newborn getting sprayed with cum.<</if>><</if>> $Nurse.slaveName cuts the cord, swaddles your child, and hands you @@.lime;your new baby <<if $babyGender == 1>>girl<<else>>boy<</if>>.@@ + <<if _concubinePresent == 1>> Or it would have been, had $Concubine.slaveName not driven you to an intense orgasm right as your child entered the world.<<if $PC.balls > 1>> An orgasm that resulted in $Concubine.slaveName, $Nurse.slaveName, and your newborn getting sprayed with cum.<</if>><</if>> $Nurse.slaveName cuts the cord, swaddles your child, and hands you @@.lime;your new baby <<if _gender == "XX">>girl<<else>>boy<</if>>.@@ <<elseif $PC.pregType == 8>> <<if _concubinePresent == 1>> Or it would have been, had $Concubine.slaveName not driven you to an intense orgasm right as your first child entered the world.<<if $PC.balls > 1>> An orgasm that resulted in $Concubine.slaveName, $Nurse.slaveName, and your newborn getting sprayed with cum.<</if>> But it isn't over; before you've even had a chance to come down from your climax, the next infant slips into your birth canal and immediately pushes you back over the edge. In minutes, after eight children and eight intense orgasms, you're barely conscious. $Concubine.slaveName slides in behind you to snuggle with you as you return to your senses. @@ -303,7 +297,7 @@ You arrange yourself to give birth, relaxing until your body urges you to begin <<if _concubinePresent == 1>> Or it would have, had $Concubine.slaveName not driven you to an intense orgasm right as your child entered the world.<<if $PC.balls > 1>> An orgasm that resulted in $Concubine.slaveName, $Bodyguard.slaveName, and your newborn getting sprayed with cum.<</if>> <</if>> - $Bodyguard.slaveName cuts the cord with $his blade, and hands you @@.lime;your new baby <<if $babyGender == 1>>girl<<else>>boy<</if>>.@@ + $Bodyguard.slaveName cuts the cord with $his blade, and hands you @@.lime;your new baby <<if _gender == "XX">>girl<<else>>boy<</if>>.@@ <<elseif $PC.pregType == 8>> <<if _concubinePresent == 1>> Or it would have, had $Concubine.slaveName not driven you to an intense orgasm right as your child entered the world.<<if $PC.balls > 1>> An orgasm that resulted in $Concubine.slaveName, $Bodyguard.slaveName, and your newborn getting sprayed with cum.<</if>> But it isn't over; before you've even had a chance to come down from your climax, the next infant slips into your birth canal and immediately pushes you back over the edge. In minutes, after eight children and eight intense orgasms, you're barely conscious, nearly panicking $Bodyguard.slaveName. $Concubine.slaveName slides in behind you to snuggle with you as you return to your senses. @@ -357,7 +351,7 @@ You arrange yourself to give birth, relaxing until your body urges you to begin <<elseif $HeadGirl != 0>> With $HeadGirl.slaveName waiting with everything you need, childbirth goes by without a hitch. <<if $PC.pregType == 1>> - <<if _concubinePresent == 1>> Or it would have been, had $Concubine.slaveName not driven you to an intense orgasm right as your child entered the world.<<if $PC.balls > 1>> An orgasm that resulted in $Concubine.slaveName, $HeadGirl.slaveName, and your newborn getting sprayed with cum.<</if>><</if>> $HeadGirl.slaveName cuts the cord, swaddles your child, and hands you @@.lime;your new baby <<if $babyGender == 1>>girl<<else>>boy<</if>>.@@ + <<if _concubinePresent == 1>> Or it would have been, had $Concubine.slaveName not driven you to an intense orgasm right as your child entered the world.<<if $PC.balls > 1>> An orgasm that resulted in $Concubine.slaveName, $HeadGirl.slaveName, and your newborn getting sprayed with cum.<</if>><</if>> $HeadGirl.slaveName cuts the cord, swaddles your child, and hands you @@.lime;your new baby <<if _gender == "XX">>girl<<else>>boy<</if>>.@@ <<elseif $PC.pregType == 8>> <<if _concubinePresent == 1>> Or it would have been, had $Concubine.slaveName not driven you to an intense orgasm right as your first child entered the world.<<if $PC.balls > 1>> An orgasm that resulted in $Concubine.slaveName, $HeadGirl.slaveName, and your newborn getting sprayed with cum.<</if>> But it isn't over; before you've even had a chance to come down from your climax, the next infant slips into your birth canal and immediately pushes you back over the edge. In minutes, after eight children and eight intense orgasms, you're barely conscious. $Concubine.slaveName slides in behind you to snuggle with you as you return to your senses. @@ -409,9 +403,9 @@ You arrange yourself to give birth, relaxing until your body urges you to begin $HeadGirl.slaveName cuts the cords, swaddles your children, and hands you @@.lime;your new twins.@@ <</if>> <<elseif _concubinePresent == 1>> - $Concubine.slaveName alternates between calming your nerves and driving your to orgasm. It works fairly well, as your child rapidly enters the world alongside a particularly powerful climax. You reach down and draw @@.lime;your new baby <<if $babyGender == 1>>girl<<else>>boy<</if>>@@ into your arms, while $Concubine.slaveName shifts to eagerly "clean" your crotch with _his2 tongue.<<if $PC.pregType > 1>> _His2 over-stimulation of you quickly has _him2 licking the crowning head of your second child. _He2 diligently works you over until all of your children are born, making sure you are thoroughly exhausted; both from the birth and from _his2 ministrations.<<if canPenetrate($Concubine) && canImpreg($PC, $Concubine)>> $Concubine.slaveName eyes your spread pussy hungrily as _his2 erection bobs with anticipation. But you're too tired right now and _he2 realizes it.<</if>> _He2 helps gather your child<<if $PC.pregType > 1>>ren<</if>> to your<<if $Concubine.lactation > 0>>, and _his2, <</if>>breasts with the hope that you'll reward _him2 when you recover.<</if>> + $Concubine.slaveName alternates between calming your nerves and driving your to orgasm. It works fairly well, as your child rapidly enters the world alongside a particularly powerful climax. You reach down and draw @@.lime;your new baby <<if _gender == "XX">>girl<<else>>boy<</if>>@@ into your arms, while $Concubine.slaveName shifts to eagerly "clean" your crotch with _his2 tongue.<<if $PC.pregType > 1>> _His2 over-stimulation of you quickly has _him2 licking the crowning head of your second child. _He2 diligently works you over until all of your children are born, making sure you are thoroughly exhausted; both from the birth and from _his2 ministrations.<<if canPenetrate($Concubine) && canImpreg($PC, $Concubine)>> $Concubine.slaveName eyes your spread pussy hungrily as _his2 erection bobs with anticipation. But you're too tired right now and _he2 realizes it.<</if>> _He2 helps gather your child<<if $PC.pregType > 1>>ren<</if>> to your<<if $Concubine.lactation > 0>>, and _his2, <</if>>breasts with the hope that you'll reward _him2 when you recover.<</if>> <<else>> - You keep pushing and pushing, your child slowly working its way from your body. With the last of your strength, you bear down, freeing your child from your body at last. Panting, you gather @@.lime;your new baby <<if $babyGender == 1>>girl<<else>>boy<</if>>@@ <<if $PC.pregType > 1>>as another contraction ushers your next child into your birth canal<<else>>and drift off into a much deserved rest<</if>>. + You keep pushing and pushing, your child slowly working its way from your body. With the last of your strength, you bear down, freeing your child from your body at last. Panting, you gather @@.lime;your new baby <<if _gender == "XX">>girl<<else>>boy<</if>>@@ <<if $PC.pregType > 1>>as another contraction ushers your next child into your birth canal<<else>>and drift off into a much deserved rest<</if>>. <<if $PC.pregType == 8>> You struggle to pass the second baby, knowing full well a third will quickly follow suit and a fourth after that. You dread the challenge that will be the fifth one and worry for your health over the sixth. You are nearly delirious by the time it comes to the final two; your efforts to push them out are falling flat. You're just too tired. With one final push, you feel the first crown then exit your ruined pussy; the second follows closely, finally allowing you relief. You are thoroughly exhausted by the time you've pushed out your octuplets, unable to even gather them to your chest. Fortunately, $assistantName calls several devoted slaves to your aid; you're helped to your bed and left to connect with your children. <<elseif $PC.pregType == 7>> @@ -432,7 +426,7 @@ You arrange yourself to give birth, relaxing until your body urges you to begin <<if _curBabies == 1>> - <<if $PC.pregSource < 1 && $PC.pregSource != -6 && $PC.reservedChildren > 0>> + <<if $PC.pregSource < 1 && $PC.pregSource != -1 && $PC.reservedChildren > 0>> <<set $missingParent = $missingParentID>> <<set $missingParentID-->> <</if>> @@ -452,27 +446,28 @@ You arrange yourself to give birth, relaxing until your body urges you to begin <<set _PCDegree++>> <</if>> - Your little <<if $babyGender == 1>>girl<<else>>boy<</if>> - <<if $PC.pregSource == -6>> - looks exactly like you, in fact, the resemblance seems uncanny. Since <<if $babyGender == 1>>she<<else>>he<</if>> has the exact same genetics as you, <<if $babyGender == 1>>she<<else>>he<</if>>'ll likely look almost identical to you when <<if $babyGender == 1>>she<<else>>he<</if>>'s your age. + Your little <<if _gender == "XX">>girl<<else>>boy<</if>> + <<if $PC.pregSource == -1>> + looks exactly like you, in fact, the resemblance seems uncanny. Since <<if _gender == "XX">>she<<else>>he<</if>> has the exact same genetics as you, <<if _gender == "XX">>she<<else>>he<</if>>'ll likely look almost identical to you when <<if _gender == "XX">>she<<else>>he<</if>>'s your age. <<elseif _PCDegree == 4>> - looks just like you; <<if $babyGender == 1>>she<<else>>he<</if>> will likely grow up to closely resemble yourself. + looks just like you; <<if _gender == "XX">>she<<else>>he<</if>> will likely grow up to closely resemble yourself. <<elseif $activeSlave.eyeColor == $PC.eyeColor>> has your lovely $PC.eyeColor eyes. <<elseif _PCDegree > 0>> - looks a little like you, enough that <<if $babyGender == 1>>she<<else>>he<</if>>'ll be recognizable as yours. + looks a little like you, enough that <<if _gender == "XX">>she<<else>>he<</if>>'ll be recognizable as yours. <<else>> - looks nothing like you; it's hard to believe <<if $babyGender == 1>>she's your daughter<<else>>he's you son<</if>> + looks nothing like you; it's hard to believe <<if _gender == "XX">>she's your daughter<<else>>he's you son<</if>> <</if>> + <<if $PC.reservedChildren > 0>> - You set <<if $babyGender == 1>>her<<else>>him<</if>> aside for incubation. + You set <<if _gender == "XX">>her<<else>>him<</if>> aside for incubation. <<include "Incubator Workaround">> <<set $reservedChildren-->> <<set $PC.curBabies.shift()>> <<set $PC.reservedChildren-- >> <</if>> <<if $PC.reservedChildrenNursery > 0>> - You set <<if $babyGender == 1>>her<<else>>him<</if>> aside for incubation. + You set <<if _gender == "XX">>her<<else>>him<</if>> aside for incubation. <<include "Nursery Workaround">> <<set $reservedChildrenNursery-->> <<set $PC.curBabies.shift()>> @@ -481,7 +476,7 @@ You arrange yourself to give birth, relaxing until your body urges you to begin <<elseif _curBabies > 1>> <<set _identicalChildGen = 0, _shiftDegree = 0>> - <<if $PC.pregSource < 1 && $PC.pregSource != -6 && $PC.reservedChildren > 0>> + <<if $PC.pregSource < 1 && $PC.pregSource != -1 && $PC.reservedChildren > 0>> <<set $missingParent = $missingParentID>> <<set $missingParentID-->> <</if>> @@ -515,29 +510,29 @@ You arrange yourself to give birth, relaxing until your body urges you to begin <<set _PCDegree++>> <</if>> - <<if _p == 0>>Your first<<else>>The next<</if>> little <<if $babyGender == 1>>girl<<else>>boy<</if>> + <<if _p == 0>>Your first<<else>>The next<</if>> little <<if _gender == "XX">>girl<<else>>boy<</if>> <<if _identicalChildGen == 1>> looks exactly like the previous; they're identical twins. <<elseif $PC.pregSource == -6>> - looks exactly like you<<if _p == 0>>, in fact, the resemblance seems uncanny. Since <<if $babyGender == 1>>she<<else>>he<</if>> has the exact same genetics as you, <<if $babyGender == 1>>she<<else>>he<</if>>'ll likely look almost identical to you when <<if $babyGender == 1>>she<<else>>he<</if>>'s your age<</if>>. Every one of your children look this way; it's kind of hard to tell them apart. + looks exactly like you<<if _p == 0>>, in fact, the resemblance seems uncanny. Since <<if _gender == "XX">>she<<else>>he<</if>> has the exact same genetics as you, <<if _gender == "XX">>she<<else>>he<</if>>'ll likely look almost identical to you when <<if _gender == "XX">>she<<else>>he<</if>>'s your age<</if>>. Every one of your children look this way; it's kind of hard to tell them apart. <<elseif _PCDegree == 4>> - looks just like you; <<if $babyGender == 1>>she<<else>>he<</if>> will likely grow up to closely resemble yourself. + looks just like you; <<if _gender == "XX">>she<<else>>he<</if>> will likely grow up to closely resemble yourself. <<elseif $activeSlave.eyeColor == $PC.eyeColor>> has your lovely $PC.eyeColor eyes. <<elseif _PCDegree > 0>> - looks a little like you, enough that <<if $babyGender == 1>>she<<else>>he<</if>>'ll be recognizable as yours. + looks a little like you, enough that <<if _gender == "XX">>she<<else>>he<</if>>'ll be recognizable as yours. <<else>> - looks nothing like you; it's hard to believe <<if $babyGender == 1>>she's your daughter<<else>>he's you son<</if>> + looks nothing like you; it's hard to believe <<if _gender == "XX">>she's your daughter<<else>>he's you son<</if>> <</if>> <<if $PC.reservedChildren > 0>> - You set <<if $babyGender == 1>>her<<else>>him<</if>> aside for incubation. + You set <<if _gender == "XX">>her<<else>>him<</if>> aside for incubation. <<include "Incubator Workaround">> <<set $reservedChildren-->> <<set _shiftDegree++>> <<set $PC.reservedChildren-- >> <</if>> <<if $PC.reservedChildrenNursery > 0>> - You set <<if $babyGender == 1>>her<<else>>him<</if>> aside for incubation. + You set <<if _gender == "XX">>her<<else>>him<</if>> aside for incubation. <<include "Nursery Workaround">> <<set $reservedChildrenNursery-->> <<set _shiftDegree++>> @@ -620,13 +615,13 @@ You arrange yourself to give birth, relaxing until your body urges you to begin <<if $arcologies[0].FSRepopulationFocus > 40>> Of course, there are also the @@.orange;breeding schools,@@ where your <<if _curBabies == 1>> - <<if $babyGender == 1>> + <<if _gender == "XX">> daughter will be taught the joys of motherhood up until she is around $fertilityAge years old, when she will be impregnated with her first child. <<else>> son will be taught it is his duty to fuck every slavegirl he sees without a baby bump pregnant. <</if>> <<else>> - <<if $babyGender == 1>> + <<if _gender == "XX">> daughters will be taught the joys of motherhood up until they are around $fertilityAge years old, when they will be impregnated for the first time.<<if _curBabies > 1>> They say multiples run in families, so your daughters should blossom into quite the fertile breeders.<</if>> <<else>> sons will be taught it is their duty to fuck every slavegirl they sees without a baby bump pregnant. diff --git a/src/uncategorized/persBusiness.tw b/src/uncategorized/persBusiness.tw index d9bfbe903289a261e40ad688c7dd3a7bdef817ba..77ff2a2562175812661147c894fe00571b21cc74 100644 --- a/src/uncategorized/persBusiness.tw +++ b/src/uncategorized/persBusiness.tw @@ -53,7 +53,7 @@ <<set $cash += Math.trunc((_income*($rep/500))+($PC.belly))>> <<set $rep = Math.trunc($rep*.90)>> <<elseif $arcologies[0].FSRestart != "unset">> - <<if $PC.pregSource != -1>> + <<if $PC.pregSource != -1 && $PC.pregSource != -6>> You focus on finding "dates" this week and earn @@.yellowgreen;<<print cashFormat(25)>>@@, barely enough to cover the abortion the john that gave it to you told you to get. Showing off your gravid body @@.red;infuriates your citizens and cripples your reputation@@. <<set $cash += 25>> <<set $rep = Math.trunc($rep*.25)>> diff --git a/src/uncategorized/reputation.tw b/src/uncategorized/reputation.tw index f5266d03067f9aceb353c54403fd5aa818213de2..ad69ceae7705a707c7d41fefaee378491fc59bce 100644 --- a/src/uncategorized/reputation.tw +++ b/src/uncategorized/reputation.tw @@ -336,7 +336,7 @@ On formal occasions, you are announced as $PCTitle. <<if (($PC.belly >= 1500) || ($PC.career == "escort" && $PC.belly >= 500)) && $PC.preg > 0>> <<if $arcologies[0].FSRestart != "unset">> <<if $arcologies[0].FSRestartDecoration == 100>> - <<if $PC.pregSource != -1>> + <<if $PC.pregSource != -1 && $PC.pregSource != -6>> Most prominent female owners avoid being penetrated on <<if $sexualOpeness == 1>> principle, though you choose the opposite; your fecund figure suggests a slave knocked you up, a huge diff --git a/src/uncategorized/shops.tw b/src/uncategorized/shops.tw index 6baa2160a7973b18b641fe5d77983c0c59886cd3..164c7ed81cbe137b42ee519e048e1856322d8c09 100644 --- a/src/uncategorized/shops.tw +++ b/src/uncategorized/shops.tw @@ -73,7 +73,7 @@ This is a section of the promenade <span id="result"><<link "Give the swing a try">><<replace "#result">>You wait for the couple to leave before approaching the hapless girl and placing a hand on her vulnerable middle. She squeaks in surprise before she realizes just who is browsing her toys and the goods between her legs. <<if $PC.belly >= 5000>>Spreading her legs, you find that she is suspended at the perfect height for you to comfortably penetrate her; or she would be, if your own rounded middle wasn't pushing into her own. She asks for a little help getting down, and afterwards, shows you to a series of harness designed to hold a girl with her belly dangling beneath her. The perfect toy for the very pregnant slaveowner hoping to plow her equally gravid chattel.<<elseif $PC.dick == 1>>Spreading her legs, you find that she is suspended at the perfect height for you to comfortably penetrate her.<<else>> Picking out an attractive strap-on, donning it, and spreading her legs, you find that she is suspended at the perfect height for you to comfortably penetrate her.<</if>> Even better, the swing handles her weight, so no sprained back!<</replace>><</link>></span> <<case "Eugenics">> dedicated to Eugenics. You knew the individuals drawn into your society had connections, but you had no idea they were this extensive! If you can think of it, a shop here is selling it; though they are not cheap, only the finest available merchandise is for sale here. Numerous recognizable faces browse the storefronts, accompanied by their favorite chattel, and upon noticing you, vie for your valuable attention. - <<if $PC.preg > 20 && $PC.pregSource == -1>> + <<if $PC.preg > 20 && ($PC.pregSource == -1 || $PC.pregSource == -6)>> <span id="result"><<link "Shop around">><<replace "#result">>You decide to waddle between the shops; with so much fine merchandise on offer, it's possible that someone's selling something to fulfill your growing cravings, and it's always good to see and be seen, especially with a middle rounded with a superior child. The slave salesgirls are accommodating and welcoming, most are so well-trained that they treat you with the respect a member of the Societal Elite deserves. They all offer you a curtsey that allows them lift their skirts, revealing the appropriate chastity. You end up leaving the stores with bags and bags of exotic foods and treats as well as a cute dress that shows off your pregnancy.<</replace>><</link>></span> <<elseif $PC.title == 1>> <span id="result"><<link "Shop around">><<replace "#result">>You decide to wander between the shops; with so much fine merchandise on offer, it's possible that someone's selling something to catch your discerning eye, and it's always good to see and be seen. The slave salesgirls are welcoming and most are so well-trained that they treat you with the respect a member of the Societal Elite deserves. They all offer you a curtsey that allows them lift their skirts, revealing the appropriate chastity. You end up leaving the stores with several fancy chastity belts and an amazing suit you can't wait to debut at your next social meeting.<</replace>><</link>></span>