﻿0s_kings_men_reform_decision = {
	picture = { 
		reference = "gfx/interface/illustrations/decisions/0s_kings_men_reform.dds"
	}
	decision_group_type = major
	ai_check_interval = 120
	desc = 0s_kings_men_reform_decision_desc
	ai_goal = yes
	
	is_shown = {
		any_sub_realm_county = {
		capital_province = { geographical_region = world_europe_west_britannia }
		}
		exists = global_var:kings_men_crisis_active
		title:k_england.holder = {
		house = root.house
		}
	}
	
	is_valid = {
		has_title = title:k_england
		is_independent_ruler = yes
		root.culture = {
			has_innovation = innovation_rightful_ownership
		}
		custom_description = {
			text = "losses_incurred_custom_tooltip"	
			dynasty = {
				any_dynasty_member = {
					is_alive = yes
					OR = {
						has_trait = kinslayer_1
						has_trait = kinslayer_2
						has_trait = kinslayer_3
					}
				}
			}
		}
		custom_description = {
			text = "must_be_stressed_custom_tooltip"
			stress_level >= 1
    		}
		legitimacy_level >= 2
		prestige_level >= 3
		NOT = { has_realm_law = crown_authority_0 }
	}
	
	is_valid_showing_failures_only = {
		is_landed = yes
		is_capable_adult = yes
		is_imprisoned = no
		is_at_war = no
	}
	
	cost = {
		gold = 500
		prestige = 500
	}
	
	effect = {
		custom_tooltip = 0s_kings_men_crisis_tooltip
		culture = {
			add_innovation = innovation_kings_men
		}
		root = { save_scope_as = decision_taker }
		trigger_event = 0s_kings_men_crisis.0002
		remove_global_variable = kings_men_crisis_active
	}
	
	ai_potential = {
		always = yes
	}

	ai_will_do = {
		base = 100
	}
}
