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.

  • Cinders of the Embergarden
  • Gloomy Dragonian race
  • Kurin HAR Edition
  • Miho, the celestial fox
  • Milira Race
  • Mincho, The Mint Choco Slime ~ HAR ver.
  • MoeLotl Race
  • Wolfein Race
All of these HAR mods are patched to work with Intimacy.

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_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_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 reproductive body part.
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) as long as it has the SEX_Reproduction defname. During pawn generation, reproductive hediffs will be automatically applied to this body part.

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; 29 Jul @ 5:01pm
< >
Showing 1-6 of 6 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://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3416365068&searchtext=DIY
Hi! I have noticed a slight incompatibility with the mod Nice Health Tab. https://steamhost.cn/steamcommunity_com/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://steamhost.cn/steamcommunity_com/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
< >
Showing 1-6 of 6 comments
Per page: 1530 50