
title_bear_children = {
    is_high_prio = yes
    dignity = 0.9
    grant_limit = 1

    opinion_effect = 25
    monthly_salary = 0.075
    monthly_prestige = 0.5
    is_unique = yes

    allowed_to_hold = {
        is_adult = no
        is_child_of = FROM
        # is_female = no
    }
    allowed_to_grant = {
        government = Bear_feudal_gov
        has_regent = no
        is_incapable = no
    }
    revoke_trigger = {
        always = yes
    }

    message = no
}

title_panda_diplo_official = {
    is_high_prio = yes
    is_voter = yes
    dignity = 1.0
    attribute = diplomacy
    grant_limit = 1
    opinion_effect = 10
    monthly_salary = 0.2
    monthly_prestige = 0.75
    is_unique = yes
    allowed_to_hold = {
        panda_official_hold_trigger = yes
    }
    allowed_to_grant = {
        panda_official_grant_trigger = yes
    }
    # gain_effect = { }
    revoke_trigger = {
        panda_official_revoke_trigger = yes
    }
    # retire_effect = { }
    # death_effect = { }
    message = yes
}
title_panda_martial_official = {
    is_high_prio = yes
    is_voter = yes
    dignity = 1.0
    attribute = martial
    grant_limit = 1
    opinion_effect = 10
    monthly_salary = 0.2
    monthly_prestige = 0.75
    is_unique = yes
    allowed_to_hold = {
        panda_official_hold_trigger = yes
    }
    allowed_to_grant  = {
        panda_official_grant_trigger = yes
    }
    revoke_trigger = {
        panda_official_revoke_trigger = yes
    }

    message = yes
}
title_panda_steward_official = {
    is_high_prio = yes
    is_voter = yes
    dignity = 1.0
    attribute = stewardship
    grant_limit = 1
    opinion_effect = 10
    monthly_salary = 0.2
    monthly_prestige = 0.75
    is_unique = yes
    allowed_to_hold = {
        panda_official_hold_trigger = yes
    }
    allowed_to_grant  = {
        panda_official_grant_trigger = yes
    }
    revoke_trigger = {
        panda_official_revoke_trigger = yes
    }

    message = yes
}
title_panda_plot_official = {
    is_high_prio = yes
    is_voter = yes
    dignity = 1.0
    attribute = intrigue
    grant_limit = 1
    opinion_effect = 10
    monthly_salary = 0.2
    monthly_prestige = 0.75
    is_unique = yes
    allowed_to_hold = {
        panda_official_hold_trigger = yes
    }
    allowed_to_grant  = {
        panda_official_grant_trigger = yes
    }
    revoke_trigger = {
        panda_official_revoke_trigger = yes
    }

    message = yes
}
title_panda_religious_official = {
    is_high_prio = yes
    is_voter = yes
    dignity = 1.0
    attribute = learning
    grant_limit = 1
    opinion_effect = 10
    monthly_salary = 0.2
    monthly_prestige = 0.75
    is_unique = yes
    allowed_to_hold = {
        panda_official_hold_trigger = yes
    }
    allowed_to_grant  = {
        panda_official_grant_trigger = yes
    }
    revoke_trigger = {
        panda_official_revoke_trigger = yes
    }

    message = yes
}

title_dog_war_councillor = {
    is_high_prio = yes
    is_voter = yes
    dignity = 1.0
    attribute = martial
    grant_limit = 1
    opinion_effect = 15
    monthly_salary = 0.1
    monthly_prestige = 0.25
    is_unique = yes

    allowed_to_hold = {
        demesne_size = 1
    }
    allowed_to_grant = {
        has_law = dog_law_war_council
    }

    gain_effect = {
        liege = {
            add_character_modifier = {
                name = dog_military_council
                years = -1
            }
        }
    }
    lose_effect = {
        liege = {
            remove_character_modifier = dog_military_council
        }
    }
    retire_effect = {
        liege = {
            remove_character_modifier = dog_military_council
        }
    }
    death_effect = {
        liege = {
            remove_character_modifier = dog_military_council
        }
    }
    
    revoke_trigger = { always = yes }
    
    message = yes
}

title_dog_pol_councillor = {
    is_high_prio = yes
    is_voter = yes
    dignity = 1.0
    attribute = diplomacy
    grant_limit = 1
    opinion_effect = 15
    monthly_salary = 0.1
    monthly_prestige = 0.25
    is_unique = yes

    allowed_to_hold = {
        demesne_size = 1
    }
    allowed_to_grant = {
        has_law = dog_law_pol_council
    }

    gain_effect = {
        liege = {
            add_character_modifier = {
                name = dog_political_council
                years = -1
            }
        }
    }
    lose_effect = {
        liege = {
            remove_character_modifier = dog_political_council
        }
    }
    retire_effect = {
        liege = {
            remove_character_modifier = dog_political_council
        }
    }
    death_effect = {
        liege = {
            remove_character_modifier = dog_political_council
        }
    }
    
    revoke_trigger = { always = yes }
    
    message = yes
}

title_dog_eco_councillor = {
    is_high_prio = yes
    is_voter = yes
    dignity = 1.0
    attribute = stewardship
    grant_limit = 1
    opinion_effect = 15
    monthly_salary = 0.1
    monthly_prestige = 0.25
    is_unique = yes

    allowed_to_hold = {
        demesne_size = 1
    }
    allowed_to_grant = {
        has_law = dog_law_eco_council
    }

    gain_effect = {
        liege = {
            add_character_modifier = {
                name = dog_economic_council
                years = -1
            }
        }
    }
    lose_effect = {
        liege = {
            remove_character_modifier = dog_economic_council
        }
    }
    retire_effect = {
        liege = {
            remove_character_modifier = dog_economic_council
        }
    }
    death_effect = {
        liege = {
            remove_character_modifier = dog_economic_council
        }
    }
    
    revoke_trigger = { always = yes }
    
    message = yes
}

title_dog_eve_councillor = {
    is_high_prio = yes
    is_voter = yes
    dignity = 1.0
    attribute = intrigue
    grant_limit = 1
    opinion_effect = 15
    monthly_salary = 0.1
    monthly_prestige = 0.25
    is_unique = yes

    allowed_to_hold = {
        demesne_size = 1
    }
    allowed_to_grant = {
        has_law = dog_law_eve_council
    }

    gain_effect = {
        liege = {
            add_character_modifier = {
                name = dog_intrigue_council
                years = -1
            }
        }
    }
    lose_effect = {
        liege = {
            remove_character_modifier = dog_intrigue_council
        }
    }
    retire_effect = {
        liege = {
            remove_character_modifier = dog_intrigue_council
        }
    }
    death_effect = {
        liege = {
            remove_character_modifier = dog_intrigue_council
        }
    }
    
    revoke_trigger = { always = yes }
    
    message = yes
}

title_dog_res_councillor = {
    is_high_prio = yes
    is_voter = yes
    dignity = 1.0
    attribute = learning
    grant_limit = 1
    opinion_effect = 15
    monthly_salary = 0.1
    monthly_prestige = 0.25
    is_unique = yes

    allowed_to_hold = {
        demesne_size = 1
    }
    allowed_to_grant = {
        has_law = dog_law_res_council
    }

    gain_effect = {
        liege = {
            add_character_modifier = {
                name = dog_learning_council
                years = -1
            }
        }
    }
    lose_effect = {
        liege = {
            remove_character_modifier = dog_learning_council
        }
    }
    retire_effect = {
        liege = {
            remove_character_modifier = dog_learning_council
        }
    }
    death_effect = {
        liege = {
            remove_character_modifier = dog_learning_council
        }
    }
    
    revoke_trigger = { always = yes }
    
    message = yes
}

title_dragon_alternate_space_master = {
    is_high_prio = yes

    show_as_title = yes
    is_voter = yes
    dignity = 1
    grant_limit = 1
    opinion_effect = 30
    monthly_salary = 1
    monthly_prestige = 0.75
    is_unique = yes

    allowed_to_hold = {
        culture = FROM
        dragon_is_adult_trigger = yes
        is_ruler = no
        prisoner = no
        is_incapable = no
    }
    allowed_to_grant = {
        government = dragon_tribal_gov
        higher_tier_than = BARON
    }
    revoke_trigger = {
        always = no
    }
}
