边缘世界 RimWorld

边缘世界 RimWorld

Hermaphrodite Gene Continued
185 条留言
Rearden  [作者] 8 月 31 日 下午 12:58 
Sounds like something he'd do. In which case that's certainly a solution. Would definitely make it hard incompatible with this mod.
B flat 8 月 31 日 上午 7:41 
I'm not sure why anyone would need a patch for Intimacy since they already have a gene that does the same thing.
Rearden  [作者] 8 月 31 日 上午 5:03 
@Sithril
I appreciate the heads up. I'll get it added to the list.

@ThatOneBloke
My thoughts on a patch for Intimacy have been posted in this very discussion. Anyone is welcome to try their hand at it. It's not something I play with, so I don't patch for it. I'm a hobbyist with finite time, so I have to draw clear lines for what work I am willing to do. Patches are non-trivial code additions that require an understanding of three code bases. HAR compatibility practically required a rewrite. (Again, thanks a tonne to Zomuro for helping there) On top of that I spent weeks tracking down weird behaviour between the two.

What this mod does seems simple. Even being a single gene, it's not. It breaks fundamental assumptions of how pregnancy works, and anyone that adds a custom path to or through pregnancy and its surrounding fertility checks will potentially clash with this mod.
Sithril 8 月 28 日 下午 5:06 
Seems VRE - Highmates can be added to the not-quite-compatible list, since the Initiate Lovin' ability has a custom call to initiate pregnancy where it checks for Gender.Male and Gender.Female (in JobDriver_InitiateLovin.MakeNewToils, fwiw).

RIP half an hour of debugging...
ThatOneBloke 8 月 27 日 下午 4:31 
I know you say that intimacy breaks the pregnancy check, but from what the dev of that mod has provided from their end it doesn't seem like that should be the case. Might it be worth having another look to see if a patch can be done to make the two mods compatible with one another?
B flat 8 月 14 日 上午 1:51 
Oh, I didn't actually test if Charmweavers works or not, was just surprised that it doesn't work and I didn't notice. It probably still breaks whatever you said it breaks
One thing I'd love is being able to fertilize own ovums by hermaphrodite pawns tho. How it works now is you need to extract ovum from female, and fertilize with male. A hermaphrodite female can't fertilize her own ovum, but another hermaphrodite female can. A niche issue tho.
Rearden  [作者] 8 月 11 日 下午 3:29 
Harmony patches run in a priority order. Compatibility tends to come down to whether or not downstream patches and transpilers are allowed to run. By nature of how most mods affecting pregnancy function, they can't. Doesn't help that everybody and their brother hardcodes genders in their code either. If Charmweavers is functioning now, that's good to hear. I will have to go back and fiddle with it some to verify when I have time.

It's actually rather hard to add incompatibilities via xml just by how it's used. there would have to be several naming collisions.
B flat 8 月 11 日 上午 7:24 
I've been using this for a looong time now, without any problems, thanks a lot! Didn't notice the incompatibility with Charmweavers tho. I know it's possible to add compatibilities, but is it possible to add incompatibilities to the xml? Or is that done only through Rimsorts rules databases, So that this doesn't to someone else
Rearden  [作者] 8 月 3 日 下午 1:52 
The pregnancy code is really hard to mod and retain compatibility. this version of the mod is actually compatible with more stuff than it used to be, but everyone hardcodes their gender checks, including the base game.I can think of ways I could tweak the Core code to make this stuff play better together, but that's unlikely to happen.
Kyle 8 月 3 日 上午 2:53 
Dang, I really liked like the idea of the mod and I saw everything under incompatible is something I use.
Tidurian 8 月 1 日 上午 3:08 
Thanks for replying.
had a look and checked 1.6 genetic drift : https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3522332727
tough there are a lot of mods out there that add traits that enforce genes one example is VRE - Highmate wich adds a "beautiful" gene that just makes them have the trait regardless.
Rearden  [作者] 7 月 31 日 上午 4:01 
I'll have to give that some thought. I'm inclined to say no since that's out of scope for what the mod was planned to be, but I do like the idea. The major issue I have with it is that those are mostly personality traits that pawns can develop. The ones that aren't are already a bit awkward when a pawn develops them for some reason. A pawn suddenly deciding they can become pregnant or impregnate someone else and *that* making it so would certainly be an odd one.

I think there is a mod that allows for some traits to spawn on pawns outside of their defined xenotype. Genetic Drift I think it was. I don't know how configurable it is or if it's up to date. It captures the concept that most humans aren't precisely baseline at this point in history, so random traits can resurface out of the gene pool.
Tidurian 7 月 31 日 上午 1:45 
I like this mod, can i drop a suggestion?

could you change the gene into a trait? (with the gene just forcing the trait)
that way there is a chance that random other Xenotypes/Baseliners could be hermaphrodites.

that way this mod has an effect even if you do not make a xenotype that has the Gene.
Rearden  [作者] 7 月 26 日 上午 3:51 
I adopted the mod from it's original author when they retired at the 1.5 update. This is practically a rewrite, but it is a continuation of the original mod replicating its behaviour in the newer versions of RimWorld. This will be the space to watch for the mod till I decide I'm done with modding the game. Short of major life changes, I plan to maintain my mods for the foreseeable future.
Merper 7 月 24 日 下午 4:50 
So I'm guessing the continued version of this mod is just so it works in future updates in Rimworld?
Rearden  [作者] 7 月 18 日 上午 4:58 
Not a whit. normal relationship rules and pawn generation rules still apply. If you have an endogene that forces child pawns to be female then yes. else, no. they can still be male.

One of the reasons I link to sexuality genes, and male and female only genes. they make for good companions to this one.

As for how the hermaphrodism works, it is an extra layer on top of the default male and female. If the pawn has the gene they will be considered a valid parent if all the other normal fertility checks pass, and the partner is also a valid fertile pawn. If both pawns are valid mothers it is a coinflip which gets to carry the child. The default gender of the pawn still exists. I don't futz with it. If the pawns wouldn't normally form a relationship leading to children, you're still out of luck there. This mod only makes them physically compatible not romantically.
SirSmith148 7 月 18 日 上午 12:39 
So with this mod it doesn't matter if the pawns have the gay or bisexual trait? Will all children born be coded in the game as female with the added trait or can they still be male?
Rearden  [作者] 7 月 17 日 下午 4:23 
I am not sure what you are saying/asking. Having the default Lovin' behaviour use this logic would be out of scope for this mod.

The gene has the normal probabilities to show up in shops and the like, and can be applied to xenotypes like any other gene. If the mod is enabled and its prerequisites are installed, you should be able to use the gene. Characters will not spawn with the gene unless they are a xenotype including it. Any other cases for pawns spawning with it are from other mods, which I do not and never did control.
NekoRain_ 7 月 17 日 上午 5:31 
hope there are two functions, thank you
1. Make this gene appear with a certain probability in some form
2. In the mod settings, switch the default to have this gene
Rearden  [作者] 7 月 16 日 下午 9:07 
no worries. can be hard to tell when stuff is random. sometimes you just get unlucky. Glad to hear it's working
tetheredAmbler 7 月 16 日 下午 7:56 
Nevermind, wasn't incѻmpatible, I was just unlucky and fѻund it ѻut after mѻre thѻrѻugh/fѻrceful testing. Sѻrry abѻut that.
tetheredAmbler 7 月 16 日 下午 6:11 
Hey, weird questiѻn, but there -may- be an issue with hѻw the pregnancy is being fѻund fѻr Alpha Genes, specifically fѻr ѻviparѻus species. Any guidance tѻ track it dѻwn/fix it?
Rearden  [作者] 7 月 15 日 下午 3:33 
As long as there is proper attribution given, I don't mind if you release derivative works. Zomuro and I put a lot of work into getting this updated and compatible with more stuff.
Heroman3003 7 月 15 日 下午 12:18 
Hello again. I wanted to know if a mod that I described earlier were made, based on this mod, would it be fine to post on workshop with credit given to this mod, ofc?
Rearden  [作者] 7 月 12 日 上午 1:30 
I'll wish you luck. Pregnancy is a tough thing to futz with. a huge chunk of it is hardcoded for pawn gender and breaks immediately if you try to do something odd. Expect to have to write custom logic for it, and for that logic to be fundamentally incompatible with basically anything that touches the pregnancy code.
Heroman3003 7 月 11 日 下午 6:16 
I very specifically want a non-surgery-based solution, but a gene-based kind so yeah that's not at all what I am looking for. I was hoping to enable stuff like a xenotype that can only impregnate regardless of gender, but never get pregnant themselves, or xenotype with reversed pregnancy roles between females and males (though with both still considered male/female by the other systems), etc. I'll try some fiddling with it myself as I don't really use anything else that messes with pregnancy to see if I can brute force such genes into existing...
Rearden  [作者] 7 月 11 日 下午 6:09 
Considering how fiddly this mod was to get working with just the one gene, not really. Frankly, that sounds rather a lot like Male and Female with extra steps. You might like one of my other mods Surgical Body Shaping. not precisely what you're describing, but you could achieve something quite similar.
Heroman3003 7 月 11 日 下午 6:03 
I was curious about something. Have you given consideration to a more modular version, where you can individually make males capable of pregnancy, females capable of impregnating and disabling male impregnation and female pregnancy based on individual genes?
Rearden  [作者] 7 月 11 日 下午 3:22 
confirmed functioning for the current version. will update the xml to indicate this when I get a moment
Jetharius 7 月 1 日 上午 5:16 
@Lair Hermaphrodite is the medically and scientifically accurate term. It may not be your preferred term, but it is the proper term.
Rearden  [作者] 7 月 1 日 上午 2:12 
Therein lies the rub. Everybody and their brother reimplements the pregnancy code and tends to shortcircuit everyone else with their harmony call. Most don't fall through since that would cause unusual behaviour. This mod can't fall through because it breaks core assumptions of how pregnancy functions. In any case I don't patch for mods I don't play with. If someone else wants to implement a patch to implement such compatibility they can. This mod implements a function that can be called to check if any pawn is a valid parent for either sex.

If you are offended, don't be. As the mods stand, there is an incompatibility in that behaviour. Simple statement of fact. I have no plans to change it on my end. It is not a slight against you or your mod. Never was.
turkler 6 月 30 日 下午 7:09 
just as a fyi for people using this mod, since the developer of this mod claims my mod 'breaks pregnancy checks on same sex couples' - the intimacy 'incompatibility' is more or less the choice of this mod's developer. intimacy has a seperate function for the pregnancy roll that this mod could easy harmony patch onto, if they wanted to. hell this mod already uses harmony so it's not like the dev isn't aware of this
implying intimacy 'breaks pregnancy checks on same sex couples' is just false. intimacy reimplements the vanilla pregnancy check almost 1:1 and other mods can easily override this behavior with harmony
Rearden  [作者] 6 月 30 日 上午 4:07 
um. can't say I've ever heard that before, and sorry to say, I don't really care. Don't count on it changing. The usage is not derogatory.
LairuTheLathasthar 6 月 29 日 下午 11:10 
hey could you replace all references of hermaphroditism with gynandromorphism as hermaphrodite is an intersexist slur and gynandromorphism is the preferred terminology to refer to possessing male and female gonads
Rearden  [作者] 6 月 29 日 下午 10:59 
Good to hear that it seems to be working alright. which combinations have you tried so far? Pair of males, pair of females, conventional couple are the major cases.
Jetharius 6 月 27 日 下午 1:33 
Gender Supremacy; Herm.
Rearden  [作者] 6 月 26 日 下午 10:44 
I think there are such floating around, but I haven't looked lately.
Rearden  [作者] 6 月 11 日 下午 2:46 
It's that time again. I do not support the beta, but do try the mod in the new version and let me know how it goes. I will update the mods as soon as is feasible after the full release.
Jetharius 5 月 27 日 下午 5:25 
@captain this is the mod you want https://github.com/vegapnk/RJW-Genes
Rearden  [作者] 5 月 20 日 下午 5:47 
If there is, I am not aware of it. That said, I haven't been looking. It's not something I play with.
Captain SuperEarth 5 月 18 日 上午 1:06 
Very good mod,I like same sex pregnancy in a kind of natural way
yet I wonder if there's any mod can do the same thing that compatible with rjw
Flesh Forge 3 月 9 日 上午 9:50 
thanks for the reply :steamthumbsup:
Rearden  [作者] 3 月 9 日 上午 9:23 
probably casual hookups if I recall right. They aren't handled like standard lovin', so I could see how someone might view this as being incompatible. your experience matches my own testing. Everything works as expected, so isn't explicitly incompatible.
Flesh Forge 3 月 9 日 上午 4:52 
Super low priority: I don't know why but the Way Better Romance mod marks this mod as explicitly incompatible. It doesn't throw any errors or warnings and everything still seems to work correctly.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2877731755
Rearden  [作者] 2 月 13 日 上午 10:43 
There is a series of modding tutorials on the RimWorld wiki. It's not always up to date with everything, but it'll be better than asking me for a tutorial if you're interested in learning this. No matter what, I recommend making a copy of the steam mod and moving that to your local mods to fiddle with. that will prevent your modification from being overwritten by updates.

There are two locations where your mods are if you've installed through Steam.
Local mods are stored in *\Steam\steamapps\common\RimWorld\mods\
Workshop mods will be in *\Steam\steamapps\workshop\content\294100\
This mod will be in *\Steam\steamapps\workshop\content\294100\3248739089\
The file you will need to modify is *\3248739089\Defs\GeneDefs\GeneDefs_Herm.xml
Xception 2 月 13 日 上午 4:16 
Where is the xml?
Rearden  [作者] 2 月 13 日 上午 3:58 
yes, though I've not done an xml patch to other mods myself. You pretty much just need to redefine the gene to not have a metabolism cost. the source is included with the mod, so you can tweak it yourself if you make a local copy. That particular bit is easily changed in the xml with no code knowledge.

the design thought on it is that it is a functional gene, not just cosmetic, therefore it should have a small metabolic cost. It follows the paradigm of the vanilla biotech genes.
Xception 2 月 12 日 下午 6:34 
Is it possible to create a mod setting that makes the gene cost no metabolism?
Rearden  [作者] 2 月 12 日 下午 12:18 
Good to hear it's working right. Have fun!
GamesAtFlames 2 月 12 日 上午 8:14 
Sorry for the bother, figured out yesterday it was indeed because of age, and somehow I missed the bit where the game said so. Both versions of this mod work perfectly, thank you for making it!