RimWorld

RimWorld

Not enough ratings
AlternateFertility
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
4.478 MB
19 May, 2024 @ 4:17pm
21 Jul @ 5:30am
13 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
AlternateFertility

Description
Provides a selection of new fertility genes for your pawns!

Commissioned in the RimWorld Mod Market.

Please consider sponsoring me on GitHub![github.com]
Donations also accepted via PayPal![paypal.me]
[ko-fi.com]

Features

Adds a selection of new genes to the game:
  • Gynodite: Carriers of this gene are capable of being impregnated by others.
  • Androdite: Carriers of this gene are capable of impregnating others.
  • Hermaphrodite: Carriers of this gene are capable of impregnating and being impregnated by others.
  • Potendite: Carriers of this gene cannot be impregnated, but can impregnate anyone, even those who normally cannot get pregnant.
  • Recepdite: Carriers of this gene cannot impregnate others, but can be impregnated by anyone, even those who normally cannot impregnate.
  • Reflectite: Carriers of this gene cannot be impregnated, but can only impregnate those who could normally impregnate others.
  • Solicite: Carriers of this gene cannot impregnate others, but can only be impregnated by those who could normally be impregnated.

Compatibility

- XML Extensions: adds a settings menu to toggle genes in pawn generation.

Existing Saves

This mod should be safe to add to saves.

Incompatibilities
The following mods have known incompatibility issues:
  • Non-Binary Gender

My Mods




Attributions

Bugs and Requests
Let me know if there are any bugs or requests, I'll happily do my best to fix them up!

Open to contributions and suggestions!
56 Comments
wrobell 16 hours ago 
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] 16 hours ago 
@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] 16 hours ago 
Oh man thanks for pointing that out! I'll update the description and settings ^^
Emily 17 hours ago 
@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 17 hours ago 
@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 17 hours ago 
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 18 hours ago 
Oh nice! I was using Genetic Drift to spawn the genes, but I'll try this out!
eth0net  [author] 20 hours ago 
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"?