RimWorld

RimWorld

528 ratings
No Random Relations
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.2
File Size
Posted
Updated
0.041 MB
May 28, 2019 @ 8:24am
Oct 20, 2020 @ 6:37am
6 Change Notes ( view )

Subscribe to download
No Random Relations

Description
Description
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.

Mod compatibility
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.

Advanced
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].
< >
67 Comments
挂成一条金华腿 Aug 20, 2021 @ 9:38pm 
1.3 PLZ
RedCell Aug 7, 2021 @ 6:06pm 
I would edit it myself in my flies, but Steam forces updates on workshop mods that change it back to 1.2
RedCell Aug 5, 2021 @ 8:19pm 
Could you update the tag for this to 1.3 so the mod manager doesn't freak out every time I load a save?
Mekkie Jul 30, 2021 @ 3:58pm 
My favorite was when I made a pawn with Orphan backstory and her mom showed up as a prisoner in a nearby camp. My pawn went berserk when I ignored it and let her die. This mod is a must <3
Dampback Jul 27, 2021 @ 7:27am 
Saved a pirate recruited him, within a day one of my allies sent his wife. i was expecteing her to take him or something. purely random nonesense that doesnt add anything to the game

the prior randoms that is, clearly they work within the colony so thank you for the mod, nice to have a fix
Ambigore Jul 27, 2021 @ 6:57am 
1.3 plz.
MagnusGames Jul 25, 2021 @ 9:58am 
These pointless relative spawns are getting out of hand
조오니 Jul 21, 2021 @ 12:10am 
Looks like it works with 1.3 in its current state
The Bard of Hearts Jul 20, 2021 @ 7:19pm 
+1 for a 1.3 update! :steamhappy: