MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Kestrellyn's PregRel compatibility patch

by kestrellyn Posted 20th Nov 2021 at 1:18 AM - Updated 18th Aug 2023 at 10:29 PM by kestrellyn
 
27 Comments / Replies (Who?) - 21 Feedback Posts, 5 Thanks Posts
Thanks are currently OFF: Show Thanks Posts for this thread
Page 1 of 2
Test Subject
THANKS POST
#2 Old 20th Nov 2021 at 8:09 PM
That was really in need of a patch, and I'm really glad you decided to make one!
Scholar
THANKS POST
#3 Old 20th Nov 2021 at 11:25 PM Last edited by Fyren5 : 21st Nov 2021 at 12:01 AM.
Oh my goodness YES thank you so much!! I use my Multi PT mod all the time. Thank you for this update!!!!

Edit: I was wondering if this would fix Multi PT from showing up in the relationship panel after getting a baby bump after an alien abduction? If not that's fine as I've read from BoilingOil on a different thread that it shouldn't be harmful.
Mad Poster
Original Poster
#4 Old 21st Nov 2021 at 3:15 AM
Yes, they showed up there for significant others because of the code that makes them furious, and they showed up there for the pregnant sim because there is code that gives the father positive relationship towards them. Neither of those things should happen with this patch.
Scholar
#5 Old 21st Nov 2021 at 3:41 AM
Quote: Originally posted by kestrellyn
Yes, they showed up there for significant others because of the code that makes them furious, and they showed up there for the pregnant sim because there is code that gives the father positive relationship towards them. Neither of those things should happen with this patch.


That's awesome!! Sorry for asking such a silly question, it was probably obvious. I'm totally over the moon right now and am super thankful for you sharing this updated version! :D
Lab Assistant
#6 Old 21st Nov 2021 at 3:47 AM
Hi, I have a couple of questions about this patch. For this section:

"If none of the pregnant sim's significant others could logically have caused the pregnancy, they do not need to pass a logic check to find out that the baby isn't theirs. The original hack only checks if the two sims have woohooed, I have added checks for gender, RCC toggled/untoggled status, RCC alien status, and the RCC global alien token. This won't work with PregForAllGenders, use the RCC and set the global alien token instead"

I'm an inteen user and so I use the same sex pregnancy flavour pack, meaning my same sex couples can get pregnant via Try for Baby. Would this patch recognise both parents or would there be issues with this?

Also, regarding this: "Note that if you end the pregnancy with the Sim Blender, PregRel will stop working for that particular sim for at least the next pregnancy." - does that include all methods to end pregnancy, eg. Sim Manipulator, Inteen bio clock, miscarriage?

Thanks in advance!
Mad Poster
Original Poster
#7 Old 21st Nov 2021 at 5:09 AM
If you want the effects of same-sex pregnancy for all, you should install the RCC and set the global alien token. Other methods of setting this won't work with this patch. RCC should be compatible with InTeen, I believe, you just have to download one of the packages that allows teen pregnancy and load it last. There just isn't a way of detecting other hacks that allow for same-sex pregnancy.

I only know for sure that the Sim Blender makes it stop working, other cheat objects/InTeen miscarriage might not have the effect. You should test in a test hood if you want to be sure. If you used the original PregRel and it worked with those methods, than this will also work with those methods.
Instructor
THANKS POST
#8 Old 21st Nov 2021 at 10:04 PM
Thank you so much for this!
Test Subject
#9 Old 17th Jun 2022 at 11:42 PM
Hi, I have an error message that is related to your mod and I think I may know exactly why. It involves my pregnant teen and the What Caused It program says the problem is the BHAV: 0x1112 behavior titled: Change Perents Relationship. The word parents is misspelled in the mod and I think this is what is causing the glitching. This is the first time since using your mod that I got an unmarried teen pregnant so this is the first time I encountered this glitch.
Attached files:
File Type: txt  ObjectError_N001_t66813.txt (62.8 KB, 10 downloads)
Mad Poster
Original Poster
#10 Old 18th Jun 2022 at 1:10 AM
I don't know what you mean by it being misspelled, it seems fine to me and anyway the names of the BHAVs are just for documentation and don't actually have any effect on how the mod works.

To confirm, I'm guessing this is for a pregnant sim that only has one parent?
Test Subject
#11 Old 18th Jun 2022 at 1:41 AM
Quote: Originally posted by kestrellyn
I don't know what you mean by it being misspelled, it seems fine to me and anyway the names of the BHAVs are just for documentation and don't actually have any effect on how the mod works.

To confirm, I'm guessing this is for a pregnant sim that only has one parent?

Thank you so much for the quick reply. Yes the sim who is pregnant does have only one parent.
Mad Poster
Original Poster
#12 Old 18th Jun 2022 at 2:01 AM
Ok, I think the latest version should be fixed now. Let me know if it's working.
Test Subject
#13 Old 18th Jun 2022 at 6:42 PM
Quote: Originally posted by kestrellyn
Ok, I think the latest version should be fixed now. Let me know if it's working.

I just tested it and it works like a charm. Thank you very much!
Test Subject
THANKS POST
#14 Old 19th Jul 2023 at 8:57 PM
Thank you so much for this mod Kestrellyn!
Do you if i can use your patch with the most recent version of CJH's Pregnancy Controller?here:https://app.box.com/s/etvzpwdo8c1q1grphmlz8wdlveob8w1w
Mad Poster
Original Poster
#15 Old 20th Jul 2023 at 5:49 AM
Yes, the Wild Child version should work with that.
Test Subject
#16 Old 20th Jul 2023 at 9:36 AM
Quote: Originally posted by kestrellyn
Yes, the Wild Child version should work with that.

Thank you very much Kestrellyn!
Mad Poster
#17 Old 18th Aug 2023 at 10:45 AM
Oh dear, this didn't work as expected. I had a male Servo married to a male elder Sim. I got the male elder Sim alien-pregnant with BoilingOil's multi-PTs. I got a BOING and the Servo is now angry.

To test it wasn't a load order issue, I put both hacks in the same folder in /Downloads/zz.Hacks/zzz.Pregrel/

A few nonstandard things that may have caused failure:
- The pregnant Sim was an elder, who normally can't get pregnant.
- The angry sim was a Servo, who normally can't impregnate.
- Both Sims are male.
- I used Sim Manipulator to impregnate the elder Sim.


I'm secretly a Bulbasaur. | Formerly known as ihatemandatoryregister

Looking for SimWardrobe's mods? | Or Dizzy's? | Faiuwle/rufio's too! | Simlogical Archives | smorbie1's Chris Hatch archives
Mad Poster
#18 Old 18th Aug 2023 at 12:11 PM
So I pulled both of them temporarily and... it still happened. Some googling showed that the relationship changes are baked-into CH's alternate pregnancy controller itself. Can this patch account for that?

I'm secretly a Bulbasaur. | Formerly known as ihatemandatoryregister

Looking for SimWardrobe's mods? | Or Dizzy's? | Faiuwle/rufio's too! | Simlogical Archives | smorbie1's Chris Hatch archives
Mad Poster
Original Poster
#19 Old 18th Aug 2023 at 12:20 PM
The alternate pregnancy controller is a completely separate thing than the EA pregnancy controller and thus modifications to the EA one don't affect it, yes. As just recently stated in this thread, the Wild Child version will also modify the alternate pregnancy controller.

Also, the only thing that would prevent the reaction in this case is that the father was a pollination technician.
Mad Poster
#20 Old 18th Aug 2023 at 9:57 PM
Okay, I'll try the WildChild version. I temporarily got around the issue by severing the marriage relationship just before accelerating the preganncy and re-attaching it once the kid was out. Thanks!

I'm secretly a Bulbasaur. | Formerly known as ihatemandatoryregister

Looking for SimWardrobe's mods? | Or Dizzy's? | Faiuwle/rufio's too! | Simlogical Archives | smorbie1's Chris Hatch archives
Test Subject
THANKS POST
#21 Old 21st Sep 2023 at 9:40 AM
Thank you sooooo MUCH for creating all these mods! :D You're an absolute treasure to the sims community and I'm so grateful you decided to share these mods with us (⌒ω⌒) Wish ya all the best!
Mad Poster
#22 Old 9th Oct 2023 at 5:23 PM
Question: Which version would I want to use with Alternate Pregnancy Controller Lite? I'd assume PregRel + the main version.

Quote:
This mod does exactly two things:

adds a possibility of miscarriage (if you want to turn this off, change the three % miscarriage values to 0. also note, these “percents” are actually 10 times the percent, so the default values of 50, 100, and 200 actually give percentages of 5%, 10%, and 20%. Also, even if the possibility is 1000/100% it’s not a guarantee of miscarriage, the mod is also checking the sim’s motives)

stops pregnancy controllers from deleting themselves just because the associated sim is not an adult

I'm secretly a Bulbasaur. | Formerly known as ihatemandatoryregister

Looking for SimWardrobe's mods? | Or Dizzy's? | Faiuwle/rufio's too! | Simlogical Archives | smorbie1's Chris Hatch archives
Mad Poster
Original Poster
#23 Old 9th Oct 2023 at 8:51 PM
Yes, that will work with the main version of the hack.
Mad Poster
#24 Old 11th Oct 2023 at 1:59 PM
Out of curiosity, how are multi-PTs detected?

I'm secretly a Bulbasaur. | Formerly known as ihatemandatoryregister

Looking for SimWardrobe's mods? | Or Dizzy's? | Faiuwle/rufio's too! | Simlogical Archives | smorbie1's Chris Hatch archives
Mad Poster
Original Poster
#25 Old 11th Oct 2023 at 9:28 PM
It checks if the father is a living sim in the Default household. Ordinarily the only sims like that that can get anyone pregnant are PTs.
Page 1 of 2