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

peace_action_modifiers = {

    FIN_expansionist_policies = {
        category = events_or_focuses
        peace_action_type = { take_states }
        enable = {
            ROOT = {
                original_tag = FIN
                has_country_leader_with_trait = expansionist_policies 
            }
            FROM.FROM.FROM = {
                is_core_of = SOV
            }
        }
        cost_multiplier = 0.75 #25% cost reduction
    }

    FIN_finnish_irredentism_desires = {
        category = events_or_focuses
        peace_action_type = { take_states }
        enable = {
            ROOT = {
                original_tag = FIN
                has_completed_focus = FIN_finnish_irredentism
            }
            FROM.FROM.FROM = {
                OR = {
                    is_core_of = ROOT
                    is_claimed_by = ROOT
                }
            }
        }
        cost_multiplier = 0.65 #35% cost reduction
    }

    FIN_crown_prince_of_finland_baltic_cores = {
        category = events_or_focuses
        peace_action_type = { take_states }
        enable = {
            ROOT = {
                original_tag = FIN
                has_country_leader = {
                    ruling_only = yes
                    character = FIN_prince_wolfgang_von_hesse
                }
            }
            FROM.FROM.FROM = {
                OR = {
                    is_core_of = EST
                    is_core_of = LAT
                    is_core_of = LIT
                }
            }
        }
        cost_multiplier = 0.25 #35% cost reduction
    }

    FIN_crown_prince_of_finland_annex = {
        category = events_or_focuses
        peace_action_type = { take_states }
        enable = {
            ROOT = {
                original_tag = FIN
                has_country_leader = {
                    ruling_only = yes
                    character = FIN_prince_wolfgang_von_hesse
                }
            }
            FROM.FROM.FROM = {
                NOT = {
                    is_core_of = EST
                    is_core_of = LAT
                    is_core_of = LIT
                }
            }
        }
        cost_multiplier = 0.75 #25% cost reduction
    }
}
