RimWorld

RimWorld

AlternateFertility
56 Comments
wrobell 21 Jul @ 9:35am 
Hi, I think I found a bug with hermaphrodites:
1. From the perspective of the child, everything *seems* to be ok, both parents show up either as two mothers or mother and father, depending on who did the birthing.
2. From the perspective of the other, non herm parent everything also seems ok.
3. When the herm is the one getting pregnant, child is correctly showing up as daughter/son and the other parent is the Father.
4. When the herm is the one taking the role of a 'father', the child shows up as 'Kin' instead of being a daughter/son. The other parent shows up correctly as the Mother.
5. When I used PawnEditor to remove relationship from the child, it was gone from both as expected. When I tried adding the herm as the Mother I got a warning that they are already a 'father' - and when I added the Mother relationship, it went back to being 'Kin' from the perspective of the herm.
eth0net  [author] 21 Jul @ 9:30am 
@Tyrant no worries, it happens! RimWorld code is so misleading sometimes... I might see if I can find a way to offer it as possible pawn genes though
eth0net  [author] 21 Jul @ 9:29am 
Oh man thanks for pointing that out! I'll update the description and settings ^^
Emily 21 Jul @ 8:49am 
@Tyrant Yeah, they're not always very obvious.

I think in order for them to get added to pawns, you'd either need to patch the XenotypeDefs to add the genes, or patch the pawn generation in C#, which would probably be better for mod compatibility.
Tyrant 21 Jul @ 8:36am 
@Emily Well, that's frustrating. Yet another misleading XML key, it seems.

@eth0net Apologies, you'll need to adjust this mod's workshop page and the SettingsMenuDef.xml file to reflect that this affects whether they can appear in randomly generated genepacks. My bad.
Emily 21 Jul @ 8:17am 
Am I correct in thinking that this only affects Genepack spawning, but not pawn generation? It didn't seem to affect pawngen, at least in my testing. If that's intentional, then disregard this comment!

As far as I can tell, "canGenerateInGeneSet" is only used by the genepack code (GeneDef.canGenerateInGeneSet -> Geneset.CanAddGeneDuringGeneration(GeneDef) -> GeneUtility.GenerateGeneSet(int) -> Genepack.PostMake() )
Emily 21 Jul @ 7:54am 
Oh nice! I was using Genetic Drift to spawn the genes, but I'll try this out!
eth0net  [author] 21 Jul @ 5:31am 
Sorry for the delay, but the XML Extensions settings from Tyrant have been added! It's purely optional and not required to use the mod :) I modified it to ensure no warnings or errors occur without it.
eth0net  [author] 19 Jul @ 8:42am 
Oh great suggestion, thank you!
Emily 18 Jul @ 8:19am 
Hey, great mod! Might I suggest changing the localisation for the Pregnant hediff to change the "Father" part into "Parent"?
eth0net  [author] 14 Jul @ 11:32am 
I haven't had chance to patch that one yet, but it's on my list :)
Sarus 14 Jul @ 7:31am 
If you mean Intimacy - A Lovin Expansion, far as i know not yet, so the genes from this do not register the lovin/seduce actions as of yet
Deathguard112 14 Jul @ 6:00am 
Hello, is this compatible with intimacy? Or is that going to be like a separate mod patch? Thank you for any answers!
eth0net  [author] 13 Jul @ 9:34am 
Peak RimWorld honestly
Guedez 13 Jul @ 9:33am 
Time for hand holding egg laying cannibal tunnel cat girls
eth0net  [author] 13 Jul @ 9:09am 
Yeah they will ^^
Guedez 13 Jul @ 5:37am 
So if I make a race of "Female Only" "Potendites" they will be able to impregnate one another?
Tyrant 9 Jul @ 9:50pm 
I've made a small contribution, check the email you have listed on your GitHub profile, please.
Tyrant 9 Jul @ 5:30am 
Thanks a ton for the new genes (still really looking forward to the "mutual" ones). Would you mind listing which genes take precedence whenever there's a "conflict"? (I'm personally hoping Reflectite trumps Potendite.)
Sarus 8 Jul @ 4:41am 
Hah, tho these days i rarely actually have animal tames, or the ones i do don't breed in captivity anyway, but wonder how it looks to the people, they probably have some horrified expression when they watch the [insert creature race here] do some eldritch thing to self impregnate
:lunar2019crylaughingpig:
eth0net  [author] 8 Jul @ 1:48am 
It was in the JobDriver_Mate code which checks the gender of each pawn in the pair and attempts to make a valid mating pair, but the game calls it with the pawn itself as well so it gets the opportunity to impregnate itself (no idea why lol) but normally the check fails, however my harmony patch was checking true instead of false and allowed the females to self-impregnate and I think prevented males from impregnating them entirely xD
Sarus 7 Jul @ 11:36pm 
Its funny with that bug with female tames, had a rescue join from a pod drop, and moment it got to base it fertilised itself :lunar2019crylaughingpig: , makes you wonder what code line is doing that, to female animal tames only? :lunar2020thinkingtiger:
RynnEver 7 Jul @ 9:42pm 
Didn't get to play much RimWorld today, but I ran nearly a full quadrum on the same colony I used to test the last patch and didn't have any female animals self-impregnate when before it always happened within a day or two, so I think it's fixed! Will test again tomorrow, thanks again for not giving up xD
PHCGamer 7 Jul @ 1:26pm 
Yes, that's what I mean by 'reverse potendite.'
eth0net  [author] 7 Jul @ 8:06am 
I'll look at adding some more variants as well since they're all amazing lmao

@Tyrant Sorry for the misunderstanding, I'll add a reflector gene! The mutual impregnation is also amazing and ties in nicely to it.

@PHCGamer thanks for the note, publisher plus was playing up but I'll make sure they're gone in the next upload. As for the reverse potendite, you mean the holder of the gene can always get pregnant regardless of the partner?

@RynnEver I will find it and exterminate it lol

@Saurus I will take a look, it must not use the base game pairing code so likely just another harmony patch
eth0net  [author] 7 Jul @ 8:01am 
Damn more to track down with the female self-impregnation then... I will find that bug and kill it xD
Sarus 7 Jul @ 3:15am 
Would it be possible to make this mod work with "Intimacy - A Lovin' Expansion" ?
did a test with the genes and the seducing/lovin initiated by that mods mechanics - nothing happens
Aside from that mod, everything all works good :)
{Cept the strange nanobot plague going on with female tames for some reason :P}
RynnEver 6 Jul @ 6:06pm 
First off, thank you for continuing to work on this mod, I appreciate you!

Unfortunately, I'm still getting the self-impregnation bug in 1.6 (did not test in 1.5). I did make sure the mod was updated, I see the new Potendite gene, but when testing my tame female hare and horse both got themselves pregnant with the same yellow 'Executing WaitWith toil but otherPawn is the same as toil.actor' debug log message.
Tyrant 6 Jul @ 5:24pm 
Another silly idea: two different "mutual impregnation" genes. The first variant, the pawn can't impregnate others on their own, but when the pawn does get pregnant, the one who bred the pawn gets pregnant as well. The second variant, the pawn *can* impregnate others and will get pregnant whenever successfully breeding another pawn.
Tyrant 6 Jul @ 5:05pm 
Awesome. That's close to what I was suggesting (as silly as it is), the idea being the pawn "reflects" pregnancies back at the breeder. If the other pawn isn't virile then there'd be nothing to "reflect".
PHCGamer 6 Jul @ 4:12pm 
1. You left the zip and idea files in the update.
2. Inverse Potendite gene when? (To complete the set)
eth0net  [author] 6 Jul @ 3:22pm 
Potendite is now included! Capable of impregnating ANYONE but not getting pregnant, normally.
Tyrant 6 Jul @ 12:47pm 
@eth0net Looking forward to it.
Sarus 6 Jul @ 12:03pm 
It works! both partners can carry at the same time! and works with that charmweaver gene!
eth0net is now a Legendary Master! :lunar2019laughingpig:
Sarus 6 Jul @ 11:43am 
Time to test if this works with the charmweavers 3 pregnancy gene lol
eth0net  [author] 6 Jul @ 10:07am 
@Tyrant that's actually amazing I might make that
PHCGamer 6 Jul @ 6:55am 
FINALLY
eth0net  [author] 6 Jul @ 5:56am 
Just uploading the self-impregnation fix for 1.5 and 1.6
PHCGamer 5 Jul @ 3:36pm 
Guess I'll still leave the mod turned off, then.
RynnEver 5 Jul @ 2:17pm 
Only did a quick test but it all seems to be working in 1.6! Only problem is the female tame animal self-impregnation bug is still there.
Tyrant 5 Jul @ 1:37pm 
Now we need a gene that makes it so you can't get pregnant but you can impregnate anyone capable of impregnating others.

The UNO Reverse card of impregnation genes.
Tobyguilmon 4 Jun @ 4:41pm 
Nice, using the mod. Is it still being worked on?
PHCGamer 12 May @ 11:09am 
Can confirm, have the issue of female animals self-impregnating with this mod
Flesh Forge 9 Mar @ 8:51am 
This was recommended by the author of Way Better Romance, whenever you feel like you're beyond the Alpha stage I look forward to switching to it. Thanks!
ShyGuySpirit 7 Feb @ 7:25am 
Can't wait to swap to this when it is fully released or goes into beta. I currently use a mod that your other mod is no longer compatible.
RynnEver 3 Feb @ 9:14pm 
Same as BestNameExisting. When I have this installed tamed female animals will mate with themselves.
N/A 30 Dec, 2024 @ 9:35pm 
did some more testing.
mH & fH = mH pregnant
fH & m = fH pregnant
mA & f = f pregnant
m & fG = fG pregnant
mG & fA = mG pregnant

mG & m did not seem to work
fA & f did not see to work

this was all done with 500% or 1000% fertility on pawns aged 24 using the Manual Lovin' mod. not exhaustive and i can't figure out any specifics but i haven't tried to look at the code.
N/A 29 Dec, 2024 @ 3:47pm 
i've done some testing, and apart from a male hermaphrodite getting impregnated by a female hermaphrodite, i haven't seen any thing that i wouldn't expect (ie. male whatever impregnating female whatever). when it says "capable of", does that mean within "normal" rimworld parameters? ie. can a female androdite theoretically impregnate anything, or only anything capable of getting pregnant?
BestNameExisting 21 Nov, 2024 @ 2:41am 
I'm getting a very strange bug that seems to be from this mod (or some incompatibility with another), where tamed female animals mate with themselves. I tried spawning a bunch of pregnancy capable animals with and without this mod, and it seems to only happen with this enabled, although i didn't try swapping out any other particular mods. It also causes some errors in the log when this happens. https://gist.github.com/HugsLibRecordKeeper/b50f55431f241a3b7655df408d3d6849
https://imgur.com/a/ajzbwS2
eth0net  [author] 26 May, 2024 @ 7:43am 
I have not done any work to make it compatible, nor do I know, sorry!