﻿
temptd_renounce_iconoclasm_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
	}
	decision_group_type = major

	ai_check_interval_by_tier = {
		barony = 0
		county = 0
		duchy = 0
		kingdom = 0
		empire = 12
		hegemony = 12
	}

	desc = temptd_renounce_iconoclasm_decision_desc

	is_shown = {
		is_landed = yes
		has_faith = faith:iconoclast
		has_title = title:e_byzantium
		#current_date < 900.1.1
	}

	is_valid = {
		has_title = title:e_byzantium
		completely_controls = title:c_byzantion
		#any_sub_realm_county = {
		#	title_province = { has_faith = faith:orthodox }
		#}
		NOT = {
			has_trait = zealous
		}
		#is_at_war = no
		#current_date < 900.1.1
	}

	is_valid_showing_failures_only = {
		is_imprisoned = no
		is_available_adult = yes
		NOT = {
			government_has_flag = government_is_landless_adventurer
		}
	}

	effect = {
		temptd_renounce_iconoclasm_effect
	}
	
	ai_potential = {
		always = yes
	}

	ai_will_do = {
		base = 100
	}
}