Quick Reply
Search this Thread
Test Subject
Original Poster
#1 Old 6th Sep 2024 at 11:44 AM
Default Find gender of unborn sim
I have a simple little script mod that, amongst other things, let's me easily see who, if anyone, in the household is pregnant and with which partner. I would really like to add the gender of the baby to the output but have so far been unable to work out how to get that info. Any help would be greatly appreciated.
Test Subject
#2 Old 20th Jun 2025 at 8:13 PM
Have you tried through the pregnancy tracker i.e something like:
Code:
pregnancy_tracker = pregnant_sim.pregnancy_tracker
baby_gender = pregnancy_tracker.get_pregnancy_data().gender
Back to top