dp_union_war = {
	war_goal = annex_country
	mirror_war_goal = yes

	requires_interest_marker = no
	blocked_by_diplomatic_status = no
	add_infamy_for_starting_initiator_wargoals = no
	add_infamy_for_starting_target_wargoals = no

	initiator_can_add_war_goals = no
	target_can_add_war_goals = no

	texture = "gfx/interface/icons/war_goals/annex_country.dds"

	selectable_in_lens = {
		always = no
	}

	possible = {
		uw_dp_union_war_common_possible = yes
	}

	additional_involvement_trigger = {
		NOT = { is_country_type = decentralized }
		aggressive_diplomatic_plays_permitted = yes

		scope:target_country = {
			capital = {
				region = {
					save_temporary_scope_as = target_capital_region
				}
			}
		}

		scope:initiator = {
			capital = {
				region = {
					save_temporary_scope_as = initiator_capital_region
				}
			}
		}

		OR = {
			has_interest_marker_in_region = scope:target_capital_region
			has_interest_marker_in_region = scope:initiator_capital_region
		}
	}

	on_weekly_pulse = {}
	on_war_begins = {}
	on_war_end = {}
}

dp_union_war_quarter = {
	war_goal = uw_annex_country_quarter
	mirror_war_goal = yes

	requires_interest_marker = no
	blocked_by_diplomatic_status = no
	add_infamy_for_starting_initiator_wargoals = yes
	add_infamy_for_starting_target_wargoals = no

	initiator_can_add_war_goals = no
	target_can_add_war_goals = no

	texture = "gfx/interface/icons/war_goals/annex_country.dds"

	selectable_in_lens = {
		always = no
	}

	possible = {
		uw_dp_union_war_common_possible = yes
	}

	additional_involvement_trigger = {
		NOT = { is_country_type = decentralized }
		aggressive_diplomatic_plays_permitted = yes
		scope:target_country = {
			capital = {
				region = {
					save_temporary_scope_as = target_capital_region
				}
			}
		}
		scope:initiator = {
			capital = {
				region = {
					save_temporary_scope_as = initiator_capital_region
				}
			}
		}
		OR = {
			has_interest_marker_in_region = scope:target_capital_region
			has_interest_marker_in_region = scope:initiator_capital_region
		}
	}

	on_weekly_pulse = {}
	on_war_begins = {}
	on_war_end = {}
}

dp_union_war_half = {
	war_goal = uw_annex_country_half
	mirror_war_goal = yes

	requires_interest_marker = no
	blocked_by_diplomatic_status = no
	add_infamy_for_starting_initiator_wargoals = yes
	add_infamy_for_starting_target_wargoals = no

	initiator_can_add_war_goals = no
	target_can_add_war_goals = no

	texture = "gfx/interface/icons/war_goals/annex_country.dds"

	selectable_in_lens = {
		always = no
	}

	possible = {
		uw_dp_union_war_common_possible = yes
	}

	additional_involvement_trigger = {
		NOT = { is_country_type = decentralized }
		aggressive_diplomatic_plays_permitted = yes
		scope:target_country = {
			capital = {
				region = {
					save_temporary_scope_as = target_capital_region
				}
			}
		}
		scope:initiator = {
			capital = {
				region = {
					save_temporary_scope_as = initiator_capital_region
				}
			}
		}
		OR = {
			has_interest_marker_in_region = scope:target_capital_region
			has_interest_marker_in_region = scope:initiator_capital_region
		}
	}

	on_weekly_pulse = {}
	on_war_begins = {}
	on_war_end = {}
}

dp_union_war_full = {
	war_goal = uw_annex_country_full
	mirror_war_goal = yes

	requires_interest_marker = no
	blocked_by_diplomatic_status = no
	add_infamy_for_starting_initiator_wargoals = yes
	add_infamy_for_starting_target_wargoals = no

	initiator_can_add_war_goals = no
	target_can_add_war_goals = no

	texture = "gfx/interface/icons/war_goals/annex_country.dds"

	selectable_in_lens = {
		always = no
	}

	possible = {
		uw_dp_union_war_common_possible = yes
	}

	additional_involvement_trigger = {
		NOT = { is_country_type = decentralized }
		aggressive_diplomatic_plays_permitted = yes
		scope:target_country = {
			capital = {
				region = {
					save_temporary_scope_as = target_capital_region
				}
			}
		}
		scope:initiator = {
			capital = {
				region = {
					save_temporary_scope_as = initiator_capital_region
				}
			}
		}
		OR = {
			has_interest_marker_in_region = scope:target_capital_region
			has_interest_marker_in_region = scope:initiator_capital_region
		}
	}

	on_weekly_pulse = {}
	on_war_begins = {}
	on_war_end = {}
}
