﻿add_namespace = ireland
	
#Unionist Crisis Lib
country_event = {
	id = ireland.1
	title = ireland.1.t
	desc = ireland.1.d
	picture = GFX_report_event_iww_demonstration

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		TAG = IRE
	}

	#Cave to unionists
	option = {
		name = ireland.1.a
		ai_chance = { factor = 0 }
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.35
		}
		add_stability = -0.15
	}
	
	#Find Democratic way
	option = {
		name = ireland.1.b
		ai_chance = { factor = 100 }
		complete_national_focus = IRE_focus_unionist_outrage
		add_ideas = IRE_idea_union1
	}
	
	#Gather the Reps
	option = {
		name = ireland.1.c
		ai_chance = { factor = 0 }
		complete_national_focus = IRE_focus_unionist_outrage
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.1
		}
		add_ideas = IRE_idea_union2
	}
}

#Unionist Crisis Uni
country_event = {
	id = ireland.2
	title = ireland.2.t
	desc = ireland.2.d
	picture = GFX_report_event_iww_demonstration

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		TAG = IRE
	}
	
	#Form Gov with Centre
	option = {
		name = ireland.2.a
		ai_chance = { factor = 25 }
		country_event = ireland.13
		add_ideas = IRE_idea_union2
	}
	
	#It will blow over
	option = {
		name = ireland.2.b
		ai_chance = { factor = 25 }
		country_event = {
			id = ireland.12
			days = 15
		}
	}
	
	#Call uk
	option = {
		name = ireland.2.c
		ai_chance = { factor = 50 }
		country_event = britainirishunrest.17
	}
}

#The IRB
country_event = {
	id = ireland.3
	title = ireland.3.t
	desc = ireland.3.d
	picture = GFX_report_event_british_belfast

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		TAG = IRE
		has_completed_focus = IRE_focus_the_irb
	}

	#Intergrate into Gov
	option = {
		name = ireland.3.a
		ai_chance = { factor = 50 }
		add_political_power = -100
		add_ideas = IRE_idea_irb
		add_opinion_modifier = {
			target = ENG
			modifier = protest_action
		}
	}
	
	#No
	option = {
		name = ireland.3.b
		ai_chance = { factor = 50 }
		add_political_power = 100
		add_stability = -0.05
	}
}

#The UK
country_event = {
	id = ireland.4
	title = ireland.4.t
	desc = ireland.4.d
	picture = GFX_report_event_uk_parliament

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		TAG = IRE
		has_completed_focus = IRE_focus_the_uk
	}
	
	#We Ireland, they UK
	option = {
		name = ireland.4.a
		ai_chance = { factor = 100 }
		add_stability = 0.05
		add_popularity = {
			ideology = centrism
			popularity = 0.1
		}
	}
	
	#We are UK
	option = {
		name = ireland.4.b
		ai_chance = { factor = 0 }
		add_political_power = 100
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.1
		}
	}
}

#The UK rejects sending Aid
country_event = {
	id = ireland.5
	title = ireland.5.t
	desc = ireland.5.d
	picture = GFX_report_event_uk_parliament

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		TAG = IRE
	}
	
	option = {
		name = ireland.5.a
		ai_chance = { factor = 100 }
		add_stability = -0.1
	}
}

#The UK sends some aid
country_event = {
	id = ireland.6
	title = ireland.6.t
	desc = ireland.6.d
	picture = GFX_report_event_uk_parliament

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		TAG = IRE
	}
	
	option = {
		name = ireland.6.a
		ai_chance = { factor = 100 }
		add_stability = 0.05
	}
}

#The UK sends lots aid
country_event = {
	id = ireland.7
	title = ireland.7.t
	desc = ireland.7.d
	picture = GFX_report_event_uk_parliament

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		TAG = IRE
	}
	
	option = {
		name = ireland.7.a
		ai_chance = { factor = 100 }
		add_stability = 0.1
	}
}

#Famine
country_event = {
	id = ireland.8
	title = ireland.8.t
	desc = ireland.8.d
	picture = GFX_news_event_plague_victorian

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		TAG = IRE
	}

    option = {
		name = ireland.8.a
		ai_chance = { factor = 100 }
        add_political_power = 50
    }
}

#The UK rejects sending Aid2
country_event = {
	id = ireland.9
	title = ireland.9.t
	desc = ireland.9.d
	picture = GFX_report_event_uk_parliament

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		TAG = IRE
	}
	
	#Accept Red Hand
	option = {
		name = ireland.9.a
		ai_chance = { factor = 100 }
		country_event = {
			id = ireland.11
			days = 60
		}
		add_stability = -0.3
	}

	#Decline Red Hand
	option = {
		name = ireland.9.b
		ai_chance = { factor = 0 }
		country_event = {
			id = ireland.12
			days = 30
		}
		add_stability = -0.05
	}
}

#The UK sends some aid2
country_event = {
	id = ireland.10
	title = ireland.10.t
	desc = ireland.10.d
	picture = GFX_report_event_uk_parliament

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		TAG = IRE
	}
	
	option = {
		name = ireland.10.a
		ai_chance = { factor = 100 }
		country_event = {
			id = ireland.11
			days = 35
		}
		add_stability = 0.05
	}
}

#Unionist hold onto power
country_event = {
	id = ireland.11
	title = ireland.11.t
	desc = ireland.11.d
	picture = GFX_report_event_uk_parliament

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		TAG = IRE
	}
	
	option = {
		name = ireland.11.a
		ai_chance = { factor = 100 }
		add_stability = 0.1
	}
}

#The IRB Coup
country_event = {
	id = ireland.12
	title = ireland.12.t
	desc = ireland.12.d
	picture = GFX_report_event_uk_parliament

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		TAG = IRE
	}

	option = {
		name = ireland.12.a
		ai_chance = { factor = 100 }
		country_event = {
			id = ireland.13
			days = 60
		}
		set_politics = {
			ruling_party = social_egalitarianism
			elections_allowed = yes
		}
		set_cosmetic_tag = IRE
		end_puppet = ENG
		add_stability = -0.1
	}
}

#Democracy Restored
country_event = {
	id = ireland.13
	title = ireland.13.t
	desc = ireland.13.d
	picture = GFX_report_event_uk_parliament

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		TAG = IRE
	}

	option = {
		name = ireland.13.a
		ai_chance = { factor = 100 }
		set_politics = {
			ruling_party = centrism
			elections_allowed = yes
		}
		add_stability = 0.15
	}
}