RimWorld

RimWorld

Intimacy - Gender Works
 This topic has been pinned, so it's probably important
turkler  [developer] 25 Jul @ 9:19am
Compatibility matters
Mods with built-in compatibility patches
  • Vanilla Races Expanded - Highmate
  • Vanilla Races Expanded - Hussar
Xenotypes from these mods are patched to have Gender Works' reproductive genes.

  • Big and Small mods
The new body types added by Big and Small are patched to have the reproductives body part.

  • Integrated Implants
The various womb implants added by Integrated Implants work as female reproductive organs.

  • Humanoid Alien Races
The reproduction gender checks of Humanoid Alien Races has been disabled in favor of the reproductives system of Gender Works.

  • Cinders of the Embergarden
  • Gloomy Dragonian race
  • Kurin HAR Edition
  • Kurin Meow Edition [1.6]
  • Miho, the celestial fox
  • Milira Race
  • Mincho, The Mint Choco Slime ~ HAR ver.
  • MoeLotl Race
  • Wolfein Race
  • NewRatkinPlus[1.6]
  • Mousekin Race[1.6]
  • A Rim Reborn - Roegadyn Race
  • A Rim Reborn - Elezen Race
  • A Rim Reborn - Au Ra Race
  • A Rim Reborn - Viera Race
  • A Rim Reborn - Lalafell Race
All of these HAR mods are patched to work with Intimacy.

Mods with patches made by other developers
You have my biggest gratitude if you choose to patch for Intimacy on your end.

Incompatible mods that I don't plan to patch myself
  • Simple Trans (Expanded)
The two mods just do very similar things. You should pick one or the other.

  • Hermaphrodite Gene Continued, and other 'biological sex gene' mods.
Gender Works ties reproductive capabilities to body parts and, obviously, a mod trying to tie this system into genes is going to be incompatible. Gender Works does have an 'Aphrodor birth' gene that serves a similar purpose, though.

Other icompatible mods
  • HAR mods that add new body types
These will probably also need to be patched to have the new body part.
I plan to patch these mods on a first come, first serve basis, as reports come in.
If you'd like a specific HAR race patched, make a report in my Discord server.

Adding new reproductive parts
It's trivial to plug in new reproductive parts. There are three hediff tags:
  • SEX_FemaleReproductiveOrgan
  • SEX_MaleReproductiveOrgan
  • SEX_ReproductiveOrgan
  • SEX_BionicReproductiveOrgan

SEX_MaleReproductiveOrgan and SEX_FemaleReproductiveOrgan are used for exactly what you'd think, a coupling needs to have a male organ/female organ pairing to reproduce. A hediff can have both and it will correctly serve the function of both reproductive organs.
SEX_BionicReproductiveOrgan is used to denote reproductives that can counteract age-related fertility problems.
SEX_ReproductiveOrgan is only used to check whether a pawn has reproductive organs. This is intentional, as it allows for the existence of hediffs which prevent the neutered debuff without giving the pawn any reproductive capabilities.

The phallus, for example, has both SEX_MaleReproductiveOrgan and the SEX_ReproductiveOrgan tags.

You also don't need to do anything special for reproductive bionics. Just giving them the appropriate tags should be enough. Like regular bionics, pawns will have a chance to generate with a bionic instead of an organic body part if they have that bionic's tech hediff tag.

The only special thing you have to do is to inherit from the install/remove recipes from Gender Works (or at least, use the same workerClass class) as those handle the matter of installation/replacement of reproductive parts.

Adding the reproductive parts body type to new bodies
Pawns must have a reproductives body part before they can have reproductives.
For that, said body type only needs a body part with the defname 'SEX_Reproduction'.

<li> <def>SEX_Reproduction</def> <coverage>0.01</coverage> <depth>Outside</depth> <groups> <li>SEX_Reproduction</li> </groups> </li>

This can be attached to any part, or can be the sub-part of any part (I usually attach this part as a sub-part of the pelvis but it can be anywhere, really.) as long as it has the SEX_Reproduction defname. During pawn generation, reproductive hediffs will be automatically applied to this body part.
The mod also has a surgery recipe, unlocked with the fertility operations research, to restore this body part. This surgery recipe will also correctly restore the body part no matter where it is attached.

Apparel coverage
Apparel don't need to be patched, at all. Gender Works has a built-in autopatcher that ensures all apparel which cover the pelvis also cover the reproductives. This means that mods that add, say, vacsuits, work out of the box with no extra patching needed.

Integrating Gender Works genes into xenotypes
Genes from Gender Works can easily be patched onto xenotypes. The mod also has a custom patch operation functionally identical to PatchOperationAdd but which only runs if the player has gene integrations enabled in the mod's settings:

<Operation Class="LoveyDoveySexWithRosaline.PatchOperationIntegrateGenes"> <xpath>Defs/XenotypeDef[defName="Highmate"]/genes</xpath> <value> <li>SEX_AlwaysAphrodor</li> <li>SEX_AlwaysGestor</li> <li>SEX_AlwaysPhallor</li> </value> </Operation>

You don't have to use this patch operation, of course, but I would recommend doing so as it allows players to toggle integrations based on their preferences.

Advanced mod functions
This mod was made with other modders in mind so things are easy to patch and there are many places you can plug your systems into.

For example, if you want to determine whether a pawn is a gestor, you can call HasFemaleReproductiveOrgan from GenderUtilities. If you wanted to display a pawn's reproductive label somewhere else, you can Harmony unpatch the Pawn_MainDesc_Patch and GenderUtility_GetGenderLabel_Patch patches, get the pawn's reproductive label using GetGenderPrefix from GenderUtilities, and plug the result into anywhere you want.

I'd ramble on, but you get my point.
Last edited by turkler; 5 Oct @ 11:26pm
< >
Showing 1-15 of 16 comments
gunns22 28 Jul @ 3:38pm 
If I may be so brash, I'd like to request compatibility with Zaljarem's DIY Humans mod, which allows players to craft humans from scratch with spare organs and flesh. I'm thinking it'd be similar to their existing patch for The Birds and The Bees, requiring either a Male or Female Reproductive Organ to craft a human of the matching gender.
LINK! https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3416365068&searchtext=DIY
Hi! I have noticed a slight incompatibility with the mod Nice Health Tab. https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3328729902&searchtext=nice+health

As the reproductive takes up the spine body part within the health tab, which then pushes all of the other body parts down the list, so instead of the left eye coinciding with the left eye in the health tab, in coincides with the brain instead so if a characters left eye is missing, it shows the brain as missing. I hope a compatibility can be worked out because both Andromeda's mod and your mod are stellar and would be cool to work together.
turkler  [developer] 29 Jul @ 1:18pm 
Originally posted by DivinationDad:
Hi! I have noticed a slight incompatibility with the mod Nice Health Tab. https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3328729902&searchtext=nice+health

As the reproductive takes up the spine body part within the health tab, which then pushes all of the other body parts down the list, so instead of the left eye coinciding with the left eye in the health tab, in coincides with the brain instead so if a characters left eye is missing, it shows the brain as missing. I hope a compatibility can be worked out because both Andromeda's mod and your mod are stellar and would be cool to work together.
my mod doesn't touch the health menu. moreover, the reproductives part is not added to the spine, it's added to the pelvis. this is most likely a display issue on that mod's part
you might want to ask direct this issue to the developer of the nice health tab mod
Last edited by turkler; 29 Jul @ 1:19pm
Originally posted by Andromeda:
how to make Nice Health Tab compatible in 3 clicks[i.postimg.cc]
At the time of making the post unfortunately this wasn't working. When I'd click on it to try and assign a part it wouldn't work. Turkler updated it same day though which ended up fixing it!

Thanks for the support both of you :)
turkler  [developer] 31 Jul @ 5:53pm 
Originally posted by DivinationDad:
Originally posted by Andromeda:
how to make Nice Health Tab compatible in 3 clicks[i.postimg.cc]
At the time of making the post unfortunately this wasn't working. When I'd click on it to try and assign a part it wouldn't work. Turkler updated it same day though which ended up fixing it!

Thanks for the support both of you :)
hey uh I legit changed nothing. I mean I'll take credit for the fix but I haven't touched the parts, at all
Tureis 22 Aug @ 10:36pm 
I know you have built in compatibility with Highmates already, but was wondering if there could be checks added for psychic conception for Phallor/Aphrodor and Gestor pawns as right now you can't have two pawns of the same gender utilize it.

There is a mod that allows for Same-sex couples to utilize psychic conception bit it doesn't seem to work with with this mod.

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3409642185&searchtext=Psychic+conception
turkler  [developer] 22 Aug @ 10:41pm 
Originally posted by Tureis:
I know you have built in compatibility with Highmates already, but was wondering if there could be checks added for psychic conception for Phallor/Aphrodor and Gestor pawns as right now you can't have two pawns of the same gender utilize it.

There is a mod that allows for Same-sex couples to utilize psychic conception bit it doesn't seem to work with with this mod.

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3409642185&searchtext=Psychic+conception
I'll see what I can do
Pewter 24 Aug @ 10:47am 
Last edited by Pewter; 24 Aug @ 10:48am
turkler  [developer] 24 Aug @ 11:26am 
Originally posted by Pewter:
Heruan https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2810613161 and Aelenna's A Rim Reborn races https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2659295653 are incompatible
yes, from the main post that you're replying to:

Originally posted by turkler:
Other icompatible mods
  • HAR mods that add new body types
These will probably also need to be patched to have the new body part.
I plan to patch these mods on a first come, first serve basis, as reports come in.
If you'd like a specific HAR race patched, make a report in my Discord server.
what part of ''make a report in my Discord server if you want a HAR mod patched'' did you not understand?
Last edited by turkler; 24 Aug @ 1:00pm
turkler  [developer] 17 Sep @ 4:29pm 
Originally posted by Scorpio:
any chance of a compatibility patch?

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3350774891
I don't see what needs to be patched there?
Scorpio 21 Sep @ 9:07am 
Originally posted by turkler:
Originally posted by Scorpio:
any chance of a compatibility patch?

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3350774891
I don't see what needs to be patched there?

genitals dont change when genderbending occurs
turkler  [developer] 21 Sep @ 9:11am 
Originally posted by Scorpio:
Originally posted by turkler:
I don't see what needs to be patched there?

genitals dont change when genderbending occurs
well yeah, reproductives are seperate from gender. I'd say that's intended
< >
Showing 1-15 of 16 comments
Per page: 1530 50