#gw_start_great_work_decision

gw_start_great_work_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_misc.dds"
	major = yes

	ai_goal = yes

	is_shown = {
		is_landed = yes
	}

	is_valid = {
		is_at_war = no
		custom_description = {
			text = "is_king_or_emperor"
			highest_held_title_tier >= tier_kingdom
		}
		root.culture = {
			has_innovation = innovation_burhs
		}

		trigger_if = {
			limit = {
				is_ai = yes
			}
			prestige_level >= gw_great_work_start_prestige_level_ai
		}
		trigger_else = {
			prestige_level >= gw_great_work_start_prestige_level
		}
		custom_description = {
			text = no_special_building_slot
			capital_province = {
				has_special_building_slot = no
			}
		}
		capital_province = {
			is_county_capital = yes
		}
	}

	cost = {
		trigger_if = {
			limit = {
				is_ai = yes
			}
			gold = gw_great_work_start_cost_ai
		}
		trigger_else = {
			gold = gw_great_work_start_cost
		}
	}

	effect = {
		hidden_effect = {
			trigger_event = gw_decisions.0001
		}
		custom_tooltip = "gw_start_great_work_decision_start_effect"
	}
	
	ai_potential = {
		highest_held_title_tier >= tier_kingdom
		is_landed = yes
	}

	ai_will_do = {
		base = 200
	}
}