Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Endling (Last Of Their Kind)

[i]Sometimes, there's just no one left to go home to...[/i] 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: [b]Endling[/b] [i]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.[/i] 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 [url=https://steamcommunity.com/sharedfiles/filedetails/?id=1874644848]Character Editor[/url]. 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 [url=https://steamcommunity.com/sharedfiles/filedetails/?id=839005762]Humanoid Alien Races[/url] 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 [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2891797130]Never Generate Relations[/url] or [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2583377522]No Random Relations[/url], 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 [list] [*] 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. [/list]