RimWorld

RimWorld

550 ratings
No Random Relations
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.2
File Size
Posted
Updated
43.170 KB
28 May, 2019 @ 8:24am
20 Oct, 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
挂成一条金华腿 20 Aug, 2021 @ 9:38pm 
1.3 PLZ
Akahige 7 Aug, 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
Akahige 5 Aug, 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 30 Jul, 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 27 Jul, 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
ambi 27 Jul, 2021 @ 6:57am 
1.3 plz.
MagnusGames 25 Jul, 2021 @ 9:58am 
These pointless relative spawns are getting out of hand
조오니 21 Jul, 2021 @ 12:10am 
Looks like it works with 1.3 in its current state
The Bard of Hearts 20 Jul, 2021 @ 7:19pm 
+1 for a 1.3 update! :steamhappy: