﻿one_faith_perk = {
    lifestyle = stewardship_lifestyle
    tree = inquisitor
    position = { 0 0 }
    icon = node_stewardship

    auto_selection_weight = {
        multiply = 0
    }

    character_modifier = {
        opinion_of_same_faith = 15
        opinion_of_different_faith = -25
    }

    auto_selection_weight = {
        value = 11
        if = {
            limit = {
                has_education_stewardship_trigger = yes
            }
            add = 1989
        }
        if = {
            limit = {
                OR = {
                    has_trait = holy_warrior
                    has_trait = faith_warrior
                    has_trait = zealous
                    has_trait = crusader_king
                    has_trait = order_member
                }
            }
            multiply = 5
        }
        if = {
            limit = {
                can_start_new_lifestyle_tree_trigger = no
            }
            multiply = 0
        }
    }
}

one_culture_perk = {
    lifestyle = stewardship_lifestyle
    tree = inquisitor
    position = { 2 0 }
    icon = node_stewardship

    auto_selection_weight = {
        multiply = 0
    }

    character_modifier = {
        opinion_of_same_culture = 15
        opinion_of_different_culture = -25
    }
}

blessed_pilgrimages_perk = {
    lifestyle = stewardship_lifestyle
    tree = inquisitor
    position = { 1 1 }
    icon = node_stewardship

    parent = one_faith_perk
    parent = one_culture_perk

    character_modifier = {
        pilgrim_xp_gain_mult = 0.35
        health = 0.25
    }
}

holy_domain_perk = {
    lifestyle = stewardship_lifestyle
    tree = inquisitor
    position = { 1 2 }
    icon = node_stewardship

    parent = blessed_pilgrimages_perk


    government_character_modifier = {
        flag = government_is_landless_adventurer
        domicile_monthly_piety_add = 0.25
        domicile_monthly_piety_mult = 0.3
    }

    government_character_modifier = {
        flag = government_is_landless_adventurer
        invert_check = yes
        domain_limit = 1
    }
}

blessed_walls_perk = {
    lifestyle = stewardship_lifestyle
    tree = inquisitor
    position = { 0 3 }
    icon = node_stewardship

    parent = holy_domain_perk

    name = {
        first_valid = {
            triggered_desc = {
                trigger = { is_landless_adventurer = yes }
                desc = blessed_tents_perk_adventurer_name
            }
            desc = blessed_walls_perk_name
        }
    }

    government_character_modifier = {
        flag = government_is_landless_adventurer
        epidemic_travel_danger = -10
        negate_health_penalty_add = 0.75
    }

    government_character_modifier = {
        flag = government_is_landless_adventurer
        invert_check = yes
        fort_level = 1
        levy_reinforcement_rate_same_faith = 0.15
        levy_reinforcement_rate_different_faith = -0.25
        epidemic_resistance = 5
    }
}

donations_for_the_great_god_perk = {
    lifestyle = stewardship_lifestyle
    tree = inquisitor
    position = { 2 3 }
    icon = node_stewardship

    parent = holy_domain_perk

    government_character_modifier = {
        flag = government_is_landless_adventurer
        domicile_monthly_gold_add = 0.15
        domicile_monthly_gold_mult = 0.25
    }

    government_character_modifier = {
        flag = government_is_landless_adventurer
        invert_check = yes
        domain_tax_same_faith_mult = 0.2
        domain_tax_different_faith_mult = -0.4
    }
}

blessed_management_perk = {
    lifestyle = stewardship_lifestyle
    tree = inquisitor
    position = { 1 4 }
    icon = node_stewardship

    parent = donations_for_the_great_god_perk
    parent = blessed_walls_perk

    character_modifier = {
        stewardship_per_piety_level = 1
    }
}

inquisitor_perk = {
    lifestyle = stewardship_lifestyle
    tree = inquisitor
    position = { 1 5 }
    icon = trait_inquisitor

    parent = blessed_management_perk

    trait = inquisitor

    effect = {
        add_trait_force_tooltip = inquisitor
    }
}