RimWorld

RimWorld

29 ratings
Xenotype Preference
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
486.818 KB
Oct 3, 2024 @ 8:19pm
Jul 5 @ 2:41am
4 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Xenotype Preference

Description
Modifies Ideologie's "Preferred xenotypes" to allow setting base set(s) of genes. Pawns that have at least that base set will be venerated. Pawns that do not have the base set will be disliked. You can freely implant "improved" Xenotypes as long as genes in the Ideology's Preferred xenotypes remain.


How to use
1. Create a custom Xenotype that has the base genes your ideology should prefer
2. Add your xenotype to the Preferred Xenotypes in your Ideology
3. Your pawns will correctly dislike the unworthy

How it works
Genes and Xenotypes are pretty complicated in Rimworld. Due to this matching will first check to see if a give pawn has a standard or custom Xenotype. If so then the match will return true. If not then it will compare the pawn's genes with the genes of each venerated Xenotype. If it contains all the genes of a given venerated xenotype it will be considered venerated. The Baseliner Xenotype is ignored for this step or it would match everything.

Be aware that inserting genes directly into a pawn via a mod or dev mode will not change that pawns Xenotype. If that pawn's Xenotype was already venerated then it will continue to be. If it is not already venerated it could become venerated if the gene search succeeds.

Known issues
None

Github[github.com]
7 Comments
alf.lord51 Jul 15 @ 3:42pm 
can you add disliked xenotype precepts?
zig158  [author] Jul 5 @ 3:16am 
@Gender Bender This is what is causing your issue "Be aware that inserting genes directly into a pawn via a mod or dev mode will not change that pawns Xenotype."
There are ways I could work around this, but this isn't something people are likely to run into in a normal play though since factions need to be setup with standard or custom Xenotypes.
Gender Bender May 22 @ 6:20pm 
I cant get this mod to work or I'm using it incorrectly? I set my preferred xenotype to baseliner, and I also create another baseliner xenotype but this time with human limb and face genes. But when I went to test it out it doesnt work. I use dev tool to give one of my pawn a pig hands and fur skin genes but he doesnt get any mood debuff from that
zig158  [author] May 18 @ 2:49pm 
@Gender Bender What you could do is to add Baseliners to your venerated types since they are treated differently. Then you can create a new basic xenotype that has the basic human attributes such as hands, jaw, etc and then make any other xenotype that you want to ideology to venerate also have these base attributes.
The issue you may run into is that I don't think that all the vanilla xenotypes that "look" like a baseliner have all of these attributes. That could be fixed by a mod to patch them in. I know I have used a mod to do this in the past as a side effect, but I don't remember which one did it as it was long before I started modding Rimworld.
Gender Bender May 18 @ 12:03am 
one of the best mods for biotech and ideology hands down, the fact that this is not a vanilla feature is crazy. im naming my firstborn after u.

i have one question/suggestion. would it be possible for to override the genes conflict when making custom xenotype? for example, i wanna do a human supremacy ideology and dislike every non-human like gene. so when i make my custom xenotype, i include every genes that doesnt give non-human like features like different skin colour, horns, etc. but when i select genes that boost melee skill and greatly boost melee skills, it conflicted.
zig158  [author] May 4 @ 1:57pm 
@Dahaka When creating this mod I handle baseliner specifically so that is not the case. If you choose baseliner as a venerated xenotype it will be liked unless you add genes that don't meet the the requirements for one of your other venerated xenotypes.
Dahaka May 3 @ 4:27pm 
This mod made my life so much easier when using multiple preferred xenotypes. Now i can change from one preferred to another preferred. Just one question - if i set baseliner as prefered xenotype, wouldn't all xenotypes would be considered preferred?