# Scripted cost modifiers for peace actions.
# See documentation.info file for more detailed scripting information.

peace_action_modifiers = {

    ETH_agreed_state_peace_cost_modifier = {
        category = treaties_or_conferences
        peace_action_type = take_states

        enable = {
            FROM = { tag = ETH }
            FROM.FROM.FROM = { has_dynamic_modifier = { modifier = ETH_arranged_expansion_modifier } }
        }

        cost_multiplier = 0.55
    }


    ETH_end_of_civil_war_cost_modifier_low = {
        category = treaties_or_conferences
        peace_action_type = take_states

        enable = {
            FROM = {
                tag = ETH
                has_civil_war = yes
            }
            FROM.FROM.FROM = {
                is_core_of = ETH
                NOT = { has_state_flag = ETH_cede_state_flag }
            }
        }

        cost_multiplier = 0.2
    }

}
