eeu_form_category = {
	priority = 20
	icon = generic_formable_nations

	picture = GFX_decision_cat_eeu_expansion

	# allowed = {
	# 	OR = {
	# 		has_dlc = "Waking the Tiger"
	# 		has_dlc = "Man the Guns"
	# 	}
	# }

	visible = {
		check_variable = { global.eeu_setup_done = 1 }
		eeu_is_valid_former = yes
		NOT = {
			has_global_flag = form_european_union_flag
		}
	}

	on_map_area = {
		name = eeu_form_area
		target_array = global.eeu_states_array
		zoom = 800
	}
}

eeu_country_category = {
	icon = generic_political_actions

	picture = GFX_decision_cat_eeu_country

	# scripted_gui = eeu_parliament_ui	

	priority = 18
	# allowed = {
	# 	OR = {
	# 		has_dlc = "Waking the Tiger"
	# 		has_dlc = "Man the Guns"
	# 	}
	# }

	visible = {
		NOT = {
			has_global_flag = eeu_formation_in_progress
		}
		OR = {
			tag = var:global.eeu_tag
			has_cosmetic_tag = EEU_GLOBAL
		}
	}
}

eeu_expansion_category = {
	priority = 15
	icon = saf_anti_collonialist_cursade

	picture = GFX_decision_cat_eeu_expansion

	visible_when_empty = yes

	# allowed = {
	# 	OR = {
	# 		has_dlc = "Waking the Tiger"
	# 		has_dlc = "Man the Guns"
	# 	}
	# }

	visible = {
		NOT = {
			has_global_flag = eeu_formation_in_progress
		}
		OR = {
			tag = var:global.eeu_tag
			has_cosmetic_tag = EEU_GLOBAL
		}
	}

	on_map_area = {
		name = eeu_expand_area
		target_array = global.eeu_states_array
		zoom = 800
	}
}

eeu_spread_spirit_category = {
	priority = 14
	icon = generic_democracy
	
	visible_when_empty = yes

	picture = GFX_decision_cat_eeu_expansion

	visible = {
		check_variable = { global.eeu_setup_done = 1 }
		eeu_is_valid_former = yes
		OR = {
			NOT = {
				has_global_flag = form_european_union_flag
			}
			tag = var:global.eeu_tag
		}
		# NOT = { has_global_flag = form_european_union_flag }
	}
}

eeu_join_category = {
	priority = 15
	icon = generic_formable_nations

	visible_when_empty = yes

	picture = GFX_decision_cat_eeu_expansion

	visible = {
		check_variable = { global.eeu_setup_done = 1 }
		has_global_flag = form_european_union_flag
		NOT = {
			tag = var:global.eeu_tag
		}
		OR = {
			eeu_is_valid_former = yes
			has_global_flag = eeu_flag_global_union
		}
	}
}

eeu_debug_category = {
	priority = 9

	visible = {
		eeu_is_valid_former = yes
		is_debug = yes
		is_ai = no
	}
}

eeu_decision_category_balance_of_power = {
	visible = {
		has_power_balance = {
			id = eeu_balance_of_power
		}
	}
}