﻿means_to_travel_perk = {
    lifestyle = diplomacy_lifestyle
    tree = champion
    position = { 1 0 }
    icon = node_diplomacy

    auto_selection_weight = {
        multiply = 0
    }

    character_modifier = {
        character_travel_speed = 10
        character_travel_speed_mult = 0.3
        character_travel_safety_mult = 0.15
        lifestyle_traveler_xp_gain_mult = 0.2
    }

    auto_selection_weight = {
        value = 11
        if = {
            limit = {
                has_education_diplomacy_trigger = yes
            }
            add = 1989
        }
        if = {
            limit = {
                OR = {
                    has_trait = gallant
                    has_trait = brave
                    prowess >= 20
                }
            }
            multiply = 5
        }
        if = {
            limit = {
                has_trait = lifestyle_blademaster
            }
            multiply = 10
        }
        if = {
            limit = {
                can_start_new_lifestyle_tree_trigger = no
            }
            multiply = 0
        }
    }
}

master_of_hunt_perk = {
    lifestyle = diplomacy_lifestyle
    tree = champion
    position = { 0 1 }
    icon = node_diplomacy

    parent = means_to_travel_perk

    character_modifier = {
        trait_track_hunter_xp_gain_mult = 0.35
        trait_track_falconer_xp_gain_mult = 0.35
        trait_track_bow_xp_gain_mult = 0.35
        health = 0.25
    }
}

master_of_fight_perk = {
    lifestyle = diplomacy_lifestyle
    tree = champion
    position = { 2 1 }
    icon = node_diplomacy

    parent = means_to_travel_perk

    character_modifier = {
        trait_track_foot_xp_gain_mult = 0.35
        trait_track_horse_xp_gain_mult = 0.35
        trait_track_lifestyle_blademaster_xp_gain_mult = 0.35
        health = 0.25
    }
}

master_of_strategy_perk = {
    lifestyle = diplomacy_lifestyle
    tree = champion
    position = { 1 2 }
    icon = node_diplomacy

    parent = master_of_fight_perk
    parent = master_of_hunt_perk

    character_modifier = {
        trait_track_wit_xp_gain_mult = 0.35
        learning_per_prestige_level = 1
    }
}

glory_honor_perk = {
    lifestyle = diplomacy_lifestyle
    tree = champion
    position = { 0 3 }
    icon = node_diplomacy

    parent = master_of_strategy_perk

    government_character_modifier = {
        flag = government_is_landless_adventurer
        domicile_monthly_prestige_add = 0.5
        monthly_prestige_gain_mult = 0.35
    }

    government_character_modifier = {
        flag = government_is_landless_adventurer
        invert_check = yes
        monthly_prestige_gain_mult = 0.35
        monthly_dynasty_prestige_mult = 0.35
    }
}

army_trainning_perk = {
    lifestyle = diplomacy_lifestyle
    tree = champion
    position = { 2 3 }
    icon = node_diplomacy

    parent = master_of_strategy_perk

    character_modifier = {
        knight_limit = 2
        min_combat_roll = 1
        counter_resistance = 0.15
    }
}

personal_gain_perk = {
    lifestyle = diplomacy_lifestyle
    tree = champion
    position = { 1 4 }
    icon = node_diplomacy

    parent = army_trainning_perk
    parent = glory_honor_perk

    character_modifier = {
        diplomatic_range_mult = 0.35
        owned_personal_scheme_success_chance_growth_add = 15
        max_personal_schemes_add = 1
    }
}

champion_perk = {
    lifestyle = diplomacy_lifestyle
    tree = champion
    position = { 1 5 }
    icon = trait_champion

    parent = personal_gain_perk

    trait = champion

    effect = {
        add_trait_force_tooltip = champion
    }
}