public static void addToTalentSelection(BlueprintFeature f, bool advanced = false, bool for_investigator = true) { var selections = new BlueprintFeatureSelection[] { library.Get <BlueprintFeatureSelection>("c074a5d615200494b8f2a9c845799d93"), //rogue talent library.Get <BlueprintFeatureSelection>("04430ad24988baa4daa0bcd4f1c7d118"), //slayer talent2 library.Get <BlueprintFeatureSelection>("43d1b15873e926848be2abf0ea3ad9a8"), //slayer talent6 library.Get <BlueprintFeatureSelection>("913b9cf25c9536949b43a2651b7ffb66"), //slayerTalent10 Archetypes.SanctifiedSlayer.talented_slayer, Archetypes.NatureFang.slayer_talent4, Archetypes.NatureFang.slayer_talent6, Archetypes.NatureFang.slayer_talent10, Skald.rogue_talents, //red tongue VersatilePerformance.rogue_talents, //archaelogist }; if (for_investigator) { selections = selections.AddToArray(Investigator.investigator_talent_selection); } foreach (var s in selections) { s.AllFeatures = s.AllFeatures.AddToArray(f); } var advanced_talents = library.Get <BlueprintFeature>("a33b99f95322d6741af83e9381b2391c"); if (advanced) { f.AddComponent(Helpers.PrerequisiteFeature(advanced_talents)); } }