add_namespace = israel
add_namespace = news_ISR

#Retreat from Lebanon
country_event = {
	id = israel.1
	title = israel.1.t
	desc = israel.1.d
	picture = GFX_report_event_retreat_from_lebanon
	
	fire_only_once = yes
	
	trigger = {
		tag = ISR
		NOT = { has_country_flag = isr_retreat_from_lebanon }
		NOT = { has_country_flag = isr_stay_in_lebanon }
		date > 2000.5.20
		date < 2001.1.1
	}
	
	immediate = {
	}
	
	option = {
		name = israel.1.o1
		add_stability = 0.03
		set_country_flag = isr_retreat_from_lebanon
		LEB = {
		transfer_state = 1184
		}
		news_event = {
			id = news.48
			hours = 3
		}
		
		ai_chance = {
			factor = 75
		}
	}
	option = {
		name = israel.1.o2
		add_stability = -0.02
		set_country_flag = isr_stay_in_lebanon
		add_named_threat = { 
		threat = 0.5 
		name = ISR_stay_LEB
			}
		country_event = {
			id = israel.7
			hours = 3
		}	
		ai_chance = {
			factor = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

#Golan Negotiations with Syria
country_event = {
	id = israel.2
	title = israel.2.t
	desc = israel.2.d
	picture = GFX_report_event_golan_negotiations

	fire_only_once = yes

	is_triggered_only = yes

	immediate = {
		set_country_flag = isr_2000_golan_negotiations_start_event
	}

	option = {	#Yay
		name = israel.2.o1
		custom_effect_tooltip = tooltip_event_israel.2.o1
		set_country_flag = isr_2000_golan_negotiations_accepted_negotiations
		SYR = {
			country_event = {
				id = israel.3
				hours = 3
			}
		}
		ai_chance = {
			factor = 65
		}
	}

	option = {	#Nay
		name = israel.2.o2
		set_country_flag = isr_2000_golan_negotiations_refused_negotiations
		set_country_flag = SYR_ISR_War
		news_event = {
			id = news_ISR.1
			hours = 3
		}
		every_country = {
			limit = {
				OR = {
					tag = SYR
					tag = LEB
					tag = JOR
					tag = IRQ
					tag = PER
					tag = EGY
					tag = SAU
					tag = KUW
					tag = BAH
					tag = QAT
					tag = OMA
					tag = YEM
					tag = TUR
					tag = NCY
					tag = LBA
					tag = ALG
				}
			}
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = ISR
			}
		}
		ai_chance = {
			factor = 35
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

#Syria: Israel offers negotiations
country_event = {
	id = israel.3
	title = israel.3.t
	desc = israel.3.d
	picture = GFX_report_event_golan_negotiations

	is_triggered_only = yes

	option = {	#We can accept that
		name = israel.3.o1
		set_country_flag = SYR_ISR_Peace
		set_country_flag = syr_2000_golan_negotiations_accepted_negotiations
		ISR = {
			country_event = {
				id = israel.4
				hours = 3
			}
		}
		ai_chance = {
			factor = 35
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {	#We will not negotiate with Israel
		name = israel.3.o2
		set_country_flag = SYR_ISR_War
		set_country_flag = syr_2000_golan_negotiations_refused_negotiations
		news_event = {
			id = news_ISR.2
			hours = 3
		}
		ai_chance = {
			factor = 65
		}
	}
}

#Israel: Syria is willing to negotiate
country_event = {
	id = israel.4
	title = israel.4.t
	desc = israel.4.d
	picture = GFX_report_event_golan_negotiations

	is_triggered_only = yes

	option = {	#Only an alliance will secure our common border.
		name = israel.4.o1
		custom_effect_tooltip = tooltip_event_israel.4.o1
		SYR = {
			country_event = {
				id = israel.5
				hours = 3
			}
		}
		add_stability = -0.1
		ai_chance = {
			factor = 15
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {	#A military cooperation program should defuse tensions.
		name = israel.4.o2
		custom_effect_tooltip = tooltip_event_israel.4.o2
		SYR = {
			country_event = {
				id = israel.6
				hours = 3
			}
		}
		ai_chance = {
			factor = 65
		}
	}
}

#Syria: Israel offers alliance
country_event = {
	id = israel.5
	title = israel.5.t
	desc = israel.5.d
	picture = GFX_report_event_golan_negotiations

	is_triggered_only = yes

	option = {	#We accept
		name = israel.5.o1
		ISR = {
			create_faction = levantine_alliance
			add_to_faction = ISR
			add_to_faction = SYR
			add_opinion_modifier = {
				modifier = recent_actions_very_positive
				target = SYR
			}
		}
		SYR = {
			transfer_state = 881
			add_opinion_modifier = {
				modifier = recent_actions_very_positive
				target = ISR
			}
		}
		881 = { remove_core_of = ISR }

		add_stability = -0.25

		news_event = {
			id = news_ISR.3
			hours = 3
		}
		ai_chance = {
			factor = 85
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}

		LEB = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}
		EGY = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}
		PAL = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}
		IRQ = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}
		PER = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}
		SAU = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}
		KUW = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}

		set_country_flag = syr_faction_with_israel
	}

	option = {	#We refuse
		name = israel.5.o2
		add_stability = 0.05
		news_event = {
			id = news_ISR.2
			hours = 3
		}
		ai_chance = {
			factor = 15
		}
	}
}

#Syria: Israel offers military cooperation
country_event = {
	id = israel.6
	title = israel.6.t
	desc = israel.6.d
	picture = GFX_report_event_golan_negotiations

	is_triggered_only = yes

	option = {
		name = israel.6.o1
		SYR = {
			army_experience = 50
			air_experience = 50
			navy_experience = 50
			transfer_state = 881
			add_opinion_modifier = {
				modifier = recent_actions_very_positive
				target = ISR
			}
		}
		add_stability = -0.075
		ISR = {
			army_experience = 50
			air_experience = 50
			navy_experience = 50
			add_opinion_modifier = {
				modifier = recent_actions_very_positive
				target = SYR
			}
		}

		LEB = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}
		EGY = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}
		PAL = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}
		IRQ = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}
		PER = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}
		SAU = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}
		KUW = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SYR
			}
		}

		set_country_flag = syr_military_cooperation_with_israel

		news_event = {
			id = news_ISR.3
			hours = 3
		}
	}

	option = {	#We refuse
		name = israel.6.o2
		add_stability = 0.075
		news_event = {
			id = news_ISR.2
			hours = 3
		}
	}
}
#Israeli stays in Lebanon
news_event = {
	id = israel.7
	title = israel.7.t
	desc = israel.7.d
	picture = GFX_news_event_retreat_from_lebanon
	
	is_triggered_only = yes
	major = yes
	
	option = {
		name = israel.7.o1
		trigger = {
			original_tag = ISR
		}
	}
	
	option = {
		name = israel.7.o2
		trigger = {
			OR = {
				original_tag = LEB
				original_tag = SYR
			}
		}
	}
	
	option = {
		name = option.interesting
		trigger = {
			NOT = { original_tag = ISR }
			NOT = { original_tag = SYR }
			NOT = { original_tag = LEB }
		}
	}
}
#Palestine: Israel demands West Bank
country_event = {
	id = israel.28
	title = israel.28.t
	desc = israel.28.d
	picture = GFX_report_event_golan_negotiations

	is_triggered_only = yes

	option = {
		name = israel.28.o1
		set_country_flag = pal_accepted_wb_demand

		add_threat = -1

		ISR = {
			add_popularity = { ideology = islamist popularity = 0.10 }
		}
		ai_chance = {
			factor = 30
		}
		ISR = { set_state_owner = 915 }
		ISR = { set_state_controller = 915 }
		add_stability = -0.1

		news_event = {
			id = news_ISR.7
			hours = 3
		}
	}
	option = {
		name = israel.28.o2
		set_country_flag = pal_rejected_wb_demand

		add_threat = 2

		ai_chance = {
			factor = 70
		}
		add_stability = 0.05
		ISR = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = PAL
			}
		}

		news_event = {
			id = news_ISR.8
			hours = 3
		}

	}

}

#Palestine: Israel demands Full unification
country_event = {
	id = israel.8
	title = israel.8.t
	desc = israel.8.d
	picture = GFX_report_event_golan_negotiations

	is_triggered_only = yes

	option = {
		name = israel.8.o1
		ai_chance = {
			factor = 20
		}

		add_threat = -2

		ISR = {
			add_popularity = { ideology = islamist popularity = 0.15 }
			add_stability = -0.3
		}

		ISR = { annex_country = { target = PAL } }
		news_event = {
			id = news_ISR.9
			hours = 3
		}
	}
	option = {
		name = israel.8.o2
		set_country_flag = pal_rejected_unification

		ai_chance = {
			factor = 80
		}

		add_threat = 3

		ISR = {
			add_opinion_modifier = {
				modifier = rival
				target = PAL
			}
		}

		ISR = {

			create_wargoal = {
				type = annex_everything
				target = PAL
			}
		}

		news_event = {
			id = news_ISR.10
			hours = 3
		}

	}

}

#Jordan: Israel threatens sovereignty
country_event = {
	id = israel.9
	title = israel.9.t
	desc = israel.9.d
	picture = GFX_report_event_warfaring_mobilization_for_war

	is_triggered_only = yes

	option = {
		name = israel.9.o

		ai_chance = {
			factor = 100
		}
		ISR = {
			create_wargoal = {
				type = annex_everything
				target = JOR
			}
		}
		news_event = {
			id = news_ISR.11
			hours = 3
		}
	}
}

#Egypt: Israel demands Sinai
country_event = {
	id = israel.10
	title = israel.10.t
	desc = israel.10.d
	picture = GFX_report_event_iraq_war7

	is_triggered_only = yes

	option = {
		name = israel.10.o1

		add_threat = -3

		ai_chance = {
			factor = 20
		}

		ISR = { set_state_owner = 813 }
		ISR = { set_state_controller = 813 }
		ISR = { set_state_owner = 453 }
		ISR = { set_state_controller = 453 }

		news_event = {
			id = news_ISR.12
			hours = 3
		}
	}

	option = {
		name = israel.10.o2
		ai_chance = {
			factor = 80
		}

		add_threat = 5

		ISR = {
			create_wargoal = {
				type = take_state
				target = EGY
				generator = { 813 453 }
			}
		}
		news_event = {
			id = news_ISR.14
			hours = 3
		}
	}
}

#Palestine: Israel offers union state

country_event = {
	id = israel.12
	title = israel.12.t
	desc = israel.12.d
	picture = GFX_report_event_golan_negotiations

	is_triggered_only = yes

	option = {	#accept
		name = israel.12.o1

		ai_chance = {
			factor = 70
		}

		ISR = { puppet = PAL }

		news_event = {
			hours = 6
			id = news_ISR.15
		}

	}

	option = {	#never!
		name = israel.12.o2

		ai_chance = {
			factor = 30
		}

		add_political_power = 100
		add_stability = 0.10

		PAL = { add_opinion_modifier = { target = ISR modifier = large_decrease }}
		ISR = { add_opinion_modifier = { target = PAL modifier = large_decrease }}

		news_event = {
			hours = 6
			id = news_ISR.16
		}

	}
}

#Palestine: Israel offers Full unification
country_event = {
	id = israel.13
	title = israel.13.t
	desc = israel.13.d
	picture = GFX_report_event_golan_negotiations

	is_triggered_only = yes

	option = {
		name = israel.13.o1
		ai_chance = {
			factor = 50
		}

		ISR = {
			add_popularity = { ideology = islamist popularity = 0.15 }
			add_stability = -0.1
			remove_ideas = idea_ISR_vanguard_of_judaism
		}

		ISR = { annex_country = { target = PAL } }
		every_state = { limit = { is_core_of = PAL } add_core_of = ISR }
		
		news_event = {
			id = news_ISR.17
			hours = 3
		}
	}
	option = {
		name = israel.13.o2

		ai_chance = {
			factor = 1
		}

		news_event = {
			id = news_ISR.18
			hours = 3
		}

	}

}
#Israel offers alliance
country_event = {
	id = israel.14
	title = israel.14.t
	desc = israel.14.d
	picture = GFX_report_event_golan_negotiations

	is_triggered_only = yes

	option = {	#We accept!
		name = israel.14.o1

		ISR = {
			country_event = {
				id = israel.15
			}
		}

		set_country_flag = alliance_with_ISR

		ai_chance = {
			factor = 75
			modifier = {
				factor = 80
				has_opinion = {target = ISR value > 50}
			}
		}
	}

	option = {	#We refuse
		name = israel.14.o2
		add_political_power = 50
		ISR = {
			add_opinion_modifier = {
				target = FROM
				modifier = recent_actions_negative
			}

			country_event = {
				id = israel.16
			}
		}
		ai_chance = {
			factor = 25
			modifier = {
				factor = 50
				has_opinion = {target = ISR value > 50}
			}
		}
	}
}

#Accept invitation
country_event = {
	id = israel.15
	title = israel.15.t
	desc = israel.15.d
	picture = GFX_report_event_golan_negotiations

	is_triggered_only = yes

	option = {
		name = israel.15.o1
		add_to_faction = FROM
	}
}


#Reject invitation
country_event = {
	id = israel.16
	title = israel.16.t
	desc = israel.16.d
	picture = GFX_report_event_golan_negotiations

	is_triggered_only = yes

	option = {
		name = israel.16.o1

		effect_tooltip = {
			add_opinion_modifier = {
				target = FROM
				modifier = recent_actions_negative
			}
		}
	}
}


country_event = {
	id = israel.18
	title = israel.18.t
	desc = israel.18.d
	picture = GFX_report_event_intifada

	is_triggered_only = yes

	option = {
		name = israel.18.o
		ai_chance = {
			factor = 100
		}
		add_timed_idea = {
			idea = idea_ISR_rioting
			days = 365
		}
		454 = {
			add_manpower = -15000
		}
		news_event = {
			id = news_ISR.20
			hours = 3
		}
	}
}


country_event = {
	id = israel.20
	title = israel.20.t
	desc = israel.20.d
	picture = GFX_report_event_golan_negotiations

	is_triggered_only = yes

	option = {
		name = israel.20.o1
		ai_chance = {
			factor = 70
		}

		ISR = {
			add_popularity = { ideology = islamist popularity = 0.1 }
			add_stability = -0.1
			if = {
				limit = {
					has_idea = idea_ISR_vanguard_of_judaism
				}
				remove_ideas = idea_ISR_vanguard_of_judaism
			}
		}

		455 = { add_core_of = ISR }
		ISR = { annex_country = { target = JOR } }
		news_event = {
			id = news_ISR.23
			hours = 3
		}
	}
	option = {
		name = israel.20.o2

		ai_chance = {
			factor = 30
		}


	}

}

country_event = {
	id = israel.21
	title = israel.21.t
	desc = israel.21.d
	picture = GFX_report_event_political_deal2

	is_triggered_only = yes

	option = {
		name = israel.21.o1
		ISR = {
			load_oob = "ISR_subs"
		}
		ai_chance = {
			factor = 70
		}
	}

	option = {
		name = israel.21.o2
		ISR = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = GER
			}
		}
		ai_chance = {
			factor = 30
		}
	}
}

country_event = { #Reutrn to 1947 borders
	id = israel.22
	title = israel.22.t
	desc = israel.22.d
	picture = GFX_report_event_golan_negotiations

	is_triggered_only = yes

	option = { #Palestine accepts
		name = israel.22.o1

		PAL = {
			transfer_state = 810
		}
		PAL = {
			transfer_state = 914
		}
		news_event = {
			id = news_ISR.24
		}
		ai_chance = {
			factor = 60
		}
	}

	option = {
		name = israel.22.o2
		ISR = {
			add_opinion_modifier = {
				modifier = recent_actions_positive
				target = PAL
			}
		}


		ai_chance = {
			factor = 40
		}
	}
}

country_event = { #palestinian rocket event
	id = israel.23
	title = israel.23.t
	desc = israel.23.d
	picture = GFX_report_event_golan_negotiations

	trigger = {
		AND = {
			tag = ISR
			ISR = {
				NOT = { has_completed_focus = ISR_respect_PAL_Sov_focus }
			}
			PAL = {
				NOT = { has_country_flag = rocket_bases_out_of_action }
			}
		}
	}
	fire_only_once = yes
	mean_time_to_happen = {
		days = 200
	}

	immediate = {
		hidden_effect = {
			random_list = {
				33 = {
					random_owned_controlled_state = {
						prioritize = { 812 } #Negev
	
						limit = {
							industrial_complex > 0
						}
						damage_building = {
							type = industrial_complex
							damage = 0.8
						}
	
						add_manpower = -20
					}
				}
	
				33 = {
					random_owned_controlled_state = {
						prioritize = { 812 } #Negev
	
						limit = {
							arms_factory > 0
						}
						damage_building = {
							type = arms_factory
							damage = 0.8
						}
	
						add_manpower = -20
					}
				}
	
				33 = {
					random_owned_controlled_state = {
						prioritize = { 812 } #Negev
	
						damage_building = {
							type = infrastructure
							damage = 0.3
						}
	
						add_manpower = -200
					}
				}
			}
		}
	}



	option = {
		name = israel.23.o1 #Issue a warning

		add_stability = -0.05

		ai_chance = {
			factor = 25
		}
	}

	option = {
		name = israel.23.o2 #Retaliate (selectivley)

		random_state = {
			limit = {
				is_controlled_by = PAL
			}

			damage_building = {
				type = infrastructure
				damage = 0.3
			}
		}

		hidden_effect = {
			random_list = {
				60 = {
					country_event = israel.25
				}

				40 = {
					country_event = israel.24
				}
			}
		}

		ai_chance = {
			factor = 50
		}
	}

	option = {
		name = israel.23.o3 #All out bombardment

		random_state = {
			limit = {
				is_controlled_by = PAL
			}

			damage_building = {
				type = infrastructure
				damage = 0.8
			}
		}

		hidden_effect = {
			random_list = {
				50 = {
					country_event = { id = israel.27 days = 2 }
				}

				35 = {
					country_event = { id = israel.24 days = 2 }
				}

				15 = {
					country_event = { id = israel.25 days = 2 }
				}
			}
		}

		ai_chance = {
			factor = 25
		}
	}
}

country_event = { #rockets hit
	id = israel.24
	title = israel.24.t
	desc = israel.24.d

	is_triggered_only = yes
	picture = GFX_report_event_golan_negotiations

	option = {
		name = israel.24.o1
		PAL = {
			set_country_flag = rocket_bases_out_of_action
		}

		random_state = {
			limit = {
				is_controlled_by = PAL
			}
			add_manpower = -30

		}
	}
}

country_event = { #rockets hit (lots killed)
	id = israel.27
	title = israel.27.t
	desc = israel.27.d

	is_triggered_only = yes
	picture = GFX_report_event_golan_negotiations

	option = {
		name = israel.27.o1
		PAL = {
			set_country_flag = rocket_bases_out_of_action
		}

		random_state = {
			limit = {
				is_controlled_by = PAL
			}
			add_manpower = -200

		}

		every_country = {
			limit = {
				NOT = { tag = ISR }
				NOT = { tag = PAL }
				OR = {
					any_owned_state = {
						is_on_continent = europe
					}
					tag = USA 
					tag = CAN
				}
				
			}
			country_event = {
				id = israel.26 days = 2
			}
		}
	}
}

country_event = { #rockets miss
	id = israel.25
	title = israel.25.t
	desc = israel.25.d

	is_triggered_only = yes
	picture = GFX_report_event_golan_negotiations

	option = {
		name = israel.25.o1
		random_state = {
			limit = {
				is_controlled_by = PAL
			}
			add_manpower = -50

		}
	}
}

country_event = { #Condem Israel for casualties
	id = israel.26
	title = israel.26.t
	desc = israel.26.d
	picture = GFX_israel_drones_strikes
	is_triggered_only = yes

	option = { #embargo em
		name = israel.26.o1

		add_opinion_modifier = {
			target = ISR modifier = isr_embargo
		}

		add_opinion_modifier = {
			target = ISR modifier = recent_actions_negative
		}



		ISR = {
			add_opinion_modifier = {
				target = ROOT modifier = isr_embargo
			}

			add_opinion_modifier = {
				target = ROOT modifier = recent_actions_negative
			}
		}

		if = {
			limit = {
				NOT = { tag = EGY }
			}

			EGY = {
				add_opinion_modifier = {
					target = ROOT modifier = recent_actions_positive
				}
			}
		}

		if = {
			limit = {
				NOT = { tag = SYR }
			}

			SYR = {
				add_opinion_modifier = {
					target = ROOT modifier = recent_actions_positive
				}
			}
		}

		if = {
			limit = {
				NOT = { tag = PAL }
			}

			PAL = {
				add_opinion_modifier = {
					target = ROOT modifier = recent_actions_positive
				}
			}
		}

		if = {
			limit = {
				NOT = { tag = JOR }
			}

			JOR = {
				add_opinion_modifier = {
					target = ROOT modifier = recent_actions_positive
				}
			}
		}

		if = {
			limit = {
				NOT = { tag = LEB }
			}

			LEB = {
				add_opinion_modifier = {
					target = ROOT modifier = recent_actions_positive
				}
			}
		}
		ai_chance = {
			factor = 1

			modifier = {
				factor = 370
				has_government = islamist
			}
		}
	}

	option = { #Just send em a strongly worded letter.
		name = israel.26.o2

		add_opinion_modifier = {
			target = ISR modifier = recent_actions_negative
		}
		ai_chance = {
			factor = 90
		}
	}

	option = { #Do nothing.
		name = israel.26.o3

		ISR = {
			add_opinion_modifier = {
				target = ROOT modifier = recent_actions_positive
			}
		}
		if = {
			limit = {
				NOT = { tag = EGY }
			}

			EGY = {
				add_opinion_modifier = {
					target = ROOT modifier = recent_actions_negative
				}
			}
		}

		if = {
			limit = {
				NOT = { tag = SYR }
			}

			SYR = {
				add_opinion_modifier = {
					target = ROOT modifier = recent_actions_negative
				}
			}
		}

		if = {
			limit = {
				NOT = { tag = PAL }
			}

			PAL = {
				add_opinion_modifier = {
					target = ROOT modifier = recent_actions_negative
				}
			}
		}

		if = {
			limit = {
				NOT = { tag = JOR }
			}

			JOR = {
				add_opinion_modifier = {
					target = ROOT modifier = recent_actions_negative
				}
			}
		}

		if = {
			limit = {
				NOT = { tag = LEB }
			}

			LEB = {
				add_opinion_modifier = {
					target = ROOT modifier = recent_actions_negative
				}
			}
		}
		ai_chance = {
			factor = 20
		}
	}
}
country_event = { #third temple
	id = israel.32
	title = israel.32.t
	desc = israel.32.d

	is_triggered_only = yes
	picture = GFX_report_rabbi_election_event

	option = {
		name = israel.32.o1
		add_ideas = idea_ISR_prepping_messiah
		add_war_support = 0.2
		set_politics = {
				ruling_party = islamist
				elections_allowed = no
		}
		add_popularity = {
			ideology = islamist
			popularity = 0.2
		}
		set_cosmetic_tag = ISR_TEMPLE
		hidden_effect = {
			news_event = news_ISR.100
		}
	}
}
country_event = { #civil war
	id = israel.33
	title = israel.33.t
	desc = israel.33.d

	is_triggered_only = yes
	picture = GFX_report_event_dynamic_civil_wars_coming

	option = {
		name = israel.33.o1
		add_war_support = -0.2
		start_civil_war = {
			ideology = nationalist
			size = 0.35
		}
	}
}
country_event = { #rabbi change
	id = israel.34
	title = israel.34.t
	desc = israel.34.d
	fire_only_once = yes
	is_triggered_only = yes
	picture = GFX_report_rabbi_election_event

	option = {
		name = israel.34.o1
		add_stability = 0.01
		set_country_flag = ISR_Yisrael_Meir_Lau_gone
		if = {
			limit = {
				has_completed_focus = ISR_rabbinical_support
			}
			promote_character = ISR_Yona_Metzger
		}
	}
}
country_event = { #rabbi change
	id = israel.35
	title = israel.35.t
	desc = israel.35.d
	fire_only_once = yes
	is_triggered_only = yes
	picture = GFX_report_rabbi_election_event

	option = {
		name = israel.34.o1
		add_stability = 0.01
		set_country_flag = ISR_Yona_Metzger_gone
		if = {
			limit = {
				has_completed_focus = ISR_rabbinical_support
			}
			promote_character = ISR_David_Lau
		}
	}
}
country_event = { #india deal
	id = israel.36
	title = israel.36.t
	desc = israel.36.d
	fire_only_once = yes
	is_triggered_only = yes
	picture = GFX_report_event_political_deal

	option = {
		name = israel.36.o1
		add_tech_bonus = {
			name = infantry_tech_bonus
			bonus = 0.4
			uses = 2
			category = infantry_tech
		}
		add_timed_idea = {
			idea = idea_ISR_small_arms_creating_efficiency
			days = 365
		}
		add_tech_bonus = {
			name = tech_bonus
			ahead_reduction = 1
			bonus = 1.0
			category = radar_tech
		}
		ISR = {
			add_tech_bonus = {
				name = infantry_tech_bonus
				bonus = 0.4
				uses = 2
				category = infantry_tech
			}
			hidden_effect = {
				country_event = diplomatic_response.1
			}
			
		}
		ai_chance = {
			factor = 80
		}
	}
	option = {
		name = israel.36.o2
		ai_chance = {
			factor = 0
		}
		hidden_effect = {
			ISR = {
				country_event = diplomatic_response.2
			}
		}
	}
}
#########################################
############	NEWS	#################
#########################################

#Israel refuses Golan negotiations
news_event = {
	id = news_ISR.1
	title = news_ISR.1.t
	desc = news_ISR.1.d
	picture = GFX_news_event_golan

	is_triggered_only = yes
	major = yes

	option = {
		name = option.OK
	}
}

#Golan negotiations fail
news_event = {
	id = news_ISR.2
	title = news_ISR.2.t
	desc = news_ISR.2.d
	picture = GFX_news_event_golan

	is_triggered_only = yes
	major = yes

	option = {
		name = option.OK
	}
}

#Golan negotiations succeed
news_event = {
	id = news_ISR.3
	title = news_ISR.3.t
	desc = {
		text = news_ISR.3.d1
		trigger = { SYR = { has_country_flag = syr_faction_with_israel } }
	}
	desc = {
		text = news_ISR.3.d2
		trigger = { SYR = { has_country_flag = syr_military_cooperation_with_israel } }
	}
	picture = GFX_news_event_golan

	is_triggered_only = yes
	major = yes

	option = {
		name = option.OK
	}
}

#Israeli retreat from Lebanon
news_event = {
	id = news_ISR.4
	title = news_ISR.4.t
	desc = news_ISR.4.d
	picture = GFX_news_event_retreat_from_lebanon

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.4.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = news_ISR.4.o2
		trigger = {
			OR = {
				tag = LEB
				tag = SYR
			}
		}
	}

	option = {
		name = option.interesting
		trigger = {
			NOT = { tag = ISR }
			NOT = { tag = SYR }
			NOT = { tag = LEB }
		}
	}
}

#Palestine cedes west bank
news_event = {
	id = news_ISR.7
	title = news_ISR.7.t
	desc = news_ISR.7.d
	picture = GFX_news_event_retreat_from_lebanon

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.7.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = news_ISR.7.o2
		trigger = {
			tag = PAL
		}
	}

	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
			not = { tag = PAL }
		}
	}
}

#Palestine refuses to cede west bank
news_event = {
	id = news_ISR.8
	title = news_ISR.8.t
	desc = news_ISR.8.d
	picture = GFX_news_event_retreat_from_lebanon

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.8.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = news_ISR.8.o2
		trigger = {
			tag = PAL
		}
	}

	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
			not = { tag = PAL }
		}
	}
}

#Palestine accepts Israeli unification ultimatum
news_event = {
	id = news_ISR.9
	title = news_ISR.9.t
	desc = news_ISR.9.d
	picture = GFX_news_event_retreat_from_lebanon

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.9.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
		}
	}
}

#Palestine rejects Israeli unification ultimatum
news_event = {
	id = news_ISR.10
	title = news_ISR.10.t
	desc = news_ISR.10.d
	picture = GFX_news_event_retreat_from_lebanon

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.10.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = news_ISR.10.o2
		trigger = {
			tag = PAL
		}
	}
	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
			not = { tag = PAL }
		}
	}
}

#Israel threatens Jordan sovereignty
news_event = {
	id = news_ISR.11
	title = news_ISR.11.t
	desc = news_ISR.11.d
	picture = GFX_news_event_ISR_threatens_JOR

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.11.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = news_ISR.11.o2
		trigger = {
			tag = JOR
		}
	}

	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
			not = { tag = JOR }
		}
	}
}

news_event = {
	id = news_ISR.12
	title = news_ISR.12.t
	desc = news_ISR.12.d
	picture = GFX_news_event_EGY_cedes_sinai

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.12.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = news_ISR.12.o2
		trigger = {
			tag = EGY
		}
	}

	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
			not = { tag = EGY }
		}
	}
}

news_event = {
	id = news_ISR.13
	title = news_ISR.13.t
	desc = news_ISR.13.d
	picture = GFX_news_event_EGY_refuses_cede

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.13.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = news_ISR.13.o2
		trigger = {
			tag = EGY
		}
	}

	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
			not = { tag = EGY }
		}
	}
}

news_event = {
	id = news_ISR.14
	title = news_ISR.14.t
	desc = news_ISR.14.d
	picture = GFX_news_event_israeli_flag #placeholder

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.14.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
		}
	}
}

news_event = {
	id = news_ISR.15
	title = news_ISR.15.t
	desc = news_ISR.15.d
	picture = GFX_news_event_israeli_flag #placeholder

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.15.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
		}
	}
}

news_event = {
	id = news_ISR.16
	title = news_ISR.16.t
	desc = news_ISR.16.d
	picture = GFX_news_event_israeli_flag #placeholder

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.16.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
		}
	}
}

news_event = {
	id = news_ISR.17
	title = news_ISR.17.t
	desc = news_ISR.17.d
	picture = GFX_news_event_israeli_flag #placeholder

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.17.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
		}
	}
}

news_event = {
	id = news_ISR.18
	title = news_ISR.18.t
	desc = news_ISR.18.d
	picture = GFX_news_event_israeli_flag #placeholder

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.18.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
		}
	}
}

news_event = {
	id = news_ISR.19
	title = news_ISR.19.t
	desc = news_ISR.19.d
	picture = GFX_news_event_israeli_flag #placeholder

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.19.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
		}
	}
}

news_event = {
	id = news_ISR.20
	title = news_ISR.20.t
	desc = news_ISR.20.d
	picture = GFX_news_event_israeli_flag #placeholder

	major = yes

	is_triggered_only = yes

	option = {
		name = news_ISR.20.o2
		trigger = {
			NOT = { original_tag = ISR }
		}
	}
	option = {
		name = news_ISR.20.o1
		trigger = {
			original_tag = ISR
		}
	}
}

news_event = {
	id = news_ISR.23
	title = news_ISR.23.t
	desc = news_ISR.23.d
	picture = GFX_news_event_israeli_flag #placeholder

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.23.o1
		trigger = {
			tag = ISR
		}
	}

	option = {
		name = option.interesting
		trigger = {
			not = { tag = ISR }
		}
	}
}

news_event = {
	id = news_ISR.24
	title = news_ISR.24.t
	desc = news_ISR.24.d
	picture = GFX_news_event_israeli_flag #placeholder

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.24.o
	}
}
news_event = {
	id = news_ISR.100
	title = news_ISR.100.t
	desc = news_ISR.100.d
	picture = GFX_news_event_israeli_flag #placeholder

	is_triggered_only = yes
	major = yes

	option = {
		name = news_ISR.100.o1
	}
}
