########################
# Saudi Arabian Events #
########################

add_namespace = saudi

country_event = { # morocco wants independence
	id = saudi.1
	title = saudi.1.t
	desc = saudi.1.desc
	picture = GFX_report_event_ast_army
	
	is_triggered_only = yes
	
	option = { # grant independence
		name = saudi.1.a

		ai_chance = {
			base = 100
		}

		MOR = { 
			transfer_state = 290
		}
	}

	option = { # dont grant independence
		name = saudi.1.b

		ai_chance = {
			base = 1
		}

		MOR = { 
			transfer_state = 290
		}
		MOR = {
			declare_war_on = {
				target = ROOT
				type = puppet_wargoal_focus
			}
		}
	}
}

country_event = { # oman joins saudi arabia
	id = saudi.2
	title = saudi.2.t
	desc = saudi.2.desc
	picture = GFX_saudi_event_1
	
	is_triggered_only = yes
	
	option = { # k
		name = saudi.2.a
		add_stability = 0.05
	}
}

country_event = { # morocco demands north africa
	id = saudi.3
	title = saudi.3.t
	desc = saudi.3.desc
	picture = GFX_report_event_ast_army
	
	is_triggered_only = yes
	
	option = { # grant state
		name = saudi.3.a

		ai_chance = {
			base = 100
		}

		every_owned_state = {
			limit = {
				OR = {
					state = 462
					state = 461
					state = 513
					state = 459
					state = 460
					state = 458
					state = 665
					state = 448
					state = 661
					state = 449
					state = 662
					state = 450
					state = 663
					state = 451
					state = 452
					state = 447
					state = 551
					state = 457
					state = 456
				}
			}
			MOR = { transfer_state = PREV }
		}
	}

	option = { # refuse to grant state
		name = saudi.3.b
		
		ai_chance = {
			base = 1
		}

		MOR = { 
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ROOT
			}
		}
	}
}

country_event = {
	id = saudi.22
	title = saudi.22.t
	desc = saudi.22.desc
	picture = GFX_report_event_ANZAC_day
	
	is_triggered_only = yes
	
	option = { # grant state
		name = saudi.22.a

		ai_chance = {
			base = 100
		}

		SAU = { 
			transfer_state = 453
		}
	}

	option = { # refuse to grant state
		name = saudi.22.b
		
		ai_chance = {
			base = 1
		}

		SAU = { 
			create_wargoal = {
				type = take_state_focus
				generator = { 453 }
				target = ROOT
			}
		}
	}
}

country_event = {
	id = saudi.23
	title = saudi.22.t
	desc = saudi.22.desc
	picture = GFX_report_event_ANZAC_day
	
	is_triggered_only = yes
	
	option = { # grant state
		name = saudi.22.a

		ai_chance = {
			base = 100
		}

		SAU = { 
			transfer_state = 446
		}
	}

	option = { # refuse to grant state
		name = saudi.22.b
		
		ai_chance = {
			base = 1
		}

		SAU = { 
			create_wargoal = {
				type = take_state_focus
				generator = { 446 }
				target = ROOT
			}
		}
	}
}

country_event = {
	id = saudi.24
	title = saudi.24.t
	desc = saudi.24.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = no

	fire_only_once = yes

	trigger = {
		SAU = {
			has_completed_focus = SAU_consolidation
		}
		controls_state = 454
		NOT = {
			OR = {
				has_global_flag = holy_land_crisis
				original_tag = SAU
				original_tag = PAL
				original_tag = ISR
				454 = {
					owner = {
						has_war_with = ROOT
					}
				}
				454 = {
					is_core_of = ROOT
				}
			}
		}
	}

	immediate = {
		set_global_flag = holy_land_crisis
	}
	
	option = { # grant state
		name = saudi.24.a

		ai_chance = {
			base = 100
		}
		random_list = {
			50 = {
				PAL = { 
					transfer_state = 454
					add_popularity = {
						ideology = neutrality
						popularity = 0.5
					}
					set_politics = {
						ruling_party = neutrality
						elections_allowed = no
					}
				}
			}
			50 = {
				ISR = { 
					transfer_state = 454
					add_popularity = {
						ideology = neutrality
						popularity = 0.5
					}
					set_politics = {
						ruling_party = neutrality
						elections_allowed = no
					}
				}
			}
		}
	}

	option = { # dont grant state
		name = saudi.24.b
		
		ai_chance = {
			base = 1
		}

		random_list = {
			50 = {
				PAL = { 
					transfer_state = 454
					add_popularity = {
						ideology = neutrality
						popularity = 0.5
					}
					set_politics = {
						ruling_party = neutrality
						elections_allowed = no
					}
					declare_war_on = {
						target = ROOT
						type = topple_government
					}
				}
			}
			50 = {
				ISR = { 
					transfer_state = 454
					add_popularity = {
						ideology = neutrality
						popularity = 0.5
					}
					set_politics = {
						ruling_party = neutrality
						elections_allowed = no
					}
					declare_war_on = {
						target = ROOT
						type = topple_government
					}
				}
			}
		}
	}
}

country_event = {
	id = saudi.25
	title = saudi.25.t
	desc = saudi.25.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # ok
		name = saudi.25.a

		ai_chance = {
			base = 90
			modifier = {
				add = 10 
				original_tag = MOR
			}
			modifier = {
				add = 100
				is_historical_focus_on = yes
			}
		}

		SAU = {
			add_to_faction = ROOT
		}
		if = {
			limit = {
				is_ai = yes
			}
			add_opinion_modifier = {
				target = SAU modifier = large_decrease
			}
		}
	}

	option = { # nah
		name = saudi.25.b
		
		ai_chance = {
			base = 10
			modifier = {
				factor = 0 
				original_tag = MOR
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}

		SAU = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ROOT
			}
		}
	}
}

country_event = {
	id = saudi.26
	title = saudi.26.t
	desc = saudi.26.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # ok
		name = saudi.26.a

		ai_chance = {
			base = 1
			modifier = {
				add = 8
				has_opinion = { target = SAU value > 99 }
			}
		}

		SAU = {
			annex_country = { target = ROOT transfer_troops = yes }
		}
		every_unit_leader = {
			set_nationality = SAU
		}
	}

	option = { # nah
		name = saudi.26.b
		
		ai_chance = {
			base = 9
			modifier = {
				add = -8
				has_opinion = { target = SAU value > 99 }
			}
		}

		
		if = {
			limit = { is_in_faction_with = SAU }
			leave_faction = yes
		}
		division_template = {
			name = "Conscript Division"

			regiments = {
				infantry = { x = 0 y = 0 }
				infantry = { x = 0 y = 1 }
				infantry = { x = 0 y = 2 }
				infantry = { x = 1 y = 0 }
				infantry = { x = 1 y = 1 }
				infantry = { x = 1 y = 2 }
				infantry = { x = 2 y = 0 }
				infantry = { x = 2 y = 1 }
				infantry = { x = 2 y = 2 }
			}
		}
		if = {
			limit = {
				owns_state = 454
			}
			SAU = {
				declare_war_on = {
					target = ROOT
					type = take_state_focus
					generator = { 454 }
				}
			}
			capital_scope = {
				create_unit = {
					division = "name = \"Conscripts\" division_template = \"Conscript Division\" start_experience_factor = 0.1 start_equipment_factor = 1.0" owner = ROOT
					count = 3
				}
			}
		}
		else = {
			SAU = {
				declare_war_on = {
					target = ROOT
					type = puppet_wargoal_focus
				}
			}
			capital_scope = {
				create_unit = { 
					division = "name = \"Conscripts\" division_template = \"Conscript Division\" start_experience_factor = 0.1 start_equipment_factor = 1.0" owner = ROOT
					count = 9
				}
			}
		}
	}
}

country_event = {
	id = saudi.27
	title = saudi.27.t
	desc = saudi.27.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # they can have their war if they dare!
		name = "If they break the deal, so will we!"

		ai_chance = {
			base = 30
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}

		SAU = {
			set_autonomy = { target = ROOT autonomy_state = autonomy_free }
			create_wargoal = {
				target = ROOT
				type = take_state_focus
				generator = { 291 676 }
			}
		}
		if = {
			limit = { is_in_faction_with = SAU }
			leave_faction = yes
		}
	}

	option = { # they can have it
		name = "Lets hope thats all they want..."
		
		ai_chance = {
			base = 70
		}

		SAU = {
			transfer_state = 291
			transfer_state = 676
		}
	}
}

country_event = {
	id = saudi.28
	title = saudi.28.t
	desc = saudi.28.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # they can have their war if they dare!
		name = saudi.28.a

		ai_chance = {
			base = 30
		}

		SAU = {
			set_autonomy = { target = ROOT autonomy_state = autonomy_free }
		}
		if = {
			limit = { owns_state = 676}
			SAU = {
				create_wargoal = {
					target = ROOT
					type = take_state_focus
					generator = { 676 }
				}
			}
		}
		else = {
			SAU = {
				create_wargoal = {
					target = ROOT
					type = take_state_focus
					generator = { 291 }
				}
			}
		}
	}

	option = { # they can have it
		name = saudi.28.b
		
		ai_chance = {
			base = 70
		}

		if = {
			limit = { owns_state = 676}
			SAU = {
				transfer_state = 676
			}
		}
		else = {
			SAU = {
				transfer_state = 291
			}
		}
	}
}

country_event = {
	id = saudi.29
	title = saudi.29.t
	desc = saudi.29.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # referendum
		name = saudi.29.a

		ai_chance = {
			base = 70
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		random_list = {
			34 = {
				SAU = { # failure
					country_event = {
						id = saudi.30 hours = 1
					}
				}
				FRA = {
					country_event = {
						id = saudi.30 hours = 1
					}
				}
			}
			33 = { # join saudi arabia
				SAU = {
					country_event = {
						id = saudi.31 hours = 1
					}
				}
				FRA = {
					country_event = {
						id = saudi.31 hours = 1
					}
				}
			}
			33 = { # independence
				SAU = {
					country_event = {
						id = saudi.32 hours = 1
					}
				}
				FRA = {
					country_event = {
						id = saudi.32 hours = 1
					}
				}
			}
		}
	}

	option = { # independence
		name = saudi.29.b
		
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		SAU = {
			country_event = {
				id = saudi.33 hours = 1
			}
		}
		SYR = {
			transfer_state = 553
			transfer_state = 554
			transfer_state = 677
			transfer_state = 680
			transfer_state = 799
		}
	}

	option = { # saudi
		name = saudi.29.c
		
		ai_chance = {
			base = 10
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
		SAU = {
			country_event = {
				id = saudi.34 hours = 1
			}
			transfer_state = 553
			transfer_state = 554
			transfer_state = 677
			transfer_state = 680
			transfer_state = 799
		}
	}

	option = { # keep syria
		name = saudi.29.d
		
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		SAU = {
			country_event = {
				id = saudi.35 hours = 1
			}
		}
	}
}

country_event = {
	id = saudi.30
	title = saudi.30.t
	desc = saudi.30.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # respect the results
		name = saudi.30.a

		ai_chance = {
			base = 1
		}
		add_stability = 0.05
		add_political_power = 50
	}
	option = { # attack anyways
		name = saudi.30.b

		ai_chance = {
			base = 100
		}
		add_stability = -0.05
		add_political_power = -10
		create_wargoal = {
			target = FRA
			type = take_state_focus
			generator = { 553 554 677 680 799 }
		}
	}
}

country_event = {
	id = saudi.31
	title = "Syrian Referendum Succeeds"
	desc = "After some diplomatic pressure, France has finally allowed for a referendum to be held in syria. With a bit of help to skew the results, the people have chosen to join us!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # nice
		name = "The people have spoken!"

		ai_chance = {
			base = 100
		}
		add_stability = 0.05
		add_political_power = 50
		FRA = {
			ROOT = {
				transfer_state = 553
				transfer_state = 554
				transfer_state = 677
				transfer_state = 680
				transfer_state = 799
			}
		}	
	}
}

country_event = {
	id = saudi.32
	title = "Syrian Referendum Succeeds"
	desc = "After some diplomatic pressure, France has finally allowed for a referendum to be held in syria. With a bit of help to skew the results, the people have chosen to become independent from France!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # nice
		name = "The people have spoken!"

		ai_chance = {
			base = 100
		}
		FRA = {
			SYR = {
				transfer_state = 553
				transfer_state = 554
				transfer_state = 677
				transfer_state = 680
				transfer_state = 799
			}
		}	
	}
}

country_event = {
	id = saudi.33
	title = "Syrian Independence Granted"
	desc = "After some diplomatic pressure, France has granted syria their independence, fearing, that if they dont, they might seek our help."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # ok
		name = "I guess thats fine."

		ai_chance = {
			base = 100
		}
	}
}

country_event = {
	id = saudi.34
	title = "Syrian Territories Granted"
	desc = "After some diplomatic pressure, France has finally allowed for the people in Syria to join us!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # nice
		name = "Blessed be the french!"

		ai_chance = {
			base = 100
		}
		add_stability = 0.05
		add_political_power = 50
	}
}

country_event = {
	id = saudi.35
	title = "Syrian Referendum Denied"
	desc = "France has refused our request for a syrian referendum on whether they want to remain a part of the French Empire, become independent or join us, even though we promised them that this would be the last project of our Arab Consolidation Program."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # intervene
		name = "We have to free them."

		ai_chance = {
			base = 100
		}
		add_war_support = 0.1
		create_wargoal = {
			target = FRA
			type = topple_government
		}
	}

	option = { # intervene
		name = "We cant risk a war with France!"

		ai_chance = {
			base = 1
		}
		add_war_support = -0.10
		add_political_power = -100
		add_stability = -0.10
	}
}

country_event = {
	id = saudi.36
	title = "Saudi Arabia Demands Compliance"
	desc = "Ever since Saudi Arabia has annexed our southernmost state of Al Hajara, we have been a thorn in their eye. But now, they have escalated things further by signing a pact with Iran, which states that should Saudi Arabia and Iran launch a joint invasion and succeed, Iran will be given all of the territory, but they shall in turn become a Saudi Arabian Sattelite. They have begun mobilization and are ready for war!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # give up
		name = "We have no choice but to surrender."

		ai_chance = {
			base = 90
			modifier = {
				add = 100
				is_historical_focus_on = yes
			}
		}
		266 = {
			owner = {
				annex_country = { target = ROOT transfer_troops = yes }
			}
			SAU = { set_autonomy = { target = PREV autonomy_state = autonomy_puppet } }
		}
		hidden_effect = {
			news_event = { hours = 6 id = saudi_news.2 }
		}
		every_unit_leader = {
			set_nationality = SAU
		}
	}

	option = { # go to war
		name = "They can have their war if they dare!"

		ai_chance = {
			base = 10
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
		add_war_support = 0.10
		SAU = {
			declare_war_on = {
				target = ROOT
				type = puppet_wargoal_focus
			}
		}
		266 = {
			owner = {
				declare_war_on = {
					target = ROOT
					type = take_state_focus
					generator = { 291 676 }
				}
			}
		}

	}
}

country_event = {
	id = saudi.37
	title = "The Riyadh-Tehran Pact"
	desc = "Ever since Saudi Arabia has annexed the southernmost state of Iraq, Al Hajara, the country of Iraq has been a thorn in their eye. But now, they have escalated things further by proposing a pact with us, which states that, should we and Saudi Arabia launch a joint invasion of Iraq and succeed, we will be given all of the iraqi territory, but we shall in turn become a their Sattelite. This will be very risky but Iraq is rich in oil, which could bring us great economic success..."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # nah
		name = "It's too risky!"

		ai_chance = {
			base = 35
		}
		
		SAU = {
			country_event = {
				id = saudi.38
			}
		}
	}

	option = { # sign the treaty
		name = "Sounds... Good."

		ai_chance = {
			base = 65
		}
		if = {
			limit = {
				291 = {
					owner = {
						is_ai = yes
					}
				}
			}
			hidden_effect = {
				news_event = { hours = 6 id = saudi_news.2 }
			}
			291 = {
				owner = {
					ROOT = {
						annex_country = {
							target = PREV transfer_troops = yes
						}
					}
				}
			}
			291 = {
				owner = {
					every_unit_leader = {
						set_nationality = SAU
					}
				}
			}
			SAU = { set_autonomy = { target = ROOT autonomy_state = autonomy_puppet } }
			add_war_support = 0.10
		}
		else = {
			291 = {
				owner = {
					country_event = {
						id = saudi.36
					}
				}
			}
			add_war_support = 0.10
		}
	}
}

country_event = {
	id = saudi.38
	title = "Persia Refuses"
	desc = "The Persian government has answered our request for an alliance stating that we are not a desirable ally and they think it is too risky to attack Iraq."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # attack both
		name = "We will crush them both!"

		ai_chance = {
			base = 75
		}
		add_war_support = 0.10
		291 = {
			owner = {
				ROOT = {
					create_wargoal = {
						target = PREV
						type = puppet_wargoal_focus
					}
				}
			}
		}
		266 = {
			owner = {
				ROOT = {
					create_wargoal = {
						target = PREV
						type = puppet_wargoal_focus
					}
				}
			}
		}
	}

	option = { # attack only iraq
		name = "Our objective is still the same."

		ai_chance = {
			base = 25
		}
		
		add_war_support = 0.05
		291 = {
			owner = {
				ROOT = {
					create_wargoal = {
						target = PREV
						type = puppet_wargoal_focus
					}
				}
			}
		}
	}

	option = { # dont attack
		name = "Without them we dont stand a chance."

		ai_chance = {
			base = 1
		}
		
		add_war_support = -0.05
	}
}

country_event = {
	id = saudi.39
	title = "Saudi Arabia Demands Syria"
	desc = "The Saudi Arabian government has sent us an ultimatum stating that we are not a trustworthy overlord for the syrian people, and that we must cede control over Syria at once."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # ok
		name = "Give them what they want."

		ai_chance = {
			base = 75
		}
		add_war_support = -0.05
		if = {
			limit = { original_tag = SYR }
			every_unit_leader = {
				set_nationality = SAU
			}
		}
		every_owned_state = {
			limit = {
				OR = {
					state = 553
					state = 554
					state = 677
					state = 680
					state = 799
				}
			}
			add_core_of = SAU
			SAU = { transfer_state = PREV }
		}
	}

	option = { # no
		name = "They are even less trustworthy!"

		ai_chance = {
			base = 25
		}
		
		add_war_support = 0.05
		SAU = {
			create_wargoal = {
				target = ROOT
				type = puppet_wargoal_focus
			}
		}
		every_owned_state = {
			limit = {
				OR = {
					state = 553
					state = 554
					state = 677
					state = 680
					state = 799
				}
			}
			add_core_of = SAU
		}
	}
}

country_event = {
	id = saudi.40
	title = "Saudi Arabia Offers White Peace"
	desc = "The Saudi Arabian government has sent us an offer of peace! Since we have failed to defend syria, many people in france want an end to this war. If we do not accept this offer, this will further destabilize our country and we might even risk civil war."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # white peace
		name = "We have to end this war."

		ai_chance = {
			base = 100
		}
		add_stability = 0.01
		white_peace = SAU
		SAU = {
			country_event = {
				id = saudi.42 hours = 1
			}
		}
	}

	option = { # war
		name = "We cant lose syria!"

		ai_chance = {
			base = 1
		}
		
		add_war_support = -0.10
		add_stability = -0.10
		SAU = {
			country_event = {
				id = saudi.43 hours = 1
			}
		}
		set_country_flag = FRA_refused_peace
	}
}

country_event = {
	id = saudi.41
	title = "The French Civil War"
	desc = "Ever since we refused Saudi Arabias request for peace, unrest in France has been at an all time high. But now that our stability has decreased drastically, major resistance groups were able to form and unite against us!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = no

	fire_only_once = yes

	trigger = {
		has_civil_war = no
		has_government = democratic
		has_stability < 0.10
		NOT = {
			has_global_flag = FRA_syria_civilwar
		}
		original_tag = FRA
		has_country_flag = FRA_refused_peace
	}
	
	immediate = {
		set_global_flag = FRA_syria_civilwar
	}

	option = { # civil war
		name = "We shall never surrender!"

		ai_chance = {
			base = 75
		}
		add_war_support = 0.10
		add_stability = -0.10
		start_civil_war = {
			ruling_party = democratic
			ideology = communism
			size = 0.5
			#capital = 64
			#states = { 64 61 52 53 54 60 65 66 67 68 62 63 5 }
		}
	}

	option = { # make concessions
		name = "We need to make concessions!"

		ai_chance = {
			base = 25
		}
		
		add_war_support = -0.10
		add_stability = 0.10
		if = {
			limit = {
				has_war_with = SAU
			}
			every_country = {
				limit = {
					OR = {
						original_tag = SAU
						is_subject_of = SAU
						is_in_faction_with = SAU
					}
				}
				white_peace = ROOT
			}
			SAU = {
				country_event = {
					id = saudi.42 hours = 1
				}
			}
		}
	}
}

country_event = {
	id = saudi.42
	title = "France Accepts White Peace"
	desc = "Our request for a white peace has been accepted by the french government!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # yay
		name = "God has smiled upon us!"

		ai_chance = {
			base = 100
		}
		add_stability = 0.10
	}
}

country_event = {
	id = saudi.43
	title = "France Refuses White Peace"
	desc = "Our request for a white peace has been rejected by the french government. It seems they think they stand a chance against our brave soldiers, but we will show them how wrong they are."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # sad
		name = "We will crush them."

		ai_chance = {
			base = 100
		}
	}
}

country_event = {
	id = saudi.44
	title = "Saudi Arabians Press For Al'iitisal"
	desc = "Civil unrest and acts of violence have broken out as protesters voice their desire for Yemen to join Saudi Arabia in a union of Arab peoples. Riyadh is pressing hard for an Al'iitisal, which would see Yemen annexed into their nation"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # ok
		name = "We shall join Saudi Arabia!"

		ai_chance = {
			base = 100
		}

		SAU = {
			annex_country = { target = ROOT transfer_troops = yes }
		}
		hidden_effect = {
			news_event = { hours = 6 id = saudi_news.3 }
		}
	}

	option = { # nah
		name = "No, Yemen's destiny lies elsewhere."

		ai_chance = {
			base = 1
		}

		SAU = { 
			create_wargoal = {
				type = take_state_focus
				generator = { 293 }
				target = ROOT
			}
		}
	}
}

country_event = {
	id = saudi.45
	title = "Persian Referendum Fails"
	desc = "The recently held referendum in Persia on whether or not the people there want to join our nations has sadly failed, with an overwhelming 93,8% voting for no..."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # ok
		name = "We should respect the will of the people."

		ai_chance = {
			base = 1
		}

		add_political_power -10
	}

	option = { # annex anyways
		name = "That was clearly rigged!"

		ai_chance = {
			base = 100
		}

		266 = {
			owner = {
				if = {
					limit = {
						is_faction_leader = no
					}
					leave_faction = yes
				}
				else = {
					SAU = {
						leave_faction = yes
					}
				}
				ROOT = {
					create_wargoal = {
						type = take_state_focus
						generator = { 266 }
						target = PREV
					}
					set_autonomy = {
						target = PREV
						autonomy_state = autonomy_free
					}
				}
			}
		}
	}
}

country_event = {
	id = saudi.46
	title = "Abdulaziz ibn Saud proclaimed Imperator"
	desc = "The Arabian government has announced the reclamation of the old Roman Empire and has thus proclaimed Abdulaziz ibn Saud to be Roman Imperator!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			create_country_leader = {
				name = "Imperator Abdulaziz ibn Saud"
				desc = ""
				picture = "GFX_portrait_Abdulaziz_Ibn_Saud"
				expire = "1965.1.1"
				ideology = despotism
				traits = {
				
				}
			}
		}
	}

	option = { # roma invicta
		name = "Roma Invicta!"

		ai_chance = {
			base = 100
		}
		
		set_capital = {
			state = 2
		}
		set_cosmetic_tag = SPQR_UNIFIED
	}
}

country_event = {
	id = saudi.47
	title = "The Invasion of Iran"
	desc = "We have decided to take Iran by force, in order to ensure the comfortable outcome we cant ensure if we were to instead hold a referendum."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "Next Stop: Tehran!"

		ai_chance = {
			base = 100
		}
		
		266 = {
			owner = {
				ROOT = {
					declare_war_on = {
						target = PREV
						type = annex_everything
					}
				}
			}
		}
	}
}

country_event = {
	id = saudi.48
	title = "[SAU.getName] demands Al Hajara"
	desc = "[SAU.getAdjective] demands for Al Hajara, the southernmost region of Iraq, have come to a head. [SAU.GetLeader] has positioned forces along the [Root.GetAdjective] border in preparation for an attack."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # give them al hajara
		name = "We need to prevent a war."

		ai_chance = {
			base = 1
			modifier = {
				factor = 0.5
				is_in_faction = yes
			}
		}
		
		SAU = {
			transfer_state = 675
		}
		675 = {
			add_core_of = SAU
		}
		hidden_effect = {
			news_event = { hours = 6 id = saudi_news.1 }
		}
	}
	option = { # dont give them al hajara
		name = "Every inch of [Root.GetAdjective] soil shall be defended fiercely!"

		ai_chance = {
			base = 4
			modifier = {
				factor = 2
				is_in_faction = yes
			}
		}
		
		SAU = {
			create_wargoal = {
				target = ROOT
				type = take_state_focus
				generator = { 675 }
			}
		}
	}
}

country_event = {
	id = saudi.49
	title = "Saudi Arabia demands Desert"
	desc = "[SAU.GetLeader] has demanded that we must cede control over the north african desert to him! Although it is unlikely he will actually start a war over this, we dont have much of a use for this wasteland."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # give them desert
		name = "We have no use for this land. Let them have it!"

		ai_chance = {
			base = 100
		}
		
		if = {
			limit = {
				owns_state = 552
			}
			SAU = { transfer_state = 552 }
		}
		if = {
			limit = {
				owns_state = 273
			}
			SAU = { transfer_state = 273 }
		}
		if = {
			limit = {
				owns_state = 514
			}
			SAU = { transfer_state = 514 }
		}
	}
	option = { # dont give them desert
		name = "Every inch of [Root.GetAdjective] desert shall be defended fiercely!"

		ai_chance = {
			base = 1
		}
		
		SAU = {
			create_wargoal = {
				target = ROOT
				type = annex_everything
			}
		}
	}
}

country_event = {
	id = saudi.51
	title = "Holy Land integrated!"
	desc = "We have successfully swayed the population living in the Holy Land into supporting our government!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # kewl
		name = "Good."

		ai_chance = {
			base = 100
		}
		454 = {
			add_core_of = ROOT
		}
	}
}

country_event = {
	id = saudi.52
	title = "Morocco integrated!"
	desc = "We have successfully swayed the moroccan population into supporting our government!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # kewl
		name = "Good."

		ai_chance = {
			base = 100
		}
		every_state = {
			limit = { is_core_of = MOR }
			add_core_of = ROOT
		}
	}
}

country_event = {
	id = saudi.53
	title = "Persian Resistance Organizes"
	desc = "Ever since we ignored the results of the persian referendum, unrest in both Saudi Arabia and our newly conquered persian territories has been at an all time high. But now major resistance groups were able to form and organize against us!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = no

	fire_only_once = yes

	trigger = {
		original_tag = SAU
		owns_state = 266
		has_country_flag = SAU_persian_resistance
		NOT = { has_global_flag = SAU_persian_resistance_active }
	}
	
	immediate = {
		set_global_flag = SAU_persian_resistance_active
	}

	option = { # crap
		name = "Unfortunate."

		ai_chance = {
			base = 100
		}
		add_ideas = SAU_persian_resistance_idea
	}
}

country_event = {
	id = saudi.54
	title = "Reza Shah Pahlavi agrees to form the Royal Council"
	desc = "With the Persian people now firmly supporting our government and all major resistance groups having been pacified, we have finally been able to contact Reza Shah Pahlavi, former Shah of Persia, about a potential dual monarchy between Abdulaziz ibn Sauds Arabian half and his Persian half! When our embassador returned from Tehran, he had good news with him; the Shah accepted our proposal!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # nice
		name = "Our countries can finally return to greatness."

		ai_chance = {
			base = 100
		}
		add_war_support = 0.1
		add_stability = 0.1
		create_country_leader = {
			name = "Royal Council"
			desc = ""
			picture = "gfx/leaders/SAU/royal_council_portrait.dds"
			expire = "1965.1.1"
			ideology = oligarchism
			traits = {
				strong_public_support
			}
		}
		set_party_name = {
			ideology = neutrality
			long_name = "Royal Council"
			name = "RC"
		}
	}
}

country_event = {
	id = saudi.55
	title = "Golden Square Members arrive"
	desc = "Our invitation was gladly accepted by the golden square and cooperation against both of our tyrannical monarchs is already ongoing."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # k
		name = "We shall free [Root.getName]."

		ai_chance = {
			base = 100
		}
		create_country_leader = {
			name = "Salah al-Din al-Sabbagh"
			desc = ""
			picture = "gfx/leaders/SAU/royal_council_portrait.dds"
			expire = "1965.1.1"
			ideology = fascism_ideology
			traits = {
				#
			}
		}
		set_party_name = {
			ideology = fascism
			long_name = "Golden Square"
			name = "Golden Square"
		}
	}
}

country_event = {
	id = saudi.56
	title = "A Plan for Dominance"
	desc = "We are planning and planning and planning with the Golden Square yet we cannot decide on how to topple our tyrants. How should we go about this?"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # assassinate abdulaziz ibn saud, invade iraq
		name = "Assassinate [Root.getLeader], then free [IRQ.getName]"

		ai_chance = {
			base = 100
		}
		random_list = {
			90 = {
				kill_country_leader = yes
				create_wargoal = {
					target = IRQ
					type = topple_government
				}
			}
			10 = {
				country_event = {
					id = saudi.57
				}
				create_wargoal = {
					target = IRQ
					type = topple_government
				}
			}
		}
	}
}

country_event = {
	id = saudi.57
	title = "Assassination Attempt fails!"
	desc = "Our Agent has failed to assassinate [Root.getLeader] and has been executed for treason by the King!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # crap
		name = "Shit."

		ai_chance = {
			base = 100
		}
		start_civil_war = {
			ruling_party = fascism
			ideology = neutrality
			size = 0.5
			#capital = 64
			#states = { 64 61 52 53 54 60 65 66 67 68 62 63 5 }
		}
		set_popularities = {
			fascism = 100
		}
	}
}

country_event = {
	id = saudi.58
	title = "Oil!"
	desc = "We have found oil in our country!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = no

	fire_only_once = yes

	trigger = {
		NOT = {
			has_global_flag = SAU_oil_found
		}
		original_tag = SAU
		date > 1938.3.1
	}
	
	immediate = {
		set_global_flag = SAU_oil_found
	}

	option = { # kewl
		name = "We are going to be rich!"

		ai_chance = {
			base = 100
		}
		292 = {
			add_resource = {
				type = oil
				amount = 4
			}
		}
		859 = {
			add_resource = {
				type = oil
				amount = 13
			}
		}
		678 = {
			add_resource = {
				type = oil
				amount = 13
			}
		}
	}
}

country_event = { # persian war of resistance
	id = saudi.59
	title = saudi.59.t
	desc = saudi.59.desc
	picture = GFX_report_event_stalin_02

	trigger = {
		NOT = {
			has_global_flag = SAU_persian_resistance_war
			country_exists = PER
			has_war_with = PER
		}
		original_tag = SAU
		owns_state = 266
		OR = {
			has_idea = SAU_persian_concessions_1
			has_idea = SAU_persian_resistance_idea
		}
	}
	
	mean_time_to_happen = { days = 365 }

	immediate = {
		set_global_flag = SAU_persian_resistance_war
	}

	option = { # fuck
		name = saudi.59.a

		ai_chance = {
			base = 100
		}
		every_owned_state = {
			limit = {
				is_core_of = PER
				is_controlled_by = ROOT
			}
			add_resistance = 100
		}
	}
}

country_event = { # some random investor takes over the government
	id = saudi.62
	title = "The Investor seizes control!"
	desc = saudi.62.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = no

	fire_only_once = yes

	trigger = {
		NOT = {
			has_global_flag = SAU_investor_seized_control
			has_completed_focus = SAU_prepare
		}
		has_idea_with_trait = captain_of_industry
		has_political_power > 1500
		has_government = neutrality
	}
	
	immediate = {
		hidden_effect = {
			set_global_flag = SAU_investor_seized_control
		}
	}

	option = { # yay, i found a kewl secret
		name = "God Save The Investor!"

		ai_chance = {
			base = 100
		}
		load_focus_tree = secret_investor_focus
		mark_focus_tree_layout_dirty = yes
		complete_national_focus = SAU_the_investor_seizes_control
		add_country_leader_role = {
			character = SAU_investor_advisor
			promote_leader = yes
			country_leader = {
				ideology = despotism
				expire = "1965.1.1.1"
				traits = { investment_mastermind wants_investment_to_pay_off }
			}
		}
	}
}

country_event = { # arab volunteers recalled
	id = saudi.63
	title = "Arab Volunteers Recalled"
	desc = "[SAU.getLeader] has recalled [SAU.getName]'s volunteers. We might be on our own now, although they might still send advisors or other aid."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # sad
		name = "Unfortunate."

		ai_chance = {
			base = 100
		}
		hidden_effect = {
			set_global_flag = ETH_SAU_volunteers_recalled
		}
	}
}

country_event = { # ethiopian ai completes focus not to align with italy or soviet
	id = saudi.64
	title = "Hello AI!"
	desc = "You are going to go down the focus to board the train. Sorry!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			uncomplete_national_focus = {
				focus = ETH_reach_out_to_the_italians
				uncomplete_children = yes
				refund_political_power = yes
			}
			uncomplete_national_focus = {
				focus = ETH_military_communism
				uncomplete_children = yes
				refund_political_power = yes
			}
		}
	}

	option = { # sad
		name = "If it's for the player..."

		ai_chance = {
			base = 100
		}
		complete_national_focus = ETH_rally_around_the_emperor
		set_country_flag = ETH_saudi_intervention_focus
	}
}

country_event = { # saudi takes over italian africa
	id = saudi.65
	title = "Saudi Arabia demands Africa"
	desc = "When Saudi Arabia sent us aid in our civil war, we promised them our african colonies in return for their efforts. Now that the war is over, we must keep our promise."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = no

	fire_only_once = yes

	trigger = {
		has_country_flag = SAU_prearranged_saudi_expansion
		has_civil_war = no
	}
	
	immediate = {
		hidden_effect = {
			clr_country_flag = SAU_prearranged_saudi_expansion
		}
	}

	option = { # alr
		name = "It is only fair."

		ai_chance = {
			base = 100
		}
		every_owned_state = {
			limit = {
				is_on_continent = africa
			}
			SAU = {
				transfer_state = PREV
			}
		}
		every_country = {
			limit = {
				is_subject_of = ROOT
			}
			country_event = {
				id = saudi.65 hours = 24
			}
		}
		if = {
			limit = { # dont spam SAU with events from ITAs subjects
				is_subject = no
			}
			SAU = {
				country_event = {
					id = saudi.66
				}
			}
		}
	}
}

country_event = { # saudi notified about africa ceded to them
	id = saudi.66
	title = "Italy cedes control over Africa"
	desc = "Italy has decided to honour our treaty, and has ceded Italian territories in Africa to us."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # good
		name = "Good choice."

		ai_chance = {
			base = 100
		}
	}
}

country_event = { # YUG asked about slovenia purchase
	id = saudi.67
	title = "The Impossible Purchase"
	desc = "[SAU.getLeader] has today visited our capital city, asking for an audience with [ROOT.getLeader]. When his request was accepted, he proposed a potential deal in which we would cede Slovenia to [SAU.getName] and grant them military access in exchange for 2 Civilian Factories. It seems like [SAU.getLeader] has gone completely insane, but this deal might be benficial for us, since Slovenia is not very developed."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "As crazy as it sounds, we have a deal!"

		ai_chance = {
			base = 100
		}
		every_owned_state = {
			limit = {
				OR = {
					state = 102
					state = 853
				}
			}
			SAU = {
				transfer_state = PREV
			}
		}
		give_military_access = SAU
		set_country_flag = SAU_military_access_to_YUG
		SAU = {
			random_owned_controlled_state = {
				limit = {
					non_damaged_building_level = {
						building = industrial_complex
						level > 1
					}
				}
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
		}
		add_offsite_building = { type = industrial_complex level = 2 }
	}

	option = { # fuck off
		name = "Tell him to visit a psychiatrist."

		ai_chance = {
			base = 1
		}
		SAU = {
			add_opinion_modifier = {
				target = ROOT modifier = SAU_rude_modifier
			}
		}
		add_political_power = 10
	}

	option = { # kindly fuck off
		name = "We cant give up these important states."

		ai_chance = {
			base = 1
		}
		SAU = {
			add_opinion_modifier = {
				target = ROOT modifier = SAU_kind_modifier
			}
		}
		add_political_power = -10
	}
}

country_event = { # ethiopia war over
	id = saudi.68
	title = "2nd Italo-Ethiopian War concluded"
	desc = "The War in Ethiopia has finally come to an end. We can recall our help and focus on our own country again."
	picture = GFX_report_event_stalin_02

	is_triggered_only = no

	fire_only_once = yes

	trigger = {
		OR = {
			has_idea = SAU_intervention_in_ethiopia
			has_idea = SAU_volunteers_to_ethiopia
			has_idea = SAU_advisors_to_ethiopia
		}
		OR = {
			NOT = {
				country_exists = ITA
			}
			NOT = {
				country_exists = ETH
			}
			NOT = {
				ITA = {
					has_war_with = ETH
				}
			}
		}
		NOT = {
			has_global_flag = SAU_italy_ethiopia_war_over
		}
	}

	mean_time_to_happen = { days = 1 }
	
	immediate = {
		hidden_effect = {
			remove_ideas = SAU_intervention_in_ethiopia
			remove_ideas = SAU_volunteers_to_ethiopia
			remove_ideas = SAU_advisors_to_ethiopia
		}
		set_global_flag = SAU_italy_ethiopia_war_over
	}

	option = { # good
		name = "Good."

		ai_chance = {
			base = 100
		}
		every_country = {
			limit = {
				OR = {
					has_idea = SAU_volunteers_from_arabia
					has_idea = SAU_advisors_from_arabia
				}
			}
			remove_ideas = SAU_volunteers_from_arabia
			remove_ideas = SAU_advisors_from_arabia
		}
	}
}

country_event = { # italian neighbours asked about anti fascist coalition
	id = saudi.69
	title = "The Fascist Threat"
	desc = "[SAU.getLeader] has today visited our capital city, asking for an audience with [ROOT.getLeader]. When his request was accepted, he proposed a potential alliance. We would pledge to join a war against [ITA.getName] in one month. This would be beneficial to us, since Italy is an active threat to us, although [SAU.getName] would receive the state of Lazio in case of a victory against Italy. [SAU.getLeader] did not mention why, so it is probably best if we do not question him."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "We need to eliminate this threat."

		ai_chance = {
			base = 100
			modifier = {
				factor = 0
				original_tag = ITA
			}
		}
		set_country_flag = SAU_will_join_war
		every_subject_country = { set_country_flag = SAU_will_join_war }
	}

	option = { # no
		name = "Tell him to find someone else to exploit."

		ai_chance = {
			base = 1
			modifier = {
				add = 100
				original_tag = ITA
			}
		}
	}
}

country_event = { # coalition attacks ITA
	id = saudi.70
	title = "Realizing the Plan"
	desc = "We have invited every country that borders the italian peninsula to our alliance. If we were to strike now, every country that accepted would join our faction and the war against fascism. The time to strike is now, the time to take down fascism!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "For a better world, free of fascism!"

		ai_chance = {
			base = 100
		}
		declare_war_on = {
			target = IFG
			type = puppet_wargoal_focus
		}
		set_global_flag = SAU_italy_attacked
		every_country = {
			limit = {
				has_country_flag = SAU_will_join_war
			}
			ROOT = {
				add_to_faction = PREV
			}
			declare_war_on = {
				target = IFG
				type = puppet_wargoal_focus
			}
		}
	}
}

country_event = { # SAU sends invitations
	id = saudi.71
	title = "The Plan"
	desc = "We have officially created the Anti-Fascist Coalition, and it is now time to invite the european neighbors of Italy."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "Send the invitations."

		ai_chance = {
			base = 100
		}
		every_country = {
			limit = {
				any_owned_state = {
					has_state_flag = SAU_european_neighbor_of_italy
				}
			}
			country_event = {
				id = saudi.69
			}	
		}
		hidden_effect = {
			ROOT = {
				country_event = {
					id = saudi.70 days = 30
				}
			}
		}
	}
}

country_event = { # SAU demands iberian subjugation
	id = saudi.72
	title = "[SAU.getName] demands subjugation"
	desc = "[SAU.getLeader] has sent us an ultimatum, demanding the immediate subjugation of our country to [SAU.getName]. He has already taken down Italy, so it might be best for the people just to give in."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "We have to give in."

		ai_chance = {
			base = 10
		}
		if = {
			limit = {
				any_owned_state = {
					NOT = {
						state = 179
						state = 112
						state = 795
						state = 181
						state = 180
						state = 171
						state = 169
						state = 170
						state = 788
						state = 174
						state = 790
						state = 791
						state = 41
						state = 175
						state = 789
						state = 173
						state = 118
						state = 168
						state = 167
						state = 793
						state = 176
						state = 792
						state = 172
						state = 166
						state = 794
						state = 165
						state = 177
					}
				}
			}
			every_owned_state = {
				limit = {
					OR = {
						state = 179
						state = 112
						state = 795
						state = 181
						state = 180
						state = 171
						state = 169
						state = 170
						state = 788
						state = 174
						state = 790
						state = 791
						state = 41
						state = 175
						state = 789
						state = 173
						state = 118
						state = 168
						state = 167
						state = 793
						state = 176
						state = 792
						state = 172
						state = 166
						state = 794
						state = 165
						state = 177
					}
				}
				SAU = {
					transfer_state = PREV
				}
			}
		}
		else = {
			SAU = {
				annex_country = {
					target = PREV
					transfer_troops = no
				}
			}
		}
	}
	option = { # fuck off
		name = "Come and take us down then!"

		ai_chance = {
			base = 10
		}
		SAU = {
			create_wargoal = {
				target = ROOT
				type = annex_everything
			}
		}
	}
}

country_event = { # SAU demands subjugation from GRE
	id = saudi.73
	title = "[SAU.getName] demands subjugation"
	desc = "[SAU.getLeader] has sent us an ultimatum, demanding the immediate subjugation of our country to [SAU.getNameDef]. They have already taken down Italy, so it might be best for the people just to give in."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "We have to give in."

		ai_chance = {
			base = 10
		}
		if = {
			limit = {
				original_tag = GRE
			}
			SAU = {
				annex_country = {
					target = ROOT
					transfer_troops = no
				}
			}
		}
		else = {
			every_owned_state = {
				limit = {
					is_core_of = GRE
				}
				SAU = {
					transfer_state = PREV
				}
			}
		}
	}

	option = { # fuck off
		name = "Come and take us down then!"

		ai_chance = {
			base = 10
		}
		SAU = {
			create_wargoal = {
				target = ROOT
				type = annex_everything
			}
		}
	}
}

country_event = { # SAU demands subjugation from YUG
	id = saudi.74
	title = "[SAU.getName] demands subjugation"
	desc = "[SAU.getLeader] has sent us an ultimatum, demanding the immediate subjugation of our country to [SAU.getName]. He has already taken down Italy, so it might be best for the people just to give in."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "We have to give in."

		ai_chance = {
			base = 10
		}
		every_owned_state = {
			limit = {
				OR = {
					is_core_of = YUG
					is_core_of = SLV
					is_core_of = CRO
					is_core_of = BOS
					is_core_of = MNT
					is_core_of = SER
					is_core_of = KOS
					is_core_of = MAC
					state = 45
					state = 764
				}
			}
			SAU = {
				transfer_state = PREV
			}
		}
	}

	option = { # fuck off
		name = "Come and take us down then!"

		ai_chance = {
			base = 10
		}
		SAU = {
			create_wargoal = {
				target = ROOT
				type = annex_everything
			}
		}
	}
}

country_event = { # SAU demands subjugation from TUR
	id = saudi.75
	title = "[SAU.getName] demands subjugation"
	desc = "[SAU.getLeader] has sent us an ultimatum, demanding the immediate subjugation of our country to [SAU.getName]. He has already taken down Italy, so it might be best for the people just to give in."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "We have to give in."

		ai_chance = {
			base = 10
		}
		if = {
			limit = {
				original_tag = TUR
			}
			SAU = {
				annex_country = {
					target = ROOT
					transfer_troops = no
				}
			}
		}
		else = {
			every_owned_state = {
				limit = {
					OR = {
						is_core_of = TUR
						state = 350
						state = 352
						state = 353
						state = 800
					}
				}
				SAU = {
					transfer_state = PREV
				}
			}
		}
	}

	option = { # fuck off
		name = "Come and take us down then!"

		ai_chance = {
			base = 10
		}
		SAU = {
			create_wargoal = {
				target = ROOT
				type = annex_everything
			}
		}
	}
}

country_event = { # SAU offers protection
	id = saudi.76
	title = "[SAU.getName] offers protection"
	desc = "[SAU.getLeader] has sent us an offer, stating that [SAU.getName] would protect us in case of war in return for our loyalty and parts of our industrial capcity. They have already taken down Italy, so they might actually be a useful ally."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "Sounds good, i think."

		ai_chance = {
			base = 10
		}
		SAU = {
			set_autonomy = {
				target = ROOT
				autonomy_state = autonomy_puppet
			}
		}
	}

	option = { # fuck off
		name = "We can manage on our own."

		ai_chance = {
			base = 10
		}
	}
}

country_event = { # SAU demands european minors
	id = saudi.77
	title = "[SAU.getName] demands [ROOT.getName]"
	desc = "[SAU.getLeader] has sent us an ultimatum, stating that if we do not submit to his demands for annexation, he would launch an outright invasion. Seeing as he is the current Roman Imperator, we should not underestimate his might."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "We surrender!"

		ai_chance = {
			base = 10
		}
		SAU = {
			annex_country = {
				target = ROOT
				transfer_troops = no
			}
		}
	}

	option = { # fuck off
		name = "Let us see how mighty he is."

		ai_chance = {
			base = 10
		}
		SAU = {
			create_wargoal = {
				target = ROOT
				type = puppet_wargoal_focus
			}
		}
	}
}

country_event = { # SAU offers protection to european minors
	id = saudi.78
	title = "[SAU.getName] offers protection"
	desc = "[SAU.getLeader] has sent us an offer, stating that [SAU.getName] would protect us in case of war in return for our loyalty and parts of our industrial capcity. They have already taken down Italy, so they might actually be a useful ally."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "Sounds good, i think."

		ai_chance = {
			base = 10
		}
		SAU = {
			set_autonomy = {
				target = ROOT
				autonomy_state = autonomy_puppet
			}
		}
	}

	option = { # fuck off
		name = "We can manage on our own."

		ai_chance = {
			base = 10
		}
	}
}

country_event = {
	id = saudi.79
	title = "Low Countries Emergency Unification"
	desc = "The Low Countries, fearing that we might try to reintegrate them into the [ROOT.getName], have all voted in favor of an emergency unification. They have officially states that everything in their power shall be done to defend their homelands."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = no

	fire_only_once = yes

	trigger = {
		original_tag = SAU
		OR = {
			HOL = {
				has_country_flag = HOL_emergency_unification_flag
			}
			NOT = {
				country_exists = HOL
			}
		}
		OR = {
			BEL = {
				has_country_flag = HOL_emergency_unification_flag
			}
			NOT = {
				country_exists = BEL
			}
		}
		OR = {
			LUX = {
				has_country_flag = HOL_emergency_unification_flag
			}
			LUX = {
				country_exists = HOL
			}
		}
		NOT = {
			has_global_flag = HOL_emergency_unification_realized
		}
	}
	
	immediate = {
		set_global_flag = HOL_emergency_unification_realized
	}

	option = { # ok
		name = "They think it will make a difference when [ROOT.getName] comes for them?"

		ai_chance = {
			base = 100
		}
		random_list = {
			90 = {
				every_country = {
					limit = {
						has_country_flag = HOL_emergency_unification_flag
					}
					HOL = {
						annex_country = {
							target = PREV
							transfer_troops = yes
						}
						set_cosmetic_tag = HOL_benelux_unified
						every_state = {
							limit = {
								NOT = {
									is_core_of = HOL
								}
								OR = {
									state = 6
									state = 34
									state = 8
									state = 35
									state = 36
									state = 7
								}
							}
							add_core_of = HOL
						}
					}
				}
			}
			5 = {
				every_country = {
					limit = {
						has_country_flag = HOL_emergency_unification_flag
					}
					BEL = {
						annex_country = {
							target = PREV
							transfer_troops = yes
						}
						set_cosmetic_tag = HOL_benelux_unified
						every_state = {
							limit = {
								NOT = {
									is_core_of = BEL
								}
								OR = {
									state = 6
									state = 34
									state = 8
									state = 35
									state = 36
									state = 7
								}
							}
							add_core_of = BEL
						}
					}
				}
			}
			5 = {
				every_country = {
					limit = {
						has_country_flag = HOL_emergency_unification_flag
					}
					LUX = {
						annex_country = {
							target = PREV
							transfer_troops = yes
						}
						set_cosmetic_tag = HOL_benelux_unified
						every_state = {
							limit = {
								NOT = {
									is_core_of = LUX
								}
								OR = {
									state = 6
									state = 34
									state = 8
									state = 35
									state = 36
									state = 7
								}
							}
							add_core_of = LUX
						}
					}
				}
			}
		}
	}
}

country_event = { # SAU offers protection to european minors
	id = saudi.80
	title = "[SAU.getAdjective] Intervention in the Lowlands"
	desc = "[SAU.getName] has started mobilizing against our country! It is likely they will soon launch their invasion of the Lowlands."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # crap
		name = "Surely they won't actually go ahead with their plans?"

		ai_chance = {
			base = 10
		}
		SAU = {
			create_wargoal = {
				target = ROOT
				type = puppet_wargoal_focus
			}
		}
	}
}

country_event = { # SAU invites ITA
	id = saudi.81
	title = "[SAU.getName] invites us to the Anti-Fascist Coalition"
	desc = "[SAU.getName] has sent us an invitation to their faction against fascism! Should we accept?"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # yes
		name = "Any help is appreciated!"

		ai_chance = {
			base = 10
		}
		if = {
			limit = {
				original_tag = ITA
			}
			SAU = {
				country_event = {
					id = saudi.83
				}
			}
		}
		SAU = {
			add_to_faction = ROOT
		}
	}

	option = { # no
		name = "We will not join this faction."

		ai_chance = {
			base = 10
		}
		if = {
			limit = {
				original_tag = ITA
			}
			SAU = {
				country_event = {
					id = saudi.82
				}
			}
		}
	}
}

country_event = { # ITA refuses
	id = saudi.82
	title = "[ITA.getName] refuses invitation"
	desc = "[ITA.getName] has refused our invitation to The Anti-Fascist Coalition!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # crap
		name = "They will perish in their civil war, then!"

		ai_chance = {
			base = 100
		}
	}
}

country_event = { # ITA accepts
	id = saudi.83
	title = "[ITA.getName] accepts invitation"
	desc = "[ITA.getName] has accepted our invitation to The Anti-Fascist Coalition!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # kewl
		name = "One step closer to liberating the world!"

		ai_chance = {
			base = 100
		}
		every_country = {
			limit = {
				has_civil_war = yes
				has_government = fascism
				original_tag = ITA
			}
			SAU = {
				declare_war_on = {
					target = PREV
					type = puppet_wargoal_focus
				}
			}
		}
	}
}

country_event = { # SAU demands rome
	id = saudi.84
	title = "[SAU.getName] claims Rome!"
	desc = "[SAU.getName] has officially stated that [SAU.getLeader] is the rightful successor to the Roman Empire and has thus announced his claim on the eternal city! He has demanded that we must cede control over the city to him, lest we be crushed by his roman might."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # sure
		name = "After all, why risk it?"

		ai_chance = {
			base = 10
		}
		if = {
			limit = {
				original_tag = ITA
			}
			SAU = { set_autonomy = { target = ROOT autonomy_state = autonomy_puppet } }
		}
		else = {
			SAU = {
				transfer_state = 2
			}
		}
	}

	option = { # oh hell nah
		name = "Is he drunk or high?"

		ai_chance = {
			base = 10
		}
		SAU = {
			create_wargoal = {
				target = ROOT
				type = annex_everything
			}
		}
	}
}

country_event = { # SAU slapped monkey
	id = saudi.85
	title = "We have slapped a german monkey!"
	desc = "There is now one monkey less in germany."
	picture = GFX_saudi_event_2
	
	is_triggered_only = yes

	option = { # yay
		name = "Finally we got revenge!"

		ai_chance = {
			base = 100
		}
		add_political_power = 10
		add_war_support = 0.01
		add_stability = 0.01
	}
}

country_event = { # holy conference
	id = saudi.86
	title = "The Holy Conference"
	desc = "We have called every majority muslim nation in the world to a meeting in the holy city of mecca, to decide how to liberate the millions of muslims living under foreign opression. One of the biggest discussions was, whether [ROOT.getLeader] should take the role of caliph, or a grand council of Islam shall become the leader of the [ROOT.getName]."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # council
		name = "[ROOT.getLeader] has no claim to the title."

		ai_chance = {
			base = 1
		}
		create_country_leader = {
			name = "Grand Council of Islam"
			desc = ""
			picture = "gfx/leaders/SAU/royal_council_portrait.dds"
			expire = "1965.1.1"
			ideology = oligarchism
			traits = {
				legitimate_government
			}
		}
		set_cosmetic_tag = COUNCIL_ISLAM_UNIFIED
	}

	option = { # caliph
		name = "We need a strong leader."

		ai_chance = {
			base = 1
		}
		add_country_leader_trait = SAU_caliph
	}
}

country_event = { # caliph became leader of SAU
	id = saudi.87
	title = "The Holy Conference"
	desc = "The Holy Conference, which has recently been held in Mecca, has decided that Arabia shall from now on be ruled by the Islamic Caliphate and be led by the one true Caliph [SAU.getLeader]. How will we respond to this outcome?"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # oppose
		name = "[SAU.getLeader] has no claim to this title!"

		ai_chance = {
			base = 9
		}
		SAU = {
			add_opinion_modifier = {
				target = SAU modifier = SAU_unsupportive_modifier
			}
		}
		add_political_power = 10
	}

	option = { # support
		name = "It is better than a weak council that will not do anything."

		ai_chance = {
			base = 1
		}
		SAU = {
			add_to_faction = ROOT
		}
	}
}

country_event = { # grand council of islam became leader of SAU
	id = saudi.88
	title = "The Holy Conference"
	desc = "The Holy Conference, which has recently been held in Mecca, has decided that Islam shall from now on be ruled by the Islamic Council and be led by a grand council of Islam. How will we respond to this outcome?"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # support
		name = "Good idea!"

		ai_chance = {
			base = 90
		}
		SAU = {
			add_to_faction = ROOT
		}
	}

	option = { # oppose
		name = "Nothing will come of this."

		ai_chance = {
			base = 9
		}
		SAU = {
			add_opinion_modifier = {
				target = SAU modifier = SAU_unsupportive_modifier
			}
		}
		add_political_power = -10
	}

	option = { # join them
		name = "We should unite our nations to further this cause!"

		ai_chance = {
			base = 1
		}
		SAU = {
			annex_country = {
				target = ROOT
				transfer_troops = yes
			}
		}
		every_owned_state = {
			limit = {
				is_core_of = ROOT
			}
			add_core_of = SAU
		}
	}
}

country_event = { # hejaz revolt
	id = saudi.89
	title = "The Hejaz Revolt"
	desc = "The resistance in Hejaz has come to an all-time high, and the region is now in open rebellion against our government!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	immediate = {
		set_global_flag = SAU_revolt_has_happened
		set_country_flag = SAU_war_of_independence
	}
	
	option = { # stay with SAU
		name = "We will crush them once more!"

		ai_chance = {
			base = 100
		}
		SAU = {
			complete_national_focus = SAU_hejaz_revolt
		}
		HJZ = {
			country_event = {
				id = saudi.91 hours = 6
			}
			set_country_flag = HJZ_war_of_independence
		}
		SAU = {
			every_unit_leader = {
				random_list = {
					50 = {
						set_nationality = HJZ
					}
					50 = {
						#
					}
				}
			}
		}
		HJZ = {
			division_template = {
				name = "Volunteers"

				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
				}
			}
			capital_scope = {
				create_unit = {
					division = "name = \"Volunteers\" division_template = \"Volunteers\" start_experience_factor = 0.1 start_equipment_factor = 1.0" owner = HJZ
					count = 4
				}
			}
		}
	}

	option = { # switch to HJZ
		name = "The people will have their independence!"

		ai_chance = {
			base = 1
		}
		SAU = {
			complete_national_focus = SAU_hejaz_revolt
		}
		HJZ = {
			country_event = {
				id = saudi.91 hours = 6
			}
			set_country_flag = HJZ_war_of_independence
		}
		SAU = {
			every_unit_leader = {
				random_list = {
					50 = {
						set_nationality = HJZ
					}
					50 = {
						#
					}
				}
			}
		}
		HJZ = {
			division_template = {
				name = "Volunteers"

				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
				}
			}
			capital_scope = {
				create_unit = {
					division = "name = \"Volunteers\" division_template = \"Volunteers\" start_experience_factor = 0.1 start_equipment_factor = 1.0" owner = HJZ
					count = 4
				}
			}
		}
		HJZ = {
			change_tag_from = SAU
		}
	}
}

country_event = { # volunteers enlist in HJZ army
	id = saudi.90
	title = "Volunteers enlist in the army"
	desc = "Many patriotic men from Hejaz have enlisted in the army, and we actually now have an army that could rival that of [SAU.getNameDef]!"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # cool
		name = "Good idea!"

		SAU = {
			every_unit_leader = {
				random_list = {
					50 = {
						set_nationality = HJZ
					}
					50 = {
						#
					}
				}
			}
		}

		division_template = {
			name = "Volunteers"

			regiments = {
				infantry = { x = 0 y = 0 }
				infantry = { x = 0 y = 1 }
				infantry = { x = 1 y = 0 }
				infantry = { x = 1 y = 1 }
			}
		}
		capital_scope = {
			create_unit = {
				division = "name = \"Volunteers\" division_template = \"Volunteers\" start_experience_factor = 0.1 start_equipment_factor = 1.0" owner = HJZ
				count = 4
			}
		}
	}
}

country_event = { # choose your leader, HJZ
	id = saudi.91
	title = "The Question of Leadership"
	desc = "Although our last king's legitimate heir seems like the best option for a leader, we might want to rethink our apporach. Other leaders could be very useful in our struggle against [SAU.getNameDef]."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # nah, stay with the prince
		name = "Who could be better than our prince?"
		set_country_flag = HJZ_prince
	}

	option = { # Muhammad Tahir Al Dabbagh
		name = "Muhammad Tahir Al Dabbagh will guide us to victory."
		set_politics = {
			ruling_party = democratic
			elections_allowed = yes
		}
		add_popularity = {
			ideology = democratic
			popularity = 1
		}
		create_country_leader = {
			name = "Muhammad Tahir Al Dabbagh"
			desc = ""
			picture = "gfx/leaders/HJZ/muhammadtahiraldabbagh.dds"
			expire = "1965.1.1"
			ideology = conservatism
			traits = {
				#
			}
		}
	}

	option = { # Sharif Sharaf
		name = "Sharif Sharaf is obviously more competent."
		set_politics = {
			ruling_party = fascism
			elections_allowed = no
		}
		add_popularity = {
			ideology = fascism
			popularity = 1
		}
		create_country_leader = {
			name = "Sharif Sharaf"
			desc = ""
			picture = "gfx/leaders/HJZ/sharifsharaf.dds"
			expire = "1965.1.1"
			ideology = fascism_ideology
			traits = {
				#
			}
		}
		set_country_flag = HJZ_fascist
	}
}

country_event = { # independence war: white peace? -SAU
	id = saudi.92
	title = "The War Situation"
	desc = "Although it was a harsh fight, we have once again pushed back the Hejazi. But now the question arises: 'Will there be a white peace?'"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # nah
		name = "Only total victory will suffice!"
		ai_chance = {
			base = 3
		}
		add_war_support = -0.1
		add_stability = -0.1
	}

	option = { # sure
		name = "Let us offer them limited autonomy."
		ai_chance = {
			base = 2
		}
		HJZ = {
			country_event = {
				id = saudi.93
			}
		}
	}
}

country_event = { # independence war: white peace? -HJZ
	id = saudi.93
	title = "[SAU.getNameDef] offers autonomy"
	desc = "The [SAU.getAdjective] government has offered us an end to the war if we in turn become their subject. Although this would make us far more autonomous than before the war, the public might be unhappy about this sudden change of policy..."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # nah
		name = "Only total independence will be accepted!"
		ai_chance = {
			base = 4
		}
		add_war_support = 0.1
		add_stability = -0.1
		FROM = {
			country_event = {
				id = saudi.94 hours = 24
			}
		}
	}

	option = { # sure
		name = "We would rather be autonomous than get wiped off the face of the earth."
		ai_chance = {
			base = 1
		}
		every_country = {
			limit = {
				has_war_with = ROOT
				original_tag = SAU
			}
			white_peace = ROOT
		}
		SAU = {
			set_autonomy = {
				target = ROOT
				autonomy_state = autonomy_puppet
			}
		}
		set_cosmetic_tag = HJZ_AUTONOMOUS_REGION
	}
}

country_event = { # HJZ says hell no to limited autonomy
	id = saudi.94
	title = "[HJZ.getNameDef] refuses autonomy!"
	desc = "The [HJZ.getAdjective] government rejected our gracious offer of autonomy. Why they would risk their lives, no one knows."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # thx for war support
		name = "The brave [ROOT.getAdjective] soldiers will crush their rebellion!"
		ai_chance = {
			base = 100
		}
		add_war_support = 0.05
	}
}

country_event = { # pls revoke guarantees?
	id = saudi.95
	title = "[SAU.getNameDef] wants us to revoke our guarantees"
	desc = "The [SAU.getAdjective] government has asked us to revoke our guarantees on Turkey. They argue that turkish people have occupied the rightful lands of the armenians for too long. Although revoking our guarantees may infuriate the turks, this spells opportunity..."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # sure
		name = "The brave [SAU.getAdjective] soldiers shall free Armenia!"
		ai_chance = {
			base = 2
		}
		SAU = {
			country_event = {
				id = saudi.96 days = 1
			}
			add_war_support = 0.01
		}
		diplomatic_relation = {
			country = TUR
			relation = guarantee
			active = no
		}
	}

	option = { # sure, what do i get?
		name = "We will not support such an act of aggression."
		ai_chance = {
			base = 2
		}
		SAU = {
			country_event = {
				id = saudi.98 days = 1
			}
		}
	}

	option = { # nah
		name = "We will not support such an act of aggression."
		ai_chance = {
			base = 1
		}
		SAU = {
			country_event = {
				id = saudi.97 days = 1
			}
		}
	}
}

country_event = { # FROM said sure
	id = saudi.96
	title = "[FROM.getNameDef] revokes guarantees"
	desc = "[FROM.getNameDef] has revoked their guarantees. Our army may freely enter Turkey without their intervention."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # based
		name = "The brave [SAU.getAdjective] soldiers shall free Armenia!"
		ai_chance = {
			base = 100
		}
	}
}

country_event = { # FROM said nah
	id = saudi.97
	title = "[FROM.getNameDef] refuses to revoke guarantees"
	desc = "[FROM.getNameDef] has refused to revoke their guarantees. Should we still attempt to march into Turkey, they have sworn to stop us."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # fuck
		name = "Fu- Unfortunate."
		ai_chance = {
			base = 100
		}
	}
}

country_event = { # FROM said sure but they want something in exchange
	id = saudi.98
	title = "The [FROM.getAdjective] offer"
	desc = "[FROM.getNameDef] has refused to revoke their guarantees unless they get something out of it. Should we try to sway them?"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # offer advisors
		name = "Let's offer them advisors."
		ai_chance = {
			base = 1
		}
		FROM = {
			country_event = {
				id = saudi.101 hours = 12
			}
		}
	}

	option = { # offer factories
		name = "Let's offer them factories."
		ai_chance = {
			base = 1
		}
		FROM = {
			country_event = {
				id = saudi.105 hours = 12
			}
		}
	}

	option = { # offer nothing
		name = "We will crush them too."
		ai_chance = {
			base = 1
			modifier = {
				factor = 0 
				FROM = {
					is_major = yes
				}
			}
			modifier = {
				factor = 0 
				any_country = {
					is_in_faction_with = FROM
					is_major = yes
				}
			}
		}
		FROM = {
			country_event = {
				id = saudi.106 hours = 12
			}
		}
	}
}

country_event = { # cairo demanded by SAU
	id = saudi.99
	title = "[SAU.getNameDef] demands Cairo"
	desc = "The [SAU.getAdjective] government has demanded the immediate transfer of cairo to them, stating that we are oppressing good arabs by occupying the state."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # i didn't want it anyways :(
		name = "We have to give in."
		ai_chance = {
			base = 10
		}
		SAU = {
			transfer_state = 907
		}
		907 = {
			add_core_of = SAU
		}
	}

	option = { # fuck you
		name = "Their conquest stops here!"
		ai_chance = {
			base = 1
		}
		SAU = {
			country_event = {
				id = saudi.100 hours = 12
			}
		}
	}
}

country_event = { # cairo demands refused
	id = saudi.100
	title = "Demands for Cairo refused"
	desc = "Our demands for the transfer of Cairo have been refused. The question now is, do we attack or back down?"
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # if daddy doesn't let me have it, i guess i'll just cry. :(((
		name = "We have to back down."
		ai_chance = {
			base = 1
		}
	}

	option = { # i will fuck your monkey ass
		name = "The people of Cairo want to be free!"
		ai_chance = {
			base = 1
		}
		add_war_support = 0.03
		907 = {
			owner = {
				ROOT = {
					create_wargoal = {
						target = PREV
						type = take_state_focus
						generator = { 907 }
					}
				}
			}
		}
	}
}

country_event = { # pp offered
	id = saudi.101
	title = "The [FROM.getAdjective] offer"
	desc = "[FROM.getNameDef] has offered us some advisors in exchange for the revocation of our guarantees."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # sounds gud
		name = "Sounds good."
		ai_chance = {
			base = 1
		}
		diplomatic_relation = {
			country = TUR
			relation = guarantee
			active = no
		}
		add_political_power = 200
		SAU = {
			country_event = {
				id = saudi.102 hours = 12
			}
		}
	}

	option = { # nah
		name = "No, thanks."
		ai_chance = {
			base = 3
		}
		SAU = {
			country_event = {
				id = saudi.103 hours = 12
			}
		}
	}
}

country_event = { # pp offer accepted
	id = saudi.102
	title = "Offer accepted!"
	desc = "[FROM.getNameDef] has accepted our offer. They will revoke their guarantees on turkey in exchange for some advisors."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # noice
		name = "Nice."
		ai_chance = {
			base = 1
		}
		if = {
			limit = {
				has_idea = SAU_advisors_sent_away
			}
			modify_timed_idea = {
				idea = SAU_advisors_sent_away
				days = 200
			}
		}
		else = {
			add_timed_idea = {
				idea = SAU_advisors_sent_away
				days = 200
			}
		}
	}
}

country_event = { # offer refused
	id = saudi.103
	title = "Offer refused!"
	desc = "[FROM.getNameDef] has refused our offer. They will not revoke their guarantees on turkey."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # shit
		name = "Shit."
		ai_chance = {
			base = 1
		}
	}
}

country_event = { # factory offer accepted
	id = saudi.104
	title = "Offer accepted!"
	desc = "[FROM.getNameDef] has accepted our offer. They will revoke their guarantees on turkey in exchange for some factories."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # noice
		name = "Nice."
		ai_chance = {
			base = 1
		}
		if = {
			limit = {
				has_idea = SAU_factory_payments
			}
			modify_timed_idea = {
				idea = SAU_factory_payments
				days = 200
			}
		}
		else = {
			add_timed_idea = {
				idea = SAU_factory_payments
				days = 200
			}
		}
	}
}

country_event = { # factories offered
	id = saudi.105
	title = "The [FROM.getAdjective] offer"
	desc = "[FROM.getNameDef] has offered us some factories in exchange for the revocation of our guarantees."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # sounds gud
		name = "Sounds good."
		ai_chance = {
			base = 3
		}
		diplomatic_relation = {
			country = TUR
			relation = guarantee
			active = no
		}
		add_offsite_building = { type = industrial_complex level = 5 }
		SAU = {
			country_event = {
				id = saudi.104 hours = 12
			}
		}
	}

	option = { # nah
		name = "No, thanks."
		ai_chance = {
			base = 1
		}
		SAU = {
			country_event = {
				id = saudi.103 hours = 12
			}
		}
	}
}

country_event = { # nothing offered
	id = saudi.106
	title = "The [FROM.getAdjective] offer"
	desc = "[FROM.getNameDef] has refused to offer us anything for revoking our guarantees."
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # alright
		name = "I guess they didn't want to free the armenians after all."
		ai_chance = {
			base = 1
		}
	}
}

country_event = { # some random investor takes over the government (debug)
	id = saudi.107
	title = "The Investor seizes control!"
	desc = saudi.62.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			set_global_flag = SAU_investor_seized_control
			if = {
				limit = {
					has_idea = SAU_recently_unified
				}
				remove_ideas = SAU_recently_unified
			}
		}
	}

	option = { # yay, i found a kewl secret
		name = "God Save The Investor!"

		ai_chance = {
			base = 100
		}
		load_focus_tree = secret_investor_focus
		mark_focus_tree_layout_dirty = yes
		complete_national_focus = SAU_the_investor_seizes_control
		add_country_leader_role = {
			character = SAU_investor_advisor
			promote_leader = yes
			country_leader = {
				ideology = despotism
				expire = "1965.1.1.1"
				traits = { investment_mastermind wants_investment_to_pay_off }
			}
		}
	}
}

country_event = { # SAU wants to buy land
	id = saudi.108
	title = "[SAU.getNameDef] requests sale of land in [ROOT.getNameDef]"
	desc = saudi.108.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # give me civs
		name = "For a few civilian factories, we might sell the territories."

		ai_chance = {
			base = 2
		}
		FROM = {
			country_event = {
				id = saudi.109 hours = 6
			}
		}
	}

	option = { # give me mils
		name = "For some military factories, a deal may be arranged."

		ai_chance = {
			base = 2
		}
		FROM = {
			country_event = {
				id = saudi.110 hours = 6
			}
		}
	}

	option = { # give me pp
		name = "For a bit of pp, the land could be theirs."

		ai_chance = {
			base = 1
		}
		FROM = {
			country_event = {
				id = saudi.111 hours = 6
			}
		}
	}

	option = { # fuck off
		name = "They'll find no deal here."

		ai_chance = {
			base = 1
		}
		FROM = {
			country_event = {
				id = saudi.112 hours = 6
			}
		}
	}
}

country_event = { # FROM wants civs
	id = saudi.109
	title = "[FROM.getNameDef] asks for civilian factories"
	desc = saudi.109.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "Sounds good."

		ai_chance = {
			base = 1
		}
		FROM = {
			random_owned_state = {
				limit = {
					OR = {
						is_coastal = yes
						any_neighbor_state = {
							owner = {
								original_tag = SAU
							}
						}
					}
				}
				SAU = {
					transfer_state = PREV
				}
			}
			add_offsite_building = { type = industrial_complex level = 2 }
		}
		if = {
			limit = {
				has_idea = SAU_factory_payments
			}
			modify_timed_idea = {
				idea = SAU_factory_payments
				days = 200
			}
		}
		else = {
			add_timed_idea = {
				idea = SAU_factory_payments
				days = 200
			}
		}
	}

	option = { # no
		name = "Sounds like a scam."

		ai_chance = {
			base = 1
		}
	}
}

country_event = { # FROM wants mils
	id = saudi.110
	title = "[FROM.getNameDef] asks for military factories"
	desc = saudi.110.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "Sounds good."

		ai_chance = {
			base = 1
		}
		FROM = {
			random_owned_state = {
				limit = {
					OR = {
						is_coastal = yes
						any_neighbor_state = {
							owner = {
								original_tag = SAU
							}
						}
					}
				}
				SAU = {
					transfer_state = PREV
				}
			}
			add_offsite_building = { type = arms_factory level = 2 }
		}
		if = {
			limit = {
				has_idea = SAU_military_payments
			}
			modify_timed_idea = {
				idea = SAU_military_payments
				days = 200
			}
		}
		else = {
			add_timed_idea = {
				idea = SAU_military_payments
				days = 200
			}
		}
	}

	option = { # no
		name = "Sounds like a scam."

		ai_chance = {
			base = 1
		}
	}
}

country_event = { # FROM wants pp
	id = saudi.111
	title = "[FROM.getNameDef] asks for pp"
	desc = saudi.111.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "Sounds good."

		ai_chance = {
			base = 1
		}
		FROM = {
			random_owned_state = {
				limit = {
					OR = {
						is_coastal = yes
						any_neighbor_state = {
							owner = {
								original_tag = SAU
							}
						}
					}
				}
				SAU = {
					transfer_state = PREV
				}
			}
			add_political_power = 200
		}
		if = {
			limit = {
				has_idea = SAU_advisors_sent_away
			}
			modify_timed_idea = {
				idea = SAU_advisors_sent_away
				days = 200
			}
		}
		else = {
			add_timed_idea = {
				idea = SAU_advisors_sent_away
				days = 200
			}
		}
	}

	option = { # no
		name = "Sounds like a scam."

		ai_chance = {
			base = 1
		}
	}
}

country_event = { # FROM refuses
	id = saudi.112
	title = "[FROM.getNameDef] refuses sale of land"
	desc = saudi.112.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # sad
		name = "We never wanted your land anyways."

		ai_chance = {
			base = 1000000000000000000000000000000000000000000000000000000000000000000000000000000123456789001463258943217084513267954 # it's 2:35 AM and i am sick of work but i need to finish this shit so this is how i entertain myself (i am not insane)
		}
	}
}

country_event = { # great leader gains colonialist trait
	id = saudi.113
	title = "[ROOT.getLeader] sharpens his colonial skills"
	desc = saudi.113.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # nice
		name = "Once again a wise decision from our great leader!"

		ai_chance = {
			base = 1
		}
		add_country_leader_trait = secret_the_great_leader
	}
}

country_event = { # nigeria purchase
	id = saudi.114
	title = "[SAU.getLeader] wants to buy Nigeria"
	desc = saudi.114.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # give me civs
		name = "For a few civilian factories, we might sell Nigeria."

		ai_chance = {
			base = 2
		}
		FROM = {
			country_event = {
				id = saudi.115 hours = 6
			}
		}
	}

	option = { # give me mils
		name = "For some military factories, a deal may be arranged."

		ai_chance = {
			base = 2
		}
		FROM = {
			country_event = {
				id = saudi.116 hours = 6
			}
		}
	}

	option = { # give me pp
		name = "For a bit of pp, the land could be theirs."

		ai_chance = {
			base = 1
		}
		FROM = {
			country_event = {
				id = saudi.117 hours = 6
			}
		}
	}

	option = { # fuck off
		name = "They'll find no deal here."

		ai_chance = {
			base = 1
		}
		FROM = {
			country_event = {
				id = saudi.118 hours = 6
			}
		}
	}
}

country_event = { # FROM wants civs
	id = saudi.115
	title = "[FROM.getNameDef] asks for civilian factories"
	desc = saudi.115.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "Sounds good."

		ai_chance = {
			base = 1
		}
		FROM = {
			every_owned_state = {
				limit = {
					OR = {
						state = 558
						state = 900
						state = 901
						state = 902
					}
				}
				SAU = {
					transfer_state = PREV
				}
			}
			add_offsite_building = { type = industrial_complex level = 2 }
		}
		if = {
			limit = {
				has_idea = SAU_factory_payments
			}
			modify_timed_idea = {
				idea = SAU_factory_payments
				days = 200
			}
		}
		else = {
			add_timed_idea = {
				idea = SAU_factory_payments
				days = 200
			}
		}
	}

	option = { # no
		name = "Sounds like a scam."

		ai_chance = {
			base = 1
		}
	}
}

country_event = { # FROM wants mils
	id = saudi.116
	title = "[FROM.getNameDef] asks for military factories"
	desc = saudi.116.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "Sounds good."

		ai_chance = {
			base = 1
		}
		FROM = {
			every_owned_state = {
				limit = {
					OR = {
						state = 558
						state = 900
						state = 901
						state = 902
					}
				}
				SAU = {
					transfer_state = PREV
				}
			}
			add_offsite_building = { type = arms_factory level = 2 }
		}
		if = {
			limit = {
				has_idea = SAU_military_payments
			}
			modify_timed_idea = {
				idea = SAU_military_payments
				days = 200
			}
		}
		else = {
			add_timed_idea = {
				idea = SAU_military_payments
				days = 200
			}
		}
	}

	option = { # no
		name = "Sounds like a scam."

		ai_chance = {
			base = 1
		}
	}
}

country_event = { # FROM wants pp
	id = saudi.117
	title = "[FROM.getNameDef] asks for pp"
	desc = saudi.117.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # ok
		name = "Sounds good."

		ai_chance = {
			base = 1
		}
		FROM = {
			every_owned_state = {
				limit = {
					OR = {
						state = 558
						state = 900
						state = 901
						state = 902
					}
				}
				SAU = {
					transfer_state = PREV
				}
			}
			add_political_power = 200
		}
		if = {
			limit = {
				has_idea = SAU_advisors_sent_away
			}
			modify_timed_idea = {
				idea = SAU_advisors_sent_away
				days = 200
			}
		}
		else = {
			add_timed_idea = {
				idea = SAU_advisors_sent_away
				days = 200
			}
		}
	}

	option = { # no
		name = "Sounds like a scam."

		ai_chance = {
			base = 1
		}
	}
}

country_event = { # FROM refuses
	id = saudi.118
	title = "[FROM.getNameDef] refuses sale of land"
	desc = saudi.118.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # sad
		name = "We never wanted your land anyways."

		ai_chance = {
			base = 1000000000000000000000000000000000000000000000000000000000000000000000000000000123456789001463258943217084513267954 # it's 2:35 AM and i am sick of work but i need to finish this shit so this is how i entertain myself (i am not insane)
		} # reading this shit a while later (updating to 1.14 right now) is very entertaining (btw if you read this i am working on a mod at the moment so stay tuned for when it comes out in a few weeks to years yaaay)
	}
}

country_event = { # IRQ influenced
	id = saudi.119
	title = "[SAU.getNameDefCap] influences our country"
	desc = saudi.119.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # fight back
		name = "Fuck off, we want to stay independent!"

		ai_chance = {
			base = 2
		}
		subtract_from_variable = {
			var = secret_influence_var_IRQ
			value = 10
			tooltip = subtract_10_from_secret_influence_var_IRQ_tt
		}
		SAU = {
			country_event = {
				id = saudi.120 hours = 12
			}
		}
	}

	option = { # sucks but ok
		name = "Who cares?"

		ai_chance = {
			base = 5
		}
	}

	option = { # take advantage # man i really love comments they really keep me sane while making this mod. i would've quit months ago if i wasn't able to make these silly little comments. oh wait
		name = "What was that about those factories?"

		ai_chance = {
			base = 1
		}
		add_to_variable = {
			var = secret_influence_var_IRQ
			value = 10
			tooltip = add_10_to_secret_influence_var_IRQ_tt
		}
		add_offsite_building = { type = industrial_complex level = 1 }
		SAU = {
			country_event = {
				id = saudi.121 hours = 12
			}
		}
	}
}

country_event = { # FROM fights back
	id = saudi.120
	title = "[FROM.getNameDef] fights our influence"
	desc = saudi.120.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # sad
		name = "It won't deter us in the long run."

		ai_chance = {
			base = 1
		}
	}
}

country_event = { # FROM takes our offer
	id = saudi.121
	title = "[FROM.getNameDef] graciously accepts our donations"
	desc = saudi.121.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes

	option = { # cool
		name = "Good to see them cooperating."

		ai_chance = {
			base = 1
		}
		if = {
			limit = {
				has_idea = SAU_factory_payments
			}
			modify_timed_idea = {
				idea = SAU_factory_payments
				days = 200
			}
		}
		else = {
			add_timed_idea = {
				idea = SAU_factory_payments
				days = 200
			}
		}
	}
}

country_event = { # SAU asked about annexing IRQ
	id = saudi.122
	title = "Influence in [IRQ.getNameDef] at an all-time high"
	desc = saudi.122.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = no

	trigger = {
		check_variable = {
			var = secret_influence_var_IRQ
			value = 100
			compare = greater_than_or_equals
		}
		NOT = { has_global_flag = IRQ_SAU_influence_at_100 }
	}

	immediate = {
		set_global_flag = IRQ_SAU_influence_at_100
	}

	mean_time_to_happen = {
		days = 7
	}
	
	option = { # send the demands
		name = "Send the demands."

		ai_chance = {
			base = 1
		}

		IRQ = {
			country_event = {
				id = saudi.123 hours = 12
			}
		}
	}
}

country_event = { # IRQ asked about annexation
	id = saudi.123
	title = "[SAU.getAdjective] influence in [ROOT.getNameDef] at an all-time high"
	desc = saudi.123.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # civil war
		name = "Refuse."

		ai_chance = {
			base = 1
		}
		start_civil_war = {
			ruling_party = neutrality
			ideology = neutrality
			size = 0.75
		}
		SAU = {
			country_event = {
				id = saudi.124 days = 1
			}
		}
	}
	
	option = { # give in
		name = "Give in."

		ai_chance = {
			base = 4
		}
		FROM = {
			annex_country = {
				target = ROOT
				transfer_troops = yes
			}
		}
	}
}

country_event = { # Sau gets puppet
	id = saudi.124
	title = "Civil war in Iraq"
	desc = saudi.124.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = yes
	
	option = { # puppet
		name = "We will puppet the new Iraqi state once they have won."

		ai_chance = {
			base = 1
		}
		every_country = {
			limit = {
				has_war_with = FROM
				original_tag = IRQ
			}
			set_country_flag = SAU_will_puppet_this
		}
	}
	
	option = { # annex
		name = "We will annex the new Iraqi state once they have won."

		ai_chance = {
			base = 99
		}
		every_country = {
			limit = {
				has_war_with = FROM
				original_tag = IRQ
			}
			set_country_flag = SAU_will_annex_this
		}
	}
}

country_event = { # SAU puppets this
	id = saudi.125
	title = "[SAU.getNameDef] puppets us"
	desc = saudi.125.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = no

	trigger = {
		has_war = no
		has_country_flag = SAU_will_puppet_this
	}

	mean_time_to_happen = { days = 7 }

	immediate = {
		clr_country_flag = SAU_will_puppet_this
	}
	
	option = { # kk
		name = "As they wish."

		ai_chance = {
			base = 1
		}

		SAU = { set_autonomy = { target = ROOT autonomy_state = autonomy_puppet } }
	}
}

country_event = { # SAU annexes this
	id = saudi.126
	title = "[SAU.getNameDef] annexes us"
	desc = saudi.126.desc
	picture = GFX_report_event_stalin_02
	
	is_triggered_only = no

	trigger = {
		has_war = no
		has_country_flag = SAU_will_annex_this
	}

	mean_time_to_happen = { days = 7 }

	immediate = {
		clr_country_flag = SAU_will_annex_this
	}
	
	option = { # kk
		name = "As they wish."

		ai_chance = {
			base = 1
		}

		SAU = { annex_country = { target = ROOT transfer_troops = yes } }
	}
}