﻿restore_dynasty_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_dynasty_house.dds"
		}

	is_shown = {
		is_ai = no
		dynasty = {
			has_dynasty_modifier = dynasty_fall_modifier
			}
		}

	is_valid = {
		prestige_level >= high_prestige_level
		has_trait = family_first
		diplomacy >= 15
		martial >= 8
		stewardship >= 8
		}

	is_valid_showing_failures_only = {
		is_available_adult = yes
		is_imprisoned = no
		is_at_war = no	
		}

	cost = {
		gold = 100
		prestige = 2000
		}
	
	effect = {
		dynasty = {
			remove_dynasty_modifier = examine_dynasty_modifier
			remove_dynasty_modifier = legend_dynasty_fall_modifier
			remove_dynasty_modifier = dynasty_fall_modifier
			add_dynasty_modifier = revived_dynasty_modifier
			}
		}

	ai_check_interval = 0	

	ai_will_do = {
		base = 0
		}
	}