RimWorld

RimWorld

400 ratings
Endling (Last Of Their Kind)
10
4
3
5
4
2
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5, 1.6
File Size
Posted
Updated
141.600 KB
28 Jul, 2023 @ 1:37pm
12 Jun @ 10:23am
6 Change Notes ( view )

Subscribe to download
Endling (Last Of Their Kind)

In 1 collection by Aelanna
The Eccentric's Angels [1.4]
148 items
Description
Sometimes, there's just no one left to go home to...

I made this mod for my own use but decided to publish it in case anyone else might find it useful!

Mod Contents

This mini-mod adds a single new trait:

Endling

By choice, by tragedy, or simply by the slow, agonizing passage of time, [PAWN_nameDef] is the last of [PAWN_possessive] kind. It is impossible for [PAWN_objective] to meet anyone [PAWN_pronoun] previously knew.

Colonists with the Endling trait will never get randomly generated relatives, whether it's from trade caravans, raids, or other incidents. Endling is exceptionally rare in normal generation (0.1 commonality) but can be added to your colonists via mods such as Character Editor.

Endling only affects the random generation of new relationships. It does not alter existing relationships when applied to a colonist, nor will it stop them from gaining new ones through gameplay, such as becoming lovers, marriage, or having children.

Technical Details

This mod functions by applying a single Harmony transpiler to PawnGenerator.GeneratePawnRelations and removing all pawns with the Endling trait from the working list of potential relatives.

This mod has a second Harmony transpiler that only applies when Humanoid Alien Races is active; this second transpiler is used to apply the same effect to HAR's GeneratePawnRelations prefix in order to apply the same logic to genderless HAR races.

Mod Compatibility

This mod should not have any issues if loaded alongside mods such as Never Generate Relations or No Random Relations, but will also be redundant as those mods completely disable relationship generation for all pawns.

This mod should be safe to add to an existing save, but will cause one-time errors if removed while any pawn has the Endling trait.

Known Issues

  • Endling stops direct relationships from being generated randomly, but in certain circumstances a relationship generated for a relative may be reported as a discovered relationship for the Endling. For example, an Endling married to a non-Endling may be reported as the parent of a randomly generated child of their spouse.
35 Comments
Kitasan Black 30 Mar @ 1:59am 
now i need a mod that removes baseliners and my goal of the last human is complete
Curry 29 Sep, 2024 @ 8:31am 
@Aelanna - I Want!
Aelanna  [author] 29 Sep, 2024 @ 7:01am 
@Curry - Endling currently is not, as its primary use case was for players to add it via mods such as Pawn Editor or Character Editor, which can generally bypass trait limits anyways. Its commonality for natural generation is 0.1, which is half of even the most rare vanilla traits.

There is unfortunately no quick and easy way of changing this, as there is no simple field that can be added to traits to make them bypass vanilla limits; vanilla sexuality traits are added via a specific second code pass and it is actually flawed because there are circumstances in which said sexuality traits can still take up one of a colonist's initial trait slots and thus not actually be "free". If this is desired behavior though, I can certainly put it on my to-do list.
Curry 28 Sep, 2024 @ 8:54pm 
Is this also considered a trait outside of the 3 Traits limit, like homosexual or asexuality?
PolySoup 29 May, 2024 @ 10:48am 
That seems to have fixed it, thanks :-)
Aelanna  [author] 29 May, 2024 @ 10:17am 
@PolySoup - Strange, the method I target does not seem to have meaningfully changed and it seems to be working again after a recompile with no meaningful changes.

Please give v1.2.1 a try and let me know if it is still throwing an error.
PolySoup 29 May, 2024 @ 7:48am 
There was an update to HAR yesterday, and now the HAR transplier is throwing an error.
沅将军别闹了 12 Apr, 2024 @ 6:20am 
I love this too much!!!!!!!!!!!!!!!!!!Thanks a lot!!!!!!!!
PAD长 28 Mar, 2024 @ 3:53am 
good
blodi 2 Dec, 2023 @ 7:04am 
Would there be a way to make every pawn that comes from outside the rim (crashlanded spacers, and maybe also ancients) have this trait?