diff --git a/src/js/storyJS.js b/src/js/storyJS.js index 1b0e4ce77ddb85776930ecadc905b2f8077a04c2..32e041e252231fdcdae3a8fb8b84bbc7138c26b6 100644 --- a/src/js/storyJS.js +++ b/src/js/storyJS.js @@ -128,26 +128,6 @@ window.canImpreg = function(slave1, slave2) { } }; -/** - * Determines whether PC is fertile - * @param {object} PC - * @returns {boolean} - */ -window.isPlayerFertile = function(PC) { - if (!PC) { - return null; - } else if (PC.preg !== 0) { - /* currently pregnant, sterile, menopausal or on contraceptives */ - return false; - } else if (PC.pregWeek < 0) { - /* postpartum */ - return false; - } else if (PC.vagina >= 0) { - return true; - } else { - return false; - } -}; /** * @param {App.Entity.SlaveState} slave * @returns {string|number} diff --git a/src/player/js/playerJS.js b/src/player/js/playerJS.js index 0d925e83458ae41469ef0cbe757bc441cdd71eb6..f6791de45121185ea1e9833a23f1afd5b0c996f4 100644 --- a/src/player/js/playerJS.js +++ b/src/player/js/playerJS.js @@ -2,27 +2,6 @@ window.basePlayer = function basePlayer() { return new App.Entity.PlayerState(); }; -/** - * Determines whether PC is fertile - * @param {object} PC - * @returns {boolean} - */ -window.isPlayerFertile = function(PC) { - if (!PC) { - return null; - } else if (PC.preg !== 0) { - /* currently pregnant, sterile, menopausal or on contraceptives */ - return false; - } else if (PC.pregWeek < 0) { - /* postpartum */ - return false; - } else if (PC.vagina === 1) { - return true; - } else { - return false; - } -}; - /** * Helper function returning PC's title * @returns {string} diff --git a/src/pregmod/pRaped.tw b/src/pregmod/pRaped.tw index cbe88c18657d78299d72a9681d00aa408a59d43c..4136d6ed1c8d381c03eebf7ca7734f24414fb621 100644 --- a/src/pregmod/pRaped.tw +++ b/src/pregmod/pRaped.tw @@ -163,7 +163,7 @@ While returning from a meeting with a prospective investor, an unfortunate wrong His hand rises to your lips and forces something into your mouth. "Swallow it." You obey, hoping to just get this over with. <<set $PC.forcedFertDrugs += 3>> <</if>> - With one final thrust, he forces through your battered cervix and unloads in the depths of your <<if isPlayerFertile($PC)>>fertile <</if>>womb. + With one final thrust, he forces through your battered cervix and unloads in the depths of your <<if canGetPregnant($PC)>>fertile <</if>>womb. <<else>> With one final thrust, he forces it in as deep as he can into you and blows his seed deep in your aching cunt. <</if>> @@ -171,7 +171,7 @@ While returning from a meeting with a prospective investor, an unfortunate wrong He shoves you to the ground, pussy gaping from the size of his shaft and leaking his huge load all over yourself. By the time you loosen your bindings, he is long gone. <br><br> It would be prudent to up security in your arcology. That or take a guard along when you leave the penthouse. Such a thing, happening to you. You can't allow such an indignity to happen again, <<if $PC.vagina == 0>>not that you'll ever get your first time back<<else>>you think to yourself<</if>>, as you try to coax his sperm from your abused pussy. - <<if isPlayerFertile($PC)>> + <<if canGetPregnant($PC)>> For some reason your body feels really satisfied, despite <<if $PC.vagina == 0>>what transpired<<else>>not climaxing<</if>>... Is this what it feels like to be bred by someone so dominant? You should take a pregnancy test right away and make sure he didn't knock you up. <<= knockMeUp($PC, 100, 0, -2, 1)>> <</if>> diff --git a/src/pregmod/reMaleArcologyOwner.tw b/src/pregmod/reMaleArcologyOwner.tw index 05a7efa81b2efb638259641c663b74a81ec912ca..03c05e9e24727b02b396f66c594803279e1f5333 100644 --- a/src/pregmod/reMaleArcologyOwner.tw +++ b/src/pregmod/reMaleArcologyOwner.tw @@ -18,7 +18,7 @@ He strikes a fine balance in conversation with you, firm enough to not overpower <br><<link "Walk past him and out onto an unoccupied balcony">> <<replace "#result">> You walk past him and out onto a balcony. He politely disengages himself and follows, meeting your gaze with a twinkle in his eye. You start talking of nothing of real consequence, but you find that you do have a fair amount to discuss and joke about, since there are oddities to your life that only another slaveowning arcology owner can really understand. You discover that he is very willing to share $PC.refreshment, and you break out some of your best. The party takes notice of your tête-à -tête, but his judgment was obviously correct. Rather than looking down on you, the other prominent guests seem respectfully envious of his access to you. This is still the case even when he starts to get flirty, leaning into you, brushing against you, and more. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> cleared your suite long ago, so when he finally nudges his hip against yours and does not take it away, you take him by the hand and lead him there. He stops you with a hand at the door to the suite and unbuttons his shirt, revealing a triathlete's tanned and sculpted body. As you begin to strip, he embraces you, whispering, "You have no idea how nice this is." It's clear it's been a long time since you've let someone else take the lead, and he sometimes has to snap wrestle you for dominance. He leaves a few hours later with a satisfied expression, giving you a deep kiss on his way out in full public view. @@.green;Your reputation has greatly improved.@@ - <<if isPlayerFertile($PC)>> + <<if canGetPregnant($PC)>> <<= knockMeUp($PC, 60, 0, -4)>> <</if>> <<run repX(5000, "event")>> @@ -101,7 +101,7 @@ He strikes a fine balance in conversation with you, firm enough to not overpower You immediately enlist $assistantName to help you make some hasty preparations, and then send him a message asking him if he'd like to spend a night out with you, as a couple of unremarkable citizens. He glances at you with a curious expression, and you direct him to a side room. He finds you there, changing into the heavy, anonymizing armor of one of your mercenaries; you have a male suit for him, too. Once you're both suited up, you move to show him how to activate the face-obscuring helmet, but you find that he's already got it on and active. "This," he says, "is either the best or the stupidest date idea I have ever heard. Let's fucking do this." You pass a mercenary on your way out onto the club, and he cannot resist giving you a thumbs up, which your fellow arcology owner fortunately fails to notice. You patrol for a while, using internal comms to joke about life as an arcology owner, something he clearly gets to do too infrequently. You don't mind the chance, either. Your mercenaries frequently spend time together off duty, so nobody sees anything unusual about a male and female in mercenary armor sharing a milkshake at a dairy bar, even when they start to engage in increasingly rough public flirting, armor and all. Later, your slaves are obliged to pick up and sort a trail of discarded armor pieces leading from the entry to your penthouse all the way to your suite, which is now emitting the indistinct sounds of very energetic sex. A few hours later, when you're showering up together so he can head back to his domain, he looks at you and says seriously, "That was pretty fun. If things ever go to shit, I wouldn't mind wearing that armor for real." Your mercenaries cannot keep their mouths shut, for once, and the almost unbelievably juicy story of the arcology owners wearing borrowed armor to go on an anonymous date spreads like wildfire. @@.green;Your reputation has greatly improved.@@ <<set $desc = "a flirtatious thank-you note from a male arcology owner of your acquaintance">> <<set $trinkets.push($desc)>> - <<if isPlayerFertile($PC)>> + <<if canGetPregnant($PC)>> <<= knockMeUp($PC, 60, 0, -4)>> <</if>> <<run repX(5000, "event")>> diff --git a/src/pregmod/reMaleCitizenHookup.tw b/src/pregmod/reMaleCitizenHookup.tw index bba31b1efa62ca0fb5b8265d2ee4a84d612f5f3e..fece21d09c58d6f69276b5e41e580cf29222aa25 100644 --- a/src/pregmod/reMaleCitizenHookup.tw +++ b/src/pregmod/reMaleCitizenHookup.tw @@ -338,7 +338,7 @@ He's clearly attracted to you; even the most consummate actor would have difficu <</if>> Sometimes society overlooks that you are a woman and have certain needs, but your lover tonight knows exactly how to treat you. When your guest <<if _FS != "Youth Preferentialist">>is finally spent<<else>>wakes up from against your body<</if>>, he showers, dresses, and leaves discreetly, offering you a proper thank you. This is the kind of thing that @@.green;builds a lasting reputation@@ in the Free Cities. <<run repX(5000, "event")>> - <<if isPlayerFertile($PC)>> + <<if canGetPregnant($PC)>> <<switch _FS>> <<case "Asset Expansionist" "Repopulationist" "Slave Professionalism">> <<= knockMeUp($PC, 100, 0, -2)>> @@ -457,7 +457,7 @@ He's clearly attracted to you; even the most consummate actor would have difficu hot young body <</switch>> is obvious to everyone. The message is clear, and your guest of honor is the center of attention as you take him there in view of the arcology's leading citizens. Naturally, the story percolates, making it clear that there's nothing you won't do to @@.green;further acceptance of _FS principles.@@ - <<if isPlayerFertile($PC)>> + <<if canGetPregnant($PC)>> <<= knockMeUp($PC, 40, 0, -2)>> <</if>> <</replace>> diff --git a/src/pregmod/theCattleRanch.tw b/src/pregmod/theCattleRanch.tw index de615b0e75a14349583088a0ee2a759dd1134844..ec16a51415e2da7ea4a765c2cc8bc95ccb779bc4 100644 --- a/src/pregmod/theCattleRanch.tw +++ b/src/pregmod/theCattleRanch.tw @@ -9,7 +9,7 @@ //The Cattle Ranch is a controversial slave school operating primarily out of Pastoralistic Free Cities. Its business model is to offer the ideal free range dairy cow; one whose tits and belly reach the floor when on all fours. All cattle come optimized for milking, with big breasts and gravid middles. Slave orphans have their heels clipped shortly after birth and are conditioned to believe they are actual livestock, resulting in a mindbreak-like state. Between their wide hips and big butts and their heavy, milky breasts, they are often popular breeding slaves. They rarely display their stock over video call, instead favoring a more hands-on approach. Buyers can visit their local shops to view grazing cattle available for sale. Alternatively, they can watch the calves frolic among their mothers or enjoy the sight of a breeding bull impregnating an empty womb. Cows are also specially trained to respond to spectators banging on the fence; oral awaits if you drop trou for them! <<if $TCR.schoolUpgrade != 0>><br><br>You have endowed <<if $TCR.schoolUpgrade == 1>>a healthy sum of credits to make their breeding bulls available for sale.<<else>>a healthy sum of credits to encourage the sale of heifers.<</if>> As a major benefact<<if $PC.title == 0>>rix<<else>>or<</if>> of the ranch, you also receive a discount on them.<</if>>// -<br><br>The Cattle Ranch parades a choice selection of cows for your viewing pleasure. You're free to do as you please to the slaves, as long as you don't cause lasting harm to them.<<if isPlayerFertile($PC)>> You can't help but notice the number of bulls lining up along the fence sniffing at you.<</if>> +<br><br>The Cattle Ranch parades a choice selection of cows for your viewing pleasure. You're free to do as you please to the slaves, as long as you don't cause lasting harm to them.<<if isFertile($PC) && $PC.preg != -1>> You can't help but notice the number of bulls lining up along the fence sniffing at you.<</if>> <<= generateMarketSlave("TCR")>> <<set $slaveCost = slaveCost($activeSlave)>> diff --git a/src/uncategorized/RESS.tw b/src/uncategorized/RESS.tw index 81ff67f996207c0219a4d2cb775351fd91f0f805..88fb05939963e8e4b403b7b16aea340e629e9324 100644 --- a/src/uncategorized/RESS.tw +++ b/src/uncategorized/RESS.tw @@ -12548,7 +12548,7 @@ brought in to you. This time <<EventNameLink>> has been sent to deliver it. $He <<set $activeSlave.counter.mammary += 3, $mammaryTotal += 3>> <<case "pregnancy">> <<if ($activeSlave.toyHole == "dick" || $sexualOpeness == 1) && canPenetrate($activeSlave) && $PC.vagina != -1>> - <<if isPlayerFertile($PC)>> + <<if canGetPregnant($PC)>> "Plea<<s>>e, can I try to get you pregnant, <<Master>>?" $His eyes are glued to your middle. You could let $him seed you, and you do, enjoying the feeling of $his hot cum jetting into your fertile pussy. <<if canImpreg($PC, $activeSlave)>> <<= knockMeUp($PC, 20, 0, $activeSlave.ID)>> diff --git a/src/uncategorized/newSlaveIntro.tw b/src/uncategorized/newSlaveIntro.tw index 769c5c50d266bcb2aef2539e90f808d2221ae7d0..4da2e2e5bfd87d6055326a0f8672305d05611384 100644 --- a/src/uncategorized/newSlaveIntro.tw +++ b/src/uncategorized/newSlaveIntro.tw @@ -106,7 +106,7 @@ The legalities completed, ''__@@.pink;<<= SlaveFullName($activeSlave)>>@@__'' << staring <<if canSee($activeSlave)>>at the ground<<else>>blankly downwards<</if>> in fear. <<elseif $activeSlave.devotion <= 50>> waiting meekly for orders. -<<elseif canSmell($activeSlave) && $activeSlave.career == "a breeding bull" && isPlayerFertile($PC)>> +<<elseif canSmell($activeSlave) && $activeSlave.career == "a breeding bull" && canGetPregnant($PC)>> sniffing the air and <<if canSee($activeSlave)>>staring<<else>>pointing $his nose<</if>> intently at your crotch. <<elseif $activeSlave.origin == "$He submitted to enslavement to escape the hard life of an old world whore.">> wondering what one of your working <<= $girl>>s can expect. diff --git a/src/uncategorized/persBusiness.tw b/src/uncategorized/persBusiness.tw index f969bff53206f399bf897206d2c5913b6813189a..1b5432153347a9c3fc5d4551632a82dad5d063e1 100644 --- a/src/uncategorized/persBusiness.tw +++ b/src/uncategorized/persBusiness.tw @@ -73,7 +73,7 @@ You focus on finding "dates" this week and earn @@.yellowgreen;<<print cashFormat(Math.trunc(_income*($rep/500)))>>@@ for your body. However, doing such things @@.red;damages your reputation.@@ <<run cashX(Math.trunc(_income*($rep/500)), "personalBusiness")>> <<run repX(($rep*.9) - $rep, "personalBusiness")>> - <<if isPlayerFertile($PC)>> + <<if canGetPregnant($PC)>> <<if $arcologies[0].FSRepopulationFocus != "unset" && random(1,100) > 80>> A horny client offered you an extra @@.yellowgreen;<<print cashFormat(1000)>>@@ for downing some fertility drugs. You're already forgoing birth control, so what harm could an extra baby do? <<run cashX(1000, "personalBusiness")>> diff --git a/src/uncategorized/reputation.tw b/src/uncategorized/reputation.tw index 645afe914f38b7a70d067bc274f622f18e34c445..7b3b9d164b8480ee48aae042728aeb10a044d795 100644 --- a/src/uncategorized/reputation.tw +++ b/src/uncategorized/reputation.tw @@ -501,7 +501,7 @@ _enduringRep = $enduringRep>> <<if $PCSlutContacts == 2>> You are actively starring in pornographic videos. While they are rather exclusive, @@.red;some still leak out to the public,@@ harming your image. <<run repX(-50, "PCactions")>> - <<if isPlayerFertile($PC)>> + <<if canGetPregnant($PC)>> That's not all that leaks out of you, considering all your shoots are rubber free. <<= knockMeUp($PC, 20, 0, -5, 1)>> <</if>> diff --git a/src/uncategorized/saPleaseYou.tw b/src/uncategorized/saPleaseYou.tw index 458a7b3a3062524a8cc27cd69dab12bd7d766339..7dfc748cb3705f9a8efa2e93dc401ded887648b0 100644 --- a/src/uncategorized/saPleaseYou.tw +++ b/src/uncategorized/saPleaseYou.tw @@ -606,7 +606,7 @@ serves you this week. You have to do all the work, unfortunately. <<elseif $slaves[$i].fetish == "mindbroken">> <<if $slaves[$i].career == "a breeding bull">> - <<if isPlayerFertile($PC)>> + <<if canGetPregnant($PC)>> $He spends the week eagerly trying to breed you. You have the sexual energy to take $him <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> <<set _penetrativeUse = random(21,40)>>