﻿crush_bulgarians_byz_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/ep3_decision_roman_restoration.dds"
	}
	decision_group_type = major
	
	ai_check_interval = 25
	
	desc = crush_bulgarians_byz_decision_desc
	
	is_shown = {
		has_title = title:e_byzantium
		game_start_date < 1066.1.1
		
		NOT = {  #Too late.
			is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:crush_bulgarians_byz_decision
			}
		}
	}
	
	is_valid = {
		prestige_level >= 4
		martial >= 20
		completely_controls = title:k_bulgaria
	}
	
	is_valid_showing_failures_only = {
		is_imprisoned = no
		is_available_adult = yes
		is_at_war = no
	}
	
	cost = {
		gold = 500
		prestige = 3000
	}
	
	effect = {
	
		give_nickname = nick_the_bulgar_slayer
	
		add_trait = august
	
		destroy_title = title:e_bulgaria
		destroy_title = title:k_bulgaria
	
		custom_tooltip = {
		text = byz_become_de_jure_liege_bulgaria
		title:k_bulgaria = { set_de_jure_liege_title = title:e_byzantium }
		title:k_dacia = { set_de_jure_liege_title = title:e_byzantium }
		title:k_moldavia = { set_de_jure_liege_title = title:e_byzantium }
		}
		
		save_scope_as = founder
		
		trigger_event = {
			id = crush_bulgarians_byz_decision_events.0001
		}
		hidden_effect = {
			add_to_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:crush_bulgarians_byz_decision
			}
		}
	}

	ai_potential = {
		is_ruler = yes
	}

	ai_will_do = {
		base = 200
	}
}	
		