CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Mod Ren'Py Abandoned Lab Rats 2 Pregnancy Mod

dalzomo

Active Member
Aug 7, 2016
914
763
I have a few things to report along the bug or at least unintended gameplay variety.

Apparently chain-impregnating someone is possible. I don't know how you do the roll for impregnation - like if you roll immediately and then put a timer on the notification or if you put a timer on the roll and multiple ones can queue up before any of them are resolved, but I got "texts" from Jennifer notifying me of the good news after she was already preggers. I suspect it even accelerated her pregnancy. I haven't researched any of the traits related to impregnation yet.

Can I assume all the "pill-busting" and fertility traits are from this mod? There appear to be several of them. From their naming convention and implied in their descriptions, at least 3 of them should be researched in a chain and require some gameplay to unlock? I read one of them to mean I had to impregnate someone with the first ("untested", iirc) fertility trait before the next would unlock, then again with that one for the third. There also appear to be multiple tiers of some of the others, and the issue I'm reporting here is that I saw many of them all at once, before I'd unlocked the tier that requires Steph to be Int 5. I could skip to the one whose value was +$69, in other words.
 

BraveTraveler

Newbie
Feb 27, 2020
42
67
I've taken the labels for the vaginal cowgirl positions and done the same thing to them.
I have tried to preserve as much of the original code or dialog as possible and just use it in different situations.
The attached file should work and is relatively "finished". It includes the earlier changes.
I also attach an rpy that has couple of scenes in relation to condom removal by the girl in cowgirl and reverse cowgirl positions.
I'm happy for you to use or not anything that you want.
Sorry for keeping you waiting for a while, but I'm back with a new version that finally includes your reworked scenes! I went through your files line by line and implemented most of it (beside a few modifications). Let me know if you specifically have any input on how I handled your content or the way I credit you!

Rather than just upping the required obedience level, I suggest that asking about a girl cycle remains locked until after having (vaginal) sex with said girl. Because it seems like a much more reasonable thing to do after doing so. It makes more sense for a girl to talk about having (safe)sex with the MC if a sexual relationship has been established.
That made so much sense that I looked into the way on how to implement something like that - and apparently the new taboo system makes it very easy to check that! So with today's version, the pregnancy talk option only unlocks after having vaginal sex with the girl in addition to the existing requirements (love, obedience or her being your girlfriend).

Apparently chain-impregnating someone is possible. (...) the issue I'm reporting here is that I saw many of them all at once, before I'd unlocked the tier that requires Steph to be Int 5. I could skip to the one whose value was +$69, in other words.
Thanks for pointing that out, I fixed that in the new version! You now have to properly unlock the fertility serum trait as intended.



As general information, here's the changelog for the new version:
You don't have permission to view the spoiler content. Log in or register now.

Again, a shout-out to Badrabbit for his effort of contributing great content to this mod! Thanks a ton :)

 

StaticSheep

Newbie
Jan 6, 2018
62
57
That made so much sense that I looked into the way on how to implement something like that - and apparently the new taboo system makes it very easy to check that! So with today's version, the pregnancy talk option only unlocks after having vaginal sex with the girl in addition to the existing requirements (love, obedience or her being your girlfriend).
I have one question, the option now requires 'condomless sex and trust', what is trust? I've made a girl my girlfriend and maximized love, sluttiness, and obedience (with cheats), but it remains locked.
 
  • Like
Reactions: BraveTraveler

BraveTraveler

Newbie
Feb 27, 2020
42
67
I have one question, the option now requires 'condomless sex and trust', what is trust? I've made a girl my girlfriend and maximized love, sluttiness, and obedience (with cheats), but it remains locked.
With 'trust' I just meant high love/obedience or a comination of them both, as you rightly suspected.

But thanks to your comment I found a bug I introduced in yesterdays version 0.27.1.2 that made it impossible in some cases to pass the taboo check for the pregnancy talk option, darn! In other words, you did nothing wrong, however I did. Thanks for pointing it out so quickly!


I strongly recommend everyone who installed yesterdays mod version
to update to the v0.27.1.3 I just put online where this crucial bug is fixed!

 
Last edited:
  • Like
Reactions: StaticSheep

StaticSheep

Newbie
Jan 6, 2018
62
57
I still had girls that refused talk about birth control.
After a long session of code digging I managed to find out why.
In the bug fix mod in the 'check_position_willingness_bugfix' function, if a girl's sluttiness is high enough it skips 'condom_ask()' which calls the 'the_person.break_taboo()' function.

Python:
            if the_person.effective_sluttiness() < the_person.get_no_condom_threshold() + 50:
                # she is not slutty enough and we have the condom dialog
                call condom_ask(the_person) from _call_condom_ask_bugfix
                $ willing = _return
                $ use_condom = mc.condom
            else:
                # she is so slutty we are going to fuck her raw (we don't care anymore)
                if the_position.skill_tag == "Vaginal":
                    mc.name "I'm going to fuck your little pussy raw."
                else:
                    mc.name "I'm going to fuck your slutty asshole raw."
Note that in the 'else' branch 'condom_ask(the_person)' is not called (by design) and thus 'the_person.break_taboo("condomless_sex")' is also never called.

I know this isn't your(BraveTraveler) problem, but I just need to point this out.

On a programming note: this if statement here should not be in the 'check_position_willingness' function but in the 'condom_ask' function as that function determines condom use.

On gameplay note: this code takes away the players' ability to chose to put on a condom. Why minimize player agency without good reason.

Anyway, this needs to be changed in the bug fix mod or you need to override that function.
 
  • Like
Reactions: BraveTraveler

StaticSheep

Newbie
Jan 6, 2018
62
57
In PregoSexLabelOverride.rpy lines 1335 and 1389
Python:
call cum_cowgirl_int from _call_CG1A
should be
Python:
call cum_cowgirl_int(the_girl) from _call_CG1A
and lines 1335, 1343, 1391 and 1401
Python:
call cum_cowgirl_ext from _call_CG1A
should be
Python:
call cum_cowgirl_ext(the_girl) from _call_CG1A
modified file attached

And I know this is not part of the mod, but fuck it, apparently the way I decided to spend my time during the pandemic lockdown is bug fixing a porn game!

in mom_personality.rpy there is a typo on line 653

Python:
the_person.cha "Aww. You're too sweet. Okay then, you can do whatever you'd like."
Python:
the_person.char "Aww. You're too sweet. Okay then, you can do whatever you'd like."
 

tkwas

Newbie
Sep 4, 2019
68
55
I encountered some others bugs:
1) Gaining multiple times the same sort of serum screenshot0005.png
But i don't know if this was because i cheat on the tier unlocking.

2) Cumming more than once in the fertile girl is creating a bug:
1587890505302.png

But the mode is very good and as a novice modder i'm proud of the intensity of this backup for the orginal content developers.
 

Barrett74

Member
May 13, 2018
369
116
getting multiple errors, also everything from still cant ask them about birth control which i think that is still being worked on, something about the prego mod or something should exist but doesnt. it now doesnt recognize when i have slave collor on someone. (example have collar on sara, but under her options it says put collar on sara) it now no longer recognizes that i already have someone appointed to the hr director position, so therefore doesnt do the hr meetings. and another is something about the advanced time override
 
Last edited:

StaticSheep

Newbie
Jan 6, 2018
62
57
getting multiple errors, also everything from still cant ask them about birth control which i think that is still being worked on, something about the prego mod or something should exist but doesnt. it now doesnt recognize when i have slave collor on someone. (example have collar on sara, but under her options it says put collar on sara) it now no longer recognizes that i already have someone appointed to the hr director position, so therefore doesnt do the hr meetings. and another is something about the advanced time override
If you don't tell what the errors said, then we can't fix them.
As for your other problems they could've been caused by number of things. My best guess is that you updated or installed a mod and then loaded a save game that was made prior to the update/install, causing instability do to minor incompatibility.
 

Barrett74

Member
May 13, 2018
369
116
this is one i cant seem to get past cause it just keeps causing more errors so to speak, i downloaded the sex override that you presented and went off a save i already had.
 

StaticSheep

Newbie
Jan 6, 2018
62
57
i downloaded the sex override that you presented
I assume you mean the mods mentioned in original post in this thread.
These are mods made by others. https://f95zone.to/threads/lab-rats-2-mods.32881/
The errors in the log seem to be from those mods.
and went off a save i already had.
Yeah, I figured that would be the case. I suggest starting with a new game, maybe even do a clean reinstall of game and then the mods. The previously mentioned mods also have cheats you can use to speed things up when starting from scratch.
 

BraveTraveler

Newbie
Feb 27, 2020
42
67
I still had girls that refused talk about birth control.
After a long session of code digging I managed to find out why.
In the bug fix mod in the 'check_position_willingness_bugfix' function, if a girl's sluttiness is high enough it skips 'condom_ask()' which calls the 'the_person.break_taboo()' function.

Python:
            if the_person.effective_sluttiness() < the_person.get_no_condom_threshold() + 50:
                # she is not slutty enough and we have the condom dialog
                call condom_ask(the_person) from _call_condom_ask_bugfix
                $ willing = _return
                $ use_condom = mc.condom
            else:
                # she is so slutty we are going to fuck her raw (we don't care anymore)
                if the_position.skill_tag == "Vaginal":
                    mc.name "I'm going to fuck your little pussy raw."
                else:
                    mc.name "I'm going to fuck your slutty asshole raw."
Note that in the 'else' branch 'condom_ask(the_person)' is not called (by design) and thus 'the_person.break_taboo("condomless_sex")' is also never called.

I know this isn't your(BraveTraveler) problem, but I just need to point this out.

On a programming note: this if statement here should not be in the 'check_position_willingness' function but in the 'condom_ask' function as that function determines condom use.

On gameplay note: this code takes away the players' ability to chose to put on a condom. Why minimize player agency without good reason.

Anyway, this needs to be changed in the bug fix mod or you need to override that function.
Thank you very much for your overall help, it is much appreciated!

I will look into the skipping of the condom_ask label - but as a workaround for now I changed the checked taboo of the pregnancy talk requirement from condomless_sex to vaginal_sex which should work more consistently (I hope).

The missing 'the_person' arguments are now added as well, thanks for pointing them out and giving helpful advice in the thread :)

I encountered some others bugs:
1) Gaining multiple times the same sort of serum View attachment 633338
But i don't know if this was because i cheat on the tier unlocking.

2) Cumming more than once in the fertile girl is creating a bug:
View attachment 633339

But the mode is very good and as a novice modder i'm proud of the intensity of this backup for the orginal content developers.
Thanks for pointing out that issue!
I looked into the serum code and hopefully fixed the cause of the error, although I can't say for sure right now as serum-related testing takes some time.

For now at least I did not run into the second error after some quick testing.


Version with the changes I stated above!
You don't have permission to view the spoiler content. Log in or register now.
 

StaticSheep

Newbie
Jan 6, 2018
62
57
In function
outro_cowgirl_pm(the_girl, the_location, the_object):
and
outro_SB_reverse_cowgirl_pm(the_girl, the_location, the_object):
there is this piece of code
Python:
        menu:
            "Pull her down and cum inside her.":
                "You reach up and grab [the_girl.possessive_title] by the hips. With one confident pull she plunges back onto your cock, gasping with pleasure."
                "The feeling of her warm, wet pussy sliding down and engulfing your cock again pushes you over the edge. You pull [the_girl.title] tight against you and unload inside of her."
                the_girl.char "Ah! Just... Just this once!"
                $ the_girl.call_dialogue("cum_vagina")
                $ the_girl.change_obedience(3)
                "You give a few half-hearted pumps when you're done, then tap [the_girl.title] on the ass. She slides off of your dick and collapses beside you."
            "Let her pull off and cum on her ass.":
                $ wordchoice3 = get_body_adjective(the_girl)
                "You stay silent. [the_girl.possessive_title] waits another second, as if waiting to be convinced, then pulls off of your cock."
                "She grinds the lips of her pussy against your shaft as you climax. You fire your hot load over her [wordchoice3]ass."
                if the_position == SB_reverse_cowgirl:
                    $ the_girl.cum_on_ass()
                    $ SB_reverse_cowgirl.redraw_scene(the_girl)
                else:
                    $ the_girl.cum_on_stomach()
                    $ cowgirl.redraw_scene(the_girl)
                the_girl.char "Whew, that was close..."
                "She rolls off and lies next to you on the [the_object.name]."
in the "Pull her down and cum inside her.": branch of the code $ the_girl.cum_in_vagina() is not called, which I believe this mod uses to roll pregnancy odds.

The code is nearly identical in both functions. It's mostly just the text that's different. I assume code was copied and then the text was altered. It even checks which position is being used if the_position == SB_reverse_cowgirl: even tho the function names suggest they are specifically used in one position only.
 
  • Like
Reactions: BraveTraveler

BraveTraveler

Newbie
Feb 27, 2020
42
67
In function
outro_cowgirl_pm(the_girl, the_location, the_object):
and
outro_SB_reverse_cowgirl_pm(the_girl, the_location, the_object):
there is this piece of code
Python:
        menu:
            "Pull her down and cum inside her.":
                "You reach up and grab [the_girl.possessive_title] by the hips. With one confident pull she plunges back onto your cock, gasping with pleasure."
                "The feeling of her warm, wet pussy sliding down and engulfing your cock again pushes you over the edge. You pull [the_girl.title] tight against you and unload inside of her."
                the_girl.char "Ah! Just... Just this once!"
                $ the_girl.call_dialogue("cum_vagina")
                $ the_girl.change_obedience(3)
                "You give a few half-hearted pumps when you're done, then tap [the_girl.title] on the ass. She slides off of your dick and collapses beside you."
            "Let her pull off and cum on her ass.":
                $ wordchoice3 = get_body_adjective(the_girl)
                "You stay silent. [the_girl.possessive_title] waits another second, as if waiting to be convinced, then pulls off of your cock."
                "She grinds the lips of her pussy against your shaft as you climax. You fire your hot load over her [wordchoice3]ass."
                if the_position == SB_reverse_cowgirl:
                    $ the_girl.cum_on_ass()
                    $ SB_reverse_cowgirl.redraw_scene(the_girl)
                else:
                    $ the_girl.cum_on_stomach()
                    $ cowgirl.redraw_scene(the_girl)
                the_girl.char "Whew, that was close..."
                "She rolls off and lies next to you on the [the_object.name]."
in the "Pull her down and cum inside her.": branch of the code $ the_girl.cum_in_vagina() is not called, which I believe this mod uses to roll pregnancy odds.

The code is nearly identical in both functions. It's mostly just the text that's different. I assume code was copied and then the text was altered. It even checks which position is being used if the_position == SB_reverse_cowgirl: even tho the function names suggest they are specifically used in one position only.
Thanks for catching that, you are right, the mod extends the original cum_in_vagina() function to add the check for impregnation.
I must have overlooked it and then copied the slip-up to the other label like you guessed- I silently included the fix just now as this is rather tiny change in code (which however causes significant unexpected behavior in gameplay).

I'll take a closer look at some of the position labels again later, to remove stuff like the remains of the copy-pasting and just to polish them a bit.
 

AdrianWhite666

New Member
Apr 4, 2019
5
1
Ok, I'm having some issues getting it to run properly. I've downloaded the correct files (the ones listed in the Installation instructions), installed them correctly (the program booted up just fine after I installed the mods and the bugfixes), but when I install the pregnancy mod, this is what I get:
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/PregoSexLabelOverride.rpy", line 1837, in script
init 5 python:
File "game/PregoSexLabelOverride.rpy", line 1839, in <module>
SB_reverse_cowgirl.scenes.append("scene_SB_reverse_cowgirl_condom")
NameError: name 'SB_reverse_cowgirl' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/PregoSexLabelOverride.rpy", line 1837, in script
init 5 python:
File "/private/var/folders/hd/5ftblmgd53jgt8lw5sy78zt80000gn/T/AppTranslocation/FA5A51ED-50A9-44D8-8459-8A5DD841B77F/d/Lab_Rats_2.app/Contents/Resources/autorun/renpy/ast.py", line 914, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/private/var/folders/hd/5ftblmgd53jgt8lw5sy78zt80000gn/T/AppTranslocation/FA5A51ED-50A9-44D8-8459-8A5DD841B77F/d/Lab_Rats_2.app/Contents/Resources/autorun/renpy/python.py", line 2028, in py_exec_bytecode
exec bytecode in globals, locals
File "game/PregoSexLabelOverride.rpy", line 1839, in <module>
SB_reverse_cowgirl.scenes.append("scene_SB_reverse_cowgirl_condom")
NameError: name 'SB_reverse_cowgirl' is not defined

Darwin-19.4.0-x86_64-i386-64bit
Ren'Py 7.3.5.606
Lab Rats 2 - Down to Business v0.27.1
Tue May 5 02:25:57 2020
I'm obviously screwing something up, but I'm really not sure what.
 

BraveTraveler

Newbie
Feb 27, 2020
42
67
Ok, I'm having some issues getting it to run properly. I've downloaded the correct files (the ones listed in the Installation instructions), installed them correctly (the program booted up just fine after I installed the mods and the bugfixes), but when I install the pregnancy mod, this is what I get:


I'm obviously screwing something up, but I'm really not sure what.
Are you sure that the lr2mods are installed correctly?
If they are, there should be a Reverse_Cowgirl.rpy in \Lab_Rats_2-v0.27.1-pc\game\Mods\Position\ - the exception you get implies that this file is missing (or not loaded properly).

So I'd try to install the lr2mod files again by double checking that the extracted 'Mods' folder is inside your 'game' folder (so the finished structure looks like ...\Lab_Rats_2-v0.27.1-pc\game\Mods\, that way it should hopefully work!
 

AdrianWhite666

New Member
Apr 4, 2019
5
1
Are you sure that the lr2mods are installed correctly?
If they are, there should be a Reverse_Cowgirl.rpy in \Lab_Rats_2-v0.27.1-pc\game\Mods\Position\ - the exception you get implies that this file is missing (or not loaded properly).

So I'd try to install the lr2mod files again by double checking that the extracted 'Mods' folder is inside your 'game' folder (so the finished structure looks like ...\Lab_Rats_2-v0.27.1-pc\game\Mods\, that way it should hopefully work!
Yep, that's what I'd screwed up. Everything seems to be working now. Thanks!
 
  • Like
Reactions: BraveTraveler

BraveTraveler

Newbie
Feb 27, 2020
42
67
BraveTraveler Hey, I just wanted to reach out and let you know that something in one of our recent updates has made the LR2mod incompatible with this one. I'm really sorry I don't have the time right now to sit down and troubleshoot what broke it, but it appears that menus when you talk to girls have all the correct buttons but they are completely blank.
Thanks for the heads up, it is much appreciated. I'll look into it and see if I can find the cause of this issue!