can_unlock_ideas = {
	script_context = player_country
	texture = "gfx/interface/icons/generic_icons/innovation.dds"
	color = red
	valid = {
		ve_can_purchase_any_idea = yes
	}
	type = alert
}

max_piety = {
	script_context = player_country
	texture = "gfx/interface/icons/central_identity_pillars_icons/religious.dds"
	color = red
	valid = {
		ve_can_adopt_any_religious_program = yes
	}
	type = alert
}

# There is deliberately no alert for "you could change the Identity Model".
# A country always has an active model, switching is a rare strategic choice,
# and an alert there reads as an instruction to adopt something every time the
# Mandate stock passes 200. Cultural Mandate surplus is covered by the single
# alert below instead.
ve_can_begin_cultural_project = {
	script_context = player_country
	texture = "gfx/interface/icons/generic_icons/cultural_fervor.dds"
	color = red
	valid = {
		ve_should_alert_cultural_mandate_surplus = yes
	}
	type = alert
}

can_unlock_age_bonus = {
	script_context = player_country
	texture = "gfx/interface/icons/generic_icons/age.dds"
	color = red
	valid = {
		splendor_cost_trigger = yes
		trigger_if = {
			limit = {
				has_global_variable = ve_age_1_started
			}
			NOT = {
				AND = {
					has_modifier = age_1_bonus_1
					has_modifier = age_1_bonus_2
					has_modifier = age_1_bonus_3
					has_modifier = age_1_bonus_4
					has_modifier = age_1_bonus_5
					has_modifier = age_1_bonus_6
					has_modifier = age_1_bonus_7
					has_modifier = age_1_bonus_8
					has_modifier = age_1_bonus_9
				}
			}
		}
		trigger_else_if = {
			limit = {
				has_global_variable = ve_age_2_started
			}
			NOT = {
				AND = {
					has_modifier = age_2_bonus_1
					has_modifier = age_2_bonus_2
					has_modifier = age_2_bonus_3
					has_modifier = age_2_bonus_4
					has_modifier = age_2_bonus_5
					has_modifier = age_2_bonus_6
					has_modifier = age_2_bonus_7
					has_modifier = age_2_bonus_8
					has_modifier = age_2_bonus_9
				}
			}
		}
		trigger_else_if = {
			limit = {
				has_global_variable = ve_age_3_started
			}
			NOT = {
				AND = {
					has_modifier = age_3_bonus_1
					has_modifier = age_3_bonus_2
					has_modifier = age_3_bonus_3
					has_modifier = age_3_bonus_4
					has_modifier = age_3_bonus_5
					has_modifier = age_3_bonus_6
					has_modifier = age_3_bonus_7
					has_modifier = age_3_bonus_8
					has_modifier = age_3_bonus_9
				}
			}
		}
	}
	type = alert
}

ve_can_begin_targeted_cultural_project = {
	script_context = player_country
	texture = "gfx/interface/icons/generic_icons/cultural_fervor.dds"
	color = red
	valid = {
		ve_can_begin_targeted_cultural_project_now = yes
	}
	type = important_action
	alert_group = ve_state_project_group
}

ve_can_begin_targeted_religious_project = {
	script_context = player_country
	texture = "gfx/interface/icons/generic_icons/national_awakening.dds"
	color = red
	valid = {
		ve_can_begin_targeted_religious_project_now = yes
	}
	type = important_action
	alert_group = ve_state_project_group
}
