befriend_perk = { lifestyle = diplomacy_lifestyle tree = family position = { 0 0 } icon = node_diplomacy auto_selection_weight = { value = 11 if = { limit = { has_education_diplomacy_trigger = yes } add = 1989 } if = { limit = { has_focus = diplomacy_family_focus } multiply = 5 } if = { limit = { can_start_new_lifestyle_tree_trigger = no NOT = { has_perk = familial_familiar_perk } } multiply = 0 } } culture_character_modifier = { parameter = automatic_befriend_access befriend_scheme_phase_duration_add = medium_scheme_phase_duration_bonus_value } effect = { # Cultures with Ritualised Friendship get a different effect, so we filter them out. if = { limit = { NOR = { culture ?= { has_cultural_parameter = automatic_befriend_access } government_has_flag = government_is_nomadic } } custom_description_no_bullet = { text = befriend_perk_effect } } #Removes prestige cost for nomads else_if = { limit = { government_has_flag = government_is_nomadic NOR = { has_perk = befriend_perk culture ?= { has_cultural_parameter = automatic_befriend_access } any_character_struggle = { involvement = involved has_struggle_phase_parameter = struggle_unlocks_befriend_schemes_for_everyone } } } custom_description_no_bullet = { text = befriend_perk_prestige_cost_effect } } # Everyone gets board games! custom_description_no_bullet = { text = unlocks_board_games_interaction_effect } } } confidants_perk = { lifestyle = diplomacy_lifestyle tree = family position = { 0 1.25 } icon = node_diplomacy parent = befriend_perk effect = { custom_description_no_bullet = { text = confidants_perk_effect } hidden_effect = { update_confidants_effect = yes } } } flatterer_perk = { lifestyle = diplomacy_lifestyle tree = family position = { 0 2.5 } icon = node_diplomacy parent = confidants_perk character_modifier = { befriend_scheme_phase_duration_add = medium_scheme_phase_duration_bonus_value } government_character_modifier = { flag = government_is_landless_adventurer befriend_scheme_phase_duration_add = monumental_scheme_phase_duration_bonus_value } } friendly_counsel_perk = { lifestyle = diplomacy_lifestyle tree = family position = { 0 3.75 } icon = node_diplomacy parent = flatterer_perk effect = { custom_description_no_bullet = { text = friendly_counsel_perk_effect } hidden_effect = { every_relation = { type = friend add_to_temporary_list = friendly_counsel_friends } every_relation = { type = best_friend limit = { NOT = { is_in_list = friendly_counsel_friends } } add_to_temporary_list = friendly_counsel_friends } every_in_list = { list = friendly_counsel_friends root = { friendly_counsel_skill_gain_effect = yes } } } if = { limit = { government_has_flag = government_is_landless_adventurer } custom_tooltip = { text = adventurer_friendly_counsel_perk_effect } } if = { limit = { government_has_mechanic = administrative } custom_description_no_bullet = { text = admin_friendly_counsel_perk_effect } } if = { limit = { government_has_flag = government_is_nomadic } custom_description_no_bullet = { text = friendly_counsel_perk_nomadic_effect } hidden_effect = { every_relation = { type = blood_brother add_to_temporary_list = friendly_counsel_friends } every_relation = { type = best_friend limit = { NOT = { is_in_list = friendly_counsel_friends } } add_to_temporary_list = friendly_counsel_friends } every_in_list = { list = friendly_counsel_friends root = { friendly_counsel_skill_gain_effect = yes } } } } } } familial_familiar_perk = { lifestyle = diplomacy_lifestyle tree = family position = { 2 0 } icon = node_diplomacy character_modifier = { close_relative_opinion = 15 } effect = { if = { limit = { has_ep3_dlc_trigger = yes government_has_mechanic = administrative } custom_description_no_bullet = { text = admin_familial_familiar_perk_effect } } } auto_selection_weight = { value = 11 if = { limit = { has_education_diplomacy_trigger = yes } add = 1989 } if = { limit = { has_focus = diplomacy_family_focus } multiply = 5 } if = { limit = { can_start_new_lifestyle_tree_trigger = no NOT = { has_perk = befriend_perk } } multiply = 0 } } } groomed_to_rule_perk = { lifestyle = diplomacy_lifestyle tree = family position = { 2 1.25 } icon = node_diplomacy parent = familial_familiar_perk effect = { custom_description_no_bullet = { text = groomed_to_rule_perk_effect } # If a child has already gotten their childhood personality or education (and thus missed the skill gain), add it now. hidden_effect = { save_scope_as = parent every_child = { limit = { OR = { has_trait = curious has_trait = rowdy has_trait = charming has_trait = pensive has_trait = bossy has_trait = education_martial has_trait = education_intrigue has_trait = education_stewardship has_trait = education_learning has_trait = education_diplomacy } } groomed_to_rule_random_skills_effect = yes } } if = { limit = { has_bp2_dlc_trigger = yes } custom_description_no_bullet = { text = groomed_to_rule_perk_2_effect } } } } thicker_than_water_perk = { lifestyle = diplomacy_lifestyle tree = family position = { 2 2.5 } icon = node_diplomacy parent = groomed_to_rule_perk effect = { custom_description_no_bullet = { text = thicker_than_water_perk_effect } } government_character_modifier = { flag = government_is_nomadic blood_brother_prestige_mult = 0.05 } } sound_foundations_perk = { lifestyle = diplomacy_lifestyle tree = family position = { 2 3.75 } icon = node_diplomacy parent = thicker_than_water_perk effect = { if = { limit = { government_has_flag = government_is_mandala house ?= { has_house_aspiration_parameter = aspect_of_creation } is_house_head = yes } custom_description_no_bullet = { text = mandala_sound_foundations_perk_effect } } else = { custom_description_no_bullet = { text = sound_foundations_perk_effect } } hidden_effect = { every_child = { root = { sound_foundations_skill_gain_effect = yes } } } } } family_man_perk = { lifestyle = diplomacy_lifestyle tree = family position = { 1 5 } icon = trait_family_first name = { first_valid = { triggered_desc = { trigger = { NOT = { exists = this } } desc = family_man_perk_male_name } triggered_desc = { trigger = { is_female = yes } desc = family_man_perk_female_name } desc = family_man_perk_male_name } } parent = sound_foundations_perk parent = friendly_counsel_perk trait = family_first effect = { add_trait_force_tooltip = family_first } }