isr_ten_plagues = {
	is_shown = {
		exists = c:ISR
		c:ISR ?= this
		not = { has_global_variable = isr_ten_plagues_havebeentaken }
	}
	possible = {
		exists = c:EGY
		has_war_with = c:EGY
		is_subject = no
	}
	when_taken = {
		set_global_variable = isr_ten_plagues_havebeentaken
		trigger_event = { 
			id = isr_ten_plagues.1 
			days = 10
			popup = yes
		}
	}
	ai_chance = {
		value = 100
	}
}