﻿
add_namespace = libyanew

country_event = {
	id = libyanew.1 #The Ottoman Presence in the Sahara
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.1"}
	title = libyanew.1.t
	desc = libyanew.1.d
	picture = GFX_OTT_Fezzan

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.1.a
	}
}

country_event = {
	id = libyanew.2 #Legacy of the Akrama Agreement
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.2"}
	title = libyanew.2.t
	desc = libyanew.2.d
	picture = GFX_report_event_ghorfas

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.2.a
	}
}

country_event = {
	id = libyanew.3 #Republican Sentiments in Misrata
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.3"}
	title = libyanew.3.t
	desc = libyanew.3.d
	picture = GFX_report_event_minaret

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.3.a
		if = {
			limit = {
				tag = TUR
			}
			add_stability = -0.01
		}
	}
}

country_event = {
	id = libyanew.4 #The Altars of the Philaeni
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.4"}
	title = libyanew.4.t
	desc = libyanew.4.d
	picture = GFX_report_event_skeleton_coast

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.4.a
	}
}

country_event = {
	id = libyanew.5 #The Cyrenaica Issue
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.5"}
	title = libyanew.5.t
	desc = libyanew.5.d
	picture = GFX_report_event_oasis

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.5.a
	}
}

country_event = {
	id = libyanew.6 #[LBA.GetLeader] Incapacitated in Chad
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.6"}
	title = libyanew.6.t
	desc = libyanew.6.d
	picture = GFX_LBA_Senussi_Warrior

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.6.a
		add_stability = -0.01
		add_political_power = -10
	}
}

country_event = {
	id = libyanew.7 #Idris Legitimists Gather Support
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.7"}
	title = libyanew.7.t
	desc = libyanew.7.d
	picture = GFX_report_event_villa

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.7.a
	}
}

country_event = {
	id = libyanew.8 #Assassination of al-Mukhtar
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.8"}
	title = libyanew.8.t
	desc = libyanew.8.d
	picture = GFX_report_event_thetree

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.8.a
		add_political_power = -10
	}
}
country_event = {
	id = libyanew.9 #Idris Returns to Cyrenaica
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.9"}
	title = libyanew.9.t
	desc = libyanew.9.d
	picture = GFX_report_event_oasis

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.9.a
	}
}
country_event = {
	id = libyanew.10 #Fighting in Cyrenaica
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.10"}
	title = libyanew.10.t
	desc = libyanew.10.d
	picture = GFX_report_event_oasis

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.10.a
	}
}
country_event = {
	id = libyanew.11 #Esparto Grass Exports Recover
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.11"}
	title = libyanew.11.t
	desc = libyanew.11.d
	picture = GFX_report_event_coast2

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.11.a
		add_political_power = 10
	}
}

country_event = {
	id = libyanew.12 #Libyan Tobacco Harvest Increases
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.12"}
	title = libyanew.12.t
	desc = libyanew.12.d
	picture = GFX_report_event_ghorfas

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.12.a
		add_political_power = 5
	}
}

country_event = {
	id = libyanew.13 #The Aouzou Dispute
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.13"}
	title = libyanew.13.t
	desc = libyanew.13.d
	picture = GFX_report_event_tibesti

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.13.a
		add_political_power = -5
	}
}

country_event = {
	id = libyanew.14 #The Kufra Agreement
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.14"}
	title = libyanew.14.t
	desc = libyanew.14.d
	picture = GFX_report_event_thetree

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.14.a
	}
}

country_event = {
	id = libyanew.15 #The Sidra Scheme
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.15"}
	title = libyanew.15.t
	desc = libyanew.15.d
	picture = GFX_report_event_oranport

	is_triggered_only = yes

	option = {
		name = libyanew.15.a
		if = {
			limit = {
				owns_state = 450
			}
			450 = {
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
					province = 11954
				}
			}
			450 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
}

country_event = {
	id = libyanew.16 #Ongoing Tensions Over Jifarah
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.16"}
	title = libyanew.16.t
	desc = libyanew.16.d
	picture = GFX_report_event_sudwest

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.16.a
		add_stability = -0.01
	}
}

country_event = {
	id = libyanew.17 #Battle of the Anai Pass
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.17"}
	title = libyanew.17.t
	desc = libyanew.17.d
	picture = GFX_report_event_tibesti

	is_triggered_only = yes

	trigger = {
		is_ai = no
		NFA = {
			owns_state = 910
		}
		TUR = {
			owns_state = 273
		}
	}
	#minor_flavor = yes

	option = {
		name = libyanew.17.a
		add_stability = -0.01
		if = {
			limit = {
				OR = {
					tag = NFA
					tag = TUR
				}
			}
			add_manpower = -2
		}
	}
}

country_event = {
	id = libyanew.18 #Tripoli Relaxes the Libyan Tourism Ban
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.18"}
	title = libyanew.18.t
	desc = libyanew.18.d
	picture = GFX_report_event_oranport

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.18.a
		add_political_power = 5
	}
}

country_event = {
	id = libyanew.19 #The North Africa Campaign
	immediate = {log = "[GetDateText]: [Root.GetName]: event libyanew.19"}
	title = libyanew.19.t
	desc = libyanew.19.d
	picture = GFX_report_event_oasis

	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = libyanew.19.a
	}
}