No Random Relations
This mod disables the creation of random relations during the game. No more blood relatives, ex-wives, lovers, etc showing up that should have been left behind. Relationships formed by your colonists during the course of the game, "social" relations, and children (if using a mod which enables such a thing) should have relations generated normally.
Only newly created pawns will be affected. Existing pawns (including ones in the world) will not have their current relationships removed. If you wish to clear those as well, check out RuntimeGC or other mods which can clean up world pawns.
It should be compatible with most mods. Other mods which also alter random relations are likely to have issues. If you find an incompatibility outside of those, please let me know and I can look into it.
1.0: Two Harmony patches are applied:
- Prefix: Verse.PawnGenerationRequest..ctor() – canGeneratePawnRelations is set to false
- Prefix: RimWorld.PawnRelationUtility.TryAppendRelationsWithColonistsInfo() – returns false
1.1 – 1.2: One Harmony patch is applied:
- Prefix: Verse.PawnGenerationRequest.CanGeneratePawnRelations – returns false
Requested by Darkagma on the RimWorld Discord Server[discord.gg].
Required items:
Click the title to search on this site.
Harmony — Steam Workshop
HugsLib — Steam Workshop
Revisions:
Old revisions of this mod are available below. Click the link to download.