add_namespace = Libya add_namespace = LibyaNews add_namespace = LibyaFocus add_namespace = LibyaFocusNews add_namespace = LibyaRandomEvents add_namespace = LibyaTribes add_namespace = LibyaFamily add_namespace = LibyaCivilWar add_namespace = LibyaCivilWarContent news_event = { id = LibyaNews.1 title = LibyaNews.1.t desc = { text = LibyaNews.1.GNA.d trigger = { FROM = { original_tag = GNA } } } desc = { text = LibyaNews.1.HOR.d trigger = { FROM = { original_tag = HOR } } } desc = { text = LibyaNews.1.GNC.d trigger = { FROM = { original_tag = GNC } } } picture = GFX_news_libyan_civil_war is_triggered_only = yes major = yes option = { name = LibyaNews.1.a } } ############################# # FOCUS TREE RELATED EVENTS # ############################# #Libya allies itself with Boko Haram country_event = { id = LibyaFocus.1 title = LibyaFocus.1.t desc = LibyaFocus.1.desc picture = GFX_boko_haram_insurgency is_triggered_only = yes option = { name = LibyaFocus.1.a log = "[GetDateText]: [This.GetName]: LibyaFocus.1.a executed" add_popularity = { ideology = fascism popularity = 0.10 } } } #Boko Haram rises up because of Libya country_event = { id = LibyaFocus.2 title = LibyaFocus.2.t desc = LibyaFocus.2.desc picture = GFX_boko_haram_insurgency is_triggered_only = yes immediate = { set_temp_variable = { salafist_popularity = party_popularity@fascism } multiply_temp_variable = { salafist_popularity = 2 } clamp_temp_variable = { var = salafist_popularity max = 1 } set_temp_variable = { opposition_popularity = 1 } subtract_from_temp_variable = { opposition_popularity = salafist_popularity } } option = { name = LibyaFocus.2.a #Fight against Boko Haram log = "[GetDateText]: [This.GetName]: LibyaFocus.2.a executed" ai_chance = { base = 0 } start_civil_war = { ideology = fascism size = salafist_popularity capital = 339 states = { 338 339 340 } hidden_effect = { unlock_national_focus = NIG_rise_of_boko_haram add_ideas = NIG_islamic_majority_10_idea LBA = { add_to_war = { targeted_alliance = PREV enemy = PREV.PREV hostility_reason = asked_to_join } } } } LBA = { country_event = { id = LibyaFocus.3 days = 1 } } } option = { name = LibyaFocus.2.b #Become Boko Haram log = "[GetDateText]: [This.GetName]: LibyaFocus.2.b executed" ai_chance = { base = 100 } set_capital = { state = 339 } start_civil_war = { ideology = ROOT ruling_party = fascism size = opposition_popularity states = { 336 337 334 332 } LBA = { add_to_war = { targeted_alliance = PREV.PREV enemy = PREV hostility_reason = asked_to_join } } } unlock_national_focus = NIG_rise_of_boko_haram add_ideas = NIG_islamic_majority_10_idea LBA = { country_event = { id = LibyaFocus.3 days = 1 } } } } #Libya joins Nigerian civil war country_event = { id = LibyaFocus.3 title = LibyaFocus.3.t desc = LibyaFocus.3.desc picture = GFX_boko_haram_insurgency is_triggered_only = yes option = { name = LibyaFocus.3.a } } ## Rewriting the Green Book events #1:1 - The Instrument Of Government country_event = { id = LibyaFocus.4 title = LibyaFocus.4.t desc = LibyaFocus.4.desc picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.4.a log = "[GetDateText]: [This.GetName]: LibyaFocus.4.a executed" ai_chance = { base = 33 } lba_increase_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_stability_effect_temp = 0.05 } add_to_variable = { LBA_new_green_book_stability_effect = LBA_new_green_book_stability_effect_temp tooltip = stability_factor_tt } set_temp_variable = { LBA_new_green_book_political_power_effect_temp = -0.05 } add_to_variable = { LBA_new_green_book_political_power_effect = LBA_new_green_book_political_power_effect_temp tooltip = political_power_factor_tt } } option = { name = LibyaFocus.4.b log = "[GetDateText]: [This.GetName]: LibyaFocus.4.b executed" ai_chance = { base = 33 } add_political_power = 50 } option = { name = LibyaFocus.4.c log = "[GetDateText]: [This.GetName]: LibyaFocus.4.c executed" ai_chance = { base = 33 } lba_decrease_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_stability_effect_temp = -0.05 } add_to_variable = { LBA_new_green_book_stability_effect = LBA_new_green_book_stability_effect_temp tooltip = stability_factor_tt } set_temp_variable = { LBA_new_green_book_political_power_effect_temp = 0.05 } add_to_variable = { LBA_new_green_book_political_power_effect = LBA_new_green_book_political_power_effect_temp tooltip = political_power_factor_tt } } } #1:3 - The Party country_event = { id = LibyaFocus.5 title = LibyaFocus.5.t desc = LibyaFocus.5.desc picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.5.a log = "[GetDateText]: [This.GetName]: LibyaFocus.5.a executed" ai_chance = { base = 33 } lba_increase_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_stability_effect_temp = 0.05 } add_to_variable = { LBA_new_green_book_stability_effect = LBA_new_green_book_stability_effect_temp tooltip = stability_factor_tt } set_temp_variable = { LBA_new_green_book_drift_defence_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_drift_defence_effect = LBA_new_green_book_drift_defence_effect_temp tooltip = drift_defence_factor_tt } } option = { name = LibyaFocus.5.b log = "[GetDateText]: [This.GetName]: LibyaFocus.5.b executed" ai_chance = { base = 33 } add_political_power = 50 } option = { name = LibyaFocus.5.c log = "[GetDateText]: [This.GetName]: LibyaFocus.5.c executed" ai_chance = { base = 33 } lba_decrease_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_stability_effect_temp = -0.05 } add_to_variable = { LBA_new_green_book_stability_effect = LBA_new_green_book_stability_effect_temp tooltip = stability_factor_tt } set_temp_variable = { LBA_new_green_book_drift_defence_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_drift_defence_effect = LBA_new_green_book_drift_defence_effect_temp tooltip = drift_defence_factor_tt } } } #1:8 - Who Supervises the Conduct of Society? country_event = { id = LibyaFocus.6 title = LibyaFocus.6.t desc = LibyaFocus.6.desc picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.6.a log = "[GetDateText]: [This.GetName]: LibyaFocus.6.a executed" ai_chance = { base = 33 } lba_increase_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_police_cost_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_police_cost_effect = LBA_new_green_book_police_cost_effect_temp tooltip = police_cost_multiplier_modifier_tt } set_temp_variable = { LBA_new_green_book_influence_defence_effect_temp = -0.05 } add_to_variable = { LBA_new_green_book_influence_defence_effect = LBA_new_green_book_influence_defence_effect_temp tooltip = foreign_influence_defense_modifier_tt } } option = { name = LibyaFocus.6.b log = "[GetDateText]: [This.GetName]: LibyaFocus.6.b executed" ai_chance = { base = 33 } add_political_power = 50 } option = { name = LibyaFocus.6.c log = "[GetDateText]: [This.GetName]: LibyaFocus.6.c executed" ai_chance = { base = 33 } lba_decrease_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_police_cost_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_police_cost_effect = LBA_new_green_book_police_cost_effect_temp tooltip = police_cost_multiplier_modifier_tt } set_temp_variable = { LBA_new_green_book_influence_defence_effect_temp = 0.05 } add_to_variable = { LBA_new_green_book_influence_defence_effect = LBA_new_green_book_influence_defence_effect_temp tooltip = foreign_influence_defense_modifier_tt } } } #1:10 - The Press country_event = { id = LibyaFocus.7 title = LibyaFocus.7.t desc = LibyaFocus.7.desc picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.7.a log = "[GetDateText]: [This.GetName]: LibyaFocus.7.a executed" ai_chance = { base = 33 } lba_increase_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_research_speed_effect_temp = 0.05 } add_to_variable = { LBA_new_green_book_research_speed_effect = LBA_new_green_book_research_speed_effect_temp tooltip = research_speed_factor_tt } set_temp_variable = { LBA_new_green_book_drift_defence_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_drift_defence_effect = LBA_new_green_book_drift_defence_effect_temp tooltip = drift_defence_factor_tt } } option = { name = LibyaFocus.7.b log = "[GetDateText]: [This.GetName]: LibyaFocus.7.b executed" ai_chance = { base = 33 } add_political_power = 50 } option = { name = LibyaFocus.7.c log = "[GetDateText]: [This.GetName]: LibyaFocus.7.c executed" ai_chance = { base = 33 } lba_decrease_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_research_speed_effect_temp = -0.05 } add_to_variable = { LBA_new_green_book_research_speed_effect = LBA_new_green_book_research_speed_effect_temp tooltip = research_speed_factor_tt } set_temp_variable = { LBA_new_green_book_drift_defence_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_drift_defence_effect = LBA_new_green_book_drift_defence_effect_temp tooltip = drift_defence_factor_tt } } } #2:13 - Housing country_event = { id = LibyaFocus.8 title = LibyaFocus.8.t desc = LibyaFocus.8.desc picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.8.a log = "[GetDateText]: [This.GetName]: LibyaFocus.8.a executed" ai_chance = { base = 33 } lba_increase_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_construction_speed_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_construction_speed_effect = LBA_new_green_book_construction_speed_effect_temp tooltip = production_speed_buildings_factor_tt } set_temp_variable = { LBA_new_green_book_building_slots_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_building_slots_effect = LBA_new_green_book_building_slots_effect_temp tooltip = global_building_slots_factor_tt } } option = { name = LibyaFocus.8.b log = "[GetDateText]: [This.GetName]: LibyaFocus.8.b executed" ai_chance = { base = 33 } add_political_power = 50 } option = { name = LibyaFocus.8.c log = "[GetDateText]: [This.GetName]: LibyaFocus.8.c executed" ai_chance = { base = 33 } lba_decrease_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_construction_speed_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_construction_speed_effect = LBA_new_green_book_construction_speed_effect_temp tooltip = production_speed_buildings_factor_tt } set_temp_variable = { LBA_new_green_book_building_slots_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_building_slots_effect = LBA_new_green_book_building_slots_effect_temp tooltip = global_building_slots_factor_tt } } } #2:14 - Income country_event = { id = LibyaFocus.9 title = LibyaFocus.9.t desc = LibyaFocus.9.desc picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.9.a log = "[GetDateText]: [This.GetName]: LibyaFocus.9.a executed" ai_chance = { base = 33 } lba_increase_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_tax_gain_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_tax_gain_effect = LBA_new_green_book_tax_gain_effect_temp tooltip = tax_gain_multiplier_modifier_tt } set_temp_variable = { LBA_new_green_book_productivity_growth_effect_temp = 0.25 } add_to_variable = { LBA_new_green_book_productivity_growth_effect = LBA_new_green_book_productivity_growth_effect_temp tooltip = productivity_growth_modifier_tt } } option = { name = LibyaFocus.9.b log = "[GetDateText]: [This.GetName]: LibyaFocus.9.b executed" ai_chance = { base = 33 } add_political_power = 50 } option = { name = LibyaFocus.9.c log = "[GetDateText]: [This.GetName]: LibyaFocus.9.c executed" ai_chance = { base = 33 } lba_decrease_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_tax_gain_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_tax_gain_effect = LBA_new_green_book_tax_gain_effect_temp tooltip = tax_gain_multiplier_modifier_tt } set_temp_variable = { LBA_new_green_book_productivity_growth_effect_temp = -0.25 } add_to_variable = { LBA_new_green_book_productivity_growth_effect = LBA_new_green_book_productivity_growth_effect_temp tooltip = productivity_growth_modifier_tt } } } #2:16 - Land country_event = { id = LibyaFocus.10 title = LibyaFocus.10.t desc = LibyaFocus.10.desc picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.10.a log = "[GetDateText]: [This.GetName]: LibyaFocus.10.a executed" ai_chance = { base = 33 } lba_increase_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_construction_speed_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_construction_speed_effect = LBA_new_green_book_construction_speed_effect_temp tooltip = production_speed_buildings_factor_tt } set_temp_variable = { LBA_new_green_book_building_slots_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_building_slots_effect = LBA_new_green_book_building_slots_effect_temp tooltip = global_building_slots_factor_tt } } option = { name = LibyaFocus.10.b log = "[GetDateText]: [This.GetName]: LibyaFocus.10.b executed" ai_chance = { base = 33 } add_political_power = 50 } option = { name = LibyaFocus.10.c log = "[GetDateText]: [This.GetName]: LibyaFocus.10.c executed" ai_chance = { base = 33 } lba_decrease_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_construction_speed_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_construction_speed_effect = LBA_new_green_book_construction_speed_effect_temp tooltip = production_speed_buildings_factor_tt } set_temp_variable = { LBA_new_green_book_building_slots_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_building_slots_effect = LBA_new_green_book_building_slots_effect_temp tooltip = global_building_slots_factor_tt } } } #3:21 - The Merits of the Tribe country_event = { id = LibyaFocus.11 title = LibyaFocus.11.t desc = LibyaFocus.11.desc picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.11.a log = "[GetDateText]: [This.GetName]: LibyaFocus.11.a executed" ai_chance = { base = 33 } lba_increase_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_education_cost_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_education_cost_effect = LBA_new_green_book_education_cost_effect_temp tooltip = education_cost_multiplier_modifier_tt } set_temp_variable = { LBA_new_green_book_research_speed_effect_temp = -0.05 } add_to_variable = { LBA_new_green_book_research_speed_effect = LBA_new_green_book_research_speed_effect_temp tooltip = research_speed_factor_tt } } option = { name = LibyaFocus.11.b log = "[GetDateText]: [This.GetName]: LibyaFocus.11.b executed" ai_chance = { base = 33 } add_political_power = 50 } option = { name = LibyaFocus.11.c log = "[GetDateText]: [This.GetName]: LibyaFocus.11.c executed" ai_chance = { base = 33 } lba_decrease_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_education_cost_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_education_cost_effect = LBA_new_green_book_education_cost_effect_temp tooltip = education_cost_multiplier_modifier_tt } set_temp_variable = { LBA_new_green_book_research_speed_effect_temp = 0.05 } add_to_variable = { LBA_new_green_book_research_speed_effect = LBA_new_green_book_research_speed_effect_temp tooltip = research_speed_factor_tt } } } #3:24 - Minorities country_event = { id = LibyaFocus.12 title = LibyaFocus.12.t desc = LibyaFocus.12.desc picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.12.a log = "[GetDateText]: [This.GetName]: LibyaFocus.12.a executed" ai_chance = { base = 33 } lba_increase_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_migration_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_migration_effect = LBA_new_green_book_migration_effect_temp tooltip = migration_rate_value_factor_tt } set_temp_variable = { LBA_new_green_book_social_cost_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_social_cost_effect = LBA_new_green_book_social_cost_effect_temp tooltip = social_cost_multiplier_modifier_tt } } option = { name = LibyaFocus.12.b log = "[GetDateText]: [This.GetName]: LibyaFocus.12.b executed" ai_chance = { base = 33 } add_political_power = 50 } option = { name = LibyaFocus.12.c log = "[GetDateText]: [This.GetName]: LibyaFocus.12.c executed" ai_chance = { base = 33 } lba_decrease_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_migration_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_migration_effect = LBA_new_green_book_migration_effect_temp tooltip = migration_rate_value_factor_tt } set_temp_variable = { LBA_new_green_book_social_cost_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_social_cost_effect = LBA_new_green_book_social_cost_effect_temp tooltip = social_cost_multiplier_modifier_tt } } } #3:25 - Black People Will Prevail In The World country_event = { id = LibyaFocus.13 title = LibyaFocus.13.t desc = LibyaFocus.13.desc picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.13.a log = "[GetDateText]: [This.GetName]: LibyaFocus.13.a executed" ai_chance = { base = 33 } lba_increase_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_construction_speed_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_construction_speed_effect = LBA_new_green_book_construction_speed_effect_temp tooltip = production_speed_buildings_factor_tt } set_temp_variable = { LBA_new_green_book_population_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_population_effect = LBA_new_green_book_population_effect_temp tooltip = monthly_population_tt } } option = { name = LibyaFocus.13.b log = "[GetDateText]: [This.GetName]: LibyaFocus.13.b executed" ai_chance = { base = 33 } add_political_power = 50 } option = { name = LibyaFocus.13.c log = "[GetDateText]: [This.GetName]: LibyaFocus.13.c executed" ai_chance = { base = 33 } lba_decrease_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_construction_speed_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_construction_speed_effect = LBA_new_green_book_construction_speed_effect_temp tooltip = production_speed_buildings_factor_tt } set_temp_variable = { LBA_new_green_book_population_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_population_effect = LBA_new_green_book_population_effect_temp tooltip = monthly_population_tt } set_country_flag = LBA_black_people_favoured } } #3:28 - Sport, Horsemanship and the Stage country_event = { id = LibyaFocus.14 title = LibyaFocus.14.t desc = LibyaFocus.14.desc picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.14.a log = "[GetDateText]: [This.GetName]: LibyaFocus.14.a executed" ai_chance = { base = 33 } lba_increase_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_construction_speed_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_construction_speed_effect = LBA_new_green_book_construction_speed_effect_temp tooltip = production_speed_buildings_factor_tt } set_temp_variable = { LBA_new_green_book_health_cost_effect_temp = 0.10 } add_to_variable = { LBA_new_green_book_health_cost_effect = LBA_new_green_book_health_cost_effect_temp tooltip = health_cost_multiplier_modifier_tt } } option = { name = LibyaFocus.14.b log = "[GetDateText]: [This.GetName]: LibyaFocus.14.b executed" ai_chance = { base = 33 } add_political_power = 50 } option = { name = LibyaFocus.14.c log = "[GetDateText]: [This.GetName]: LibyaFocus.14.c executed" ai_chance = { base = 33 } lba_decrease_reform = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = LBA_new_green_book } set_temp_variable = { LBA_new_green_book_construction_speed_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_construction_speed_effect = LBA_new_green_book_construction_speed_effect_temp tooltip = production_speed_buildings_factor_tt } set_temp_variable = { LBA_new_green_book_health_cost_effect_temp = -0.10 } add_to_variable = { LBA_new_green_book_health_cost_effect = LBA_new_green_book_health_cost_effect_temp tooltip = health_cost_multiplier_modifier_tt } } } #Assassination of Royals - success country_event = { id = LibyaFocus.15 title = LibyaFocus.15.t desc = { text = LibyaFocus.15.da trigger = { LBA = { has_country_flag = LBA_assassin_meeting_bomb } } } desc = { text = LibyaFocus.15.db trigger = { LBA = { has_country_flag = LBA_assassin_drive_by } } } desc = { text = LibyaFocus.15.dc trigger = { LBA = { has_country_flag = LBA_assassin_plane_bomb } } } desc = { text = LibyaFocus.15.dd trigger = { LBA = { has_country_flag = LBA_assassin_plane_crash } } } picture = GFX_terrorist_attack is_triggered_only = yes option = { name = LibyaFocus.15.a log = "[GetDateText]: [This.GetName]: LibyaFocus.15.a executed" set_variable = { Monarchist_leader = 3 } add_political_power = 200 ENG = { country_event = LibyaFocus.16 } } } #Assassination of Royals - success - UK version country_event = { id = LibyaFocus.16 title = LibyaFocus.16.t desc = { text = LibyaFocus.16.da trigger = { LBA = { has_country_flag = LBA_assassin_meeting_bomb } } } desc = { text = LibyaFocus.16.db trigger = { LBA = { has_country_flag = LBA_assassin_drive_by } } } desc = { text = LibyaFocus.16.dc trigger = { LBA = { has_country_flag = LBA_assassin_plane_bomb } } } desc = { text = LibyaFocus.16.dd trigger = { LBA = { has_country_flag = LBA_assassin_plane_crash } } } picture = GFX_terrorist_attack is_triggered_only = yes option = { name = LibyaFocus.16.a } } #Assassination of Royals - failure country_event = { id = LibyaFocus.17 title = LibyaFocus.17.t desc = { text = LibyaFocus.17.da trigger = { LBA = { has_country_flag = LBA_assassin_meeting_bomb } } } desc = { text = LibyaFocus.17.db trigger = { LBA = { has_country_flag = LBA_assassin_drive_by } } } desc = { text = LibyaFocus.17.dc trigger = { LBA = { has_country_flag = LBA_assassin_plane_bomb } } } desc = { text = LibyaFocus.17.dd trigger = { LBA = { has_country_flag = LBA_assassin_plane_crash } } } picture = GFX_terrorist_attack is_triggered_only = yes option = { name = LibyaFocus.17.a log = "[GetDateText]: [This.GetName]: LibyaFocus.17.a executed" ENG = { country_event = LibyaFocus.18 } } } #Assassination of Royals - UK version country_event = { id = LibyaFocus.18 title = LibyaFocus.18.t desc = { text = LibyaFocus.18.da trigger = { LBA = { has_country_flag = LBA_assassin_meeting_bomb } } } desc = { text = LibyaFocus.18.db trigger = { LBA = { has_country_flag = LBA_assassin_drive_by } } } desc = { text = LibyaFocus.18.dc trigger = { LBA = { has_country_flag = LBA_assassin_plane_bomb } } } desc = { text = LibyaFocus.18.dd trigger = { LBA = { has_country_flag = LBA_assassin_plane_crash } } } picture = GFX_terrorist_attack is_triggered_only = yes option = { name = LibyaFocus.18.a } } #UK discovers Libya is behind assassination attempt country_event = { id = LibyaFocus.19 title = LibyaFocus.19.t desc = LibyaFocus.19.d picture = GFX_terrorist_attack is_triggered_only = yes option = { name = LibyaFocus.19.a log = "[GetDateText]: [This.GetName]: LibyaFocus.19.a executed" ai_chance = { base = 90 modifier = { factor = 0.5 OR = { check_variable = { ruling_party = 4 } check_variable = { ruling_party = 5 } check_variable = { ruling_party = 19 } } } } LBA = { country_event = { id = LibyaFocus.20 hours = 6 } } } option = { name = LibyaFocus.19.b log = "[GetDateText]: [This.GetName]: LibyaFocus.19.b executed" ai_chance = { base = 10 modifier = { factor = 5 OR = { check_variable = { ruling_party = 4 } check_variable = { ruling_party = 5 } check_variable = { ruling_party = 19 } } } } add_political_power = -100 add_stability = -0.05 } } #UK demands public apology country_event = { id = LibyaFocus.20 title = LibyaFocus.20.t desc = LibyaFocus.20.d picture = GFX_terrorist_attack is_triggered_only = yes option = { name = LibyaFocus.20.a log = "[GetDateText]: [This.GetName]: LibyaFocus.20.a executed" ai_chance = { base = 80 } add_stability = -0.05 set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes FROM = { country_event = { id = LibyaFocus.21 hours = 6 } } } option = { name = LibyaFocus.20.b log = "[GetDateText]: [This.GetName]: LibyaFocus.20.b executed" ai_chance = { base = 20 modifier = { factor = 0 is_historical_focus_on = yes } } custom_effect_tooltip = LBA_terror_attack_no_apology_tt FROM = { country_event = { id = LibyaFocus.22 hours = 6 } } } } #UK demands public apology - aopology given country_event = { id = LibyaFocus.21 title = LibyaFocus.21.t desc = LibyaFocus.21.d picture = GFX_terrorist_attack is_triggered_only = yes option = { name = LibyaFocus.21.a log = "[GetDateText]: [This.GetName]: LibyaFocus.21.a executed" add_political_power = 100 } } #UK demands public apology - no apology country_event = { id = LibyaFocus.22 title = LibyaFocus.22.t desc = LibyaFocus.22.d picture = GFX_terrorist_attack is_triggered_only = yes option = { name = LibyaFocus.22.a log = "[GetDateText]: [This.GetName]: LibyaFocus.22.a executed" custom_effect_tooltip = ENG_bomb_libya_tt FROM = { country_event = { id = LibyaFocus.23 hours = 6 } } } option = { name = LibyaFocus.22.b log = "[GetDateText]: [This.GetName]: LibyaFocus.22.b executed" custom_effect_tooltip = ENG_attack_libya_tt FROM = { country_event = { id = LibyaFocus.24 hours = 6 } } hidden_effect = { news_event = { id = LibyaFocusNews.19 hours = 12 } } } option = { name = LibyaFocus.22.c log = "[GetDateText]: [This.GetName]: LibyaFocus.22.c executed" add_stability = -0.10 add_political_power = -200 } } #UK demands public apology - no apology - airstrike country_event = { id = LibyaFocus.23 title = LibyaFocus.23.t desc = LibyaFocus.23.d picture = GFX_fighter_jet is_triggered_only = yes option = { name = LibyaFocus.23.a log = "[GetDateText]: [This.GetName]: LibyaFocus.23.a executed" if = { limit = { any_owned_state = { arms_factory > 0 } } random_owned_state = { limit = { arms_factory > 0 } remove_building = { type = arms_factory level = 1 } } } else_if = { limit = { any_owned_state = { offices > 0 } } random_owned_state = { limit = { offices > 0 } remove_building = { type = offices level = 1 } } } else_if = { limit = { any_owned_state = { industrial_complex > 0 } } random_owned_state = { limit = { industrial_complex > 0 } remove_building = { type = industrial_complex level = 1 } } } else_if = { limit = { any_owned_state = { dockyard > 0 } } random_owned_state = { limit = { dockyard > 0 } remove_building = { type = dockyard level = 1 } } } if = { limit = { is_ruled_by_a_gaddafi = yes } hidden_effect = { random = { chance = 50 random_list = { 10 = { modifier = { factor = 0 OR = { has_country_flag = muhammad_muammar_gaddafi_exile has_country_flag = muhammad_muammar_gaddafi_dead has_country_leader = { name = "Muhammad Muammar Gaddafi" ruling_only = yes } } } set_country_flag = kill_muhammad_muammar_gaddafi } 10 = { modifier = { factor = 0 OR = { has_country_flag = saif_al_islam_gaddafi_exile has_country_flag = saif_al_islam_gaddafi_dead has_country_leader = { name = "Saif al-Islam Gaddafi" ruling_only = yes } } } set_country_flag = kill_saif_al_islam_gaddafi } 10 = { modifier = { factor = 0 OR = { has_country_flag = al_saadi_gaddafi_exile has_country_flag = al_saadi_gaddafi_dead has_country_leader = { name = "Al-Saadi Gaddafi" ruling_only = yes } } } set_country_flag = kill_al_saadi_gaddafi } 10 = { modifier = { factor = 0 OR = { has_country_flag = mutassim_gaddafi_exile has_country_flag = mutassim_gaddafi_dead has_country_leader = { name = "Mutassim Gaddafi" ruling_only = yes } } } set_country_flag = kill_mutassim_gaddafi } 10 = { modifier = { factor = 0 OR = { has_country_flag = hannibal_gaddafi_exile has_country_flag = hannibal_gaddafi_dead has_country_leader = { name = "Hannibal Gaddafi" ruling_only = yes } } } set_country_flag = kill_hannibal_gaddafi } 10 = { modifier = { factor = 0 OR = { has_country_flag = ayesha_gaddafi_exile has_country_flag = ayesha_gaddafi_dead has_country_leader = { name = "Ayesha Gaddafi" ruling_only = yes } } } set_country_flag = kill_ayesha_gaddafi } 10 = { modifier = { factor = 0 OR = { has_country_flag = saif_al_arab_gaddafi_exile has_country_flag = saif_al_arab_gaddafi_dead has_country_leader = { name = "Saif al-Arab Gaddafi" ruling_only = yes } } } set_country_flag = kill_saif_al_arab_gaddafi } 10 = { modifier = { factor = 0 OR = { has_country_flag = khamis_gaddafi_exile has_country_flag = khamis_gaddafi_dead has_country_leader = { name = "Khamis Gaddafi" ruling_only = yes } } } set_country_flag = kill_khamis_gaddafi } } country_event = { id = LibyaFamily.1 hours = 6 } } } } } } #UK demands public apology - no apology - invasion country_event = { id = LibyaFocus.24 title = LibyaFocus.24.t desc = LibyaFocus.24.d picture = GFX_fighter_jet is_triggered_only = yes option = { name = LibyaFocus.24.a log = "[GetDateText]: [This.GetName]: LibyaFocus.24.a executed" declare_war_on = { target = ENG type = annex_everything } } } #Choosing a monarch country_event = { id = LibyaFocus.25 title = LibyaFocus.25.t desc = LibyaFocus.25.d picture = GFX_libya_monarch is_triggered_only = yes option = { name = LibyaFocus.25.a log = "[GetDateText]: [This.GetName]: LibyaFocus.25.a executed" ai_chance = { base = 70 } clr_country_flag = dynamic_flag clr_country_flag = dynamic_rebel_flag set_cosmetic_tag = LBA_KINGDOM set_temp_variable = { rul_party_temp = 23 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes effect_tooltip = { create_country_leader = { name = "Mohammed I" picture = "mohammed_el_senussi.dds" ideology = Monarchist traits = { nationalist_Monarchist agrarian_expert } } } } option = { name = LibyaFocus.25.b log = "[GetDateText]: [This.GetName]: LibyaFocus.25.b executed" ai_chance = { base = 15 } set_variable = { Monarchist_leader = 1 } clr_country_flag = dynamic_flag clr_country_flag = dynamic_rebel_flag set_cosmetic_tag = LBA_KINGDOM set_temp_variable = { rul_party_temp = 23 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes effect_tooltip = { create_country_leader = { name = "Idris II" picture = "idris_bin_abdullah_al_senussi.dds" ideology = Monarchist traits = { nationalist_Monarchist illegitimate_king skilled_lobbyist } } } } option = { name = LibyaFocus.25.c log = "[GetDateText]: [This.GetName]: LibyaFocus.25.c executed" ai_chance = { base = 15 } set_variable = { Monarchist_leader = 3 } clr_country_flag = dynamic_flag clr_country_flag = dynamic_rebel_flag set_cosmetic_tag = LBA_KINGDOM set_temp_variable = { rul_party_temp = 23 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes effect_tooltip = { create_country_leader = { name = "Ahmed I" picture = "ahmed_al_senussi.dds" ideology = Monarchist traits = { nationalist_Monarchist staunch_constitutionalist political_prisoner } } } } } #Liberate minorities country_event = { id = LibyaFocus.26 title = LibyaFocus.26.t desc = LibyaFocus.26.d picture = GFX_liberate_minorities is_triggered_only = yes option = { name = LibyaFocus.26.a log = "[GetDateText]: [This.GetName]: LibyaFocus.26.a executed" ai_chance = { base = 20 modifier = { factor = 2 strength_ratio = { tag = FROM ratio < 1 } strength_ratio = { tag = FROM ratio > 0.5 } } modifier = { factor = 4 strength_ratio = { tag = FROM ratio < 0.5 } } modifier = { factor = 2 FROM = { is_in_faction = yes } } modifier = { factor = 0.5 is_in_faction = yes } modifier = { factor = 0.25 any_of_scopes = { array = ROOT.guaranteeing_nations exists = yes has_guaranteed = ROOT } } } if = { limit = { any_owned_state = { is_core_of = TIE } any_owned_state = { is_core_of = TUA } } if = { limit = { country_exists = TIE NOT = { country_exists = TUA } } every_owned_state = { limit = { is_core_of = TIE } transfer_state_to = TIE } } else_if = { limit = { country_exists = TUA NOT = { country_exists = TIE } } every_owned_state = { limit = { is_core_of = TUA } transfer_state_to = TUA } } else_if = { limit = { country_exists = TUA country_exists = TIE } every_owned_state = { limit = { is_core_of = TIE } transfer_state_to = TIE } every_owned_state = { limit = { is_core_of = TUA } transfer_state_to = TUA } } else = { release = TIE FROM = { puppet = TIE } release = TUA FROM = { puppet = TUA } } } else = { if = { limit = { any_owned_state = { is_core_of = TIE } } release = TIE FROM = { puppet = TIE } } if = { limit = { any_owned_state = { is_core_of = TUA } } release = TUA FROM = { puppet = TUA } } } FROM = { country_event = LibyaFocus.27 } } option = { name = LibyaFocus.26.b ai_chance = { base = 80 modifier = { factor = 0.5 strength_ratio = { tag = FROM ratio < 1 } strength_ratio = { tag = FROM ratio > 0.5 } } modifier = { factor = 0.25 strength_ratio = { tag = FROM ratio < 0.5 } } modifier = { factor = 0.5 FROM = { is_in_faction = yes } } modifier = { factor = 1.5 is_in_faction = yes } modifier = { factor = 1.75 any_of_scopes = { array = ROOT.guaranteeing_nations exists = yes has_guaranteed = ROOT } } } log = "[GetDateText]: [This.GetName]: LibyaFocus.26.b executed" effect_tooltip = { FROM = { set_temp_variable = { wargoal_on = ROOT } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = ROOT type = annex_everything } } } FROM = { country_event = { id = LibyaFocus.28 hours = 6 } } } } #Liberate minorities country_event = { id = LibyaFocus.27 title = LibyaFocus.27.t desc = LibyaFocus.27.d picture = GFX_liberate_minorities is_triggered_only = yes option = { name = LibyaFocus.27.a } } #Liberate minorities country_event = { id = LibyaFocus.28 title = LibyaFocus.28.t desc = LibyaFocus.28.d picture = GFX_liberate_minorities is_triggered_only = yes option = { name = LibyaFocus.28.a log = "[GetDateText]: [This.GetName]: LibyaFocus.28.a executed" set_temp_variable = { wargoal_on = FROM } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = FROM type = annex_everything } } } #Choosing a rail gauge country_event = { id = LibyaFocus.29 title = LibyaFocus.29.t desc = LibyaFocus.29.d picture = GFX_generic_train_event is_triggered_only = yes option = { name = LibyaFocus.29.a ai_chance = { base = 80 } } option = { name = LibyaFocus.29.b log = "[GetDateText]: [This.GetName]: LibyaFocus.29.b executed" ai_chance = { base = 20 } set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes add_ideas = LBA_libyan_gauge_railroads } } #Small iron ore lode found country_event = { id = LibyaFocus.30 title = LibyaFocus.30.t desc = LibyaFocus.30.d picture = GFX_mining is_triggered_only = yes option = { name = LibyaFocus.30.a log = "[GetDateText]: [This.GetName]: LibyaFocus.30.a executed" 392 = { add_resource = { type = steel amount = 1 } } add_to_variable = { wadi_ash_shati_current = 1 } } } #Medium iron ore lode found country_event = { id = LibyaFocus.31 title = LibyaFocus.31.t desc = LibyaFocus.31.d picture = GFX_mining is_triggered_only = yes option = { name = LibyaFocus.31.a log = "[GetDateText]: [This.GetName]: LibyaFocus.31.a executed" 392 = { add_resource = { type = steel amount = 4 } } add_to_variable = { wadi_ash_shati_current = 4 } } } #Motherlode found country_event = { id = LibyaFocus.32 title = LibyaFocus.32.t desc = LibyaFocus.32.d picture = GFX_mining is_triggered_only = yes option = { name = LibyaFocus.32.a log = "[GetDateText]: [This.GetName]: LibyaFocus.32.a executed" set_temp_variable = { max_cap = 60 } subtract_from_temp_variable = { max_cap = wadi_ash_shati_current } 392 = { add_resource = { type = steel amount = max_cap } } add_to_variable = { wadi_ash_shati_current = 60 } } } #Offer railroad deal country_event = { id = LibyaFocus.33 title = LibyaFocus.33.t desc = LibyaFocus.33.d picture = GFX_generic_train_event is_triggered_only = yes option = { name = LibyaFocus.33.a log = "[GetDateText]: [This.GetName]: LibyaFocus.33.a executed" ai_chance = { base = 50 } custom_effect_tooltip = LBA_railroad_deal_tt effect_tooltip = { set_temp_variable = { treasury_change = LBA_cost_of_rail_project } multiply_temp_variable = { treasury_change = 0.5 } modify_treasury_effect = yes libya_upgrade_railway_idea_level = yes set_temp_variable = { influence_target = LBA_target_of_rail_project } set_temp_variable = { percent_change = LBA_influence_gain_from_rails } change_influence_percentage = yes var:LBA_target_of_rail_project = { add_ideas = LBA_railroad_connection_to_neighbour } } var:LBA_target_of_rail_project = { country_event = { id = LibyaFocus.34 hours = 6 } } } option = { name = LibyaFocus.33.b log = "[GetDateText]: [This.GetName]: LibyaFocus.33.b executed" ai_chance = { base = 50 modifier = { factor = 0.5 check_variable = { interest_rate > 7 } } } set_country_flag = LBA_railroad_deal_libya_pays_all custom_effect_tooltip = LBA_railroad_deal_tt effect_tooltip = { set_temp_variable = { treasury_change = LBA_cost_of_rail_project } modify_treasury_effect = yes libya_upgrade_railway_idea_level = yes set_temp_variable = { influence_target = LBA_target_of_rail_project } set_temp_variable = { percent_change = LBA_influence_gain_from_rails } change_influence_percentage = yes var:LBA_target_of_rail_project = { add_ideas = LBA_railroad_connection_to_neighbour } } var:LBA_target_of_rail_project = { country_event = { id = LibyaFocus.34 hours = 6 } } } } #Offer railroad deal - recipient country_event = { id = LibyaFocus.34 title = LibyaFocus.34.t desc = LibyaFocus.34.d picture = GFX_generic_train_event is_triggered_only = yes option = { name = LibyaFocus.34.a log = "[GetDateText]: [This.GetName]: LibyaFocus.34.a executed" ai_chance = { base = 80 modifier = { factor = 0.5 check_variable = { interest_rate > 7 } } modifier = { factor = 0.5 has_opinion = { target = FROM value < 0 } } } if = { limit = { FROM = { NOT = { has_country_flag = LBA_railroad_deal_libya_pays_all } } } set_temp_variable = { treasury_change = FROM.LBA_cost_of_rail_project } multiply_temp_variable = { treasury_change = 0.5 } modify_treasury_effect = yes } add_ideas = LBA_railroad_connection_to_neighbour effect_tooltip = { set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = FROM.LBA_influence_gain_from_rails } set_temp_variable = { tag_index = FROM } change_influence_percentage = yes if = { limit = { original_tag = TUN } build_railway = { level = 1 path = { 1149 1189 12039 11957 7005 } start_province = 1149 target_province = 7005 } } if = { limit = { original_tag = EGY } build_railway = { level = 1 path = { 1130 10120 7079 } start_province = 1130 target_province = 7079 } } if = { limit = { original_tag = NGR } build_railway = { level = 1 path = { 6295 3257 12022 8128 1956 8030 10917 11324 14765 11303 14767 14316 2056 11287 } start_province = 6295 target_province = 11287 } } if = { limit = { original_tag = CHA } build_railway = { level = 1 path = { 1057 14497 9202 14397 5136 4897 14553 11489 2081 } start_province = 1057 target_province = 2081 } } } FROM = { country_event = { id = LibyaFocus.35 hours = 6 } } } option = { name = LibyaFocus.34.b log = "[GetDateText]: [This.GetName]: LibyaFocus.34.b executed" ai_chance = { base = 20 modifier = { factor = 1.5 check_variable = { interest_rate > 7 } } modifier = { factor = 1.5 has_opinion = { target = FROM value < 0 } } } FROM = { country_event = { id = LibyaFocus.36 hours = 6 } } } } #Offer railroad deal - deal accepted country_event = { id = LibyaFocus.35 title = LibyaFocus.35.t desc = LibyaFocus.35.d picture = GFX_generic_train_event is_triggered_only = yes option = { name = LibyaFocus.35.a log = "[GetDateText]: [This.GetName]: LibyaFocus.35.a executed" set_temp_variable = { treasury_change = LBA_cost_of_rail_project } if = { limit = { FROM = { NOT = { has_country_flag = LBA_railroad_deal_libya_pays_all } } } multiply_temp_variable = { treasury_change = 0.5 } } modify_treasury_effect = yes libya_upgrade_railway_idea_level = yes set_temp_variable = { influence_target = LBA_target_of_rail_project } set_temp_variable = { percent_change = LBA_influence_gain_from_rails } change_influence_percentage = yes if = { limit = { FROM = { original_tag = TUN } } build_railway = { level = 1 path = { 1149 1189 12039 11957 7005 } start_province = 1149 target_province = 7005 } } if = { limit = { FROM = { original_tag = EGY } } build_railway = { level = 1 path = { 1130 10120 7079 } start_province = 1130 target_province = 7079 } } if = { limit = { original_tag = NGR } build_railway = { level = 1 path = { 6295 3257 12022 8128 1956 8030 10917 11324 14765 11303 14767 14316 2056 11287 } start_province = 6295 target_province = 11287 } } if = { limit = { original_tag = CHA } build_railway = { level = 1 path = { 1057 14497 9202 14397 5136 4897 14553 11489 2081 } start_province = 1057 target_province = 2081 } } clr_country_flag = LBA_railroad_deal_libya_pays_all clear_variable = LBA_cost_of_rail_project clear_variable = LBA_target_of_rail_project } } #Offer railroad deal - no deal country_event = { id = LibyaFocus.36 title = LibyaFocus.36.t desc = LibyaFocus.36.d picture = GFX_generic_train_event is_triggered_only = yes option = { name = LibyaFocus.36.a log = "[GetDateText]: [This.GetName]: LibyaFocus.36.a executed" clr_country_flag = LBA_railroad_deal_libya_pays_all clear_variable = LBA_cost_of_rail_project clear_variable = LBA_target_of_rail_project } } #Select who to buy nukes from country_event = { id = LibyaFocus.37 title = LibyaFocus.37.t desc = LibyaFocus.37.d picture = GFX_nuclear_test is_triggered_only = yes option = { name = LibyaFocus.37.a log = "[GetDateText]: [This.GetName]: LibyaFocus.37.a executed" trigger = { country_exists = CHI CHI = { OR = { has_tech = ICBM has_tech = NIRBM1 } } } ai_chance = { base = 25 } custom_effect_tooltip = Libya_buy_nukes_china_tt CHI = { country_event = { id = LibyaFocus.38 days = 3 } } } option = { name = LibyaFocus.37.b log = "[GetDateText]: [This.GetName]: LibyaFocus.37.b executed" trigger = { country_exists = PAK PAK = { OR = { has_tech = ICBM has_tech = NIRBM1 } } } ai_chance = { base = 50 } custom_effect_tooltip = Libya_buy_nukes_pakistan_tt PAK = { country_event = { id = LibyaFocus.38 days = 3 } } } option = { name = LibyaFocus.37.c log = "[GetDateText]: [This.GetName]: LibyaFocus.37.c executed" trigger = { country_exists = NKO NKO = { OR = { has_tech = ICBM has_tech = NIRBM1 } } } ai_chance = { base = 25 } custom_effect_tooltip = Libya_buy_nukes_north_korea_tt NKO = { country_event = { id = LibyaFocus.38 days = 3 } } } } #Select who to buy nukes from - Receiver country_event = { id = LibyaFocus.38 title = LibyaFocus.38.t desc = LibyaFocus.38.d picture = GFX_nuclear_test is_triggered_only = yes option = { name = LibyaFocus.38.a log = "[GetDateText]: [This.GetName]: LibyaFocus.38.a executed" ai_chance = { base = 20 modifier = { factor = 0 has_government = democratic } modifier = { factor = 2 has_government = FROM } modifier = { factor = 2 has_opinion = { target = FROM value > 100 } } } set_temp_variable = { treasury_change = 5 } modify_treasury_effect = yes FROM = { country_event = { id = LibyaFocus.39 days = 3 } } if = { limit = { original_tag = CHI } set_temp_variable = { success_chance = 0.75 } set_temp_variable = { fail_chance = 0.25 } } if = { limit = { original_tag = PAK } set_temp_variable = { success_chance = 0.50 } set_temp_variable = { fail_chance = 0.50 } } if = { limit = { original_tag = NKO } set_temp_variable = { success_chance = 0.25 } set_temp_variable = { fail_chance = 0.75 } } random_list = { success_chance = { FROM = { country_event = { id = LibyaFocus.41 days = 14 } } if = { limit = { has_tech = ICBM } effect_tooltip = { send_equipment = { equipment = nuclear_missile_equipment amount = 1 target = FROM } } } else = { effect_tooltip = { send_equipment = { equipment = nuclear_ballistic_missile_equipment amount = 1 target = FROM } } } } fail_chance = { USA = { country_event = { id = LibyaFocus.42 days = 7 } } } } } option = { name = LibyaFocus.38.b log = "[GetDateText]: [This.GetName]: LibyaFocus.38.b executed" ai_chance = { base = 80 modifier = { factor = 0.5 has_government = FROM } modifier = { factor = 0.5 has_opinion = { target = FROM value > 100 } } } FROM = { country_event = { id = LibyaFocus.40 days = 3 } } } } #Select who to buy nukes from - Deal Accepted country_event = { id = LibyaFocus.39 title = LibyaFocus.39.t desc = LibyaFocus.39.d picture = GFX_nuclear_test is_triggered_only = yes option = { name = LibyaFocus.39.a log = "[GetDateText]: [This.GetName]: LibyaFocus.39.a executed" set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } } #Select who to buy nukes from - Deal Rejected country_event = { id = LibyaFocus.40 title = LibyaFocus.40.t desc = LibyaFocus.40.d picture = GFX_nuclear_test is_triggered_only = yes option = { name = LibyaFocus.40.a } } #Select who to buy nukes from - Nukes delivered country_event = { id = LibyaFocus.41 title = LibyaFocus.41.t desc = LibyaFocus.41.d picture = GFX_nuclear_test is_triggered_only = yes option = { name = LibyaFocus.41.a log = "[GetDateText]: [This.GetName]: LibyaFocus.41.a executed" FROM = { if = { limit = { has_tech = ICBM } send_equipment = { equipment = nuclear_missile_equipment amount = 1 target = ROOT } } else = { send_equipment = { equipment = nuclear_ballistic_missile_equipment amount = 1 target = ROOT } } } custom_effect_tooltip = Libya_nuclear_deterrent_tt } } #Select who to buy nukes from - Nuke intercepted country_event = { id = LibyaFocus.42 title = LibyaFocus.42.t desc = LibyaFocus.42.d picture = GFX_nuclear_test is_triggered_only = yes option = { name = LibyaFocus.42.a log = "[GetDateText]: [This.GetName]: LibyaFocus.42.a executed" ai_chance = { base = 30 } LBA = { country_event = LibyaFocus.43 } } option = { name = LibyaFocus.42.b log = "[GetDateText]: [This.GetName]: LibyaFocus.42.b executed" ai_chance = { base = 40 } LBA = { country_event = LibyaFocus.44 } set_temp_variable = { wargoal_on = LBA } add_threat_from_wargoal_effect = yes create_wargoal = { target = LBA type = puppet_wargoal_focus } } option = { name = LibyaFocus.42.c log = "[GetDateText]: [This.GetName]: LibyaFocus.42.c executed" ai_chance = { base = 30 } LBA = { country_event = LibyaFocus.44 } set_temp_variable = { wargoal_on = LBA } add_threat_from_wargoal_effect = yes create_wargoal = { target = LBA type = puppet_wargoal_focus } FROM = { country_event = LibyaFocus.45 add_timed_idea = { idea = international_sanctions days = 730 } } } } #Select who to buy nukes from - US confiscates nuke country_event = { id = LibyaFocus.43 title = LibyaFocus.43.t desc = LibyaFocus.43.d picture = GFX_nuclear_test is_triggered_only = yes option = { name = LibyaFocus.43.a } } #Select who to buy nukes from - US intervenes country_event = { id = LibyaFocus.44 title = LibyaFocus.44.t desc = LibyaFocus.44.d picture = GFX_nuclear_test is_triggered_only = yes option = { name = LibyaFocus.44.a log = "[GetDateText]: [This.GetName]: LibyaFocus.44.a executed" effect_tooltip = { USA = { set_temp_variable = { wargoal_on = LBA } add_threat_from_wargoal_effect = yes create_wargoal = { target = LBA type = puppet_wargoal_focus } } } } } #Select who to buy nukes from - US sanctions us country_event = { id = LibyaFocus.45 title = LibyaFocus.45.t desc = LibyaFocus.45.d picture = GFX_nuclear_test is_triggered_only = yes option = { name = LibyaFocus.45.a log = "[GetDateText]: [This.GetName]: LibyaFocus.45.a executed" effect_tooltip = { add_timed_idea = { idea = international_sanctions days = 730 } } } } #Arms deal with Italy - Event for Italy country_event = { id = LibyaFocus.46 title = LibyaFocus.46.t desc = LibyaFocus.46.d picture = GFX_weapons_arms1 is_triggered_only = yes option = { name = LibyaFocus.46.a log = "[GetDateText]: [This.GetName]: LibyaFocus.46.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT custom_effect_tooltip = LBA_arms_deal_accepted_tt ai_chance = { base = 50 modifier = { factor = 2 has_government = FROM } modifier = { factor = 0.5 LBA = { is_ruled_by_a_gaddafi = yes } } modifier = { factor = 2 has_opinion = { target = FROM value > 50 } } } FROM = { add_relation_modifier = { target = ROOT modifier = military_cooperation } } set_temp_variable = { influence_target = FROM } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes if = { limit = { FROM = { is_ruled_by_a_gaddafi = yes } } add_political_power = -100 } FROM = { country_event = { id = LibyaFocus.47 hours = 6 } } } option = { name = LibyaFocus.46.b log = "[GetDateText]: [This.GetName]: LibyaFocus.46.b executed" custom_effect_tooltip = TT_IF_WE_DECLINE custom_effect_tooltip = LBA_arms_deal_declined_tt ai_chance = { base = 50 modifier = { factor = 0.5 has_government = FROM } modifier = { factor = 1.5 LBA = { is_ruled_by_a_gaddafi = yes } } modifier = { factor = 0.5 has_opinion = { target = FROM value > 50 } } } add_political_power = 100 FROM = { country_event = { id = LibyaFocus.48 hours = 6 } } } } #Arms deal with Italy - Italy agrees country_event = { id = LibyaFocus.47 title = LibyaFocus.47.t desc = LibyaFocus.47.d picture = GFX_weapons_arms1 is_triggered_only = yes option = { name = LibyaFocus.47.a log = "[GetDateText]: [This.GetName]: LibyaFocus.47.a executed" effect_tooltip = { add_relation_modifier = { target = ITA modifier = military_cooperation } set_temp_variable = { tag_index = ITA } set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } } #Arms deal with Italy - Italy rejects country_event = { id = LibyaFocus.48 title = LibyaFocus.48.t desc = LibyaFocus.48.d picture = GFX_weapons_arms1 is_triggered_only = yes option = { name = LibyaFocus.48.a } } #Libya joins USAID country_event = { id = LibyaFocus.49 title = LibyaFocus.49.t desc = LibyaFocus.49.d picture = GFX_us_flag is_triggered_only = yes option = { name = LibyaFocus.49.a } } #Libya aks for reparations - Italy country_event = { id = LibyaFocus.50 title = LibyaFocus.50.t desc = LibyaFocus.50.d picture = GFX_report_event_Money_ITA_1 is_triggered_only = yes option = { name = LibyaFocus.50.a log = "[GetDateText]: [This.GetName]: LibyaFocus.50.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT custom_effect_tooltip = LBA_reparations_accepted_tt ai_chance = { base = 30 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_government = nationalist } modifier = { factor = 1.5 has_opinion = { target = FROM value > 50 } } } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes add_political_power = 50 if = { limit = { has_government = nationalist } add_popularity = { ideology = nationalist popularity = -0.10 } } else = { add_popularity = { ideology = nationalist popularity = 0.05 } } FROM = { country_event = { id = LibyaFocus.51 hours = 6 } add_opinion_modifier = { modifier = gratitude target = ROOT } } } option = { name = LibyaFocus.50.b log = "[GetDateText]: [This.GetName]: LibyaFocus.50.b executed" custom_effect_tooltip = TT_IF_WE_DECLINE custom_effect_tooltip = LBA_reparations_declined_tt ai_chance = { base = 50 modifier = { factor = 0 has_government = nationalist } modifier = { factor = 1.5 has_opinion = { target = FROM value > 50 } } } FROM = { country_event = { id = LibyaFocus.53 hours = 3 } } custom_effect_tooltip = LibyaFocus.50_tt effect_tooltip = { set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes unlock_decision_tooltip = ITA_use_force_decision LBA = { add_ideas = LBA_treaty_of_benghazi } } } option = { name = LibyaFocus.50.c log = "[GetDateText]: [This.GetName]: LibyaFocus.50.c executed" custom_effect_tooltip = TT_IF_WE_DECLINE custom_effect_tooltip = LBA_reparations_declined_tt ai_chance = { base = 20 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0.5 has_opinion = { target = FROM value > 50 } } } FROM = { country_event = { id = LibyaFocus.52 hours = 6 } add_opinion_modifier = { modifier = insult target = ROOT } } } } #Libya aks for reparations - Italy pays country_event = { id = LibyaFocus.51 title = LibyaFocus.51.t desc = LibyaFocus.51.d picture = GFX_report_event_Money_ITA_1 is_triggered_only = yes option = { name = LibyaFocus.51.a log = "[GetDateText]: [This.GetName]: LibyaFocus.51.a executed" set_temp_variable = { treasury_change = 5 } modify_treasury_effect = yes } } #Libya aks for reparations - Italy doesn't pay country_event = { id = LibyaFocus.52 title = LibyaFocus.52.t desc = LibyaFocus.52.d picture = GFX_report_event_Money_ITA_1 is_triggered_only = yes option = { name = LibyaFocus.52.a } } #Libya aks for reparations - Italy offers counterdeal country_event = { id = LibyaFocus.53 title = LibyaFocus.53.t desc = LibyaFocus.53.d picture = GFX_report_event_Money_ITA_1 is_triggered_only = yes option = { name = LibyaFocus.53.a log = "[GetDateText]: [This.GetName]: LibyaFocus.53.a executed" ai_chance = { base = 80 } set_temp_variable = { treasury_change = 5 } modify_treasury_effect = yes add_ideas = LBA_treaty_of_benghazi FROM = { add_opinion_modifier = { modifier = declaration_of_friendship target = ROOT } country_event = { id = LibyaFocus.54 hours = 6 } } } option = { name = LibyaFocus.53.b log = "[GetDateText]: [This.GetName]: LibyaFocus.53.b executed" ai_chance = { base = 20 modifier = { factor = 0 is_historical_focus_on = yes } } FROM = { country_event = { id = LibyaFocus.55 hours = 6 } } } } #Libya aks for reparations - Italy offers counterdeal - Libya accepts country_event = { id = LibyaFocus.54 title = LibyaFocus.54.t desc = LibyaFocus.54.d picture = GFX_report_event_Money_ITA_1 is_triggered_only = yes option = { name = LibyaFocus.54.a log = "[GetDateText]: [This.GetName]: LibyaFocus.53.a executed" set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes unlock_decision_tooltip = ITA_use_force_decision set_country_flag = ITA_treaty_of_benghazi FROM = { add_opinion_modifier = { modifier = declaration_of_friendship target = ROOT } } } } #Libya aks for reparations - Italy offers counterdeal - Libya rejects country_event = { id = LibyaFocus.55 title = LibyaFocus.55.t desc = LibyaFocus.55.d picture = GFX_report_event_Money_ITA_1 is_triggered_only = yes option = { name = LibyaFocus.55.a } } #Libya extends support for Sahrawi country_event = { id = LibyaFocus.56 title = LibyaFocus.56.t desc = LibyaFocus.56.d picture = GFX_african_school is_triggered_only = yes option = { name = LibyaFocus.56.a log = "[GetDateText]: [This.GetName]: LibyaFocus.56.a executed" if = { limit = { NOT = { has_idea = SHA_libyan_education } } add_ideas = SHA_libyan_education } else = { swap_ideas = { add_idea = SHA_libyan_education_2 remove_idea = SHA_libyan_education } } } } #Libya abandons Sahrawi country_event = { id = LibyaFocus.57 title = LibyaFocus.57.t desc = LibyaFocus.57.d picture = GFX_african_school is_triggered_only = yes option = { name = LibyaFocus.57.a log = "[GetDateText]: [This.GetName]: LibyaFocus.57.a executed" if = { limit = { has_idea = SHA_libyan_education } remove_ideas = SHA_libyan_education } } } #Libya plans peace for Western Sahara country_event = { id = LibyaFocus.58 title = LibyaFocus.58.t desc = LibyaFocus.58.d picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.58.a } } #Choosing a peace plan country_event = { id = LibyaFocus.59 title = LibyaFocus.59.t desc = LibyaFocus.59.d picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.59.a log = "[GetDateText]: [This.GetName]: LibyaFocus.59.a executed" ai_chance = { base = 10 } custom_effect_tooltip = libya_western_sahara_peace_plan_annexation_tt set_country_flag = libya_western_sahara_peace_plan_annexation } option = { name = LibyaFocus.59.b log = "[GetDateText]: [This.GetName]: LibyaFocus.59.a executed" ai_chance = { base = 25 } custom_effect_tooltip = libya_western_sahara_peace_plan_autonomy_tt set_country_flag = libya_western_sahara_peace_plan_autonomy } option = { name = LibyaFocus.59.c log = "[GetDateText]: [This.GetName]: LibyaFocus.59.a executed" ai_chance = { base = 60 } custom_effect_tooltip = libya_western_sahara_peace_plan_independence_tt set_country_flag = libya_western_sahara_peace_plan_independence } option = { name = LibyaFocus.59.de log = "[GetDateText]: [This.GetName]: LibyaFocus.59.a executed" ai_chance = { base = 5 modifier = { factor = 0 MAU = { NOT = { has_government = nationalist } } } } trigger = { country_exists = MAU MAU = { is_subject = no } } custom_effect_tooltip = libya_western_sahara_peace_plan_mauritania_tt set_country_flag = libya_western_sahara_peace_plan_mauritania } } #Participant response to peace plan country_event = { id = LibyaFocus.60 title = LibyaFocus.60.t desc = { text = LibyaFocus.60.da trigger = { FROM = { has_country_flag = libya_western_sahara_peace_plan_annexation } } } desc = { text = LibyaFocus.60.db trigger = { FROM = { has_country_flag = libya_western_sahara_peace_plan_autonomy } } } desc = { text = LibyaFocus.60.dc trigger = { FROM = { has_country_flag = libya_western_sahara_peace_plan_independence } } } desc = { text = LibyaFocus.60.dd trigger = { FROM = { has_country_flag = libya_western_sahara_peace_plan_mauritania } } } picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.60.a log = "[GetDateText]: [This.GetName]: LibyaFocus.60.a executed" ai_chance = { base = 1 modifier = { factor = acceptance_chance } } FROM = { add_to_variable = { libya_casablanca_accords_no_of_signatories = 1 } set_country_flag = libya_casablanca_accords_signed_by_@ROOT country_event = { id = LibyaFocus.61 hours = 6 } } clear_variable = acceptance_chance clear_variable = acceptance_chance_neg } option = { name = LibyaFocus.60.b log = "[GetDateText]: [This.GetName]: LibyaFocus.60.a executed" ai_chance = { base = 1 modifier = { factor = acceptance_chance_neg } } random_list = { 75 = { FROM = { country_event = { id = LibyaFocus.62 hours = 6 } } } 25 = { FROM = { add_to_variable = { libya_casablanca_accords_no_of_participants = -1 } set_country_flag = libya_casablanca_accords_left_@ROOT country_event = { id = LibyaFocus.63 hours = 6 } } } } } option = { name = LibyaFocus.60.c log = "[GetDateText]: [This.GetName]: LibyaFocus.60.a executed" trigger = { is_ai = no } FROM = { add_to_variable = { libya_casablanca_accords_no_of_participants = -1 } set_country_flag = libya_casablanca_accords_left_@ROOT country_event = { id = LibyaFocus.63 hours = 6 } } clear_variable = acceptance_chance clear_variable = acceptance_chance_neg } } #Participant accepts peace plan country_event = { id = LibyaFocus.61 title = LibyaFocus.61.t desc = LibyaFocus.61.d picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.61.a } } #Participant rejects peace plan country_event = { id = LibyaFocus.62 title = LibyaFocus.62.t desc = LibyaFocus.62.d picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.62.a } } #Participant leaves peace conference country_event = { id = LibyaFocus.63 title = LibyaFocus.63.t desc = LibyaFocus.63.d picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.63.a } } #Libya demands autonomy for Crete - Greece country_event = { id = LibyaFocus.64 title = LibyaFocus.64.t desc = LibyaFocus.64.d picture = GFX_GRE_generic is_triggered_only = yes option = { name = LibyaFocus.64.a log = "[GetDateText]: [This.GetName]: LibyaFocus.64.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT custom_effect_tooltip = LBA_crete_autonomy_accepted_tt ai_chance = { base = 80 modifier = { factor = 0.5 strength_ratio = { tag = FROM ratio < 1 } strength_ratio = { tag = FROM ratio > 0.5 } } modifier = { factor = 0.25 strength_ratio = { tag = FROM ratio < 0.5 } } modifier = { factor = 0.5 is_in_faction = no } modifier = { factor = 0.75 has_opinion = { target = FROM value > 100 } } modifier = { factor = 5 has_government = nationalist } } release_autonomy = { target = CRE autonomy_state = autonomy_autonomous_state } FROM = { country_event = { id = LibyaFocus.65 hours = 6 } } } option = { name = LibyaFocus.64.b log = "[GetDateText]: [This.GetName]: LibyaFocus.64.b executed" custom_effect_tooltip = TT_IF_WE_DECLINE custom_effect_tooltip = LBA_crete_autonomy_declined_tt ai_chance = { base = 20 modifier = { factor = 1.5 strength_ratio = { tag = FROM ratio < 1 } strength_ratio = { tag = FROM ratio > 0.5 } } modifier = { factor = 1.75 strength_ratio = { tag = FROM ratio < 0.5 } } modifier = { factor = 1.5 is_in_faction = no } modifier = { factor = 1.25 has_opinion = { target = FROM value > 100 } } modifier = { factor = 0.2 has_government = nationalist } } FROM = { country_event = { id = LibyaFocus.66 hours = 6 } } } } #Libya demands autonomy for Crete - Greece accepts country_event = { id = LibyaFocus.65 title = LibyaFocus.65.t desc = LibyaFocus.65.d picture = GFX_GRE_generic is_triggered_only = yes option = { name = LibyaFocus.65.a log = "[GetDateText]: [This.GetName]: LibyaFocus.65.a executed" effect_tooltip = { FROM = { release_autonomy = { target = CRE autonomy_state = autonomy_autonomous_state } } } } } #Libya demands autonomy for Crete - Greece rejects country_event = { id = LibyaFocus.66 title = LibyaFocus.66.t desc = LibyaFocus.66.d picture = GFX_GRE_generic is_triggered_only = yes option = { name = LibyaFocus.66.a log = "[GetDateText]: [This.GetName]: LibyaFocus.66.a executed" ai_chance = { base = 50 modifier = { factor = 1.5 strength_ratio = { tag = FROM ratio > 1 } strength_ratio = { tag = FROM ratio < 1.5 } } modifier = { factor = 2 strength_ratio = { tag = FROM ratio > 1.5 } } modifier = { factor = 2 is_in_faction = no } } set_temp_variable = { wargoal_on = FROM } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { type = annex_everything target = FROM } } option = { name = LibyaFocus.66.b ai_chance = { base = 50 modifier = { factor = 0.6 strength_ratio = { tag = FROM ratio > 1 } strength_ratio = { tag = FROM ratio < 1.5 } } modifier = { factor = 0.5 strength_ratio = { tag = FROM ratio > 1.5 } } modifier = { factor = 0.5 is_in_faction = no } } } } #Hamas starts new Intifada with help from Libya - Israel country_event = { id = LibyaFocus.67 title = LibyaFocus.67.t desc = LibyaFocus.67.d picture = GFX_new_intifada is_triggered_only = yes option = { name = LibyaFocus.67.a log = "[GetDateText]: [This.GetName]: LibyaFocus.67.a executed" add_timed_idea = { idea = israel_new_intifada days = 360 } } } #Hamas starts new Intifada with help from Libya - Hamas/Palestine country_event = { id = LibyaFocus.68 title = LibyaFocus.68.t desc = LibyaFocus.68.d picture = GFX_new_intifada is_triggered_only = yes option = { name = LibyaFocus.68.a log = "[GetDateText]: [This.GetName]: LibyaFocus.68.a executed" effect_tooltip = { ISR = { add_timed_idea = { idea = israel_new_intifada days = 360 } } } } } #Hamas starts new Intifada with help from Libya - Release Hamas country_event = { id = LibyaFocus.69 title = LibyaFocus.69.t desc = LibyaFocus.69.d picture = GFX_new_intifada is_triggered_only = yes immediate = { HAM = { add_state_core = 209 } release = HAM FROM = { give_guarantee = HAM } HAM = { load_oob = "HAM_2017" } } option = { name = LibyaFocus.69.a ai_chance = { base = 50 modifier = { factor = 0.25 original_tag = ISR } } } option = { name = LibyaFocus.69.b log = "[GetDateText]: [This.GetName]: LibyaFocus.69.b executed" ai_chance = { base = 50 modifier = { factor = 1.75 original_tag = ISR } modifier = { factor = 0 original_tag = PAL } } set_temp_variable = { wargoal_on = HAM } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { type = annex_everything target = HAM } } } #Libya arms Toubou rebels - Chad country_event = { id = LibyaFocus.70 title = LibyaFocus.70.t desc = LibyaFocus.70.d picture = GFX_liberate_minorities is_triggered_only = yes option = { name = LibyaFocus.70.a } } #Libya suggests joint mining - Chad country_event = { id = LibyaFocus.71 title = LibyaFocus.71.t desc = LibyaFocus.71.d picture = GFX_mining is_triggered_only = yes option = { name = LibyaFocus.71.a log = "[GetDateText]: [This.GetName]: LibyaFocus.71.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT custom_effect_tooltip = LBA_chad_mining_accepted_tt ai_chance = { base = 90 modifier = { factor = 0.25 has_opinion = { target = FROM value < -50 } } } effect_tooltip = { set_temp_variable = { tag_index = FROM } set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = 4 } change_influence_percentage = yes } FROM = { country_event = { id = LibyaFocus.72 hours = 6 } } } option = { name = LibyaFocus.71.b log = "[GetDateText]: [This.GetName]: LibyaFocus.71.b executed" custom_effect_tooltip = TT_IF_WE_DECLINE custom_effect_tooltip = LBA_chad_mining_declined_tt ai_chance = { base = 10 modifier = { factor = 4 has_opinion = { target = FROM value < -50 } } } FROM = { country_event = { id = LibyaFocus.73 hours = 6 } } } } #Libya suggests joint mining - Chad accepts country_event = { id = LibyaFocus.72 title = LibyaFocus.72.t desc = LibyaFocus.72.d picture = GFX_mining is_triggered_only = yes option = { name = LibyaFocus.72.a log = "[GetDateText]: [This.GetName]: LibyaFocus.72.a executed" set_temp_variable = { influence_target = FROM } set_temp_variable = { percent_change = 4 } change_influence_percentage = yes set_country_flag = libya_chad_uranium_deal } } #Libya suggests joint mining - Chad rejects country_event = { id = LibyaFocus.73 title = LibyaFocus.73.t desc = LibyaFocus.73.d picture = GFX_mining is_triggered_only = yes option = { name = LibyaFocus.73.a } } #Libya starts uranium mining - Chad country_event = { id = LibyaFocus.74 title = LibyaFocus.74.t desc = LibyaFocus.74.d picture = GFX_mining is_triggered_only = yes option = { name = LibyaFocus.74.a log = "[GetDateText]: [This.GetName]: LibyaFocus.74.a executed" effect_tooltip = { add_resource = { type = tungsten amount = 15 state = 580 } give_resource_rights = { receiver = FROM state = 580 resources = { tungsten } } add_resource = { type = tungsten amount = 5 state = 327 } } } } #Toubou rise up - Chad country_event = { id = LibyaFocus.75 title = LibyaFocus.75.t desc = LibyaFocus.75.d picture = GFX_liberate_minorities is_triggered_only = yes immediate = { 327 = { transfer_state_to = TIE } TIE = { load_oob = "TIE_2000" declare_war_on = { target = ROOT type = annex_everything } } hidden_effect = { set_province_controller = 3123 set_province_controller = 5136 set_province_controller = 14547 set_province_controller = 11503 set_province_controller = 14400 set_province_controller = 4961 set_province_controller = 9202 set_province_controller = 14592 } FROM = { set_autonomy = { target = TIE autonomy_state = autonomy_puppet_state end_wars = no } } hidden_effect = { TIE = { set_temp_variable = { rul_party_temp = FROM.ruling_party } change_ruling_party_effect = yes } } } option = { name = LibyaFocus.75.a } } #Darfur rise up - Sudan country_event = { id = LibyaFocus.76 title = LibyaFocus.76.t desc = LibyaFocus.76.d picture = GFX_sudan_darfur_rebels is_triggered_only = yes immediate = { release = DAR DAR = { declare_war_on = { target = SUD type = annex_everything } hidden_effect = { load_oob = "DAR_2017" division_template = { name = "Libyan Mercenaries" regiments = { Special_Forces = { x = 0 y = 0 } Special_Forces = { x = 0 y = 1 } Special_Forces = { x = 0 y = 2 } } } capital_scope = { create_unit = { division = "name = \"Murtaziqat Libiun\" division_template = \"Libyan Mercenaries\" start_experience_factor = 0.4" owner = DAR } } } } } option = { name = LibyaFocus.76.a } } #Libya Sends mercenaries - Sudan country_event = { id = LibyaFocus.77 title = LibyaFocus.77.t desc = LibyaFocus.77.d picture = GFX_event_pmcs is_triggered_only = yes option = { name = LibyaFocus.77.a log = "[GetDateText]: [This.GetName]: LibyaFocus.77.a executed" add_stability = 0.05 SUD = { division_template = { name = "Libyan Mercenaries" regiments = { Special_Forces = { x = 0 y = 0 } Special_Forces = { x = 0 y = 1 } Special_Forces = { x = 0 y = 2 } } } capital_scope = { create_unit = { division = "name = \"Murtaziqat Libiun\" division_template = \"Libyan Mercenaries\" start_experience_factor = 0.4" owner = SUD } } } } } #Libya sends weapons - Liberia country_event = { id = LibyaFocus.78 title = LibyaFocus.78.t desc = LibyaFocus.78.d picture = GFX_guns is_triggered_only = yes option = { name = LibyaFocus.78.a log = "[GetDateText]: [This.GetName]: LibyaFocus.78.a executed" effect_tooltip = { FROM = { send_equipment = { equipment = infantry_weapons_1 amount = 2000 target = LIB } } set_temp_variable = { tag_index = FROM } set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = 4 } change_influence_percentage = yes } } } #Libyan popularity campaign for Mengistu - Ethiopia country_event = { id = LibyaFocus.79 title = LibyaFocus.79.t desc = LibyaFocus.79.d picture = GFX_ethiopia_mengistu is_triggered_only = yes option = { name = LibyaFocus.79.a log = "[GetDateText]: [This.GetName]: LibyaFocus.79.a executed" ai_chance = { base = 50 } add_timed_idea = { idea = LBA_support_mengistu days = 360 } } option = { name = LibyaFocus.79.b log = "[GetDateText]: [This.GetName]: LibyaFocus.79.b executed" ai_chance = { base = 50 } add_political_power = -150 add_timed_idea = { idea = LBA_support_mengistu days = 180 } } } #Industrial cooperation with Libya - Ethiopia country_event = { id = LibyaFocus.80 title = LibyaFocus.80.t desc = LibyaFocus.80.d picture = GFX_ethiopia_mengistu is_triggered_only = yes option = { name = LibyaFocus.80.a log = "[GetDateText]: [This.GetName]: LibyaFocus.80.a executed" if = { limit = { NOT = { check_variable = { total_unemployed_percentage_display > 0 } } } set_temp_variable = { temp_productivity_change = 50 } flat_productivity_change_effect = yes } else = { random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } NOT = { has_state_category = state_military_base } NOT = { has_state_category = state_inhospitable } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = fossil_powerplant level = 1 instant_build = yes } } } } } #Libya is arming rebels - Target country_event = { id = LibyaFocus.81 title = LibyaFocus.81.t desc = LibyaFocus.81.d picture = GFX_weapons_arms1 is_triggered_only = yes option = { name = LibyaFocus.81.a log = "[GetDateText]: [This.GetName]: LibyaFocus.81.a executed" ai_chance = { base = 70 modifier = { factor = 0.5 is_neighbor_of = FROM } modifier = { factor = 0.5 is_in_faction = yes } } increase_military_spending = yes } option = { name = LibyaFocus.81.b log = "[GetDateText]: [This.GetName]: LibyaFocus.81.b executed" ai_chance = { base = 30 modifier = { factor = 2 is_neighbor_of = FROM } modifier = { factor = 2 is_in_faction = yes } } declare_war_on = { target = FROM type = annex_everything } } } #Libya organises coup - Target country_event = { id = LibyaFocus.82 title = LibyaFocus.82.t desc = LibyaFocus.82.d picture = GFX_weapons_arms1 is_triggered_only = yes option = { name = LibyaFocus.82.a log = "[GetDateText]: [This.GetName]: LibyaFocus.82.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT custom_effect_tooltip = LBA_liberia_coup_response_tt ai_chance = { base = 25 } FROM = { puppet = ROOT } set_temp_variable = { rul_party_temp = 7 } change_ruling_party_effect = yes } option = { name = LibyaFocus.82.b log = "[GetDateText]: [This.GetName]: LibyaFocus.82.b executed" custom_effect_tooltip = TT_IF_WE_DECLINE custom_effect_tooltip = LBA_liberia_coup_declined_tt ai_chance = { base = 75 } start_civil_war = { ideology = communism size = party_popularity@communism LBA = { puppet = PREV } set_temp_variable = { rul_party_temp = 7 } change_ruling_party_effect = yes } } } #Clashes at the border - Somaliland/Puntland country_event = { id = LibyaFocus.83 title = LibyaFocus.83.t desc = LibyaFocus.83.d picture = GFX_ETH_ELF is_triggered_only = yes option = { name = LibyaFocus.83.a log = "[GetDateText]: [This.GetName]: LibyaFocus.83.a executed" ai_chance = { base = 50 } add_stability = -0.05 increase_military_spending = yes } option = { name = LibyaFocus.83.b log = "[GetDateText]: [This.GetName]: LibyaFocus.83.b executed" ai_chance = { base = 50 } add_stability = 0.05 decrease_economic_growth = yes } } #Mysterious Weapon Shipment - Somalia faction country_event = { id = LibyaFocus.84 title = LibyaFocus.84.t desc = LibyaFocus.84.d picture = GFX_weapons_arms1 is_triggered_only = yes option = { name = LibyaFocus.84.a log = "[GetDateText]: [This.GetName]: LibyaFocus.84.a executed" effect_tooltip = { add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 1000 } } } } #Clashes at the border - Somalia/Ethiopia country_event = { id = LibyaFocus.85 title = LibyaFocus.85.t desc = LibyaFocus.85.d picture = GFX_ETH_ELF is_triggered_only = yes option = { name = LibyaFocus.85.a log = "[GetDateText]: [This.GetName]: LibyaFocus.85.a executed" ai_chance = { base = 50 } add_stability = -0.05 increase_military_spending = yes } option = { name = LibyaFocus.85.b log = "[GetDateText]: [This.GetName]: LibyaFocus.85.b executed" ai_chance = { base = 50 } add_stability = 0.05 decrease_economic_growth = yes } } #Ogaden resistance - Ethioptia country_event = { id = LibyaFocus.86 title = LibyaFocus.86.t desc = LibyaFocus.86.d picture = GFX_ETH_ELF is_triggered_only = yes option = { name = LibyaFocus.86.a log = "[GetDateText]: [This.GetName]: LibyaFocus.86.a executed" add_timed_idea = { idea = LBA_ethiopia_somali_resistance days = 360 } } } #Our enemy crosses the border - Somaliland/Puntland country_event = { id = LibyaFocus.87 title = LibyaFocus.87.t desc = LibyaFocus.87.d picture = GFX_ETH_ELF is_triggered_only = yes option = { name = LibyaFocus.87.a log = "[GetDateText]: [This.GetName]: LibyaFocus.87.a executed" if = { limit = { original_tag = SML NOT = { has_war_with = PUN } } declare_war_on = { target = PUN type = annex_everything } } if = { limit = { original_tag = PUN NOT = { has_war_with = SML } } declare_war_on = { target = SML type = annex_everything } } } } #Ogaden revolts - Ethiopia country_event = { id = LibyaFocus.88 title = LibyaFocus.88.t desc = LibyaFocus.88.d picture = GFX_ETH_ELF is_triggered_only = yes option = { name = LibyaFocus.88.a log = "[GetDateText]: [This.GetName]: LibyaFocus.88.a executed" if = { limit = { country_exists = SOM } declare_war_on = { target = SOM type = annex_everything } } if = { limit = { country_exists = SHB } declare_war_on = { target = SHB type = annex_everything } } if = { limit = { country_exists = SNA } declare_war_on = { target = SNA type = annex_everything } } if = { limit = { country_exists = SWS } declare_war_on = { target = SWS type = annex_everything } } if = { limit = { country_exists = JUB } declare_war_on = { target = JUB type = annex_everything } } } } #Libya occupies Socotra - Yemen country_event = { id = LibyaFocus.89 title = LibyaFocus.89.t desc = LibyaFocus.89.d picture = GFX_HOU_saleh_speech is_triggered_only = yes option = { name = LibyaFocus.89.a log = "[GetDateText]: [This.GetName]: LibyaFocus.89.a executed" ai_chance = { base = 50 modifier = { factor = 0.5 strength_ratio = { tag = FROM ratio < 1 } strength_ratio = { tag = FROM ratio > 0.5 } } modifier = { factor = 0.25 strength_ratio = { tag = FROM ratio < 0.5 } } modifier = { factor = 0.5 is_in_faction = no } modifier = { factor = 0.75 has_opinion = { target = FROM value > 100 } } modifier = { factor = 5 has_government = nationalist } } FROM = { declare_war_on = { target = ROOT type = annex_everything } } } option = { name = LibyaFocus.89.b log = "[GetDateText]: [This.GetName]: LibyaFocus.89.b executed" ai_chance = { base = 50 modifier = { factor = 2 strength_ratio = { tag = FROM ratio < 1 } strength_ratio = { tag = FROM ratio > 0.5 } } modifier = { factor = 4 strength_ratio = { tag = FROM ratio < 0.5 } } modifier = { factor = 1.5 is_in_faction = no } modifier = { factor = 1.75 has_opinion = { target = FROM value > 100 } } modifier = { factor = 0.20 has_government = nationalist } } add_stability = -0.10 } } #Casablanca Accords - Morocco annexes Sahrawi country_event = { id = LibyaFocus.90 title = LibyaFocus.90.t desc = LibyaFocus.90.d picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.90.a log = "[GetDateText]: [This.GetName]: LibyaFocus.90.a executed" if = { limit = { LBA = { has_country_flag = libya_casablanca_accords_signed_by_@SHA } } annex_country = { target = SHA transfer_troops = yes } } else = { set_temp_variable = { wargoal_on = SHA } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = SHA type = annex_everything } } } } #Casablanca Accords - Autonomy for Sahrawi country_event = { id = LibyaFocus.91 title = LibyaFocus.91.t desc = LibyaFocus.91.d picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.91.a log = "[GetDateText]: [This.GetName]: LibyaFocus.91.a executed" trigger = { original_tag = MOR } 373 = { transfer_state_to = SHA } set_autonomy = { target = SHA autonomy_state = autonomy_autonomous_state } SHA = { set_capital = { state = 373 } } } option = { name = LibyaFocus.91.b log = "[GetDateText]: [This.GetName]: LibyaFocus.91.b executed" trigger = { original_tag = SHA } effect_tooltip = { MOR = { 373 = { transfer_state_to = SHA } set_autonomy = { target = SHA autonomy_state = autonomy_autonomous_state } } set_capital = { state = 373 } } } } #Casablanca Accords - Independence for Sahrawi country_event = { id = LibyaFocus.92 title = LibyaFocus.92.t desc = LibyaFocus.92.d picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.92.a log = "[GetDateText]: [This.GetName]: LibyaFocus.92.a executed" trigger = { original_tag = MOR } 373 = { transfer_state_to = SHA } SHA = { set_capital = { state = 373 } } } option = { name = LibyaFocus.92.b log = "[GetDateText]: [This.GetName]: LibyaFocus.92.b executed" trigger = { original_tag = SHA } if = { limit = { LBA = { has_country_flag = libya_casablanca_accords_signed_by_@SHA } } effect_tooltip = { MOR = { 373 = { transfer_state_to = SHA } } set_capital = { state = 373 } } } else = { set_temp_variable = { wargoal_on = MOR } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = MOR type = annex_everything } } } } #Casablanca Accords - Mauritania annexes Sahrawi country_event = { id = LibyaFocus.93 title = LibyaFocus.93.t desc = LibyaFocus.93.d picture = GFX_message_signing is_triggered_only = yes option = { name = LibyaFocus.93.a log = "[GetDateText]: [This.GetName]: LibyaFocus.93.a executed" trigger = { original_tag = MOR } 373 = { transfer_state_to = SHA } effect_tooltip = { MAU = { annex_country = { target = SHA transfer_troops = yes } } } } option = { name = LibyaFocus.93.b log = "[GetDateText]: [This.GetName]: LibyaFocus.93.b executed" trigger = { original_tag = MAU } if = { limit = { LBA = { has_country_flag = libya_casablanca_accords_signed_by_@SHA } } annex_country = { target = SHA transfer_troops = yes } add_state_core = 372 add_state_core = 373 } else = { set_temp_variable = { wargoal_on = SHA } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = SHA type = annex_everything } } if = { limit = { LBA = { NOT = { has_country_flag = libya_casablanca_accords_signed_by_@MOR } } } set_temp_variable = { wargoal_on = MOR } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = MOR type = annex_everything } } } } #LIFG classified as a terrorist organisation country_event = { id = LibyaFocus.94 title = LibyaFocus.94.t desc = LibyaFocus.94.d picture = GFX_gulf_terror is_triggered_only = yes option = { name = LibyaFocus.94.a trigger = { NOT = { check_variable = { ruling_party = 11 } } } ai_chance = { base = 50 modifier = { factor = 0.6 has_government = democratic } modifier = { factor = 0.6 check_variable = { ruling_party = 23 } } } } option = { name = LibyaFocus.94.b log = "[GetDateText]: [This.GetName]: LibyaFocus.94.b executed" trigger = { NOT = { check_variable = { ruling_party = 11 } } } ai_chance = { base = 50 modifier = { factor = 1.5 has_government = democratic } modifier = { factor = 1.5 check_variable = { ruling_party = 23 } } } set_temp_variable = { percent_change = -2 } change_domestic_influence_percentage = yes add_popularity = { ideology = fascism popularity = -0.05 } } option = { name = LibyaFocus.94.c log = "[GetDateText]: [This.GetName]: LibyaFocus.94.c executed" trigger = { check_variable = { ruling_party = 11 } } ai_chance = { base = 50 } add_stability = -0.05 } } #Tripolitania declares independence country_event = { id = LibyaFocus.95 title = LibyaFocus.95.t desc = LibyaFocus.95.d picture = GFX_libyan_tribes is_triggered_only = yes option = { name = LibyaFocus.95.a log = "[GetDateText]: [This.GetName]: LibyaFocus.95.a executed" ai_chance = { base = 80 modifier = { factor = 0.5 has_war = yes surrender_progress > 0.25 } } set_temp_variable = { wargoal_on = TRP } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = TRP type = annex_everything } set_temp_variable = { loyalty_change = -0.10 } libya_change_cyrenaica_loyalty = yes libya_change_fezzan_loyalty = yes } option = { name = LibyaFocus.95.b log = "[GetDateText]: [This.GetName]: LibyaFocus.95.b executed" ai_chance = { base = 20 modifier = { factor = 1.5 has_war = yes surrender_progress > 0.25 } } set_temp_variable = { loyalty_change = 0.05 } libya_change_cyrenaica_loyalty = yes libya_change_fezzan_loyalty = yes TRP = { remove_ideas = lacks_international_recognition } } } #Cyrenaica declares independence country_event = { id = LibyaFocus.96 title = LibyaFocus.96.t desc = LibyaFocus.96.d picture = GFX_libyan_tribes is_triggered_only = yes option = { name = LibyaFocus.96.a log = "[GetDateText]: [This.GetName]: LibyaFocus.96.a executed" ai_chance = { base = 80 modifier = { factor = 0.5 has_war = yes surrender_progress > 0.25 } } set_temp_variable = { wargoal_on = CYR } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = CYR type = annex_everything } set_temp_variable = { loyalty_change = -0.10 } libya_change_tripolitania_loyalty = yes libya_change_fezzan_loyalty = yes } option = { name = LibyaFocus.96.b log = "[GetDateText]: [This.GetName]: LibyaFocus.96.b executed" ai_chance = { base = 20 modifier = { factor = 1.5 has_war = yes surrender_progress > 0.25 } } set_temp_variable = { loyalty_change = 0.05 } libya_change_tripolitania_loyalty = yes libya_change_fezzan_loyalty = yes CYR = { remove_ideas = lacks_international_recognition } } } #Tripolitania declares independence country_event = { id = LibyaFocus.97 title = LibyaFocus.97.t desc = LibyaFocus.97.d picture = GFX_libyan_tribes is_triggered_only = yes option = { name = LibyaFocus.97.a log = "[GetDateText]: [This.GetName]: LibyaFocus.97.a executed" ai_chance = { base = 80 modifier = { factor = 0.5 has_war = yes surrender_progress > 0.25 } } set_temp_variable = { wargoal_on = FEZ } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = FEZ type = annex_everything } set_temp_variable = { loyalty_change = -0.10 } libya_change_tripolitania_loyalty = yes libya_change_cyrenaica_loyalty = yes } option = { name = LibyaFocus.97.b log = "[GetDateText]: [This.GetName]: LibyaFocus.97.b executed" ai_chance = { base = 20 modifier = { factor = 1.5 has_war = yes surrender_progress > 0.25 } } set_temp_variable = { loyalty_change = 0.05 } libya_change_tripolitania_loyalty = yes libya_change_cyrenaica_loyalty = yes FEZ = { remove_ideas = lacks_international_recognition } } } #Demand Aouzou Strip form Chad country_event = { id = LibyaFocus.98 title = LibyaFocus.98.t desc = LibyaFocus.98.d picture = GFX_chad_soldiers is_triggered_only = yes option = { name = LibyaFocus.98.a log = "[GetDateText]: [This.GetName]: LibyaFocus.98.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT custom_effect_tooltip = LBA_aouzou_cession_accepted_tt ai_chance = { base = 20 modifier = { factor = 2 strength_ratio = { tag = FROM ratio < 1 } strength_ratio = { tag = FROM ratio > 0.5 } } modifier = { factor = 4 strength_ratio = { tag = FROM ratio < 0.5 } } modifier = { factor = 2 is_in_faction = no } modifier = { factor = 1.3 has_opinion = { target = FROM value > 100 } } modifier = { factor = 0.2 has_government = nationalist } } 580 = { set_state_flag = SET_STATE_FOR_TRANSFER } set_country_flag = STATE_TRANSFER_ADD_CORES FROM = { country_event = { id = md4.19 hours = 6 } } hidden_effect = { news_event = { id = LibyaFocusNews.10 hours = 12 } } } option = { name = LibyaFocus.98.b log = "[GetDateText]: [This.GetName]: LibyaFocus.98.b executed" custom_effect_tooltip = TT_IF_WE_DECLINE custom_effect_tooltip = LBA_aouzou_cession_declined_tt ai_chance = { base = 80 modifier = { factor = 0.5 strength_ratio = { tag = FROM ratio < 1 } strength_ratio = { tag = FROM ratio > 0.5 } } modifier = { factor = 0.25 strength_ratio = { tag = FROM ratio < 0.5 } } modifier = { factor = 0.5 is_in_faction = no } modifier = { factor = 0.75 has_opinion = { target = FROM value > 100 } } modifier = { factor = 5 has_government = nationalist } } 580 = { set_state_flag = SET_STATE_FOR_TRANSFER } FROM = { country_event = { id = md4.20 hours = 6 } } hidden_effect = { news_event = { id = LibyaFocusNews.11 hours = 12 } } } } #Libya sends humanitarian aid country_event = { id = LibyaFocus.99 title = LibyaFocus.99.t desc = LibyaFocus.99.d picture = GFX_african_meeting2 is_triggered_only = yes option = { name = LibyaFocus.99.a log = "[GetDateText]: [This.GetName]: LibyaFocus.99.a executed" set_temp_variable = { treasury_change = CHA.gdp_total } modify_treasury_effect = yes add_stability = 0.10 set_temp_variable = { tag_index = FROM } set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = 5 } change_influence_percentage = yes } } #Libya offers cotton trade deal - Chad country_event = { id = LibyaFocus.100 title = LibyaFocus.100.t desc = LibyaFocus.100.d picture = GFX_african_meeting2 is_triggered_only = yes option = { name = LibyaFocus.100.a log = "[GetDateText]: [This.GetName]: LibyaFocus.100.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT custom_effect_tooltip = LBA_chad_cotton_accepted_tt ai_chance = { base = 90 modifier = { factor = 0.25 has_opinion = { target = FROM value < -50 } } } if = { limit = { NOT = { check_variable = { total_unemployed_percentage_display > 0 } } } set_temp_variable = { temp_productivity_change = 50 } flat_productivity_change_effect = yes } else = { random_owned_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } add_ideas = LBA_chad_trade_deal_chad effect_tooltip = { FROM = { add_ideas = LBA_chad_trade_deal_libya } set_temp_variable = { tag_index = FROM } set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = 5 } change_influence_percentage = yes } FROM = { country_event = { id = LibyaFocus.101 hours = 6 } } } option = { name = LibyaFocus.100.b log = "[GetDateText]: [This.GetName]: LibyaFocus.100.b executed" custom_effect_tooltip = TT_IF_WE_DECLINE custom_effect_tooltip = LBA_chad_cotton_declined_tt ai_chance = { base = 10 modifier = { factor = 4 has_opinion = { target = FROM value < -50 } } } FROM = { country_event = { id = LibyaFocus.102 hours = 6 } } } } #Chad accepts cotton trade deal country_event = { id = LibyaFocus.101 title = LibyaFocus.101.t desc = LibyaFocus.101.d picture = GFX_african_meeting2 is_triggered_only = yes option = { name = LibyaFocus.101.a log = "[GetDateText]: [This.GetName]: LibyaFocus.100.a executed" set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes effect_tooltip = { if = { limit = { CHA = { NOT = { check_variable = { total_unemployed_percentage_display > 0 } } } } CHA = { set_temp_variable = { temp_productivity_change = 50 } flat_productivity_change_effect = yes } } else = { CHA = { random_owned_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } CHA = { add_ideas = LBA_chad_trade_deal_chad } } LBA = { add_ideas = LBA_chad_trade_deal_libya } set_temp_variable = { influence_target = CHA } set_temp_variable = { percent_change = 5 } change_influence_percentage = yes } } #Chad rejects cotton trade deal country_event = { id = LibyaFocus.102 title = LibyaFocus.102.t desc = LibyaFocus.102.d picture = GFX_african_meeting2 is_triggered_only = yes option = { name = LibyaFocus.102.a log = "[GetDateText]: [This.GetName]: LibyaFocus.102.a executed" ai_chance = { base = 100 modifier = { factor = 0 check_variable = { interest_rate > 9 } } } set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes if = { limit = { NOT = { check_variable = { total_unemployed_percentage_display > 0 } } } set_temp_variable = { temp_productivity_change = 50 } flat_productivity_change_effect = yes } else = { random_owned_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } option = { name = LibyaFocus.102.b ai_chance = { base = 100 modifier = { factor = 0 NOT = { check_variable = { interest_rate > 9 } } } } } } #Libya takes advantage of influence country_event = { id = LibyaFocus.103 title = LibyaFocus.103.t desc = LibyaFocus.103.d picture = GFX_CAN_keystone_pipeline_completed is_triggered_only = yes option = { name = LibyaFocus.103.a log = "[GetDateText]: [This.GetName]: LibyaFocus.103.a executed" set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes if = { limit = { NOT = { check_variable = { total_unemployed_percentage_display > 0 } } } set_temp_variable = { temp_productivity_change = 50 } flat_productivity_change_effect = yes } else = { random_owned_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } } #Country occupies Aozou Strip country_event = { id = LibyaFocus.104 title = LibyaFocus.104.t desc = LibyaFocus.104.d picture = GFX_libya_tuareg_militas is_triggered_only = yes option = { name = LibyaFocus.104.a log = "[GetDateText]: [This.GetName]: LibyaFocus.104.a executed" ai_chance = { base = 80 modifier = { factor = 0.25 strength_ratio = { tag = FROM ratio > 3 } } } 580 = { transfer_state_to = FROM } } option = { name = LibyaFocus.104.b log = "[GetDateText]: [This.GetName]: LibyaFocus.104.a executed" ai_chance = { base = 20 modifier = { factor = 4 strength_ratio = { tag = FROM ratio > 3 } } modifier = { factor = 0 original_tag = LBA NOT = { owns_state = 920 } NOT = { owns_state = 1100 } } } 580 = { transfer_state_to = FROM } set_temp_variable = { wargoal_on = FROM } add_threat_from_wargoal_effect = yes create_wargoal = { target = FROM type = take_state_focus generator = { 580 } expire = 360 } } } #Friedrich Tinner is arrested by Swiss authorities country_event = { id = LibyaFocus.105 title = LibyaFocus.105.t desc = LibyaFocus.105.d picture = GFX_nuclear_test is_triggered_only = yes option = { name = LibyaFocus.105.a #Arrest Tinner log = "[GetDateText]: [This.GetName]: LibyaFocus.105.a executed" ai_chance = { base = 70 } retire_character = LBA_friedrich_tinner add_political_power = 200 FROM = { country_event = { id = LibyaFocus.106 hours = 6 } } } option = { name = LibyaFocus.105.b #Employ Tinner log = "[GetDateText]: [This.GetName]: LibyaFocus.105.b executed" ai_chance = { base = 10 } effect_tooltip = { LBA_friedrich_tinner = { set_nationality = SWI } } add_stability = -0.05 set_temp_variable = { influence_target = ROOT } set_temp_variable = { tag_index = FROM } set_temp_variable = { percent_change = 4 } change_influence_percentage = yes FROM = { country_event = { id = LibyaFocus.107 hours = 6 } } } option = { name = LibyaFocus.105.c #Send him back log = "[GetDateText]: [This.GetName]: LibyaFocus.105.c executed" ai_chance = { base = 20 modifier = { factor = 1.5 has_opinion = { target = FROM value > 50 } } modifier = { factor = 1.5 has_opinion = { target = FROM value > 100 } } modifier = { factor = 1.5 has_opinion = { target = FROM value > 150 } } } LBA_friedrich_tinner = { set_nationality = FROM } set_temp_variable = { influence_target = FROM } set_temp_variable = { percent_change = 4 } change_influence_percentage = yes FROM = { country_event = { id = LibyaFocus.108 hours = 6 } } } } #Friedrich Tinner is arrested by Swiss authorities country_event = { id = LibyaFocus.106 title = LibyaFocus.106.t desc = LibyaFocus.106.d picture = GFX_nuclear_test is_triggered_only = yes option = { name = LibyaFocus.106.a #Arrest Tinner log = "[GetDateText]: [This.GetName]: LibyaFocus.106.a executed" effect_tooltip = { SWI = { retire_character = LBA_friedrich_tinner } } } } #Friedrich Tinner is employed by Swiss authorities country_event = { id = LibyaFocus.107 title = LibyaFocus.107.t desc = LibyaFocus.107.d picture = GFX_nuclear_test is_triggered_only = yes option = { name = LibyaFocus.107.a #Arrest Tinner log = "[GetDateText]: [This.GetName]: LibyaFocus.107.a executed" effect_tooltip = { LBA_friedrich_tinner = { set_nationality = SWI } add_stability = -0.05 set_temp_variable = { influence_target = FROM } set_temp_variable = { percent_change = 4 } change_influence_percentage = yes } } } #Friedrich Tinner is returned by Swiss authorities country_event = { id = LibyaFocus.108 title = LibyaFocus.108.t desc = LibyaFocus.108.d picture = GFX_nuclear_test is_triggered_only = yes option = { name = LibyaFocus.108.a #Arrest Tinner log = "[GetDateText]: [This.GetName]: LibyaFocus.108.a executed" effect_tooltip = { LBA_friedrich_tinner = { set_nationality = ROOT } set_temp_variable = { influence_target = ROOT } set_temp_variable = { tag_index = FROM } set_temp_variable = { percent_change = 4 } change_influence_percentage = yes } } } #Demand Tuareg territory country_event = { id = LibyaFocus.109 title = LibyaFocus.109.t desc = LibyaFocus.109.d picture = GFX_liberate_minorities is_triggered_only = yes option = { name = LibyaFocus.109.a log = "[GetDateText]: [This.GetName]: LibyaFocus.109.a executed" ai_chance = { base = 20 modifier = { factor = 2 strength_ratio = { tag = FROM ratio < 1 } strength_ratio = { tag = FROM ratio > 0.5 } } modifier = { factor = 4 strength_ratio = { tag = FROM ratio < 0.5 } } modifier = { factor = 2 FROM = { is_in_faction = yes } } modifier = { factor = 0.5 is_in_faction = yes } modifier = { factor = 0.25 any_of_scopes = { array = ROOT.guaranteeing_nations exists = yes has_guaranteed = ROOT } } } effect_tooltip = { every_owned_state = { limit = { is_core_of = TUA } transfer_state_to = FROM } } FROM = { country_event = LibyaFocus.110 } } option = { name = LibyaFocus.109.b ai_chance = { base = 80 modifier = { factor = 0.5 strength_ratio = { tag = FROM ratio < 1 } strength_ratio = { tag = FROM ratio > 0.5 } } modifier = { factor = 0.25 strength_ratio = { tag = FROM ratio < 0.5 } } modifier = { factor = 0.5 FROM = { is_in_faction = yes } } modifier = { factor = 1.5 is_in_faction = yes } modifier = { factor = 1.75 any_of_scopes = { array = ROOT.guaranteeing_nations exists = yes has_guaranteed = ROOT } } } log = "[GetDateText]: [This.GetName]: LibyaFocus.109.b executed" effect_tooltip = { FROM = { set_temp_variable = { wargoal_on = ROOT } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = ROOT type = annex_everything } } } FROM = { country_event = { id = LibyaFocus.111 hours = 6 } } } } #Tuareg territory ceded country_event = { id = LibyaFocus.110 title = LibyaFocus.110.t desc = LibyaFocus.110.d picture = GFX_liberate_minorities is_triggered_only = yes option = { name = LibyaFocus.110.a log = "[GetDateText]: [This.GetName]: LibyaFocus.110.a executed" FROM = { every_owned_state = { limit = { is_core_of = TUA } transfer_state_to = ROOT } } } } #Tuareg territory not ceded country_event = { id = LibyaFocus.111 title = LibyaFocus.111.t desc = LibyaFocus.111.d picture = GFX_liberate_minorities is_triggered_only = yes option = { name = LibyaFocus.111.a log = "[GetDateText]: [This.GetName]: LibyaFocus.111.a executed" set_temp_variable = { wargoal_on = FROM } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = FROM type = annex_everything } } } #Demand Toubou territory country_event = { id = LibyaFocus.112 title = LibyaFocus.112.t desc = LibyaFocus.112.d picture = GFX_liberate_minorities is_triggered_only = yes option = { name = LibyaFocus.112.a log = "[GetDateText]: [This.GetName]: LibyaFocus.112.a executed" ai_chance = { base = 20 modifier = { factor = 2 strength_ratio = { tag = FROM ratio < 1 } strength_ratio = { tag = FROM ratio > 0.5 } } modifier = { factor = 4 strength_ratio = { tag = FROM ratio < 0.5 } } modifier = { factor = 2 FROM = { is_in_faction = yes } } modifier = { factor = 0.5 is_in_faction = yes } modifier = { factor = 0.25 any_of_scopes = { array = ROOT.guaranteeing_nations exists = yes has_guaranteed = ROOT } } } effect_tooltip = { every_owned_state = { limit = { is_core_of = TIE } transfer_state_to = FROM } } FROM = { country_event = LibyaFocus.113 } } option = { name = LibyaFocus.112.b ai_chance = { base = 80 modifier = { factor = 0.5 strength_ratio = { tag = FROM ratio < 1 } strength_ratio = { tag = FROM ratio > 0.5 } } modifier = { factor = 0.25 strength_ratio = { tag = FROM ratio < 0.5 } } modifier = { factor = 0.5 FROM = { is_in_faction = yes } } modifier = { factor = 1.5 is_in_faction = yes } modifier = { factor = 1.75 any_of_scopes = { array = ROOT.guaranteeing_nations exists = yes has_guaranteed = ROOT } } } log = "[GetDateText]: [This.GetName]: LibyaFocus.112.b executed" effect_tooltip = { FROM = { set_temp_variable = { wargoal_on = ROOT } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = ROOT type = annex_everything } } } FROM = { country_event = { id = LibyaFocus.114 hours = 6 } } } } #Toubou territory ceded country_event = { id = LibyaFocus.113 title = LibyaFocus.113.t desc = LibyaFocus.113.d picture = GFX_liberate_minorities is_triggered_only = yes option = { name = LibyaFocus.113.a log = "[GetDateText]: [This.GetName]: LibyaFocus.113.a executed" FROM = { every_owned_state = { limit = { is_core_of = TIE } transfer_state_to = ROOT } } } } #Toubou territory not ceded country_event = { id = LibyaFocus.114 title = LibyaFocus.114.t desc = LibyaFocus.114.d picture = GFX_liberate_minorities is_triggered_only = yes option = { name = LibyaFocus.114.a log = "[GetDateText]: [This.GetName]: LibyaFocus.114.a executed" set_temp_variable = { wargoal_on = FROM } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = FROM type = annex_everything } } } #Libya asks us to join Society Of Muslim Brothers country_event = { id = LibyaFocus.115 title = LibyaFocus.115.t desc = LibyaFocus.115.d picture = GFX_treaty is_triggered_only = yes option = { name = LibyaFocus.115.a #Yes log = "[GetDateText]: [This.GetName]: LibyaFocus.115.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT custom_effect_tooltip = LBA_brotherhood_accepted_tt ai_chance = { base = 80 modifier = { factor = 1.25 has_opinion = { target = FROM value > 100 } } modifier = { factor = 0.75 has_opinion = { target = FROM value < 0 } } modifier = { factor = 0.5 FROM = { has_war = yes } } modifier = { factor = 0.75 FROM = { has_government = fascism } } modifier = { factor = 2 original_tag = QAT SAU = { salafist_caliphate_are_in_power = yes } } modifier = { factor = 1.1 OR = { FROM = { is_neighbor_of = ROOT } any_neighbor_country = { is_subject_of = FROM } } } } if = { limit = { has_idea = idea_gcc_member_state } remove_ideas = idea_gcc_member_state } FROM = { add_to_faction = ROOT } add_ideas = muslim_brotherhood_faction_member FROM = { country_event = { id = LibyaFocus.116 hours = 6 } } } option = { name = LibyaFocus.115.b log = "[GetDateText]: [This.GetName]: LibyaFocus.115.b executed" custom_effect_tooltip = TT_IF_WE_DECLINE custom_effect_tooltip = LBA_brotherhood_declined_tt ai_chance = { base = 20 modifier = { factor = 0.8 has_opinion = { target = FROM value > 100 } } modifier = { factor = 1.33 has_opinion = { target = FROM value < 0 } } modifier = { factor = 2 FROM = { has_war = yes } } modifier = { factor = 1.33 FROM = { has_government = fascism } } modifier = { factor = 0.5 original_tag = QAT SAU = { salafist_caliphate_are_in_power = yes } } modifier = { factor = 0.9 FROM = { is_neighbor_of = ROOT } } } FROM = { country_event = { id = LibyaFocus.117 hours = 6 } } } } #Country joins the Brotherhood country_event = { id = LibyaFocus.116 title = LibyaFocus.116.t desc = LibyaFocus.116.d picture = GFX_treaty is_triggered_only = yes option = { name = LibyaFocus.116.a } } #Country rejects the Brotherhood country_event = { id = LibyaFocus.117 title = LibyaFocus.117.t desc = LibyaFocus.117.d picture = GFX_treaty is_triggered_only = yes option = { name = LibyaFocus.117.a } } ################# # RANDOM EVENTS # ################# #Cabinet shuffled - historical country_event = { id = LibyaRandomEvents.1 title = LibyaRandomEvents.1.t desc = LibyaRandomEvents.1.d picture = GFX_political_deal is_triggered_only = yes trigger = { is_ruled_by_a_gaddafi = yes } option = { name = LibyaRandomEvents.1.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.1.a executed" ai_chance = { base = 50 } add_stability = 0.05 } option = { name = LibyaRandomEvents.1.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.1.b executed" ai_chance = { base = 50 } random_owned_controlled_state = { limit = { NOT = { has_state_category = state_inhospitable } } add_extra_state_shared_building_slots = 1 } } option = { name = LibyaRandomEvents.1.c log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.1.c executed" ai_chance = { base = 50 } hidden_effect = { random_neighbor_country = { set_temp_variable = { ROOT.influence_target = THIS } } } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } #Anti-Black riots - Random/repeating country_event = { id = LibyaRandomEvents.2 title = LibyaRandomEvents.2.t desc = LibyaRandomEvents.2.d picture = GFX_generic_islamic_rally is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 0.1 OR = { has_completed_focus = LBA_minority_rights has_completed_focus = LBA_minority_protection } } modifier = { factor = 1.2 has_country_flag = LBA_black_people_favoured } modifier = { factor = 0.5 has_idea = LBA_treaty_of_benghazi } modifier = { factor = 0.8 has_completed_focus = LBA_utilise_toubou } modifier = { factor = 1.2 has_completed_focus = LBA_strip_toubou_of_citizenship } } trigger = { has_idea = LBA_stream_of_refugees } option = { name = LibyaRandomEvents.2.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.2.a executed" ai_chance = { base = 50 } increase_policing_budget = yes block_police_decrease = yes } option = { name = LibyaRandomEvents.2.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.2.b executed" ai_chance = { base = 50 } set_temp_variable = { loyalty_change = -0.10 } libya_change_tripolitania_loyalty = yes set_temp_variable = { loyalty_change = -0.10 } libya_change_cyrenaica_loyalty = yes set_temp_variable = { loyalty_change = -0.10 } libya_change_fezzan_loyalty = yes libya_update_tribalism_modifiers = yes } option = { name = LibyaRandomEvents.2.c log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.2.c executed" ai_chance = { base = 50 } hidden_effect = { random_country = { limit = { is_in_africa = yes is_influencer = yes } set_temp_variable = { ROOT.influence_target = THIS } } } set_temp_variable = { percent_change = -5 } change_influence_percentage = yes } } #Marsa Brega Short 360 Crash - Random/single country_event = { id = LibyaRandomEvents.3 title = LibyaRandomEvents.3.t desc = LibyaRandomEvents.3.d picture = GFX_plane_crash is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 0.5 has_completed_focus = LBA_expand_tripoli_airport } } trigger = { NOT = { has_completed_focus = LBA_connect_east_west_rails } } option = { name = LibyaRandomEvents.3.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.3.a executed" ai_chance = { base = 50 } set_temp_variable = { temp_opinion = -5 } change_fossil_fuel_industry_opinion = yes country_event = { id = LibyaRandomEvents.4 days = 180 } } option = { name = LibyaRandomEvents.3.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.3.b executed" ai_chance = { base = 50 } add_stability = -0.05 set_temp_variable = { temp_opinion = 5 } change_fossil_fuel_industry_opinion = yes add_opinion_modifier = { target = ENG modifier = harshly_worded_letter } reverse_add_opinion_modifier = { target = ENG modifier = harshly_worded_letter } } } #Marsa Brega Short 360 Crash, investigation - Random/single country_event = { id = LibyaRandomEvents.4 title = LibyaRandomEvents.4.t desc = LibyaRandomEvents.4.d picture = GFX_plane_crash is_triggered_only = yes fire_only_once = yes option = { name = LibyaRandomEvents.4.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.4.a executed" ai_chance = { base = 50 } air_experience = 25 } option = { name = LibyaRandomEvents.4.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.4.b executed" ai_chance = { base = 50 } add_stability = 0.05 increase_centralization = yes block_bureau_decrease = yes } option = { name = LibyaRandomEvents.4.c log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.4.c executed" ai_chance = { base = 50 } add_tech_bonus = { name = LibyaRandomEvents.4.t bonus = 0.15 uses = 1 category = Cat_AIR_EQP } } } #Olomby wins premier leagure - Random/single country_event = { id = LibyaRandomEvents.5 title = LibyaRandomEvents.5.t desc = LibyaRandomEvents.5.d picture = GFX_generic_football is_triggered_only = yes fire_only_once = yes option = { name = LibyaRandomEvents.5.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.5.a executed" ai_chance = { base = 50 } add_stability = 0.05 } option = { name = LibyaRandomEvents.5.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.5.b executed" ai_chance = { base = 50 } add_stability = -0.05 set_temp_variable = { loyalty_change = 0.10 } libya_change_tripolitania_loyalty = yes set_temp_variable = { loyalty_change = -0.10 } libya_change_cyrenaica_loyalty = yes set_temp_variable = { loyalty_change = -0.10 } libya_change_fezzan_loyalty = yes libya_update_tribalism_modifiers = yes } option = { name = LibyaRandomEvents.5.c log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.5.c executed" ai_chance = { base = 50 } add_stability = -0.05 set_temp_variable = { loyalty_change = -0.10 } libya_change_tripolitania_loyalty = yes set_temp_variable = { loyalty_change = 0.10 } libya_change_cyrenaica_loyalty = yes set_temp_variable = { loyalty_change = -0.10 } libya_change_fezzan_loyalty = yes libya_update_tribalism_modifiers = yes } option = { name = LibyaRandomEvents.5.dd log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.5.dd executed" ai_chance = { base = 50 } add_stability = -0.05 set_temp_variable = { loyalty_change = -0.10 } libya_change_tripolitania_loyalty = yes set_temp_variable = { loyalty_change = -0.10 } libya_change_cyrenaica_loyalty = yes set_temp_variable = { loyalty_change = 0.10 } libya_change_fezzan_loyalty = yes libya_update_tribalism_modifiers = yes } } #Chance to make Shukri Ghanem Prime Minister - Random/single country_event = { id = LibyaRandomEvents.6 title = LibyaRandomEvents.6.t desc = LibyaRandomEvents.6.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 1.5 has_active_mission = libya_negotiations_with_un } } trigger = { date > 2001.01.01 has_idea = international_sanctions is_ruled_by_a_gaddafi = yes } option = { name = LibyaRandomEvents.6.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.6.a executed" ai_chance = { base = 50 } add_stability = -0.05 set_temp_variable = { temp_opinion = 10 } change_fossil_fuel_industry_opinion = yes if = { limit = { has_active_mission = libya_negotiations_with_un } add_days_mission_timeout = { mission = libya_negotiations_with_un days = -60 } } set_country_flag = LBA_shukri_ghanem_prime_minister } option = { name = LibyaRandomEvents.6.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.6.b executed" ai_chance = { base = 50 } add_tech_bonus = { name = LibyaRandomEvents.6.t bonus = 0.20 uses = 2 category = CAT_excavation_tech category = Cat_FUEL_OIL } } option = { name = LibyaRandomEvents.6.c log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.6.c executed" ai_chance = { base = 50 } add_stability = 0.05 increase_economic_growth = yes } } #Source of nuclear materials discovered - Random/single country_event = { id = LibyaRandomEvents.7 title = LibyaRandomEvents.7.t desc = LibyaRandomEvents.7.d picture = GFX_generic_nuclear_smuggling is_triggered_only = yes fire_only_once = yes trigger = { has_completed_focus = LBA_wmds } option = { name = LibyaRandomEvents.7.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.7.a executed" ai_chance = { base = 50 } add_stability = -0.05 if = { limit = { has_active_mission = libya_negotiations_with_un } add_days_mission_timeout = { mission = libya_negotiations_with_un days = 60 } } } option = { name = LibyaRandomEvents.7.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.7.b executed" ai_chance = { base = 50 } add_political_power = -200 } option = { name = LibyaRandomEvents.7.c log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.7.c executed" ai_chance = { base = 50 } trigger = { has_completed_focus = LBA_disarmament_program } custom_effect_tooltip = LBA_disarmament_public_tt } } #Prime Minister blurts out - Random/single country_event = { id = LibyaRandomEvents.8 title = LibyaRandomEvents.8.t desc = LibyaRandomEvents.8.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 1.5 has_country_flag = LBA_shukri_ghanem_prime_minister } modifier = { factor = 1.5 has_active_mission = libya_negotiations_with_un } } trigger = { has_completed_focus = LBA_compensation_to_lockerbie_victims } option = { name = LibyaRandomEvents.8.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.8.a executed" ai_chance = { base = 50 } add_political_power = -100 if = { limit = { has_active_mission = libya_negotiations_with_un } add_days_mission_timeout = { mission = libya_negotiations_with_un days = 60 } } add_opinion_modifier = { target = ENG modifier = diplomatic_insults } reverse_add_opinion_modifier = { target = ENG modifier = diplomatic_insults } } option = { name = LibyaRandomEvents.8.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.8.b executed" ai_chance = { base = 50 } add_political_power = -200 } option = { name = LibyaRandomEvents.8.c log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.8.c executed" ai_chance = { base = 50 } add_stability = -0.05 } } #Nuclear material relinquished - Random/single country_event = { id = LibyaRandomEvents.9 title = LibyaRandomEvents.9.t desc = LibyaRandomEvents.9.d picture = GFX_generic_nuclear_smuggling is_triggered_only = yes fire_only_once = yes trigger = { has_completed_focus = LBA_disarmament_program NOT = { has_completed_focus = LBA_start_building_reactor } } option = { name = LibyaRandomEvents.9.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.9.a executed" ai_chance = { base = 50 } add_stability = 0.05 if = { limit = { has_active_mission = libya_negotiations_with_un } add_days_mission_timeout = { mission = libya_negotiations_with_un days = -60 } } add_opinion_modifier = { target = USA modifier = established_diplomatic_relations } reverse_add_opinion_modifier = { target = USA modifier = established_diplomatic_relations } } option = { name = LibyaRandomEvents.9.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.9.b executed" ai_chance = { base = 50 } if = { limit = { NOT = { has_idea = economic_boom } } add_political_power = -150 increase_economic_growth = yes } else = { add_political_power = 75 add_stability = 0.02 } } } #HIV nurses - Random/single country_event = { id = LibyaRandomEvents.10 title = LibyaRandomEvents.10.t desc = LibyaRandomEvents.10.d picture = GFX_hospital is_triggered_only = yes fire_only_once = yes option = { name = LibyaRandomEvents.10.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.10.a executed" ai_chance = { base = 50 } add_popularity = { ideology = communism popularity = 0.10 } if = { limit = { has_active_mission = libya_negotiations_with_un } add_days_mission_timeout = { mission = libya_negotiations_with_un days = 60 } } add_opinion_modifier = { target = USA modifier = note_of_protest } reverse_add_opinion_modifier = { target = USA modifier = note_of_protest } add_opinion_modifier = { target = BUL modifier = note_of_protest } reverse_add_opinion_modifier = { target = BUL modifier = note_of_protest } if = { limit = { NOT = { has_government = fascism } } random_list = { 50 = { country_event = { id = LibyaRandomEvents.11 days = 30 } } 50 = { country_event = { id = LibyaRandomEvents.12 days = 30 } } } } else = { country_event = { id = LibyaRandomEvents.11 days = 30 } } } option = { name = LibyaRandomEvents.10.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.10.b executed" ai_chance = { base = 50 } add_popularity = { ideology = communism popularity = -0.10 } } } #HIV nurses executed - Random/single country_event = { id = LibyaRandomEvents.11 title = LibyaRandomEvents.11.t desc = LibyaRandomEvents.11.d picture = GFX_hospital is_triggered_only = yes fire_only_once = yes option = { name = LibyaRandomEvents.11.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.11.a executed" add_stability = 0.05 } } #HIV nurses sentence overturned - Random/single country_event = { id = LibyaRandomEvents.12 title = LibyaRandomEvents.12.t desc = LibyaRandomEvents.12.d picture = GFX_hospital is_triggered_only = yes fire_only_once = yes option = { name = LibyaRandomEvents.12.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.12.a executed" add_stability = -0.05 } } #Chance to make Baghdadi Mahmudi Prime Minister - Random/single country_event = { id = LibyaRandomEvents.13 title = LibyaRandomEvents.13.t desc = LibyaRandomEvents.13.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 1.25 has_completed_focus = LBA_gmmr_kufra } modifier = { factor = 1.25 has_completed_focus = LBA_train_depot } } trigger = { NOT = { has_idea = international_sanctions } is_ruled_by_a_gaddafi = yes } option = { name = LibyaRandomEvents.13.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.13.a executed" ai_chance = { base = 50 } add_stability = -0.05 set_temp_variable = { int_investment_change = 50 } modify_international_investment_effect = yes } option = { name = LibyaRandomEvents.13.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.13.b executed" ai_chance = { base = 50 } add_tech_bonus = { name = LibyaRandomEvents.13.t bonus = 0.20 uses = 2 category = Cat_GENES } } option = { name = LibyaRandomEvents.13.c log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.13.c executed" ai_chance = { base = 50 } add_stability = 0.075 } } #Libya removed from terrorism list - Random/single country_event = { id = LibyaRandomEvents.14 title = LibyaRandomEvents.14.t desc = LibyaRandomEvents.14.d picture = GFX_gulf_terror is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 1.5 has_completed_focus = LBA_request_usaid } modifier = { factor = 1.5 has_elections = yes } } trigger = { has_completed_focus = LBA_remove_sanctions NOT = { has_completed_focus = LBA_approach_nato } NOT = { has_government = fascism } } option = { name = LibyaRandomEvents.14.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.14.a executed" ai_chance = { base = 50 } add_stability = 0.05 add_popularity = { ideology = democratic popularity = 0.10 } } option = { name = LibyaRandomEvents.14.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.14.b executed" ai_chance = { base = 50 } add_stability = -0.05 add_popularity = { ideology = communism popularity = 0.10 } } } #Somalia accuses of supplying weapons - Random/single country_event = { id = LibyaRandomEvents.15 title = LibyaRandomEvents.15.t desc = LibyaRandomEvents.15.d picture = GFX_weapons_arms1 is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 2 has_completed_focus = LBA_destability_somalia } } trigger = { OR = { SNA = { has_war_with = SHB } SOM = { has_war_with = SHB } } } option = { name = LibyaRandomEvents.15.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.15.a executed" ai_chance = { base = 50 } if = { limit = { SNA = { has_war_with = SHB } } set_temp_variable = { ROOT.influence_target = SNA } add_opinion_modifier = { target = SNA modifier = military_deals } reverse_add_opinion_modifier = { target = SNA modifier = military_deals } } else = { set_temp_variable = { ROOT.influence_target = SOM } add_opinion_modifier = { target = SOM modifier = military_deals } reverse_add_opinion_modifier = { target = SOM modifier = military_deals } } set_temp_variable = { percent_change = 4 } change_influence_percentage = yes set_temp_variable = { ROOT.influence_target = SHB } set_temp_variable = { percent_change = -4 } change_influence_percentage = yes add_opinion_modifier = { target = SHB modifier = rebel_support } reverse_add_opinion_modifier = { target = SHB modifier = rebel_support } } option = { name = LibyaRandomEvents.15.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.15.b executed" ai_chance = { base = 50 } if = { limit = { SNA = { has_war_with = SHB } } set_temp_variable = { ROOT.influence_target = SNA } add_opinion_modifier = { target = SNA modifier = rebel_support } reverse_add_opinion_modifier = { target = SNA modifier = rebel_support } } else = { set_temp_variable = { ROOT.influence_target = SOM } add_opinion_modifier = { target = SOM modifier = rebel_support } reverse_add_opinion_modifier = { target = SOM modifier = rebel_support } } set_temp_variable = { percent_change = -4 } change_influence_percentage = yes set_temp_variable = { ROOT.influence_target = SHB } set_temp_variable = { percent_change = 4 } change_influence_percentage = yes add_opinion_modifier = { target = SHB modifier = military_deals } reverse_add_opinion_modifier = { target = SHB modifier = military_deals } } option = { name = LibyaRandomEvents.15.c ai_chance = { base = 50 } } } #African Union meeting - Random/repeating country_event = { id = LibyaRandomEvents.16 title = LibyaRandomEvents.16.t desc = LibyaRandomEvents.16.d picture = GFX_political_deal is_triggered_only = yes trigger = { has_idea = AU_member } option = { name = LibyaRandomEvents.16.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.16.a executed" ai_chance = { base = 50 } random_country = { limit = { is_in_africa = yes has_idea = AU_member } set_temp_variable = { ROOT.influence_target = THIS } } set_temp_variable = { percent_change = 4 } change_influence_percentage = yes } option = { name = LibyaRandomEvents.16.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.16.b executed" ai_chance = { base = 50 } set_temp_variable = { percent_change = 4 } change_domestic_influence_percentage = yes } option = { name = LibyaRandomEvents.16.c log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.16.c executed" ai_chance = { base = 50 } add_political_power = -200 decrease_corruption = yes } } #French president visits Libya - Random/single country_event = { id = LibyaRandomEvents.17 title = LibyaRandomEvents.17.t desc = LibyaRandomEvents.17.d picture = GFX_french_flag_generic is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 1.1 has_completed_focus = LBA_approach_western_leaders } modifier = { factor = 1.5 has_elections = yes } } trigger = { NOT = { has_idea = international_sanctions } FRA = { has_opinion = { target = LBA value > 0 } } } option = { name = LibyaRandomEvents.17.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.17.a executed" ai_chance = { base = 50 } set_temp_variable = { influence_target = ROOT } set_temp_variable = { tag_index = FRA } set_temp_variable = { percent_change = 5 } change_influence_percentage = yes random_list = { 25 = { random_owned_controlled_state = { limit = { NOT = { has_state_category = state_inhospitable } } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_extra_state_shared_building_slots = 1 } } 25 = { random_owned_controlled_state = { limit = { NOT = { has_state_category = state_inhospitable } } add_building_construction = { type = offices level = 1 instant_build = yes } add_extra_state_shared_building_slots = 1 } } 25 = { random_owned_controlled_state = { limit = { NOT = { has_state_category = state_inhospitable } } add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_extra_state_shared_building_slots = 1 } } 25 = { random_owned_controlled_state = { limit = { NOT = { has_state_category = state_inhospitable } is_coastal = yes } add_building_construction = { type = dockyard level = 1 instant_build = yes } add_extra_state_shared_building_slots = 1 } } } } option = { name = LibyaRandomEvents.17.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.17.b executed" ai_chance = { base = 50 } set_temp_variable = { influence_target = ROOT } set_temp_variable = { tag_index = FRA } set_temp_variable = { percent_change = 5 } change_influence_percentage = yes random_owned_controlled_state = { limit = { NOT = { has_state_category = state_inhospitable } } add_resource = { type = oil amount = 8 } } } option = { name = LibyaRandomEvents.17.c log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.17.c executed" ai_chance = { base = 50 } large_expenditure = yes set_temp_variable = { tag_index = ROOT } set_temp_variable = { influence_target = FRA } set_temp_variable = { percent_change = 5 } change_influence_percentage = yes } } #Buy French weapons - Random/single country_event = { id = LibyaRandomEvents.18 title = LibyaRandomEvents.18.t desc = LibyaRandomEvents.18.d picture = GFX_french_flag_generic is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 1.2 has_elections = yes } } trigger = { has_completed_focus = LBA_foreign_procurement_lines FRA = { has_opinion = { target = LBA value > 0 } } } option = { name = LibyaRandomEvents.18.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.18.a executed" ai_chance = { base = 50 } set_temp_variable = { influence_target = ROOT } set_temp_variable = { tag_index = FRA } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes add_equipment_to_stockpile = { type = L_AT_Equipment amount = 150 producer = FRA } add_equipment_to_stockpile = { type = H_AT_Equipment amount = 100 producer = FRA } add_equipment_to_stockpile = { type = cnc_equipment_type amount = 300 producer = FRA } } option = { name = LibyaRandomEvents.18.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.18.b executed" ai_chance = { base = 50 } set_temp_variable = { influence_target = ROOT } set_temp_variable = { tag_index = FRA } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes add_equipment_to_stockpile = { type = AA_Equipment amount = 300 producer = FRA } add_equipment_to_stockpile = { type = cnc_equipment_type amount = 300 producer = FRA } } option = { name = LibyaRandomEvents.18.c ai_chance = { base = 50 } } } #Libya elected to UN security council - Random/single country_event = { id = LibyaRandomEvents.19 title = LibyaRandomEvents.19.t desc = LibyaRandomEvents.19.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = yes trigger = { NOT = { has_idea = international_sanctions } NOT = { has_government = fascism } } option = { name = LibyaRandomEvents.19.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.19.a executed" ai_chance = { base = 50 } add_political_power = 200 increase_economic_growth = yes increase_corruption = yes } option = { name = LibyaRandomEvents.19.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.19.b executed" ai_chance = { base = 50 } add_political_power = 200 decrease_economic_growth = yes decrease_corruption = yes } } #LIFG base destroyed - Random/repeating country_event = { id = LibyaRandomEvents.20 title = LibyaRandomEvents.20.t desc = LibyaRandomEvents.20.d picture = GFX_gulf_terror is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.1 has_idea = police_02 } modifier = { factor = 1.2 has_idea = police_03 } modifier = { factor = 1.3 has_idea = police_04 } modifier = { factor = 1.4 has_idea = police_05 } } trigger = { has_completed_focus = LBA_crush_lifg fascism > 0 NOT = { has_government = fascism } } option = { name = LibyaRandomEvents.20.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.20.a executed" ai_chance = { base = 50 } add_stability = 0.025 add_popularity = { ideology = fascism popularity = -0.05 } } option = { name = LibyaRandomEvents.20.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.20.b executed" ai_chance = { base = 50 } add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 250 producer = SOV } add_popularity = { ideology = fascism popularity = -0.05 } } } #LIFG attacks checkpoint - Random/repeating country_event = { id = LibyaRandomEvents.21 title = LibyaRandomEvents.21.t desc = LibyaRandomEvents.21.d picture = GFX_gulf_terror is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 0.9 has_idea = police_02 } modifier = { factor = 0.8 has_idea = police_03 } modifier = { factor = 0.7 has_idea = police_04 } modifier = { factor = 0.6 has_idea = police_05 } modifier = { factor = 1.5 has_completed_focus = LBA_ignore_lifg } modifier = { factor = 0.5 has_completed_focus = LBA_peace_with_lifg } } trigger = { fascism > 0 NOT = { has_government = fascism } } option = { name = LibyaRandomEvents.21.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.21.a executed" add_stability = -0.025 add_manpower = -10 add_popularity = { ideology = fascism popularity = 0.025 } } } #LIFG attacks police station - Random/repeating country_event = { id = LibyaRandomEvents.22 title = LibyaRandomEvents.22.t desc = LibyaRandomEvents.22.d picture = GFX_gulf_terror is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 0.9 has_idea = police_02 } modifier = { factor = 0.8 has_idea = police_03 } modifier = { factor = 0.7 has_idea = police_04 } modifier = { factor = 0.6 has_idea = police_05 } modifier = { factor = 1.5 has_completed_focus = LBA_ignore_lifg } modifier = { factor = 0.5 has_completed_focus = LBA_peace_with_lifg } } trigger = { fascism > 0.05 NOT = { has_government = fascism } } option = { name = LibyaRandomEvents.22.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.22.a executed" add_stability = -0.05 add_manpower = -20 add_popularity = { ideology = fascism popularity = 0.05 } } } #LIFG occupies military base - Random/repeating country_event = { id = LibyaRandomEvents.23 title = LibyaRandomEvents.23.t desc = LibyaRandomEvents.23.d picture = GFX_gulf_terror is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 0.9 has_idea = police_02 } modifier = { factor = 0.8 has_idea = police_03 } modifier = { factor = 0.7 has_idea = police_04 } modifier = { factor = 0.6 has_idea = police_05 } modifier = { factor = 1.5 has_completed_focus = LBA_ignore_lifg } modifier = { factor = 0.5 has_completed_focus = LBA_peace_with_lifg } } trigger = { fascism > 0.10 NOT = { has_government = fascism } } option = { name = LibyaRandomEvents.23.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.23.a executed" add_stability = -0.075 add_manpower = -50 add_popularity = { ideology = fascism popularity = 0.075 } } } #LIFG assassinated leader - Random/repeating country_event = { id = LibyaRandomEvents.24 title = LibyaRandomEvents.24.t desc = LibyaRandomEvents.24.d picture = GFX_gulf_terror is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 0.9 has_idea = police_02 } modifier = { factor = 0.8 has_idea = police_03 } modifier = { factor = 0.7 has_idea = police_04 } modifier = { factor = 0.6 has_idea = police_05 } modifier = { factor = 1.5 has_completed_focus = LBA_ignore_lifg } } trigger = { fascism > 0.20 NOT = { has_government = fascism } NOT = { has_completed_focus = LBA_peace_with_lifg } } option = { name = LibyaRandomEvents.24.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.24.a executed" add_stability = -0.15 add_popularity = { ideology = fascism popularity = 0.15 } if = { limit = { is_ruled_by_a_gaddafi = yes } if = { limit = { has_country_leader = { name = "Muammar Gaddafi" ruling_only = yes } } set_country_flag = muammar_gaddafi_dead } if = { limit = { has_country_leader = { name = "Muhammad Muammar Gaddafi" ruling_only = yes } } set_country_flag = muhammad_muammar_gaddafi_dead } if = { limit = { has_country_leader = { name = "Saif al-Islam Gaddafi" ruling_only = yes } } set_country_flag = saif_al_islam_gaddafi_dead } if = { limit = { has_country_leader = { name = "Al-Saadi Gaddafi" ruling_only = yes } } set_country_flag = al_saadi_gaddafi_dead } if = { limit = { has_country_leader = { name = "Mutassim Gaddafi" ruling_only = yes } } set_country_flag = mutassim_gaddafi_dead } if = { limit = { has_country_leader = { name = "Hannibal Gaddafi" ruling_only = yes } } set_country_flag = hannibal_gaddafi_dead } if = { limit = { has_country_leader = { name = "Ayesha Gaddafi" ruling_only = yes } } set_country_flag = ayesha_gaddafi_dead } if = { limit = { has_country_leader = { name = "Saif al-Arab Gaddafi" ruling_only = yes } } set_country_flag = saif_al_arab_gaddafi_dead } if = { limit = { has_country_leader = { name = "Khamis Gaddafi" ruling_only = yes } } set_country_flag = khamis_gaddafi_dead } } kill_country_leader = yes set_leader = yes update_gaddafi_family_ideas = yes } } #LIFG fighters return from exile - Random/repeating country_event = { id = LibyaRandomEvents.25 title = LibyaRandomEvents.25.t desc = LibyaRandomEvents.25.d picture = GFX_event_pmcs is_triggered_only = yes trigger = { NOT = { has_government = fascism } has_completed_focus = LBA_peace_with_lifg } option = { name = LibyaRandomEvents.25.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.25.a executed" add_manpower = 100 add_popularity = { ideology = fascism popularity = 0.025 } } } #Utilise LIFG veteran experience - Random/repeating country_event = { id = LibyaRandomEvents.26 title = LibyaRandomEvents.26.t desc = LibyaRandomEvents.26.d picture = GFX_event_pmcs is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.2 has_war = yes } } trigger = { has_government = fascism has_completed_focus = LBA_call_back_veterans } option = { name = LibyaRandomEvents.26.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.26.a executed" ai_chance = { base = 50 } army_experience = 15 } option = { name = LibyaRandomEvents.26.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.26.b executed" ai_chance = { base = 50 } add_doctrine_cost_reduction = { name = LibyaRandomEvents.26.t cost_reduction = 0.15 uses = 1 category = CAT_land_doctrine } } } #Old guard soldiers - Random/repeating country_event = { id = LibyaRandomEvents.27 title = LibyaRandomEvents.27.t desc = LibyaRandomEvents.27.d picture = GFX_event_pmcs is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.2 has_war = yes } } trigger = { has_government = fascism has_completed_focus = LBA_call_back_veterans } option = { name = LibyaRandomEvents.27.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.27.a executed" army_experience = -15 } } #Muslim Brotherhood vs Salafism - Random/repeating country_event = { id = LibyaRandomEvents.28 title = LibyaRandomEvents.28.t desc = LibyaRandomEvents.28.d picture = GFX_generic_islamic_rally is_triggered_only = yes trigger = { has_government = fascism is_in_array = { gov_coalition_array = 12 } } option = { name = LibyaRandomEvents.28.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.28.a executed" ai_chance = { base = 50 } add_stability = -0.025 add_popularity = { ideology = fascism popularity = 0.05 } set_temp_variable = { temp_modify_social_con_government = 5 } modify_social_conservatism_government = yes } option = { name = LibyaRandomEvents.28.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.28.b executed" ai_chance = { base = 50 } add_stability = -0.025 add_popularity = { ideology = neutrality popularity = 0.05 } set_temp_variable = { temp_modify_social_con_government = -5 } modify_social_conservatism_government = yes } option = { name = LibyaRandomEvents.28.c log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.28.c executed" ai_chance = { base = 50 } add_stability = -0.05 set_temp_variable = { remove_col_one = 12 } remove_coalition_members_effect = yes } } #Grand Mufti issues fatwa against women - Random/single country_event = { id = LibyaRandomEvents.29 title = LibyaRandomEvents.29.t desc = LibyaRandomEvents.29.d picture = GFX_generic_islamic_rally is_triggered_only = yes fire_only_once = yes trigger = { has_completed_focus = LBA_appoint_grand_mufti } option = { name = LibyaRandomEvents.29.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.29.a executed" set_temp_variable = { temp_modify_social_con_government = 5 } modify_social_conservatism_government = yes every_country = { limit = { is_in_europe = yes has_government = democratic } add_opinion_modifier = { modifier = barbarian_practices target = ROOT } reverse_add_opinion_modifier = { modifier = barbarian_practices target = ROOT } } } } #Grand Mufti issues fatwa against government's enemies - Random/single country_event = { id = LibyaRandomEvents.30 title = LibyaRandomEvents.30.t desc = LibyaRandomEvents.30.d picture = GFX_generic_islamic_rally is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 1.5 OR = { AND = { has_government = fascism fascism < 0.50 } AND = { has_government = communism communism < 0.50 } AND = { has_government = neutrality neutrality < 0.50 } AND = { has_government = democratic democratic < 0.50 } AND = { has_government = nationalist nationalist < 0.50 } } } } trigger = { has_completed_focus = LBA_appoint_grand_mufti } option = { name = LibyaRandomEvents.30.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.30.a executed" if = { limit = { has_government = fascism } add_popularity = { ideology = fascism popularity = 0.05 } } else_if = { limit = { has_government = communism } add_popularity = { ideology = communism popularity = 0.05 } } else_if = { limit = { has_government = neutrality } add_popularity = { ideology = neutrality popularity = 0.05 } } else_if = { limit = { has_government = democratic } add_popularity = { ideology = democratic popularity = 0.05 } } else_if = { limit = { has_government = nationalist } add_popularity = { ideology = nationalist popularity = 0.05 } } } } #Grand Mufti issues fatwa against Saudi Arabia - Random/single country_event = { id = LibyaRandomEvents.31 title = LibyaRandomEvents.31.t desc = LibyaRandomEvents.31.d picture = GFX_generic_islamic_rally is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 1.2 has_opinion = { target = SAU value < 0 } } } trigger = { has_completed_focus = LBA_appoint_grand_mufti country_exists = SAU } option = { name = LibyaRandomEvents.31.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.31.a executed" set_temp_variable = { influence_target = SAU } set_temp_variable = { percent_change = -4 } change_influence_percentage = yes add_opinion_modifier = { modifier = declaration_of_hostility target = SAU } reverse_add_opinion_modifier = { modifier = declaration_of_hostility target = SAU } } } #Grand Mufti allows suicide attacks - Random/single country_event = { id = LibyaRandomEvents.32 title = LibyaRandomEvents.32.t desc = LibyaRandomEvents.32.d picture = GFX_generic_islamic_rally is_triggered_only = yes fire_only_once = yes trigger = { has_completed_focus = LBA_appoint_grand_mufti } option = { name = LibyaRandomEvents.32.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.32.a executed" add_stability = -0.025 } } #Volunteer Jihadists - Random/repeating country_event = { id = LibyaRandomEvents.33 title = LibyaRandomEvents.33.t desc = LibyaRandomEvents.33.d picture = GFX_iraq_war3 is_triggered_only = yes trigger = { has_government = fascism has_completed_focus = LBA_join_sahel_war } option = { name = LibyaRandomEvents.33.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.33.a executed" add_war_support = 0.025 add_manpower = 250 } } #People escape war - Random/repeating country_event = { id = LibyaRandomEvents.34 title = LibyaRandomEvents.34.t desc = LibyaRandomEvents.34.d picture = GFX_iraq_war3 is_triggered_only = yes trigger = { has_government = fascism has_completed_focus = LBA_join_sahel_war } option = { name = LibyaRandomEvents.34.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.34.a executed" add_stability = -0.025 add_manpower = -250 } } #Teacher's protest biased education - Random/repeating country_event = { id = LibyaRandomEvents.35 title = LibyaRandomEvents.35.t desc = LibyaRandomEvents.35.d picture = GFX_african_school is_triggered_only = yes trigger = { OR = { has_completed_focus = LBA_religious_education has_completed_focus = LBA_national_education } } option = { name = LibyaRandomEvents.35.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.35.a executed" ai_chance = { base = 50 } add_stability = -0.025 decrease_education_budget = yes block_edu_increase = yes } option = { name = LibyaRandomEvents.35.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.35.b executed" ai_chance = { base = 50 } add_stability = -0.05 } option = { name = LibyaRandomEvents.35.c log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.35.c executed" ai_chance = { base = 50 } add_stability = 0.025 increase_education_budget = yes block_edu_decrease = yes } } #Women protest the government - Random/repeating country_event = { id = LibyaRandomEvents.36 title = LibyaRandomEvents.36.t desc = LibyaRandomEvents.36.d picture = GFX_generic_islamic_rally is_triggered_only = yes trigger = { OR = { has_completed_focus = LBA_traditional_role_for_women has_completed_focus = LBA_liberate_women } } option = { name = LibyaRandomEvents.36.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.36.a executed" add_stability = -0.025 } } #Women support the government - Random/repeating country_event = { id = LibyaRandomEvents.37 title = LibyaRandomEvents.37.t desc = LibyaRandomEvents.37.d picture = GFX_generic_islamic_rally is_triggered_only = yes trigger = { OR = { has_completed_focus = LBA_traditional_role_for_women has_completed_focus = LBA_liberate_women } } option = { name = LibyaRandomEvents.37.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.37.a executed" add_stability = 0.025 } } #Ba'athist support abroad - Random/repeating country_event = { id = LibyaRandomEvents.38 title = LibyaRandomEvents.38.t desc = LibyaRandomEvents.38.d picture = GFX_generic_islamic_rally is_triggered_only = yes trigger = { has_completed_focus = LBA_appoint_baathist_advisor } option = { name = LibyaRandomEvents.38.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.38.a executed" ai_chance = { base = 50 } hidden_effect = { random_country = { limit = { is_in_the_middle_east = yes has_idea = sunni } set_temp_variable = { influence_target = THIS } } } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } option = { name = LibyaRandomEvents.38.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.38.b executed" ai_chance = { base = 50 } add_political_power = -50 hidden_effect = { random_country = { limit = { is_in_the_middle_east = yes has_idea = sunni } set_temp_variable = { influence_target = THIS } } } set_temp_variable = { percent_change = 4 } change_influence_percentage = yes } } #Ba'athist resistance abroad - Random/repeating country_event = { id = LibyaRandomEvents.39 title = LibyaRandomEvents.39.t desc = LibyaRandomEvents.39.d picture = GFX_generic_islamic_rally is_triggered_only = yes trigger = { has_completed_focus = LBA_appoint_baathist_advisor } option = { name = LibyaRandomEvents.39.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.39.a executed" ai_chance = { base = 50 } hidden_effect = { random_country = { limit = { OR = { has_country_flag = arabic_nation_flag is_middle_eastern_nation = yes } OR = { has_idea = sunni has_idea = shia has_idea = sufi_islam has_idea = ibadi } is_influencer = yes } set_temp_variable = { influence_target = THIS } } } set_temp_variable = { percent_change = -4 } change_influence_percentage = yes } option = { name = LibyaRandomEvents.39.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.39.b executed" ai_chance = { base = 50 } add_political_power = -50 hidden_effect = { random_country = { limit = { OR = { has_country_flag = arabic_nation_flag is_middle_eastern_nation = yes } OR = { has_idea = sunni has_idea = shia has_idea = sufi_islam has_idea = ibadi } is_influencer = yes } set_temp_variable = { influence_target = THIS } } } set_temp_variable = { percent_change = -2 } change_influence_percentage = yes } } #The Green Book Club, good version - Random/repeating country_event = { id = LibyaRandomEvents.40 title = LibyaRandomEvents.40.t desc = LibyaRandomEvents.40.d picture = GFX_generic_library is_triggered_only = yes trigger = { has_dynamic_modifier = { modifier = LBA_new_green_book } } option = { name = LibyaRandomEvents.40.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.40.a executed" add_stability = 0.025 } } #The Qoran Club, bad version - Random/repeating country_event = { id = LibyaRandomEvents.41 title = LibyaRandomEvents.41.t desc = LibyaRandomEvents.41.d picture = GFX_generic_library is_triggered_only = yes trigger = { has_dynamic_modifier = { modifier = LBA_new_green_book } } option = { name = LibyaRandomEvents.41.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.41.a executed" add_stability = -0.025 } } #The Green Book Club, bad version - Random/repeating country_event = { id = LibyaRandomEvents.42 title = LibyaRandomEvents.42.t desc = LibyaRandomEvents.42.d picture = GFX_generic_library is_triggered_only = yes trigger = { has_completed_focus = LBA_denounce_green_book } option = { name = LibyaRandomEvents.42.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.42.a executed" add_stability = -0.025 } } #The Qoran Club, good version - Random/repeating country_event = { id = LibyaRandomEvents.43 title = LibyaRandomEvents.43.t desc = LibyaRandomEvents.43.d picture = GFX_generic_library is_triggered_only = yes trigger = { has_completed_focus = LBA_denounce_green_book } option = { name = LibyaRandomEvents.43.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.43.a executed" add_stability = 0.025 } } #Revolutionary Committee finds dissident - Random/repeating country_event = { id = LibyaRandomEvents.44 title = LibyaRandomEvents.44.t desc = LibyaRandomEvents.44.d picture = GFX_politics_surveillence is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.3 has_idea = LBA_empowered_revolutionary_committees } } trigger = { OR = { has_idea = LBA_empowered_revolutionary_committees has_idea = LBA_general_peoples_congress } } option = { name = LibyaRandomEvents.44.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.44.a executed" ai_chance = { base = 50 } add_stability = 0.025 } option = { name = LibyaRandomEvents.44.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.44.b executed" ai_chance = { base = 50 } set_temp_variable = { temp_opinion = 5 } change_intelligence_community_opinion = yes } } #Revolutionary Committee misses dissident - Random/repeating country_event = { id = LibyaRandomEvents.45 title = LibyaRandomEvents.45.t desc = LibyaRandomEvents.45.d picture = GFX_politics_surveillence is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 0.7 has_idea = LBA_empowered_revolutionary_committees } } trigger = { OR = { has_idea = LBA_empowered_revolutionary_committees has_idea = LBA_general_peoples_congress } } option = { name = LibyaRandomEvents.45.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.45.a executed" ai_chance = { base = 50 } add_stability = -0.025 } option = { name = LibyaRandomEvents.45.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.45.b executed" ai_chance = { base = 50 } set_temp_variable = { temp_opinion = -5 } change_intelligence_community_opinion = yes } } #People's Congress finds revolutionary - Random/repeating country_event = { id = LibyaRandomEvents.46 title = LibyaRandomEvents.46.t desc = LibyaRandomEvents.46.d picture = GFX_politics_surveillence is_triggered_only = yes trigger = { has_idea = LBA_empowered_peoples_congress } option = { name = LibyaRandomEvents.46.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.46.a executed" ai_chance = { base = 50 } add_stability = 0.025 } option = { name = LibyaRandomEvents.46.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.46.b executed" ai_chance = { base = 50 } set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes } } #People's Congress Misses revolutionary - Random/repeating country_event = { id = LibyaRandomEvents.47 title = LibyaRandomEvents.47.t desc = LibyaRandomEvents.47.d picture = GFX_politics_surveillence is_triggered_only = yes trigger = { has_idea = LBA_empowered_peoples_congress } option = { name = LibyaRandomEvents.47.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.47.a executed" ai_chance = { base = 50 } add_stability = -0.025 } option = { name = LibyaRandomEvents.47.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.47.b executed" ai_chance = { base = 50 } set_temp_variable = { temp_opinion = -5 } change_labour_unions_opinion = yes } } #Old politican having hard time adjusting - Random/repeating country_event = { id = LibyaRandomEvents.48 title = LibyaRandomEvents.48.t desc = LibyaRandomEvents.48.d picture = GFX_politics_speak is_triggered_only = yes trigger = { NOT = { has_idea = corruption_level_10 } OR = { has_completed_focus = LBA_empower_peoples_congresses AND = { has_completed_focus = LBA_retain_political_balance nationalist_monarchists_are_in_power = yes } } } option = { name = LibyaRandomEvents.48.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.48.a executed" ai_chance = { base = 50 } add_stability = -0.05 } option = { name = LibyaRandomEvents.48.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.48.b executed" ai_chance = { base = 50 } increase_corruption = yes } } #Old politican happy to work with new government - Random/repeating country_event = { id = LibyaRandomEvents.49 title = LibyaRandomEvents.49.t desc = LibyaRandomEvents.49.d picture = GFX_politics_speak is_triggered_only = yes trigger = { NOT = { has_idea = corruption_level_01 } OR = { has_completed_focus = LBA_empower_peoples_congresses AND = { has_completed_focus = LBA_retain_political_balance nationalist_monarchists_are_in_power = yes } } } option = { name = LibyaRandomEvents.49.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.49.a executed" ai_chance = { base = 50 } add_stability = 0.05 } option = { name = LibyaRandomEvents.49.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.49.b executed" ai_chance = { base = 50 } decrease_corruption = yes } } #Royal on a spending spree - Random/repeating country_event = { id = LibyaRandomEvents.50 title = LibyaRandomEvents.50.t desc = LibyaRandomEvents.50.d picture = GFX_united_states_dollar is_triggered_only = yes trigger = { has_idea = LBA_royal_family_returned_2 } option = { name = LibyaRandomEvents.50.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.50.a executed" set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.02 } modify_treasury_effect = yes } } #Royal invests in another country - Random/repeating country_event = { id = LibyaRandomEvents.51 title = LibyaRandomEvents.51.t desc = LibyaRandomEvents.51.d picture = GFX_united_states_dollar is_triggered_only = yes trigger = { has_idea = LBA_royal_family_returned_2 } option = { name = LibyaRandomEvents.51.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.51.a executed" set_temp_variable = { int_investment_change = gdp_total } multiply_temp_variable = { int_investment_change = 0.02 } modify_international_investment_effect = yes hidden_effect = { random_country = { limit = { is_in_the_middle_east = yes has_idea = sunni } set_temp_variable = { influence_target = THIS } } } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } #Confiscated money goes missing - Random/repeating country_event = { id = LibyaRandomEvents.52 title = LibyaRandomEvents.52.t desc = LibyaRandomEvents.52.d picture = GFX_united_states_dollar is_triggered_only = yes trigger = { has_idea = LBA_confiscated_royal_wealth } option = { name = LibyaRandomEvents.52.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.52.a executed" set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.04 } modify_treasury_effect = yes } } #Confiscated money found - Random/repeating country_event = { id = LibyaRandomEvents.53 title = LibyaRandomEvents.53.t desc = LibyaRandomEvents.53.d picture = GFX_united_states_dollar is_triggered_only = yes trigger = { has_idea = LBA_confiscated_royal_wealth } option = { name = LibyaRandomEvents.53.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.53.a executed" set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = 0.04 } modify_treasury_effect = yes } } #Foreign special forces kill jihadist - Random/repeating country_event = { id = LibyaRandomEvents.54 title = LibyaRandomEvents.54.t desc = LibyaRandomEvents.54.d picture = GFX_special_forces is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 2 has_government = fascism } modifier = { factor = 1.2 has_completed_focus = LBA_approach_hamas } } trigger = { OR = { has_completed_focus = LBA_assassinate_dissidents has_completed_focus = LBA_meet_hezbollah } NOT = { has_idea = Major_Non_NATO_Ally } } option = { name = LibyaRandomEvents.54.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.54.a executed" add_manpower = -10 set_temp_variable = { percent_change = -5 } change_domestic_influence_percentage = yes } } #Foreign special forces defeated - Random/repeating country_event = { id = LibyaRandomEvents.55 title = LibyaRandomEvents.55.t desc = LibyaRandomEvents.55.d picture = GFX_special_forces is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 2 has_government = fascism } modifier = { factor = 1.2 has_completed_focus = LBA_approach_hamas } } trigger = { OR = { has_completed_focus = LBA_assassinate_dissidents has_completed_focus = LBA_meet_hezbollah } NOT = { has_idea = Major_Non_NATO_Ally } } option = { name = LibyaRandomEvents.55.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.55.a executed" add_manpower = -10 set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes } } #Economic ties boost economy - Random/repeating country_event = { id = LibyaRandomEvents.56 title = LibyaRandomEvents.56.t desc = LibyaRandomEvents.56.d picture = GFX_stock_market is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 2 has_government = democratic } modifier = { factor = 1.2 has_completed_focus = LBA_italian_trade } } trigger = { OR = { has_completed_focus = LBA_taxation_deal_with_uk has_completed_focus = LBA_compensation_from_italy } NOT = { has_government = fascism } has_war = no } option = { name = LibyaRandomEvents.56.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.56.a executed" increase_economic_growth = yes } } #Economic ties boost economy - Random/repeating country_event = { id = LibyaRandomEvents.57 title = LibyaRandomEvents.57.t desc = LibyaRandomEvents.57.d picture = GFX_stock_market is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 2 has_government = democratic } modifier = { factor = 1.2 has_completed_focus = LBA_italian_trade } } trigger = { OR = { has_completed_focus = LBA_taxation_deal_with_uk has_completed_focus = LBA_compensation_from_italy } NOT = { has_government = fascism } has_war = no } option = { name = LibyaRandomEvents.57.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.57.a executed" decrease_economic_growth = yes } } #Mercenaries accused of war crimes - Random/repeating country_event = { id = LibyaRandomEvents.58 title = LibyaRandomEvents.58.t desc = LibyaRandomEvents.58.d picture = GFX_event_pmcs is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.5 any_of_scopes = { array = LBA.LBA_volunteer_nations has_volunteers_amount_from = { tag = LBA count > 0 } } } } trigger = { OR = { has_completed_focus = LBA_central_african_mercs has_completed_focus = LBA_send_mercenaries } is_ruled_by_a_gaddafi = yes } option = { name = LibyaRandomEvents.58.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.58.a executed" add_political_power = -200 } } #Mercenaries bring back experience - Random/repeating country_event = { id = LibyaRandomEvents.59 title = LibyaRandomEvents.59.t desc = LibyaRandomEvents.59.d picture = GFX_event_pmcs is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.5 any_of_scopes = { array = LBA.LBA_volunteer_nations has_volunteers_amount_from = { tag = LBA count > 0 } } } } trigger = { OR = { has_completed_focus = LBA_central_african_mercs has_completed_focus = LBA_send_mercenaries } is_ruled_by_a_gaddafi = yes } option = { name = LibyaRandomEvents.59.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.59.a executed" random_list = { 10 = { add_doctrine_cost_reduction = { name = LibyaRandomEvents.59.t cost_reduction = 0.15 uses = 1 category = CAT_land_doctrine } } 10 = { add_doctrine_cost_reduction = { name = LibyaRandomEvents.59.t cost_reduction = 0.15 uses = 1 category = CAT_air_doctrine } } 10 = { add_doctrine_cost_reduction = { name = LibyaRandomEvents.59.t cost_reduction = 0.15 uses = 1 category = CAT_naval_doctrine } } } } } #Army wants more weapons - Random/repeating country_event = { id = LibyaRandomEvents.60 title = LibyaRandomEvents.60.t desc = LibyaRandomEvents.60.d picture = GFX_weapons_arms1 is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.2 has_idea = LBA_revolutionary_guard_corps_expanded } } trigger = { OR = { has_idea = LBA_revolutionary_guard_corps has_idea = LBA_revolutionary_guard_corps_expanded has_idea = LBA_revolutionary_guard_corps_logistics has_idea = LBA_revolutionary_guard_corps_logistics_with_research } has_idea = intelligence_community has_idea = the_military } option = { name = LibyaRandomEvents.60.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.60.a executed" ai_chance = { base = 50 } set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.04 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = -5 } change_intelligence_community_opinion = yes set_temp_variable = { temp_opinion = 5 } change_the_military_opinion = yes } option = { name = LibyaRandomEvents.60.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.60.b executed" ai_chance = { base = 50 } set_temp_variable = { temp_opinion = 5 } change_intelligence_community_opinion = yes set_temp_variable = { temp_opinion = -5 } change_the_military_opinion = yes } } #Revolutionary Guard wants more recruits - Random/repeating country_event = { id = LibyaRandomEvents.61 title = LibyaRandomEvents.61.t desc = LibyaRandomEvents.61.d picture = GFX_Military_Reform is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.2 has_idea = LBA_armed_forces_of_arab_jamahiriya_expanded } } trigger = { OR = { has_idea = LBA_armed_forces_of_arab_jamahiriya has_idea = LBA_armed_forces_of_arab_jamahiriya_expanded has_idea = LBA_armed_forces_of_arab_jamahiriya_expanded_with_research } has_idea = intelligence_community has_idea = the_military } option = { name = LibyaRandomEvents.61.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.61.a executed" ai_chance = { base = 50 } add_manpower = -1000 set_temp_variable = { temp_opinion = 5 } change_intelligence_community_opinion = yes set_temp_variable = { temp_opinion = -5 } change_the_military_opinion = yes } option = { name = LibyaRandomEvents.61.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.61.b executed" ai_chance = { base = 50 } set_temp_variable = { temp_opinion = -5 } change_intelligence_community_opinion = yes set_temp_variable = { temp_opinion = 5 } change_the_military_opinion = yes } } #Oil field sold - Random/repeating country_event = { id = LibyaRandomEvents.62 title = LibyaRandomEvents.62.t desc = LibyaRandomEvents.62.d picture = GFX_generic_oil_field is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.1 has_idea = corruption_level_07 } modifier = { factor = 1.2 has_idea = corruption_level_08 } modifier = { factor = 1.3 has_idea = corruption_level_09 } modifier = { factor = 1.4 has_idea = corruption_level_10 } } trigger = { NOT = { has_country_flag = libya_noc_dismantled } } option = { name = LibyaRandomEvents.62.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.62.a executed" ai_chance = { base = 50 } add_political_power = -200 set_temp_variable = { temp_opinion = 5 } change_fossil_fuel_industry_opinion = yes } option = { name = LibyaRandomEvents.62.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.62.b executed" ai_chance = { base = 50 } random_country = { limit = { NOT = { original_tag = ROOT } any_owned_state = { oil > 0 } NOT = { has_idea = non_power } } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = THIS } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes } libya_decrease_nationalisation_5 = yes set_temp_variable = { temp_opinion = -5 } change_fossil_fuel_industry_opinion = yes } } #Oil field bought - Random/repeating country_event = { id = LibyaRandomEvents.63 title = LibyaRandomEvents.63.t desc = LibyaRandomEvents.63.d picture = GFX_generic_oil_field is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.1 has_idea = corruption_level_07 } modifier = { factor = 1.2 has_idea = corruption_level_08 } modifier = { factor = 1.3 has_idea = corruption_level_09 } modifier = { factor = 1.4 has_idea = corruption_level_10 } } trigger = { NOT = { has_country_flag = libya_noc_dismantled } } option = { name = LibyaRandomEvents.63.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.63.a executed" ai_chance = { base = 50 } add_political_power = -200 set_temp_variable = { temp_opinion = -5 } change_fossil_fuel_industry_opinion = yes } option = { name = LibyaRandomEvents.63.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.63.b executed" ai_chance = { base = 50 } set_temp_variable = { percent_change = 3 } change_domestic_influence_percentage = yes libya_increase_nationalisation_5 = yes set_temp_variable = { temp_opinion = 5 } change_fossil_fuel_industry_opinion = yes } } #Food shortage - Random/repeating country_event = { id = LibyaRandomEvents.64 title = LibyaRandomEvents.64.t desc = LibyaRandomEvents.64.d picture = GFX_eth_famine_strikes is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 2 #Largest exporters of food to Libya OR = { BRA = { has_war = yes } ITA = { has_war = yes } EGY = { has_war = yes } SWI = { has_war = yes } SIA = { has_war = yes } UAE = { has_war = yes } } } modifier = { factor = 0.7 has_completed_focus = LBA_expand_tripoli_port } modifier = { factor = 0.7 has_completed_focus = LBA_expand_benghazi_port } modifier = { factor = 0.7 has_completed_focus = LBA_create_ministry_of_agriculture } modifier = { factor = 0.7 has_completed_focus = LBA_connect_east_west_rails } } trigger = { OR = { has_idea = LBA_undeveloped_agriculture has_idea = LBA_undeveloped_agriculture_developed } } option = { name = LibyaRandomEvents.64.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.64.a executed" ai_chance = { base = 50 } set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.04 } modify_treasury_effect = yes add_stability = 0.025 } option = { name = LibyaRandomEvents.64.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.64.b executed" ai_chance = { base = 50 } add_stability = -0.025 } } #Whistle Stop Tour - Random/repeating country_event = { id = LibyaRandomEvents.65 title = LibyaRandomEvents.65.t desc = LibyaRandomEvents.65.d picture = GFX_generic_train_event is_triggered_only = yes trigger = { OR = { has_completed_focus = LBA_tripoli_to_misrata has_completed_focus = LBA_tobruk_to_benghazi } } option = { name = LibyaRandomEvents.65.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.65.a executed" ai_chance = { base = 50 } set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.04 } modify_treasury_effect = yes add_stability = 0.025 } option = { name = LibyaRandomEvents.65.b ai_chance = { base = 50 } } } #Train derailed - Random/repeating country_event = { id = LibyaRandomEvents.66 title = LibyaRandomEvents.66.t desc = LibyaRandomEvents.66.d picture = GFX_train_collision is_triggered_only = yes trigger = { OR = { has_completed_focus = LBA_tripoli_to_misrata has_completed_focus = LBA_tobruk_to_benghazi } } option = { name = LibyaRandomEvents.66.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.66.a executed" ai_chance = { base = 50 } set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.04 } modify_treasury_effect = yes } option = { name = LibyaRandomEvents.66.b log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.66.b executed" ai_chance = { base = 50 } add_stability = -0.025 } } #Toubou Rebellion - Random/repeating country_event = { id = LibyaRandomEvents.67 title = LibyaRandomEvents.67.t desc = LibyaRandomEvents.67.d picture = GFX_liberate_minorities is_triggered_only = yes trigger = { NOT = { country_exists = TIE } NOT = { has_completed_focus = LBA_strip_toubou_of_citizenship } NOT = { has_completed_focus = LBA_minority_rights } NOT = { has_completed_focus = LBA_minority_protection } #Don't trigger during the first civil war OR = { NOT = { has_global_flag = first_libyan_civil_war } AND = { has_global_flag = first_libyan_civil_war has_global_flag = first_libyan_civil_war_over } } OR = { has_civil_war = yes has_war_with = TRP has_war_with = CYR has_war_with = FEZ } owns_any_state_of = { 1100 920 } } immediate = { release = TIE hidden_effect = { transfer_units_fraction = { target = TIE size = 0.01 keep_unit_leaders_trigger = { OR = { has_trait = LBA_unit_leader_trait_tripolitania has_trait = LBA_unit_leader_trait_tuareg } } } TIE = { load_oob = "TIE_rebellion" } } every_unit_leader = { limit = { has_trait = LBA_unit_leader_trait_toubou } set_nationality = TIE } if = { limit = { has_template = "Al-Milishiat Al-Tubu" } delete_unit_template_and_units = { division_template = "Al-Milishiat Al-Tubu" disband = no } TIE = { division_template = { name = "Al-Milishiat Al-Tubu" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } capital_scope = { create_unit = { division = "name = \"Al-Qabalia Al-Marzub\" division_template = \"Al-Milishiat Al-Tubu\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = TIE } create_unit = { division = "name = \"Al-Qabalia Al-Kafra\" division_template = \"Al-Milishiat Al-Tubu\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = TIE } } } } } option = { name = LibyaRandomEvents.67.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.67.a executed" ai_chance = { base = 80 modifier = { factor = 0.5 has_war = yes surrender_progress > 0.25 } } set_temp_variable = { loyalty_change = -0.10 } libya_change_tripolitania_loyalty = yes libya_change_cyrenaica_loyalty = yes libya_change_fezzan_loyalty = yes every_country = { limit = { OR = { original_tag = LBA AND = { OR = { original_tag = CYR original_tag = FEZ } has_war_with = ROOT } } } declare_war_on = { target = TIE type = annex_everything } } } option = { name = LibyaRandomEvents.67.b ai_chance = { base = 20 modifier = { factor = 2 has_war = yes surrender_progress > 0.25 } } } } #Tuareg Rebellion - Random/repeating country_event = { id = LibyaRandomEvents.68 title = LibyaRandomEvents.68.t desc = LibyaRandomEvents.68.d picture = GFX_libya_tuareg_militas is_triggered_only = yes trigger = { NOT = { country_exists = TUA } NOT = { has_completed_focus = LBA_minority_rights } NOT = { has_completed_focus = LBA_minority_protection } #Don't trigger during the first civil war OR = { NOT = { has_global_flag = first_libyan_civil_war } AND = { has_global_flag = first_libyan_civil_war has_global_flag = first_libyan_civil_war_over } } OR = { has_civil_war = yes has_war_with = TRP has_war_with = CYR has_war_with = FEZ } owns_state = 918 } immediate = { release = TUA hidden_effect = { transfer_units_fraction = { target = TUA size = 0.02 keep_unit_leaders_trigger = { OR = { has_trait = LBA_unit_leader_trait_tripolitania has_trait = LBA_unit_leader_trait_cyrenaica has_trait = LBA_unit_leader_trait_toubou } } } TUA = { load_oob = "TUA_2017" } } every_unit_leader = { limit = { has_trait = LBA_unit_leader_trait_tuareg } set_nationality = TUA } if = { limit = { has_template = "Al-Milishiat Al-Tawariq" } delete_unit_template_and_units = { division_template = "Al-Milishiat Al-Tawariq" disband = no } TUA_ali_kanna = { set_nationality = TUA } TUA = { division_template = { name = "Al-Milishiat Al-Tawariq" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } 918 = { create_unit = { division = "name = \"Mqatil 'Azwad\" division_template = \"Al-Milishiat Al-Tawariq\" start_experience_factor = 0.3 start_equipment_factor = 0.75" owner = TUA } create_unit = { division = "name = \"Haras Ghat\" division_template = \"Al-Milishiat Al-Tawariq\" start_experience_factor = 0.3 start_equipment_factor = 0.75" owner = TUA prioritize_location = 5004 #Ghat } } } } } option = { name = LibyaRandomEvents.68.a log = "[GetDateText]: [This.GetName]: LibyaRandomEvents.68.a executed" ai_chance = { base = 80 modifier = { factor = 0.5 has_war = yes surrender_progress > 0.25 } } set_temp_variable = { loyalty_change = -0.10 } libya_change_tripolitania_loyalty = yes libya_change_cyrenaica_loyalty = yes libya_change_fezzan_loyalty = yes every_country_with_original_tag = { original_tag_to_check = LBA declare_war_on = { target = TUA type = annex_everything } } } option = { name = LibyaRandomEvents.68.b ai_chance = { base = 20 modifier = { factor = 2 has_war = yes surrender_progress > 0.25 } } } } ################# # TRIBAL EVENTS # ################# #These are all repeating #Young army officer ready for promotion country_event = { id = LibyaTribes.1 title = LibyaTribes.1.t desc = LibyaTribes.1.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender } } } } option = { name = LibyaTribes.1.a log = "[GetDateText]: [This.GetName]: LibyaTribes.1.a executed" ai_chance = { base = 50 } army_experience = 15 set_temp_variable = { temp_opinion = -5 } change_the_military_opinion = yes libya_increase_loyalty_single_offender = yes } option = { name = LibyaTribes.1.b log = "[GetDateText]: [This.GetName]: LibyaTribes.1.b executed" ai_chance = { base = 50 } set_temp_variable = { temp_opinion = 5 } change_the_military_opinion = yes libya_decrease_loyalty_single_offender = yes } } #Young navy officer ready for promotion country_event = { id = LibyaTribes.2 title = LibyaTribes.2.t desc = LibyaTribes.2.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender } } } } option = { name = LibyaTribes.2.a log = "[GetDateText]: [This.GetName]: LibyaTribes.2.a executed" ai_chance = { base = 50 } navy_experience = 15 set_temp_variable = { temp_opinion = -5 } change_the_military_opinion = yes libya_increase_loyalty_single_offender = yes } option = { name = LibyaTribes.2.b log = "[GetDateText]: [This.GetName]: LibyaTribes.2.b executed" ai_chance = { base = 50 } set_temp_variable = { temp_opinion = 5 } change_the_military_opinion = yes libya_decrease_loyalty_single_offender = yes } } #Young air force officer ready for promotion country_event = { id = LibyaTribes.3 title = LibyaTribes.3.t desc = LibyaTribes.3.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender } } } } option = { name = LibyaTribes.3.a log = "[GetDateText]: [This.GetName]: LibyaTribes.3.a executed" ai_chance = { base = 50 } air_experience = 15 set_temp_variable = { temp_opinion = -5 } change_the_military_opinion = yes libya_increase_loyalty_single_offender = yes } option = { name = LibyaTribes.3.b log = "[GetDateText]: [This.GetName]: LibyaTribes.3.b executed" ai_chance = { base = 50 } set_temp_variable = { temp_opinion = 5 } change_the_military_opinion = yes libya_decrease_loyalty_single_offender = yes } } #University Student Publishes Thesis country_event = { id = LibyaTribes.4 title = LibyaTribes.4.t desc = LibyaTribes.4.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender } } } } option = { name = LibyaTribes.4.a log = "[GetDateText]: [This.GetName]: LibyaTribes.4.a executed" ai_chance = { base = 50 } add_tech_bonus = { name = LibyaTribes.4.t bonus = 0.15 uses = 1 category = CAT_industry category = CAT_computing_tech } set_temp_variable = { party_index = ruling_party } set_temp_variable = { party_popularity_increase = -0.05 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes libya_increase_loyalty_single_offender = yes } option = { name = LibyaTribes.4.b log = "[GetDateText]: [This.GetName]: LibyaTribes.4.b executed" ai_chance = { base = 50 } set_temp_variable = { party_index = ruling_party } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } libya_decrease_loyalty_single_offender = yes } } #Economist criticises economy country_event = { id = LibyaTribes.5 title = LibyaTribes.5.t desc = LibyaTribes.5.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender } } } } option = { name = LibyaTribes.5.a log = "[GetDateText]: [This.GetName]: LibyaTribes.5.a executed" ai_chance = { base = 50 } set_temp_variable = { temp_productivity_change = 25 } flat_productivity_change_effect = yes set_temp_variable = { corp_change = -2 } modify_corporate_tax_rate_effect = yes libya_increase_loyalty_single_offender = yes } option = { name = LibyaTribes.5.b log = "[GetDateText]: [This.GetName]: LibyaTribes.5.b executed" ai_chance = { base = 50 } libya_decrease_loyalty_single_offender = yes } } #Local politician suggests reform country_event = { id = LibyaTribes.6 title = LibyaTribes.6.t desc = LibyaTribes.6.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender } } } } option = { name = LibyaTribes.6.a log = "[GetDateText]: [This.GetName]: LibyaTribes.6.a executed" ai_chance = { base = 50 } add_political_power = 150 set_temp_variable = { party_index = ruling_party } set_temp_variable = { party_popularity_increase = -0.05 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes libya_increase_loyalty_single_offender = yes } option = { name = LibyaTribes.6.b log = "[GetDateText]: [This.GetName]: LibyaTribes.6.b executed" ai_chance = { base = 50 } set_temp_variable = { party_index = ruling_party } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } libya_decrease_loyalty_single_offender = yes } } #Tribal elder suspected of treason country_event = { id = LibyaTribes.7 title = LibyaTribes.7.t desc = LibyaTribes.7.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } has_idea = intelligence_community } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender } } } } option = { name = LibyaTribes.7.a log = "[GetDateText]: [This.GetName]: LibyaTribes.7.a executed" ai_chance = { base = 50 } set_temp_variable = { temp_opinion = 5 } change_intelligence_community_opinion = yes libya_increase_loyalty_single_offender = yes } option = { name = LibyaTribes.7.b log = "[GetDateText]: [This.GetName]: LibyaTribes.7.b executed" ai_chance = { base = 50 } set_temp_variable = { temp_opinion = -5 } change_intelligence_community_opinion = yes libya_decrease_loyalty_single_offender = yes } } #A Large donation country_event = { id = LibyaTribes.8 title = LibyaTribes.8.t desc = LibyaTribes.8.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender } } } } option = { name = LibyaTribes.8.a log = "[GetDateText]: [This.GetName]: LibyaTribes.8.a executed" ai_chance = { base = 50 } set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = 0.02 } modify_treasury_effect = yes libya_increase_loyalty_single_offender = yes } option = { name = LibyaTribes.8.b log = "[GetDateText]: [This.GetName]: LibyaTribes.8.b executed" ai_chance = { base = 50 } libya_decrease_loyalty_single_offender = yes } } #Change oilfield ownership country_event = { id = LibyaTribes.9 title = LibyaTribes.9.t desc = LibyaTribes.9.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } NOT = { has_country_flag = libya_noc_dismantled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender } } } } option = { name = LibyaTribes.9.a log = "[GetDateText]: [This.GetName]: LibyaTribes.9.a executed" ai_chance = { base = 50 } libya_increase_nationalisation_5 = yes libya_increase_loyalty_single_offender = yes } option = { name = LibyaTribes.9.b log = "[GetDateText]: [This.GetName]: LibyaTribes.9.b executed" ai_chance = { base = 50 } libya_decrease_loyalty_single_offender = yes } } #Preacher dismisses tribal practices country_event = { id = LibyaTribes.10 title = LibyaTribes.10.t desc = LibyaTribes.10.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender } } } } option = { name = LibyaTribes.10.a log = "[GetDateText]: [This.GetName]: LibyaTribes.10.a executed" ai_chance = { base = 50 } set_temp_variable = { temp_modify_social_con_government = 2 } modify_social_conservatism_government = yes libya_increase_loyalty_single_offender = yes } option = { name = LibyaTribes.10.b log = "[GetDateText]: [This.GetName]: LibyaTribes.10.b executed" ai_chance = { base = 50 } set_temp_variable = { temp_modify_social_con_government = -2 } modify_social_conservatism_government = yes libya_decrease_loyalty_single_offender = yes } } #Abuse in the military country_event = { id = LibyaTribes.11 title = LibyaTribes.11.t desc = LibyaTribes.11.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender set_country_flag = LBA_tribalism_cyrenaican_defender } 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender set_country_flag = LBA_tribalism_fezzani_defender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender set_country_flag = LBA_tribalism_tripolitanian_defender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender set_country_flag = LBA_tribalism_fezzani_defender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender set_country_flag = LBA_tribalism_tripolitanian_defender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender set_country_flag = LBA_tribalism_cyrenaican_defender } } } } option = { name = LibyaTribes.11.a log = "[GetDateText]: [This.GetName]: LibyaTribes.11.a executed" ai_chance = { base = 50 } libya_tribal_loyalty_offender_over_defender = yes } option = { name = LibyaTribes.11.b log = "[GetDateText]: [This.GetName]: LibyaTribes.11.b executed" ai_chance = { base = 50 } libya_tribal_loyalty_defender_over_offender = yes } } #Pastorals cross the border country_event = { id = LibyaTribes.12 title = LibyaTribes.12.t desc = LibyaTribes.12.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender set_country_flag = LBA_tribalism_cyrenaican_defender } 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender set_country_flag = LBA_tribalism_fezzani_defender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender set_country_flag = LBA_tribalism_tripolitanian_defender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender set_country_flag = LBA_tribalism_fezzani_defender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender set_country_flag = LBA_tribalism_tripolitanian_defender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender set_country_flag = LBA_tribalism_cyrenaican_defender } } } } option = { name = LibyaTribes.12.a log = "[GetDateText]: [This.GetName]: LibyaTribes.12.a executed" ai_chance = { base = 50 } libya_tribal_loyalty_offender_over_defender = yes } option = { name = LibyaTribes.12.b log = "[GetDateText]: [This.GetName]: LibyaTribes.12.b executed" ai_chance = { base = 50 } libya_tribal_loyalty_defender_over_offender = yes } } #Farm raid country_event = { id = LibyaTribes.13 title = LibyaTribes.13.t desc = LibyaTribes.13.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender set_country_flag = LBA_tribalism_cyrenaican_defender } 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender set_country_flag = LBA_tribalism_fezzani_defender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender set_country_flag = LBA_tribalism_tripolitanian_defender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender set_country_flag = LBA_tribalism_fezzani_defender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender set_country_flag = LBA_tribalism_tripolitanian_defender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender set_country_flag = LBA_tribalism_cyrenaican_defender } } } } option = { name = LibyaTribes.13.a log = "[GetDateText]: [This.GetName]: LibyaTribes.13.a executed" ai_chance = { base = 50 } libya_tribal_loyalty_offender_over_defender = yes } option = { name = LibyaTribes.13.b log = "[GetDateText]: [This.GetName]: LibyaTribes.13.b executed" ai_chance = { base = 50 } libya_tribal_loyalty_defender_over_offender = yes } } #Water dispute country_event = { id = LibyaTribes.14 title = LibyaTribes.14.t desc = LibyaTribes.14.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender set_country_flag = LBA_tribalism_cyrenaican_defender } 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender set_country_flag = LBA_tribalism_fezzani_defender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender set_country_flag = LBA_tribalism_tripolitanian_defender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender set_country_flag = LBA_tribalism_fezzani_defender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender set_country_flag = LBA_tribalism_tripolitanian_defender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender set_country_flag = LBA_tribalism_cyrenaican_defender } } } } option = { name = LibyaTribes.14.a log = "[GetDateText]: [This.GetName]: LibyaTribes.14.a executed" ai_chance = { base = 50 } libya_tribal_loyalty_defender_over_offender = yes } option = { name = LibyaTribes.14.b log = "[GetDateText]: [This.GetName]: LibyaTribes.14.b executed" ai_chance = { base = 50 } libya_tribal_loyalty_offender_over_defender = yes } } #Local politician country_event = { id = LibyaTribes.15 title = LibyaTribes.15.t desc = LibyaTribes.15.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender set_country_flag = LBA_tribalism_cyrenaican_defender } 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender set_country_flag = LBA_tribalism_fezzani_defender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender set_country_flag = LBA_tribalism_tripolitanian_defender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender set_country_flag = LBA_tribalism_fezzani_defender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender set_country_flag = LBA_tribalism_tripolitanian_defender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender set_country_flag = LBA_tribalism_cyrenaican_defender } } } } option = { name = LibyaTribes.15.a log = "[GetDateText]: [This.GetName]: LibyaTribes.15.a executed" ai_chance = { base = 50 } libya_tribal_loyalty_offender_over_defender = yes } option = { name = LibyaTribes.15.b log = "[GetDateText]: [This.GetName]: LibyaTribes.15.b executed" ai_chance = { base = 50 } libya_tribal_loyalty_defender_over_offender = yes } } #Distribution of oil money country_event = { id = LibyaTribes.16 title = LibyaTribes.16.t desc = LibyaTribes.16.d picture = GFX_libyan_tribes is_triggered_only = yes trigger = { NOT = { has_country_flag = LBA_tribalism_disabled } NOT = { has_country_flag = libya_noc_dismantled } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender set_country_flag = LBA_tribalism_cyrenaican_defender } 10 = { set_country_flag = LBA_tribalism_tripolitanian_offender set_country_flag = LBA_tribalism_fezzani_defender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender set_country_flag = LBA_tribalism_tripolitanian_defender } 10 = { set_country_flag = LBA_tribalism_cyrenaican_offender set_country_flag = LBA_tribalism_fezzani_defender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender set_country_flag = LBA_tribalism_tripolitanian_defender } 10 = { set_country_flag = LBA_tribalism_fezzani_offender set_country_flag = LBA_tribalism_cyrenaican_defender } } } } option = { name = LibyaTribes.16.a log = "[GetDateText]: [This.GetName]: LibyaTribes.16.a executed" ai_chance = { base = 50 } libya_tribal_loyalty_offender_over_defender = yes } option = { name = LibyaTribes.16.b log = "[GetDateText]: [This.GetName]: LibyaTribes.16.b executed" ai_chance = { base = 50 } libya_tribal_loyalty_defender_over_offender = yes } } #Death of Gaddafi's child country_event = { id = LibyaFamily.1 title = LibyaFamily.1.t desc = LibyaFamily.1.d picture = GFX_libya_gaddafi_family is_triggered_only = yes option = { name = LibyaFamily.1.a log = "[GetDateText]: [This.GetName]: LibyaFamily.1.a executed" if = { limit = { has_country_flag = kill_muhammad_muammar_gaddafi NOT = { has_country_flag = muhammad_muammar_gaddafi_dead } } retire_character = LBA_muhammad_muammar_gaddafi_dummy set_country_flag = muhammad_muammar_gaddafi_dead } if = { limit = { has_country_flag = kill_saif_al_islam_gaddafi NOT = { has_country_flag = saif_al_islam_gaddafi_dead } } retire_character = LBA_saif_al_islam_gaddafi_dummy set_country_flag = saif_al_islam_gaddafi_dead } if = { limit = { has_country_flag = kill_al_saadi_gaddafi NOT = { has_country_flag = al_saadi_gaddafi_dead } } retire_character = LBA_al_saadi_gaddafi_dummy set_country_flag = al_saadi_gaddafi_dead } if = { limit = { has_country_flag = kill_mutassim_gaddafi NOT = { has_country_flag = mutassim_gaddafi_dead } } retire_character = LBA_mutassim_gaddafi_dummy set_country_flag = mutassim_gaddafi_dead } if = { limit = { has_country_flag = kill_hannibal_gaddafi NOT = { has_country_flag = hannibal_gaddafi_dead } } retire_character = LBA_hannibal_gaddafi_dummy set_country_flag = hannibal_gaddafi_dead } if = { limit = { has_country_flag = kill_ayesha_gaddafi NOT = { has_country_flag = ayesha_gaddafi_dead } } retire_character = LBA_ayesha_gaddafi_dummy set_country_flag = ayesha_gaddafi_dead } if = { limit = { has_country_flag = kill_saif_al_arab_gaddafi NOT = { has_country_flag = saif_al_arab_gaddafi_dead } } retire_character = LBA_saif_al_arab_gaddafi_dummy set_country_flag = saif_al_arab_gaddafi_dead } if = { limit = { has_country_flag = kill_khamis_gaddafi NOT = { has_country_flag = khamis_gaddafi_dead } } retire_character = LBA_khamis_gaddafi_dummy set_country_flag = khamis_gaddafi_dead } set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Muhammad Muammar Gaddafi abuses power country_event = { id = LibyaFamily.2 title = LibyaFamily.2.t desc = LibyaFamily.2.d picture = GFX_libya_muhammad_muammar_gaddafi is_triggered_only = yes trigger = { is_ruled_by_a_gaddafi = yes has_country_flag = muhammad_muammar_gaddafi_head_of_GPTC NOT = { has_country_flag = muhammad_muammar_gaddafi_dead } NOT = { has_country_flag = muhammad_muammar_gaddafi_exile } NOT = { has_country_leader = { name = "Muhammad Muammar Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.2.a log = "[GetDateText]: [This.GetName]: LibyaFamily.2.a executed" ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes } option = { name = LibyaFamily.2.b log = "[GetDateText]: [This.GetName]: LibyaFamily.2.b executed" ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes LBA_muhammad_muammar_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_remove_chairman_of_gptc_tt } clr_country_flag = muhammad_muammar_gaddafi_uninterested_in_politics update_gaddafi_family_ideas = yes } } #Fight over Coca-Cola country_event = { id = LibyaFamily.3 title = LibyaFamily.3.t desc = LibyaFamily.3.d picture = GFX_generic_factory is_triggered_only = yes fire_only_once = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_idea = international_sanctions } NOT = { has_country_flag = muhammad_muammar_gaddafi_dead } NOT = { has_country_flag = muhammad_muammar_gaddafi_exile } NOT = { has_country_flag = mutassim_gaddafi_dead } NOT = { has_country_flag = mutassim_gaddafi_exile } } option = { name = LibyaFamily.3.a log = "[GetDateText]: [This.GetName]: LibyaFamily.3.a executed" ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes LBA_muhammad_muammar_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_add_king_of_coke_tt } set_country_flag = muhammad_muammar_gaddafi_king_of_coke } option = { name = LibyaFamily.3.b log = "[GetDateText]: [This.GetName]: LibyaFamily.3.b executed" ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes LBA_mutassim_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_add_king_of_coke_tt } set_country_flag = mutassim_gaddafi_king_of_coke } option = { name = LibyaFamily.3.c log = "[GetDateText]: [This.GetName]: LibyaFamily.3.b executed" ai_chance = { base = 50 } random_list = { 45 = { set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes LBA_muhammad_muammar_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_add_king_of_coke_tt } set_country_flag = muhammad_muammar_gaddafi_king_of_coke random = { chance = 25 LBA_mutassim_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_killed_in_firefight_tt } set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes retire_character = LBA_mutassim_gaddafi_dummy set_country_flag = mutassim_gaddafi_dead } libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } 45 = { set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes LBA_mutassim_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_add_king_of_coke_tt } set_country_flag = mutassim_gaddafi_king_of_coke random = { chance = 25 LBA_muhammad_muammar_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_killed_in_firefight_tt } set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes retire_character = LBA_muhammad_muammar_gaddafi_dummy set_country_flag = muhammad_muammar_gaddafi_dead } libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } 10 = { LBA_mutassim_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_killed_in_firefight_tt } LBA_muhammad_muammar_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_killed_in_firefight_tt } set_temp_variable = { family_instability_change = 40 } libya_gaddafi_family_modify_instability = yes retire_character = LBA_mutassim_gaddafi_dummy set_country_flag = mutassim_gaddafi_dead retire_character = LBA_muhammad_muammar_gaddafi_dummy set_country_flag = muhammad_muammar_gaddafi_dead libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } } } #Muhammad Gaddafi criticises from Exile country_event = { id = LibyaFamily.4 title = LibyaFamily.4.t desc = LibyaFamily.4.d picture = GFX_libya_muhammad_muammar_gaddafi is_triggered_only = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = muhammad_muammar_gaddafi_dead } has_country_flag = muhammad_muammar_gaddafi_exile } option = { name = LibyaFamily.4.a log = "[GetDateText]: [This.GetName]: LibyaFamily.4.a executed" set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes } } #Muhammad Gaddafi listens to his father's advice country_event = { id = LibyaFamily.5 title = LibyaFamily.5.t desc = LibyaFamily.5.d picture = GFX_libya_muhammad_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.5.a log = "[GetDateText]: [This.GetName]: LibyaFamily.5.a executed" set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes LBA_muhammad_muammar_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_remove_uninterested_in_politics_tt } clr_country_flag = muhammad_muammar_gaddafi_uninterested_in_politics update_gaddafi_family_ideas = yes } } #Muhammad Gaddafi doesn't listen to his father's advice country_event = { id = LibyaFamily.6 title = LibyaFamily.6.t desc = LibyaFamily.6.d picture = GFX_libya_muhammad_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.6.a log = "[GetDateText]: [This.GetName]: LibyaFamily.6.a executed" set_temp_variable = { family_instability_change = 15 } libya_gaddafi_family_modify_instability = yes } } #Muhammad Gaddafi leaves Libya country_event = { id = LibyaFamily.7 title = LibyaFamily.7.t desc = LibyaFamily.7.d picture = GFX_libya_muhammad_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.7.a log = "[GetDateText]: [This.GetName]: LibyaFamily.7.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes set_country_flag = muhammad_muammar_gaddafi_exile libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes LBA_muhammad_muammar_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_sent_to_exile_tt } } } #Saif's artshow is a success country_event = { id = LibyaFamily.8 title = LibyaFamily.8.t desc = LibyaFamily.8.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes option = { name = LibyaFamily.8.a log = "[GetDateText]: [This.GetName]: LibyaFamily.8.a executed" ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes add_tech_bonus = { name = LibyaFamily.8.t bonus = 0.5 uses = 2 category = CAT_computing_tech } } option = { name = LibyaFamily.8.b log = "[GetDateText]: [This.GetName]: LibyaFamily.8.b executed" ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes add_tech_bonus = { name = LibyaFamily.8.t bonus = 0.5 uses = 2 category = Cat_FUEL_OIL } } option = { name = LibyaFamily.8.c log = "[GetDateText]: [This.GetName]: LibyaFamily.8.c executed" ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes add_tech_bonus = { name = LibyaFamily.8.t bonus = 0.5 uses = 2 category = CAT_excavation_tech category = CAT_construction_tech } } } #Saif's artshow is okay country_event = { id = LibyaFamily.9 title = LibyaFamily.9.t desc = LibyaFamily.9.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes option = { name = LibyaFamily.9.a log = "[GetDateText]: [This.GetName]: LibyaFamily.9.a executed" set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes } } #Saif's artshow is a failure country_event = { id = LibyaFamily.10 title = LibyaFamily.10.t desc = LibyaFamily.10.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes option = { name = LibyaFamily.10.a log = "[GetDateText]: [This.GetName]: LibyaFamily.10.a executed" set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes add_political_power = -100 } } #Saif accepts position as heir country_event = { id = LibyaFamily.11 title = LibyaFamily.11.t desc = LibyaFamily.11.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes option = { name = LibyaFamily.11.a log = "[GetDateText]: [This.GetName]: LibyaFamily.11.a executed" set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes add_to_variable = { Autocracy_leader = 1 } libya_find_next_gaddafi_heir = yes set_country_flag = saif_al_islam_gaddafi_geopolitical_thinker update_gaddafi_family_ideas = yes LBA_saif_al_islam_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_add_geopolitical_thinker_tt } } } #Saif rejects position as heir country_event = { id = LibyaFamily.12 title = LibyaFamily.12.t desc = LibyaFamily.12.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes option = { name = LibyaFamily.12.a log = "[GetDateText]: [This.GetName]: LibyaFamily.12.a executed" set_temp_variable = { family_instability_change = 15 } libya_gaddafi_family_modify_instability = yes } } #Saif withdrawds from his father's inner circle country_event = { id = LibyaFamily.13 title = LibyaFamily.13.t desc = LibyaFamily.13.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes option = { name = LibyaFamily.13.a log = "[GetDateText]: [This.GetName]: LibyaFamily.13.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes clr_country_flag = saif_al_islam_gaddafi_master_maneuverer update_gaddafi_family_ideas = yes LBA_saif_al_islam_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_lose_master_maneuverer_tt } } } #Saif wins libel case against Sunday Telegraph country_event = { id = LibyaFamily.14 title = LibyaFamily.14.t desc = LibyaFamily.14.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes option = { name = LibyaFamily.14.a log = "[GetDateText]: [This.GetName]: LibyaFamily.14.a executed" set_temp_variable = { family_instability_change = -15 } libya_gaddafi_family_modify_instability = yes } } #Saif settles libel case against Sunday Telegraph country_event = { id = LibyaFamily.15 title = LibyaFamily.15.t desc = LibyaFamily.15.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes option = { name = LibyaFamily.15.a log = "[GetDateText]: [This.GetName]: LibyaFamily.15.a executed" set_temp_variable = { family_instability_change = -10 } libya_gaddafi_family_modify_instability = yes } } #Saif loses libel case against Sunday Telegraph country_event = { id = LibyaFamily.16 title = LibyaFamily.16.t desc = LibyaFamily.16.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes option = { name = LibyaFamily.16.a log = "[GetDateText]: [This.GetName]: LibyaFamily.16.a executed" set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes } } #Saif wins young global leader award country_event = { id = LibyaFamily.17 title = LibyaFamily.17.t desc = LibyaFamily.17.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 2 has_country_flag = saif_al_islam_gaddafi_geopolitical_thinker } } trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_idea = international_sanctions } NOT = { has_country_flag = saif_al_islam_gaddafi_dead } NOT = { has_country_flag = saif_al_islam_gaddafi_exile } has_country_flag = saif_al_islam_gaddafi_master_maneuverer NOT = { has_country_leader = { name = "Saif al-Islam Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.17.a log = "[GetDateText]: [This.GetName]: LibyaFamily.17.a executed" set_temp_variable = { family_instability_change = -10 } libya_gaddafi_family_modify_instability = yes } } #Saif received PhD country_event = { id = LibyaFamily.18 title = LibyaFamily.18.t desc = LibyaFamily.18.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes fire_only_once = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_idea = international_sanctions } NOT = { has_country_flag = saif_al_islam_gaddafi_dead } NOT = { has_country_flag = saif_al_islam_gaddafi_exile } NOT = { has_country_leader = { name = "Saif al-Islam Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.18.a log = "[GetDateText]: [This.GetName]: LibyaFamily.18.a executed" set_temp_variable = { family_instability_change = -5 } libya_gaddafi_family_modify_instability = yes increase_economic_growth = yes random = { chance = 25 increase_corruption = yes } } } #Saif calls for reform country_event = { id = LibyaFamily.19 title = LibyaFamily.19.t desc = LibyaFamily.19.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 2 NOT = { has_country_flag = saif_al_islam_gaddafi_master_maneuverer } } modifier = { factor = 4 has_country_flag = saif_al_islam_gaddafi_exile } } trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = saif_al_islam_gaddafi_dead } NOT = { has_country_flag = saif_al_islam_gaddafi_geopolitical_thinker } NOT = { has_country_leader = { name = "Saif al-Islam Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.19.a log = "[GetDateText]: [This.GetName]: LibyaFamily.19.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes set_country_flag = saif_al_islam_gaddafi_democratic_reformer update_gaddafi_family_ideas = yes LBA_saif_al_islam_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_gain_democratic_reformer_tt } } } #Saif charity work country_event = { id = LibyaFamily.20 title = LibyaFamily.20.t desc = LibyaFamily.20.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = saif_al_islam_gaddafi_dead } NOT = { has_country_flag = saif_al_islam_gaddafi_exile } } option = { name = LibyaFamily.20.a log = "[GetDateText]: [This.GetName]: LibyaFamily.20.a executed" hidden_effect = { random_country = { limit = { is_in_africa = yes } set_temp_variable = { ROOT.influence_target = THIS } } } set_temp_variable = { percent_change = 4 } change_influence_percentage = yes } } #Saif's hunting accident country_event = { id = LibyaFamily.21 title = LibyaFamily.21.t desc = LibyaFamily.21.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = saif_al_islam_gaddafi_dead } NOT = { has_country_leader = { name = "Saif al-Islam Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.21.a log = "[GetDateText]: [This.GetName]: LibyaFamily.21.a executed" retire_character = LBA_saif_al_islam_gaddafi_dummy set_country_flag = saif_al_islam_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Al-Saadi finds success in football country_event = { id = LibyaFamily.22 title = LibyaFamily.22.t desc = LibyaFamily.22.d picture = GFX_libya_al_saad_gaddafi is_triggered_only = yes option = { name = LibyaFamily.22.a log = "[GetDateText]: [This.GetName]: LibyaFamily.22.a executed" set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes clr_country_flag = al_saadi_gaddafi_vain_football_star update_gaddafi_family_ideas = yes LBA_al_saadi_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_lose_vain_football_star_tt } } } #Al-Saadi doesn't make it country_event = { id = LibyaFamily.23 title = LibyaFamily.23.t desc = LibyaFamily.23.d picture = GFX_libya_al_saad_gaddafi is_triggered_only = yes option = { name = LibyaFamily.23.a log = "[GetDateText]: [This.GetName]: LibyaFamily.23.a executed" set_temp_variable = { family_instability_change = 15 } libya_gaddafi_family_modify_instability = yes } } #Al-Saadi becomes too big of a footballer country_event = { id = LibyaFamily.24 title = LibyaFamily.24.t desc = LibyaFamily.24.d picture = GFX_libya_al_saad_gaddafi is_triggered_only = yes option = { name = LibyaFamily.24.a log = "[GetDateText]: [This.GetName]: LibyaFamily.24.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes set_country_flag = al_saadi_gaddafi_playboy_lifestyle update_gaddafi_family_ideas = yes LBA_al_saadi_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_gain_playboy_lifestyle_tt } } } #Al-Saadi cracks down on football field country_event = { id = LibyaFamily.25 title = LibyaFamily.25.t desc = LibyaFamily.25.d picture = GFX_libya_al_saad_gaddafi is_triggered_only = yes trigger = { is_ruled_by_a_gaddafi = yes has_country_flag = al_saadi_gaddafi_vain_football_star NOT = { has_country_flag = al_saadi_gaddafi_dead } NOT = { has_country_flag = al_saadi_gaddafi_exile } NOT = { has_country_leader = { name = "Al-Saadi Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.25.a log = "[GetDateText]: [This.GetName]: LibyaFamily.25.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes } } #Al-Saadi overdoses country_event = { id = LibyaFamily.26 title = LibyaFamily.26.t desc = LibyaFamily.26.d picture = GFX_libya_al_saad_gaddafi is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 2 has_country_flag = al_saadi_gaddafi_playboy_lifestyle } } trigger = { is_ruled_by_a_gaddafi = yes has_country_flag = al_saadi_gaddafi_substance_abuser NOT = { has_country_flag = al_saadi_gaddafi_dead } NOT = { has_country_leader = { name = "Al-Saadi Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.26.a log = "[GetDateText]: [This.GetName]: LibyaFamily.26.a executed" retire_character = LBA_al_saadi_gaddafi_dummy set_country_flag = al_saadi_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Al-Saadi's succesful rehab country_event = { id = LibyaFamily.27 title = LibyaFamily.27.t desc = LibyaFamily.27.d picture = GFX_libya_al_saad_gaddafi is_triggered_only = yes option = { name = LibyaFamily.27.a log = "[GetDateText]: [This.GetName]: LibyaFamily.27.a executed" set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes clr_country_flag = al_saadi_gaddafi_substance_abuser update_gaddafi_family_ideas = yes LBA_al_saadi_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_lose_substance_abuser_tt } } } #Al-Saadi fails at rehab country_event = { id = LibyaFamily.28 title = LibyaFamily.28.t desc = LibyaFamily.28.d picture = GFX_libya_al_saad_gaddafi is_triggered_only = yes option = { name = LibyaFamily.28.a log = "[GetDateText]: [This.GetName]: LibyaFamily.28.a executed" set_temp_variable = { family_instability_change = 15 } libya_gaddafi_family_modify_instability = yes } } #Al-Saadi escapes Libya country_event = { id = LibyaFamily.29 title = LibyaFamily.29.t desc = LibyaFamily.29.d picture = GFX_libya_al_saad_gaddafi is_triggered_only = yes option = { name = LibyaFamily.29.a log = "[GetDateText]: [This.GetName]: LibyaFamily.29.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes set_country_flag = al_saadi_gaddafi_exile update_gaddafi_family_ideas = yes LBA_al_saadi_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_sent_to_exile_tt } } } #Al-Saadi shames his family country_event = { id = LibyaFamily.30 title = LibyaFamily.30.t desc = LibyaFamily.30.d picture = GFX_libya_al_saad_gaddafi is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 2 has_country_flag = al_saadi_gaddafi_playboy_lifestyle } } trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = al_saadi_gaddafi_dead } has_country_flag = al_saadi_gaddafi_exile has_country_flag = al_saadi_gaddafi_substance_abuser } option = { name = LibyaFamily.30.a log = "[GetDateText]: [This.GetName]: LibyaFamily.30.a executed" set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes } } #Mutassim Gaddafi oversteps boundaries country_event = { id = LibyaFamily.31 title = LibyaFamily.31.t desc = LibyaFamily.31.d picture = GFX_libya_mutassim_gaddafi is_triggered_only = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = mutassim_gaddafi_dead } NOT = { has_country_flag = mutassim_gaddafi_exile } has_country_flag = mutassim_gaddafi_national_security_advisor } option = { name = LibyaFamily.31.a log = "[GetDateText]: [This.GetName]: LibyaFamily.31.a executed" set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes } } #Mutassim finds a good deal country_event = { id = LibyaFamily.32 title = LibyaFamily.32.t desc = LibyaFamily.32.d picture = GFX_libya_mutassim_gaddafi is_triggered_only = yes option = { name = LibyaFamily.32.a log = "[GetDateText]: [This.GetName]: LibyaFamily.32.a executed" set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes add_equipment_to_stockpile = { type = infantry_weapons_type amount = 650 producer = SOV } add_equipment_to_stockpile = { type = L_AT_Equipment amount = 75 producer = SOV } add_equipment_to_stockpile = { type = H_AT_Equipment amount = 75 producer = SOV } add_equipment_to_stockpile = { type = AA_Equipment amount = 50 producer = SOV } add_equipment_to_stockpile = { type = cnc_equipment_type amount = 180 producer = SOV } add_equipment_to_stockpile = { type = util_vehicle_type amount = 120 producer = LBA } add_equipment_to_stockpile = { type = medium_tank_chassis amount = 50 producer = SOV } add_equipment_to_stockpile = { type = medium_tank_flame_chassis amount = 100 producer = SOV } add_equipment_to_stockpile = { type = medium_tank_amphibious_chassis amount = 75 producer = SOV } add_equipment_to_stockpile = { type = artillery_equipment amount = 30 producer = SOV } add_equipment_to_stockpile = { type = medium_tank_artillery_chassis amount = 10 producer = SOV } add_equipment_to_stockpile = { type = medium_tank_aa_chassis amount = 20 producer = SOV } } } #Mutassim finds an okay deal country_event = { id = LibyaFamily.33 title = LibyaFamily.33.t desc = LibyaFamily.33.d picture = GFX_libya_mutassim_gaddafi is_triggered_only = yes option = { name = LibyaFamily.33.a log = "[GetDateText]: [This.GetName]: LibyaFamily.33.a executed" set_temp_variable = { family_instability_change = 15 } libya_gaddafi_family_modify_instability = yes add_equipment_to_stockpile = { type = infantry_weapons_1 #AKM amount = 650 producer = SOV } add_equipment_to_stockpile = { type = Anti_tank_1 #AT-4 Fagot amount = 75 producer = SOV } add_equipment_to_stockpile = { type = Heavy_Anti_tank_0 #AT-3 Malyutka amount = 75 producer = SOV } add_equipment_to_stockpile = { type = Anti_Air_0 #Strela amount = 50 producer = SOV } add_equipment_to_stockpile = { type = cnc_equipment_1 amount = 180 producer = SOV } add_equipment_to_stockpile = { type = util_vehicle_1 amount = 120 producer = LBA } add_equipment_to_stockpile = { type = medium_tank_chassis_0 variant_name = "T-55" amount = 50 producer = SOV } add_equipment_to_stockpile = { type = medium_tank_flame_chassis_0 variant_name = "BMP-1" amount = 100 producer = SOV } add_equipment_to_stockpile = { type = medium_tank_amphibious_chassis_1 variant_name = "BTR-60" amount = 75 producer = SOV } add_equipment_to_stockpile = { type = artillery_0 #D-30 amount = 30 producer = SOV } add_equipment_to_stockpile = { type = medium_tank_artillery_chassis_0 variant_name = "2S1 Gvozdika" amount = 10 producer = SOV } add_equipment_to_stockpile = { type = SP_Anti_Air_0 #Shilka #version_name = "ZSU-23-4 Shilka" amount = 20 producer = SOV } } } #Mutassim doesn't find anything country_event = { id = LibyaFamily.34 title = LibyaFamily.34.t desc = LibyaFamily.34.d picture = GFX_libya_mutassim_gaddafi is_triggered_only = yes option = { name = LibyaFamily.34.a log = "[GetDateText]: [This.GetName]: LibyaFamily.34.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes } } #Mutassim Gaddafi expands Egyptian influence country_event = { id = LibyaFamily.35 title = LibyaFamily.35.t desc = LibyaFamily.35.d picture = GFX_libya_mutassim_gaddafi is_triggered_only = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = mutassim_gaddafi_dead } has_country_flag = mutassim_gaddafi_exile country_exists = EGY NOT = { EGY = { is_subject_of = ROOT } } } option = { name = LibyaFamily.35.a log = "[GetDateText]: [This.GetName]: LibyaFamily.35.a executed" set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = EGY } change_influence_percentage = yes } } #Muhammad Gaddafi leaves Libya for good country_event = { id = LibyaFamily.36 title = LibyaFamily.36.t desc = LibyaFamily.36.d picture = GFX_libya_muhammad_muammar_gaddafi is_triggered_only = yes fire_only_once = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = muhammad_muammar_gaddafi_dead } NOT = { has_country_flag = muhammad_muammar_gaddafi_exile } has_country_flag = muhammad_muammar_gaddafi_uninterested_in_politics NOT = { has_country_leader = { name = "Muhammad Muammar Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.36.a log = "[GetDateText]: [This.GetName]: LibyaFamily.36.a executed" retire_character = LBA_muhammad_muammar_gaddafi_dummy set_country_flag = muhammad_muammar_gaddafi_exile set_country_flag = muhammad_muammar_gaddafi_exile_permanent custom_effect_tooltip = LBA_muhammad_muammar_gaddafi_leaves_for_good_tt set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Mutassim Gaddafi murdered country_event = { id = LibyaFamily.37 title = LibyaFamily.37.t desc = LibyaFamily.37.d picture = GFX_libya_mutassim_gaddafi is_triggered_only = yes fire_only_once = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = mutassim_gaddafi_dead } NOT = { has_country_leader = { name = "Mutassim Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.37.a log = "[GetDateText]: [This.GetName]: LibyaFamily.37.a executed" retire_character = LBA_mutassim_gaddafi_dummy set_country_flag = mutassim_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Hannibal Gaddafi and wife arrested country_event = { id = LibyaFamily.38 title = LibyaFamily.38.t desc = LibyaFamily.38.d picture = GFX_hannibal_gaddafi is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 2 has_country_flag = hannibal_gaddafi_exile } } trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = hannibal_gaddafi_dead } NOT = { has_country_leader = { name = "Hannibal Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.38.a log = "[GetDateText]: [This.GetName]: LibyaFamily.38.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes set_country_flag = LBA_swiss_insults unlock_decision_tooltip = libya_gaddafi_family_abolish_switzerland_gaddafi } } #Hannibal Gaddafi drowns country_event = { id = LibyaFamily.39 title = LibyaFamily.39.t desc = LibyaFamily.39.d picture = GFX_hannibal_gaddafi is_triggered_only = yes fire_only_once = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = hannibal_gaddafi_dead } NOT = { has_country_leader = { name = "Hannibal Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.39.a log = "[GetDateText]: [This.GetName]: LibyaFamily.39.a executed" retire_character = LBA_hannibal_gaddafi_dummy set_country_flag = hannibal_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Ayesha Gaddafi made UN Goodwill Ambassador country_event = { id = LibyaFamily.40 title = LibyaFamily.40.t desc = LibyaFamily.40.d picture = GFX_libya_ayesha_gaddafi is_triggered_only = yes fire_only_once = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = ayesha_gaddafi_dead } NOT = { has_country_flag = ayesha_gaddafi_exile } NOT = { has_idea = international_sanctions } has_added_tension_amount < 5 NOT = { has_country_leader = { name = "Ayesha Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.40.a log = "[GetDateText]: [This.GetName]: LibyaFamily.40.a executed" set_country_flag = ayesha_gaddafi_un_goodwill_ambassador update_gaddafi_family_ideas = yes LBA_ayesha_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_gain_un_goodwill_ambassador_tt } } } #Ayesha Gaddafi becomes a military genius country_event = { id = LibyaFamily.41 title = LibyaFamily.41.t desc = LibyaFamily.41.d picture = GFX_libya_ayesha_gaddafi is_triggered_only = yes option = { name = LibyaFamily.41.a log = "[GetDateText]: [This.GetName]: LibyaFamily.41.a executed" set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes set_country_flag = ayesha_gaddafi_amazon_of_libya update_gaddafi_family_ideas = yes LBA_ayesha_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_gain_amazon_of_libya_tt } } } #Ayesha Gaddafi promoted to general country_event = { id = LibyaFamily.42 title = LibyaFamily.42.t desc = LibyaFamily.42.d picture = GFX_libya_ayesha_gaddafi is_triggered_only = yes option = { name = LibyaFamily.42.a log = "[GetDateText]: [This.GetName]: LibyaFamily.42.a executed" set_temp_variable = { family_instability_change = 15 } libya_gaddafi_family_modify_instability = yes army_experience = 50 } } #Ayesha Gaddafi becomes a bad general country_event = { id = LibyaFamily.43 title = LibyaFamily.43.t desc = LibyaFamily.43.d picture = GFX_libya_ayesha_gaddafi is_triggered_only = yes option = { name = LibyaFamily.43.a log = "[GetDateText]: [This.GetName]: LibyaFamily.43.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes set_country_flag = ayesha_gaddafi_inexperienced_general update_gaddafi_family_ideas = yes LBA_ayesha_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_gain_inexperienced_general_tt } } } #Ayesha Gaddafi criticises status of women country_event = { id = LibyaFamily.44 title = LibyaFamily.44.t desc = LibyaFamily.44.d picture = GFX_libya_ayesha_gaddafi is_triggered_only = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = ayesha_gaddafi_dead } has_country_flag = ayesha_gaddafi_exile NOT = { has_country_leader = { name = "Ayesha Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.44.a log = "[GetDateText]: [This.GetName]: LibyaFamily.44.a executed" set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes } } #Ayesha Gaddafi dies in childbirth country_event = { id = LibyaFamily.45 title = LibyaFamily.45.t desc = LibyaFamily.45.d picture = GFX_libya_ayesha_gaddafi is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 0.5 has_country_flag = ayesha_gaddafi_exile } } trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = ayesha_gaddafi_dead } NOT = { has_country_leader = { name = "Ayesha Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.45.a log = "[GetDateText]: [This.GetName]: LibyaFamily.45.a executed" retire_character = LBA_ayesha_gaddafi_dummy set_country_flag = ayesha_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Saif al-Arab suspected of planned acid attack country_event = { id = LibyaFamily.46 title = LibyaFamily.46.t desc = LibyaFamily.46.d picture = GFX_libya_saif_al_arab_gaddafi is_triggered_only = yes fire_only_once = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = saif_al_arab_gaddafi_dead } NOT = { has_country_flag = saif_al_arab_gaddafi_convicted_criminal } NOT = { has_idea = international_sanctions } NOT = { has_country_leader = { name = "Saif al-Arab Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.46.a log = "[GetDateText]: [This.GetName]: LibyaFamily.46.a executed" ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes random = { chance = 25 set_country_flag = saif_al_arab_gaddafi_convicted_criminal update_gaddafi_family_ideas = yes LBA_saif_al_arab_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_gain_convicted_criminal_tt } } } option = { name = LibyaFamily.46.b log = "[GetDateText]: [This.GetName]: LibyaFamily.46.b executed" trigger = { NOT = { has_country_flag = saif_al_arab_gaddafi_exile } } ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes add_political_power = -100 } } #Saif al-Arab suspected of arms smuggling country_event = { id = LibyaFamily.47 title = LibyaFamily.47.t desc = LibyaFamily.47.d picture = GFX_libya_saif_al_arab_gaddafi is_triggered_only = yes fire_only_once = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = saif_al_arab_gaddafi_dead } NOT = { has_country_flag = saif_al_arab_gaddafi_convicted_criminal } NOT = { has_idea = international_sanctions } NOT = { has_country_leader = { name = "Saif al-Arab Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.47.a log = "[GetDateText]: [This.GetName]: LibyaFamily.47.a executed" ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes random = { chance = 25 set_country_flag = saif_al_arab_gaddafi_convicted_criminal update_gaddafi_family_ideas = yes LBA_saif_al_arab_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_gain_convicted_criminal_tt } } } option = { name = LibyaFamily.47.b log = "[GetDateText]: [This.GetName]: LibyaFamily.47.b executed" ai_chance = { base = 50 } trigger = { NOT = { has_country_flag = saif_al_arab_gaddafi_exile } } set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes add_political_power = -100 } } #Saif al-Arab's Ferrari is impounded country_event = { id = LibyaFamily.48 title = LibyaFamily.48.t desc = LibyaFamily.48.d picture = GFX_libya_saif_al_arab_gaddafi is_triggered_only = yes fire_only_once = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = saif_al_arab_gaddafi_dead } NOT = { has_country_flag = saif_al_arab_gaddafi_convicted_criminal } NOT = { has_idea = international_sanctions } NOT = { has_country_leader = { name = "Saif al-Arab Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.48.a log = "[GetDateText]: [This.GetName]: LibyaFamily.48.a executed" ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes random = { chance = 25 set_country_flag = saif_al_arab_gaddafi_convicted_criminal update_gaddafi_family_ideas = yes LBA_saif_al_arab_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_gain_convicted_criminal_tt } } } option = { name = LibyaFamily.48.b log = "[GetDateText]: [This.GetName]: LibyaFamily.48.b executed" ai_chance = { base = 50 } trigger = { NOT = { has_country_flag = saif_al_arab_gaddafi_exile } } set_temp_variable = { family_instability_change = 10 } libya_gaddafi_family_modify_instability = yes add_political_power = -100 } } #Saif al-Arab dies in prison country_event = { id = LibyaFamily.49 title = LibyaFamily.49.t desc = LibyaFamily.49.d picture = GFX_libya_saif_al_arab_gaddafi is_triggered_only = yes fire_only_once = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = saif_al_arab_gaddafi_dead } has_country_flag = saif_al_arab_gaddafi_convicted_criminal NOT = { has_country_leader = { name = "Saif al-Arab Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.49.a log = "[GetDateText]: [This.GetName]: LibyaFamily.49.a executed" retire_character = LBA_saif_al_arab_dummy set_country_flag = saif_al_arab_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Khamis Gaddafi comes of age country_event = { id = LibyaFamily.50 title = LibyaFamily.50.t desc = LibyaFamily.50.d picture = GFX_khamis_gaddafi is_triggered_only = yes fire_only_once = yes trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = khamis_gaddafi_dead } NOT = { has_country_leader = { name = "Khamis Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.50.a log = "[GetDateText]: [This.GetName]: LibyaFamily.50.a executed" clr_country_flag = khamis_gaddafi_underage LBA_khamis_gaddafi_dummy = { custom_effect_tooltip = gaddafi_family_lose_underage_tt } update_gaddafi_family_ideas = yes custom_effect_tooltip = khamis_gaddafi_unlock_decisions_tt } } #Khamis Gaddafi's helicopter crashes country_event = { id = LibyaFamily.51 title = LibyaFamily.51.t desc = LibyaFamily.51.d picture = GFX_khamis_gaddafi is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 5 has_war = yes } } trigger = { is_ruled_by_a_gaddafi = yes NOT = { has_country_flag = khamis_gaddafi_dead } LBA_khamis_gaddafi_dummy = { is_army_leader = yes } NOT = { has_country_leader = { name = "Khamis Gaddafi" ruling_only = yes } } } option = { name = LibyaFamily.51.a log = "[GetDateText]: [This.GetName]: LibyaFamily.51.a executed" retire_character = LBA_khamis_gaddafi_dummy set_country_flag = khamis_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Great speech at the UN country_event = { id = LibyaFamily.53 title = LibyaFamily.53.t desc = LibyaFamily.53.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.53.a log = "[GetDateText]: [This.GetName]: LibyaFamily.53.a executed" set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_humbled_the_un days = 360 } } } #OK speech at the UN country_event = { id = LibyaFamily.54 title = LibyaFamily.54.t desc = LibyaFamily.54.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.54.a log = "[GetDateText]: [This.GetName]: LibyaFamily.54.a executed" set_temp_variable = { family_instability_change = 15 } libya_gaddafi_family_modify_instability = yes set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes } } #Horrible speech at the UN country_event = { id = LibyaFamily.55 title = LibyaFamily.55.t desc = LibyaFamily.55.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.55.a log = "[GetDateText]: [This.GetName]: LibyaFamily.55.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_humbled_by_the_un days = 360 } } } #People interpret the message correctly country_event = { id = LibyaFamily.56 title = LibyaFamily.56.t desc = LibyaFamily.56.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.56.a log = "[GetDateText]: [This.GetName]: LibyaFamily.56.a executed" set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_people_motivated_to_work days = 360 } } } #People are happy for charity country_event = { id = LibyaFamily.57 title = LibyaFamily.57.t desc = LibyaFamily.57.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.57.a log = "[GetDateText]: [This.GetName]: LibyaFamily.57.a executed" set_temp_variable = { family_instability_change = 15 } libya_gaddafi_family_modify_instability = yes add_stability = 0.025 } } #People misunderstand the message country_event = { id = LibyaFamily.58 title = LibyaFamily.58.t desc = LibyaFamily.58.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.58.a log = "[GetDateText]: [This.GetName]: LibyaFamily.58.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_people_unmotivated_to_work days = 360 } } } #The car is a sucess country_event = { id = LibyaFamily.59 title = LibyaFamily.59.t desc = LibyaFamily.59.d picture = GFX_gaddafis_car is_triggered_only = yes option = { name = LibyaFamily.59.a log = "[GetDateText]: [This.GetName]: LibyaFamily.59.a executed" ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_gaddafis_car_rocket days = 360 } } option = { name = LibyaFamily.59.b log = "[GetDateText]: [This.GetName]: LibyaFamily.59.b executed" ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_gaddafis_car_bucket days = 360 } } option = { name = LibyaFamily.59.c log = "[GetDateText]: [This.GetName]: LibyaFamily.59.c executed" ai_chance = { base = 50 } set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_gaddafis_car_packet days = 360 } } } #The car has some ideas country_event = { id = LibyaFamily.60 title = LibyaFamily.60.t desc = LibyaFamily.60.d picture = GFX_gaddafis_car is_triggered_only = yes option = { name = LibyaFamily.60.a log = "[GetDateText]: [This.GetName]: LibyaFamily.60.a executed" set_temp_variable = { family_instability_change = 15 } libya_gaddafi_family_modify_instability = yes add_tech_bonus = { name = LibyaFamily.60.t category = Cat_UTIL bonus = 0.50 uses = 1 } } } #The car is a disaster country_event = { id = LibyaFamily.61 title = LibyaFamily.61.t desc = LibyaFamily.61.d picture = GFX_gaddafis_car is_triggered_only = yes option = { name = LibyaFamily.61.a log = "[GetDateText]: [This.GetName]: LibyaFamily.61.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_gaddafis_car_increased_road_fatalities days = 360 } } } #A succesfull state visit country_event = { id = LibyaFamily.62 title = LibyaFamily.62.t desc = LibyaFamily.62.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.62.a log = "[GetDateText]: [This.GetName]: LibyaFamily.62.a executed" set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_show_of_greatness days = 360 } clear_variable = libya_state_visit_target } } #A mediocre state visit country_event = { id = LibyaFamily.63 title = LibyaFamily.63.t desc = LibyaFamily.63.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.63.a log = "[GetDateText]: [This.GetName]: LibyaFamily.63.a executed" set_temp_variable = { family_instability_change = 15 } libya_gaddafi_family_modify_instability = yes add_political_power = 200 clear_variable = libya_state_visit_target } } #A horrible state visit country_event = { id = LibyaFamily.64 title = LibyaFamily.64.t desc = LibyaFamily.64.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.64.a log = "[GetDateText]: [This.GetName]: LibyaFamily.64.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_show_of_failure days = 360 } clear_variable = libya_state_visit_target } } #Succesful Black Magic country_event = { id = LibyaFamily.65 title = LibyaFamily.65.t desc = LibyaFamily.65.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.65.a log = "[GetDateText]: [This.GetName]: LibyaFamily.65.a executed" set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_good_juju days = 360 } } } #An invigoriating ritual country_event = { id = LibyaFamily.66 title = LibyaFamily.66.t desc = LibyaFamily.66.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.66.a log = "[GetDateText]: [This.GetName]: LibyaFamily.66.a executed" set_temp_variable = { family_instability_change = 15 } libya_gaddafi_family_modify_instability = yes add_war_support = 0.10 } } #A failed ritual country_event = { id = LibyaFamily.67 title = LibyaFamily.67.t desc = LibyaFamily.67.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.67.a log = "[GetDateText]: [This.GetName]: LibyaFamily.67.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_bad_juju days = 360 } } } #Succesful Lecture country_event = { id = LibyaFamily.68 title = LibyaFamily.68.t desc = LibyaFamily.68.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.68.a log = "[GetDateText]: [This.GetName]: LibyaFamily.68.a executed" set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_emancipator_of_women days = 360 } } } #Mediocre lecture country_event = { id = LibyaFamily.69 title = LibyaFamily.69.t desc = LibyaFamily.69.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.69.a log = "[GetDateText]: [This.GetName]: LibyaFamily.69.a executed" set_temp_variable = { family_instability_change = 15 } libya_gaddafi_family_modify_instability = yes random_owned_state = { add_dynamic_modifier = { modifier = LBA_immigration_target days = 365 } } } } #Lecture causes outrage country_event = { id = LibyaFamily.70 title = LibyaFamily.70.t desc = LibyaFamily.70.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.70.a log = "[GetDateText]: [This.GetName]: LibyaFamily.70.a executed" set_temp_variable = { family_instability_change = 20 } libya_gaddafi_family_modify_instability = yes add_timed_idea = { idea = LBA_oppressor_of_women days = 360 } } } #Libya calls for the dismantling of Switzerland - Italy/Germany/France country_event = { id = LibyaFamily.71 title = LibyaFamily.71.t desc = LibyaFamily.71.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.71.a log = "[GetDateText]: [This.GetName]: LibyaFamily.71.a executed" ai_chance = { base = 50 modifier = { factor = 0 has_idea = NATO_member } } if = { limit = { original_tag = ITA } add_state_claim = 73 } if = { limit = { original_tag = GER } add_state_claim = 74 } if = { limit = { original_tag = FRA } add_state_claim = 72 } add_opinion_modifier = { target = SWI modifier = called_for_our_destruction } reverse_add_opinion_modifier = { target = SWI modifier = called_for_our_destruction } effect_tooltip = { set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = LBA } change_influence_percentage = yes } FROM = { country_event = { id = LibyaFamily.72 hours = 6 } } } option = { name = LibyaFamily.71.b log = "[GetDateText]: [This.GetName]: LibyaFamily.71.b executed" ai_chance = { base = 50 modifier = { factor = 0 has_government = nationalist } } add_opinion_modifier = { target = SWI modifier = diplomatic_support } reverse_add_opinion_modifier = { target = SWI modifier = diplomatic_support } FROM = { country_event = { id = LibyaFamily.73 hours = 6 } } } } #Country agrees with us - Libya country_event = { id = LibyaFamily.72 title = LibyaFamily.72.t desc = LibyaFamily.72.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.72.a log = "[GetDateText]: [This.GetName]: LibyaFamily.72.a executed" set_temp_variable = { influence_target = FROM } set_temp_variable = { percent_change = 5 } change_influence_percentage = yes } } #Country agrees with us - Libya country_event = { id = LibyaFamily.73 title = LibyaFamily.73.t desc = LibyaFamily.73.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.73.a } } #Libya calls for the dismantling of Switzerland - Switzerland country_event = { id = LibyaFamily.74 title = LibyaFamily.74.t desc = LibyaFamily.74.d picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.74.a log = "[GetDateText]: [This.GetName]: LibyaFamily.74.a executed" effect_tooltip = { add_opinion_modifier = { target = FROM modifier = diplomatic_support } reverse_add_opinion_modifier = { target = FROM modifier = diplomatic_support } } } } #Muammar Gaddafi Dies country_event = { id = LibyaFamily.75 title = LibyaFamily.75.t desc = { text = LibyaFamily.75.d trigger = { any_of_scopes = { array = global.nato_members has_country_flag = intervene_in_libya } } } desc = { text = LibyaFamily.75.d.airstrike trigger = { NOT = { any_of_scopes = { array = global.nato_members has_country_flag = intervene_in_libya } } } } picture = GFX_libya_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.75.a log = "[GetDateText]: [This.GetName]: LibyaFamily.75.a executed" set_country_flag = muammar_gaddafi_dead kill_country_leader = yes set_leader = yes update_gaddafi_family_ideas = yes add_war_support = -0.20 set_temp_variable = { family_instability_change = 40 } libya_gaddafi_family_modify_instability = yes hidden_effect = { news_event = { id = LibyaFocusNews.20 hours = 6 } } } } #Muhammad Gaddafi killed by rebels country_event = { id = LibyaFamily.76 title = LibyaFamily.76.t desc = LibyaFamily.76.d picture = GFX_libya_muhammad_muammar_gaddafi is_triggered_only = yes option = { name = LibyaFamily.76.a log = "[GetDateText]: [This.GetName]: LibyaFamily.76.a executed" retire_character = LBA_muhammad_muammar_gaddafi_dummy set_country_flag = muhammad_muammar_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Saif al-Islam Gaddafi killed by rebels country_event = { id = LibyaFamily.77 title = LibyaFamily.77.t desc = LibyaFamily.77.d picture = GFX_libya_saif_al_islam_gaddafi is_triggered_only = yes option = { name = LibyaFamily.77.a log = "[GetDateText]: [This.GetName]: LibyaFamily.77.a executed" retire_character = LBA_saif_al_islam_gaddafi_dummy set_country_flag = saif_al_islam_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Al-Saadi Gaddafi killed by rebels country_event = { id = LibyaFamily.78 title = LibyaFamily.78.t desc = LibyaFamily.78.d picture = GFX_libya_al_saad_gaddafi is_triggered_only = yes option = { name = LibyaFamily.78.a log = "[GetDateText]: [This.GetName]: LibyaFamily.78.a executed" retire_character = LBA_al_saadi_gaddafi_dummy set_country_flag = al_saadi_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Mutassim Gaddafi killed by rebels country_event = { id = LibyaFamily.79 title = LibyaFamily.79.t desc = LibyaFamily.79.d picture = GFX_libya_mutassim_gaddafi is_triggered_only = yes option = { name = LibyaFamily.79.a log = "[GetDateText]: [This.GetName]: LibyaFamily.79.a executed" retire_character = LBA_mutassim_gaddafi_dummy set_country_flag = mutassim_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Hannibal Gaddafi killed by rebels country_event = { id = LibyaFamily.80 title = LibyaFamily.80.t desc = LibyaFamily.80.d picture = GFX_hannibal_gaddafi is_triggered_only = yes option = { name = LibyaFamily.80.a log = "[GetDateText]: [This.GetName]: LibyaFamily.80.a executed" retire_character = LBA_hannibal_gaddafi_dummy set_country_flag = hannibal_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Ayesha Gaddafi killed by rebels country_event = { id = LibyaFamily.81 title = LibyaFamily.81.t desc = LibyaFamily.81.d picture = GFX_hannibal_gaddafi is_triggered_only = yes option = { name = LibyaFamily.81.a log = "[GetDateText]: [This.GetName]: LibyaFamily.81.a executed" retire_character = LBA_ayesha_gaddafi_dummy set_country_flag = ayesha_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Saif al-Arab Gaddafi killed by rebels country_event = { id = LibyaFamily.82 title = LibyaFamily.82.t desc = LibyaFamily.82.d picture = GFX_libya_saif_al_arab_gaddafi is_triggered_only = yes option = { name = LibyaFamily.82.a log = "[GetDateText]: [This.GetName]: LibyaFamily.82.a executed" retire_character = LBA_saif_al_arab_dummy set_country_flag = saif_al_arab_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Khamis Gaddafi killed by rebels country_event = { id = LibyaFamily.83 title = LibyaFamily.83.t desc = LibyaFamily.83.d picture = GFX_khamis_gaddafi is_triggered_only = yes option = { name = LibyaFamily.83.a log = "[GetDateText]: [This.GetName]: LibyaFamily.83.a executed" retire_character = LBA_khamis_gaddafi_dummy set_country_flag = khamis_gaddafi_dead set_temp_variable = { family_instability_change = 30 } libya_gaddafi_family_modify_instability = yes libya_find_next_gaddafi_heir = yes update_gaddafi_family_ideas = yes } } #Libyan National Democratic Front expands in Libya country_event = { id = LibyaCivilWar.1 title = LibyaCivilWar.1.t desc = LibyaCivilWar.1.d picture = GFX_libya_opposition_groups is_triggered_only = yes trigger = { original_tag = LBA has_active_mission = libya_gaddafi_family_anti_government_protests } option = { name = LibyaCivilWar.1.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.1.a executed" set_temp_variable = { party_index = 3 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = USA } change_influence_percentage = yes } } #Libyan Communist Party starts operations country_event = { id = LibyaCivilWar.2 title = LibyaCivilWar.2.t desc = LibyaCivilWar.2.d picture = GFX_libya_opposition_groups is_triggered_only = yes trigger = { original_tag = LBA has_active_mission = libya_gaddafi_family_anti_government_protests } option = { name = LibyaCivilWar.2.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.2.a executed" set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.025 } set_temp_variable = { temp_outlook_increase = 0.025 } change_relative_party_popularity = yes set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = 1 } set_temp_variable = { tag_index = ITA } change_influence_percentage = yes } } #Soldiers defect to LIFG country_event = { id = LibyaCivilWar.3 title = LibyaCivilWar.3.t desc = LibyaCivilWar.3.d picture = GFX_libya_opposition_groups is_triggered_only = yes trigger = { original_tag = LBA has_active_mission = libya_gaddafi_family_anti_government_protests } option = { name = LibyaCivilWar.3.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.3.a executed" set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes add_manpower = -1500 } } #NFSL calls for unity among rebels country_event = { id = LibyaCivilWar.4 title = LibyaCivilWar.4.t desc = LibyaCivilWar.4.d picture = GFX_libya_opposition_groups is_triggered_only = yes trigger = { original_tag = LBA has_active_mission = libya_gaddafi_family_anti_government_protests } option = { name = LibyaCivilWar.4.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.4.a executed" set_temp_variable = { party_index = 14 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes } } #Baathists call for democracy country_event = { id = LibyaCivilWar.5 title = LibyaCivilWar.5.t desc = LibyaCivilWar.5.d picture = GFX_libya_opposition_groups is_triggered_only = yes trigger = { original_tag = LBA has_active_mission = libya_gaddafi_family_anti_government_protests } option = { name = LibyaCivilWar.5.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.5.a executed" set_temp_variable = { party_index = 21 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes if = { limit = { IRQ = { check_variable = { ruling_party = 21 } } } set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = IRQ } change_influence_percentage = yes } } } #Army ignores protesters country_event = { id = LibyaCivilWar.6 title = LibyaCivilWar.6.t desc = LibyaCivilWar.6.d picture = GFX_libya_2011_protests is_triggered_only = yes trigger = { original_tag = LBA has_active_mission = libya_gaddafi_family_anti_government_protests OR = { has_idea = LBA_revolutionary_guard_corps has_idea = LBA_revolutionary_guard_corps_expanded has_idea = LBA_revolutionary_guard_corps_logistics has_idea = LBA_revolutionary_guard_corps_logistics_with_research } } option = { name = LibyaCivilWar.6.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.6.a executed" set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes add_days_mission_timeout = { mission = libya_gaddafi_family_anti_government_protests days = -15 } } } #Revolutionary Guard Corps ignores protestors country_event = { id = LibyaCivilWar.7 title = LibyaCivilWar.7.t desc = LibyaCivilWar.7.d picture = GFX_libya_2011_protests is_triggered_only = yes trigger = { original_tag = LBA has_active_mission = libya_gaddafi_family_anti_government_protests OR = { has_idea = LBA_armed_forces_of_arab_jamahiriya has_idea = LBA_armed_forces_of_arab_jamahiriya_expanded has_idea = LBA_armed_forces_of_arab_jamahiriya_expanded_with_research } } option = { name = LibyaCivilWar.7.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.7.a executed" set_temp_variable = { party_index = 7 } set_temp_variable = { party_popularity_increase = -0.05 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes add_days_mission_timeout = { mission = libya_gaddafi_family_anti_government_protests days = -15 } } } #Royal family campaigns against Gaddafi country_event = { id = LibyaCivilWar.8 title = LibyaCivilWar.8.t desc = LibyaCivilWar.8.d picture = GFX_libya_regime_defections is_triggered_only = yes trigger = { original_tag = LBA has_active_mission = libya_gaddafi_family_anti_government_protests } option = { name = LibyaCivilWar.8.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.8.a executed" set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes set_temp_variable = { percent_change = -5 } change_domestic_influence_percentage = yes } } #Government minister resigns country_event = { id = LibyaCivilWar.9 title = LibyaCivilWar.9.t desc = LibyaCivilWar.9.d picture = GFX_libya_regime_defections is_triggered_only = yes trigger = { original_tag = LBA has_active_mission = libya_gaddafi_family_anti_government_protests } option = { name = LibyaCivilWar.9.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.9.a executed" set_temp_variable = { family_instability_change = 5 } libya_gaddafi_family_modify_instability = yes } } #Ambassador resigns country_event = { id = LibyaCivilWar.10 title = LibyaCivilWar.10.t desc = LibyaCivilWar.10.d picture = GFX_libya_regime_defections is_triggered_only = yes trigger = { original_tag = LBA has_active_mission = libya_gaddafi_family_anti_government_protests } option = { name = LibyaCivilWar.10.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.10.a executed" random_country = { set_temp_variable = { tag_index = THIS } } set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } #Military unit defects country_event = { id = LibyaCivilWar.11 title = LibyaCivilWar.11.t desc = LibyaCivilWar.11.d picture = GFX_libya_military_defections is_triggered_only = yes trigger = { original_tag = LBA has_active_mission = libya_gaddafi_family_anti_government_protests } option = { name = LibyaCivilWar.11.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.11.a executed" random_country_division = { destroy_unit = yes } } } #Rebels raid military stockpile country_event = { id = LibyaCivilWar.12 title = LibyaCivilWar.12.t desc = LibyaCivilWar.12.d picture = GFX_libya_military_defections is_triggered_only = yes trigger = { original_tag = LBA has_active_mission = libya_gaddafi_family_anti_government_protests } option = { name = LibyaCivilWar.12.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.12.a executed" set_equipment_fraction = 0.9 } } #Pilots abandon the country country_event = { id = LibyaCivilWar.13 title = LibyaCivilWar.13.t desc = LibyaCivilWar.13.d picture = GFX_libya_military_defections is_triggered_only = yes trigger = { original_tag = LBA has_active_mission = libya_gaddafi_family_anti_government_protests OR = { has_equipment = { small_plane_airframe_1 > 5 } has_equipment = { small_plane_strike_airframe_1 > 5 } has_equipment = { medium_plane_fighter_airframe_1 > 5 } } country_exists = MLT } option = { name = LibyaCivilWar.13.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.13.a executed" if = { limit = { has_equipment = { small_plane_airframe_1 > 5 } } send_equipment = { type = small_plane_airframe_1 amount = 5 target = MLT } } else_if = { limit = { has_equipment = { small_plane_strike_airframe_1 > 5 } } send_equipment = { type = small_plane_strike_airframe_1 amount = 5 target = MLT } } else_if = { limit = { has_equipment = { medium_plane_fighter_airframe_1 > 5 } } send_equipment = { type = medium_plane_fighter_airframe_1 amount = 5 target = MLT } } } } #Sailors abandon the country country_event = { id = LibyaCivilWar.14 title = LibyaCivilWar.14.t desc = LibyaCivilWar.14.d picture = GFX_libya_military_defections is_triggered_only = yes trigger = { original_tag = LBA country_exists = ITA has_active_mission = libya_gaddafi_family_anti_government_protests OR = { has_navy_size = { size > 0 archetype = corvette } has_navy_size = { size > 0 archetype = attack_submarine } } } option = { name = LibyaCivilWar.14.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.14.a executed" if = { limit = { has_navy_size = { size > 0 archetype = corvette } } destroy_ships = { type = corvette count = 1 } } else_if = { limit = { has_navy_size = { size > 0 archetype = attack_submarine } } destroy_ships = { type = attack_submarine count = 1 } } } } #Choosing a side in civil war country_event = { id = LibyaCivilWar.15 title = LibyaCivilWar.15.t desc = LibyaCivilWar.15.d picture = GFX_libya_revolution is_triggered_only = yes option = { name = LibyaCivilWar.15.a log = "[GetDateText]: [This.GetName]: LibyaCivilWar.15.a executed" ai_chance = { base = 50 modifier = { factor = 0 LBA_ai_historical_path = yes } } #Find the strongest non-government party set_temp_variable = { opposition_party_index = 0 } set_temp_variable = { opposition_party_popularity = 0 } for_each_loop = { array = party_pop_array value = v index = i break = break if = { limit = { check_variable = { v > opposition_party_popularity } NOT = { AND = { has_variable = ruling_party check_variable = { ruling_party = i } } } NOT = { is_in_array = { gov_coalition_array = i } } } set_temp_variable = { opposition_party_index = i } set_temp_variable = { opposition_party_popularity = v } } } #Set size for the civil war (2xpopularity, 3x if Revolutionary Guard deployed) if = { limit = { has_country_flag = LBA_military_used_on_protesters } multiply_temp_variable = { opposition_party_popularity = 3 } } else = { multiply_temp_variable = { opposition_party_popularity = 2 } } clamp_temp_variable = { var = opposition_party_popularity min = 0 max = 0.8 } custom_effect_tooltip = start_civil_war_against_the_strongest_opposition_tt set_cosmetic_tag = LBA_GADDAFI_LOYALISTS clr_country_flag = dynamic_flag clr_country_flag = dynamic_rebel_flag set_country_flag = LBA_this_is_gaddafi hidden_effect = { #Start the civil war if = { limit = { check_variable = { opposition_party_index < 4 } } start_civil_war = { ideology = democratic size = opposition_party_popularity keep_all_characters = yes } } if = { limit = { check_variable = { opposition_party_index > 3 } check_variable = { opposition_party_index < 10 } } start_civil_war = { ideology = communism size = opposition_party_popularity keep_all_characters = yes } } if = { limit = { check_variable = { opposition_party_index > 9 } check_variable = { opposition_party_index < 12 } } start_civil_war = { ideology = fascism size = opposition_party_popularity keep_all_characters = yes } } if = { limit = { check_variable = { opposition_party_index > 11 } check_variable = { opposition_party_index < 20 } } start_civil_war = { ideology = neutrality size = opposition_party_popularity keep_all_characters = yes } } if = { limit = { check_variable = { opposition_party_index > 19 } } start_civil_war = { ideology = nationalist size = opposition_party_popularity keep_all_characters = yes } } #Set the revolting side correctly random_enemy_country = { limit = { original_tag = ROOT } set_temp_variable = { rul_party_temp = opposition_party_index } change_ruling_party_effect = yes set_cosmetic_tag = GNA_NTC clr_country_flag = dynamic_flag clr_country_flag = dynamic_rebel_flag set_country_flag = LBA_fall_of_gaddafi set_country_flag = LBA_this_is_libyan_rebels set_country_flag = LBA_democratic_reform set_country_flag = generic_civil_war_skip_elections LBA_nato_support_libyan_rebels = yes random_owned_state = { PREV = { set_capital = { state = PREV } } } country_event = LibyaCivilWarContent.13 } if = { limit = { country_exists = LRB } LBA_abdel_hakim_al_hasidi = { set_nationality = LRB } LBA_mahdi_al_harati = { set_nationality = LRB } LBA_osama_al_juwaili = { set_nationality = LRB } LBA_suleiman_mahmoud_al_obeidi = { set_nationality = LRB add_field_marshal_role = { skill = 4 traits = { old_guard armor_officer harsh_leader organizer organizer_expert fast_planner LBA_unit_leader_trait_cyrenaica } attack_skill = 2 defense_skill = 5 planning_skill = 1 logistics_skill = 6 } add_advisor_role = { advisor = { slot = army_chief idea_token = suleiman_mahmoud_al_obeidi traits = { army_chief_reform_1 } cost = 100 } } } LBA_khalifa_haftar = { set_nationality = LRB } random = { chance = 50 LBA_ahmed_oun = { set_nationality = LRB } } random = { chance = 50 LBA_abdul_fatah_younis = { set_nationality = LRB } } } add_named_threat = { threat = 5 name = LBA_first_libyan_civil_war_tension } country_event = LibyaCivilWarContent.14 } set_global_flag = first_libyan_civil_war if = { limit = { has_country_flag = LBA_military_used_on_protesters } hidden_effect = { for_each_scope_loop = { array = global.nato_members set_country_flag = intervene_in_libya } } } hidden_effect = { news_event = { id = LibyaFocusNews.14 hours = 6 } } } option = { name = LibyaCivilWar.15.b log = "[GetDateText]: [This.GetName]: LibyaCivilWar.15.b executed" ai_chance = { base = 50 modifier = { factor = 0 OR = { LBA_ai_gaddafi_regime_path = yes LBA_ai_islamist_path = yes } } } #Find the strongest non-government party set_temp_variable = { opposition_party_index = 0 } set_temp_variable = { opposition_party_popularity = 0 } for_each_loop = { array = party_pop_array value = v index = i break = break if = { limit = { check_variable = { v > opposition_party_popularity } NOT = { AND = { has_variable = ruling_party check_variable = { ruling_party = i } } } NOT = { is_in_array = { gov_coalition_array = i } } } set_temp_variable = { opposition_party_index = i } set_temp_variable = { opposition_party_popularity = v } } } multiply_temp_variable = { opposition_party_popularity = 2 } clamp_temp_variable = { var = opposition_party_popularity min = 0 max = 0.8 } multiply_temp_variable = { opposition_party_popularity = -1 } add_to_temp_variable = { opposition_party_popularity = 1 } custom_effect_tooltip = libya_gaddafi_family_anti_government_protests_join_rebels_tt hidden_effect = { set_temp_variable = { rul_party_temp = opposition_party_index } set_temp_variable = { change_leader_temp = 0 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } set_cosmetic_tag = GNA_NTC clr_country_flag = dynamic_flag clr_country_flag = dynamic_rebel_flag set_country_flag = LBA_fall_of_gaddafi set_country_flag = LBA_this_is_libyan_rebels set_country_flag = LBA_democratic_reform set_country_flag = generic_civil_war_skip_elections set_country_flag = no_leader_change set_capital = { state = 395 } start_civil_war = { ideology = communism size = opposition_party_popularity capital = 391 keep_unit_leaders_trigger = { always = yes } hidden_effect = { set_cosmetic_tag = LBA_GADDAFI_LOYALISTS clr_country_flag = dynamic_flag clr_country_flag = dynamic_rebel_flag set_country_flag = LBA_this_is_gaddafi PREV = { hidden_effect = { LBA_hasan_al_kabir_al_gaddafi = { set_nationality = PREV.PREV } LBA_abu_bakr_yunis_jabr = { set_nationality = PREV.PREV } LBA_muhammad_muammar_gaddafi_dummy = { set_nationality = PREV.PREV } LBA_saif_al_islam_gaddafi_dummy = { set_nationality = PREV.PREV } LBA_al_saadi_gaddafi_dummy = { set_nationality = PREV.PREV } LBA_mutassim_gaddafi_dummy = { set_nationality = PREV.PREV } LBA_hannibal_gaddafi_dummy = { set_nationality = PREV.PREV } LBA_ayesha_gaddafi_dummy = { set_nationality = PREV.PREV } LBA_saif_al_arab_gaddafi_dummy = { set_nationality = PREV.PREV } LBA_khamis_gaddafi_dummy = { set_nationality = PREV.PREV } random = { chance = 50 LBA_ahmed_oun = { set_nationality = PREV.PREV } } random = { chance = 50 LBA_abdul_fatah_younis = { set_nationality = PREV.PREV } } } } country_event = LibyaCivilWarContent.14 } } LBA_nato_support_libyan_rebels = yes clr_country_flag = no_leader_change hidden_effect = { add_popularity = { ideology = communism popularity = -0.3 } LBA_suleiman_mahmoud_al_obeidi = { add_field_marshal_role = { skill = 4 traits = { old_guard armor_officer harsh_leader organizer organizer_expert fast_planner LBA_unit_leader_trait_cyrenaica } attack_skill = 2 defense_skill = 5 planning_skill = 1 logistics_skill = 6 } add_advisor_role = { advisor = { slot = army_chief idea_token = suleiman_mahmoud_al_obeidi traits = { army_chief_reform_1 } cost = 100 } } } add_named_threat = { threat = 5 name = LBA_first_libyan_civil_war_tension } country_event = LibyaCivilWarContent.13 } set_global_flag = first_libyan_civil_war if = { limit = { has_country_flag = LBA_military_used_on_protesters } hidden_effect = { for_each_scope_loop = { array = global.nato_members set_country_flag = intervene_in_libya } } } hidden_effect = { news_event = { id = LibyaFocusNews.14 hours = 6 } } } } #Events that happen during the first civil war #Warfalla tribe mobilises country_event = { id = LibyaCivilWarContent.1 title = LibyaCivilWarContent.1.t desc = LibyaCivilWarContent.1.d picture = GFX_sudan_darfur_rebels is_triggered_only = yes fire_only_once = yes trigger = { has_civil_war = yes controls_state = 391 has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } } option = { name = LibyaCivilWarContent.1.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.1.a executed" if = { limit = { NOT = { has_template = "Al-Milishiat Al-Qabalia" } } division_template = { name = "Al-Milishiat Al-Qabalia" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } } 391 = { create_unit = { division = "name = \"Al-Qabalia Al-Warfalla\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } create_unit = { division = "name = \"Haras Bani Walid\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT prioritize_location = 7066 #Bani Walid } } if = { limit = { tag = LRB } libya_add_tribal_independence = yes } } } #Qadhadhfa tribe mobilises country_event = { id = LibyaCivilWarContent.2 title = LibyaCivilWarContent.2.t desc = LibyaCivilWarContent.2.d picture = GFX_sudan_darfur_rebels is_triggered_only = yes fire_only_once = yes trigger = { has_civil_war = yes controls_state = 919 is_ruled_by_a_gaddafi = yes has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } } option = { name = LibyaCivilWarContent.2.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.2.a executed" if = { limit = { NOT = { has_template = "Al-Milishiat Al-Qabalia" } } division_template = { name = "Al-Milishiat Al-Qabalia" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } } 919 = { create_unit = { division = "name = \"Saif Al-Qadhadhfa\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.3 start_equipment_factor = 0.75" owner = ROOT } create_unit = { division = "name = \"Haras Qasr Abu Hadi\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT prioritize_location = 4047 #Sirte } } } } #Berbers Join Rebels country_event = { id = LibyaCivilWarContent.3 title = LibyaCivilWarContent.3.t desc = LibyaCivilWarContent.3.d picture = GFX_sudan_darfur_rebels is_triggered_only = yes fire_only_once = yes trigger = { has_civil_war = yes tag = LRB has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } } option = { name = LibyaCivilWarContent.3.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.3.a executed" division_template = { name = "Al-Milishiat Al-Barbar" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } 391 = { create_unit = { division = "name = \"Al-Milishiat Al-Zuwara\" division_template = \"Al-Milishiat Al-Barbar\" start_experience_factor = 0.1 start_equipment_factor = 0.50" owner = ROOT prioritize_location = 12039 #Border with Tunisia allow_spawning_on_enemy_provs = yes } } 393 = { create_unit = { division = "name = \"Al-Milishiat Al-Nafusa\" division_template = \"Al-Milishiat Al-Barbar\" start_experience_factor = 0.1 start_equipment_factor = 0.50" owner = ROOT prioritize_location = 10067 #Nafusa mountains allow_spawning_on_enemy_provs = yes } } random_country_with_original_tag = { original_tag_to_check = LBA limit = { NOT = { tag = LRB } } country_event = LibyaCivilWarContent.4 } if = { limit = { tag = LRB } libya_add_tribal_independence = yes } } } #Berbers Join Rebels - Gaddafi country_event = { id = LibyaCivilWarContent.4 title = LibyaCivilWarContent.4.t desc = LibyaCivilWarContent.4.d picture = GFX_sudan_darfur_rebels is_triggered_only = yes option = { name = LibyaCivilWarContent.4.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.4.a executed" effect_tooltip = { LRB = { 391 = { create_unit = { division = "name = \"Al-Milishiat Al-Zuwara\" division_template = \"Al-Milishiat Al-Barbar\" start_experience_factor = 0.1 start_equipment_factor = 0.50" owner = ROOT prioritize_location = 12039 #Border with Tunisia allow_spawning_on_enemy_provs = yes } } 393 = { create_unit = { division = "name = \"Al-Milishiat Al-Nafusa\" division_template = \"Al-Milishiat Al-Barbar\" start_experience_factor = 0.1 start_equipment_factor = 0.50" owner = ROOT prioritize_location = 10067 #Nafusa mountains allow_spawning_on_enemy_provs = yes } } } } } } #Al-Mujabra tribe mobilises country_event = { id = LibyaCivilWarContent.5 title = LibyaCivilWarContent.5.t desc = LibyaCivilWarContent.5.d picture = GFX_sudan_darfur_rebels is_triggered_only = yes fire_only_once = yes trigger = { has_civil_war = yes controls_state = 393 has_character = LBA_abu_bakr_yunis_jabr has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } } option = { name = LibyaCivilWarContent.5.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.5.a executed" if = { limit = { NOT = { has_template = "Al-Milishiat Al-Qabalia" } } division_template = { name = "Al-Milishiat Al-Qabalia" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } } 393 = { create_unit = { division = "name = \"Al-Qabalia Al-Mujabra\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } create_unit = { division = "name = \"Harit Ghdams\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT prioritize_location = 4051 #Ghadames } } if = { limit = { tag = LRB } libya_add_tribal_independence = yes } } } #Magarha tribe mobilises country_event = { id = LibyaCivilWarContent.6 title = LibyaCivilWarContent.6.t desc = LibyaCivilWarContent.6.d picture = GFX_sudan_darfur_rebels is_triggered_only = yes fire_only_once = yes trigger = { has_civil_war = yes controls_state = 919 has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } } option = { name = LibyaCivilWarContent.6.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.6.a executed" if = { limit = { NOT = { has_template = "Al-Milishiat Al-Qabalia" } } division_template = { name = "Al-Milishiat Al-Qabalia" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } } 919 = { create_unit = { division = "name = \"Al-Qabalia Al-Magarha\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } create_unit = { division = "name = \"Haras Sirat\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT prioritize_location = 4047 #Sirte } } if = { limit = { tag = LRB } libya_add_tribal_independence = yes } } } #Hassawna tribe mobilises country_event = { id = LibyaCivilWarContent.7 title = LibyaCivilWarContent.7.t desc = LibyaCivilWarContent.7.d picture = GFX_sudan_darfur_rebels is_triggered_only = yes fire_only_once = yes trigger = { has_civil_war = yes controls_state = 392 has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } } option = { name = LibyaCivilWarContent.7.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.7.a executed" if = { limit = { NOT = { has_template = "Al-Milishiat Al-Qabalia" } } division_template = { name = "Al-Milishiat Al-Qabalia" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } } 392 = { create_unit = { division = "name = \"Al-Qabalia Al-Hassawna\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } create_unit = { division = "name = \"Haras Sabiha\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT prioritize_location = 6295 #Sabha } } if = { limit = { tag = LRB } libya_add_tribal_independence = yes } } } #Tuaregs offer their services country_event = { id = LibyaCivilWarContent.8 title = LibyaCivilWarContent.8.t desc = LibyaCivilWarContent.8.d picture = GFX_libya_tuareg_militas is_triggered_only = yes fire_only_once = yes trigger = { has_civil_war = yes controls_state = 918 NOT = { country_exists = TUA } has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } } option = { name = LibyaCivilWarContent.8.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.8.a executed" TUA = { TUA_ali_kanna = { set_nationality = ROOT } } division_template = { name = "Al-Milishiat Al-Tawariq" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } 918 = { create_unit = { division = "name = \"Mqatil 'Azwad\" division_template = \"Al-Milishiat Al-Tawariq\" start_experience_factor = 0.3 start_equipment_factor = 0.75" owner = ROOT } create_unit = { division = "name = \"Haras Ghat\" division_template = \"Al-Milishiat Al-Tawariq\" start_experience_factor = 0.3 start_equipment_factor = 0.75" owner = ROOT prioritize_location = 5004 #Ghat } } if = { limit = { tag = LRB } add_ideas = LBA_tuareg_militias_in_country } } } #Toubou tribes mobilise country_event = { id = LibyaCivilWarContent.9 title = LibyaCivilWarContent.9.t desc = LibyaCivilWarContent.9.d picture = GFX_liberate_minorities is_triggered_only = yes fire_only_once = yes trigger = { has_civil_war = yes tag = LRB OR = { controls_state = 920 controls_state = 1100 } has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } } option = { name = LibyaCivilWarContent.9.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.9.a executed" division_template = { name = "Al-Milishiat Al-Tubu" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } if = { limit = { controls_state = 920 } 920 = { create_unit = { division = "name = \"Al-Qabalia Al-Marzub\" division_template = \"Al-Milishiat Al-Tubu\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } } if = { limit = { controls_state = 1100 } 1100 = { create_unit = { division = "name = \"Al-Qabalia Al-Kafra\" division_template = \"Al-Milishiat Al-Tubu\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } } if = { limit = { tag = LRB } add_ideas = LBA_toubou_militias_in_country } } } #Farjan tribe mobilises country_event = { id = LibyaCivilWarContent.10 title = LibyaCivilWarContent.10.t desc = LibyaCivilWarContent.10.d picture = GFX_sudan_darfur_rebels is_triggered_only = yes fire_only_once = yes trigger = { has_civil_war = yes controls_state = 397 has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } } option = { name = LibyaCivilWarContent.10.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.10.a executed" if = { limit = { NOT = { has_template = "Al-Milishiat Al-Qabalia" } } division_template = { name = "Al-Milishiat Al-Qabalia" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } } 397 = { create_unit = { division = "name = \"Al-Qabalia Al-Farjan\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } create_unit = { division = "name = \"Haras Eajiba\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT prioritize_location = 1127 #Adjabiya } } if = { limit = { tag = LRB } libya_add_tribal_independence = yes } } } #Misurata tribe mobilises country_event = { id = LibyaCivilWarContent.11 title = LibyaCivilWarContent.11.t desc = LibyaCivilWarContent.11.d picture = GFX_sudan_darfur_rebels is_triggered_only = yes fire_only_once = yes trigger = { has_civil_war = yes controls_state = 395 has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } } option = { name = LibyaCivilWarContent.11.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.11.a executed" if = { limit = { NOT = { has_template = "Al-Milishiat Al-Qabalia" } } division_template = { name = "Al-Milishiat Al-Qabalia" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } } 395 = { create_unit = { division = "name = \"Al-Qabalia Al-Misurata\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } create_unit = { division = "name = \"Haras Banghazi\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT prioritize_location = 11954 #Benghazi } } if = { limit = { tag = LRB } libya_add_tribal_independence = yes } } } #Abaydat tribe mobilises country_event = { id = LibyaCivilWarContent.12 title = LibyaCivilWarContent.12.t desc = LibyaCivilWarContent.12.d picture = GFX_sudan_darfur_rebels is_triggered_only = yes fire_only_once = yes trigger = { has_civil_war = yes controls_state = 395 has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } } option = { name = LibyaCivilWarContent.12.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.12.a executed" if = { limit = { NOT = { has_template = "Al-Milishiat Al-Qabalia" } } division_template = { name = "Al-Milishiat Al-Qabalia" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } } 395 = { create_unit = { division = "name = \"Al-Qabalia Al-Abaydat\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } create_unit = { division = "name = \"Haras Tubruq\" division_template = \"Al-Milishiat Al-Qabalia\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT prioritize_location = 1130 #Tobruk } } if = { limit = { tag = LRB } libya_add_tribal_independence = yes } } } #Libyan civil war begins - Rebels country_event = { id = LibyaCivilWarContent.13 title = LibyaCivilWarContent.13.t desc = LibyaCivilWarContent.13.d picture = GFX_libya_revolution is_triggered_only = yes option = { name = LibyaCivilWarContent.13.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.13.a executed" custom_effect_tooltip = LibyaCivilWarContent.13.tooltip hidden_effect = { country_event = { id = LibyaCivilWarContent.15 days = 5 random_days = 10 } country_event = { id = LibyaCivilWarContent.16 days = 15 random_days = 10 } country_event = { id = LibyaCivilWarContent.17 days = 25 random_days = 10 } country_event = { id = LibyaCivilWarContent.18 days = 35 random_days = 10 } } add_timed_idea = { idea = LBA_military_desertion_rebels days = 180 } } } #Libyan civil war begins - Regime country_event = { id = LibyaCivilWarContent.14 title = LibyaCivilWarContent.14.t desc = LibyaCivilWarContent.14.d picture = GFX_libya_revolution is_triggered_only = yes option = { name = LibyaCivilWarContent.14.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.14.a executed" custom_effect_tooltip = LibyaCivilWarContent.14.tooltip add_timed_idea = { idea = LBA_military_desertion_government days = 180 } } } #Formation of Abu Salim Brigade country_event = { id = LibyaCivilWarContent.15 title = LibyaCivilWarContent.15.t desc = LibyaCivilWarContent.15.d picture = GFX_libya_rebel_brigade is_triggered_only = yes option = { name = LibyaCivilWarContent.15.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.15.a executed" set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes set_country_flag = LBA_new_lifg custom_effect_tooltip = LibyaCivilWarContent.15.tooltip if = { limit = { has_character = LBA_abdel_hakim_al_hasidi } LBA_abdel_hakim_al_hasidi = { set_nationality = ROOT add_corps_commander_role = { skill = 3 traits = { war_hero infantry_officer trickster LBA_unit_leader_trait_cyrenaica LBA_unit_leader_trait_jihadist_commander } attack_skill = 3 defense_skill = 1 planning_skill = 3 logistics_skill = 3 } } } if = { limit = { NOT = { has_template = "Liwa al-Shuhada" } } division_template = { name = "Liwa al-Shuhada" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } } } capital_scope = { create_unit = { division = "name = \"Liwa Shuhada Abu Salim\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT id = 1890 } } libya_add_jihadist_independence = yes } } #Formation of the Tripoli Brigadde country_event = { id = LibyaCivilWarContent.16 title = LibyaCivilWarContent.16.t desc = LibyaCivilWarContent.16.d picture = GFX_libya_rebel_brigade is_triggered_only = yes trigger = { country_exists = QAT QAT = { has_government = neutrality } } option = { name = LibyaCivilWarContent.16.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.16.a executed" set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = QAT } change_influence_percentage = yes if = { limit = { has_character = LBA_mahdi_al_harati } LBA_mahdi_al_harati = { set_nationality = ROOT add_corps_commander_role = { skill = 4 traits = { harsh_leader armoured_cavalry_officer air_cavalry_leader LBA_unit_leader_trait_tripolitania LBA_unit_leader_trait_islamist_commander } attack_skill = 4 defense_skill = 4 planning_skill = 3 logistics_skill = 2 } } } division_template = { name = "Talaqat Thuaar Tarabulus" is_locked = yes regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } } } capital_scope = { create_unit = { division = "name = \"Talaqat Thuaar Tarabulus\" division_template = \"Talaqat Thuaar Tarabulus\" start_experience_factor = 0.4 start_equipment_factor = 0.75" owner = ROOT } } } } #Formation of the Zintan Brigades country_event = { id = LibyaCivilWarContent.17 title = LibyaCivilWarContent.17.t desc = LibyaCivilWarContent.17.d picture = GFX_libya_rebel_brigade is_triggered_only = yes option = { name = LibyaCivilWarContent.17.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.17.a executed" set_country_flag = LBA_zintan_brigades_formed if = { limit = { has_character = LBA_osama_al_juwaili } LBA_osama_al_juwaili = { set_nationality = ROOT add_corps_commander_role = { traits = { guerrilla_leader_trait scavenger LBA_unit_leader_trait_tripolitania LBA_unit_leader_trait_islamist_commander } skill = 4 attack_skill = 5 defense_skill = 1 planning_skill = 4 logistics_skill = 3 } add_advisor_role = { advisor = { slot = high_command idea_token = osama_al_juwaili ledger = army traits = { army_militia_2 } cost = 100 } } } } division_template = { name = "Liwa al-Zanatan" is_locked = yes regiments = { Mot_Militia_Bat = { x = 0 y = 0 } Mot_Militia_Bat = { x = 0 y = 1 } Mot_Militia_Bat = { x = 0 y = 2 } } } capital_scope = { create_unit = { division = "name = \"Liwa Al-Sawaeiq\" division_template = \"Liwa al-Zanatan\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } libya_add_islamist_independence = yes } } #National Liberation Army and Haftar country_event = { id = LibyaCivilWarContent.18 title = LibyaCivilWarContent.18.t desc = LibyaCivilWarContent.18.d picture = GFX_libya_militia_commanders is_triggered_only = yes option = { name = LibyaCivilWarContent.18.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.18.a executed" set_country_flag = LBA_haftar_returned if = { limit = { has_character = LBA_khalifa_haftar } LBA_khalifa_haftar = { set_nationality = ROOT add_field_marshal_role = { traits = { old_guard career_officer aggressive_assaulter offensive_doctrine inspirational_leader infantry_leader LBA_unit_leader_trait_cyrenaica LBA_unit_leader_trait_secularist_commander } skill = 4 attack_skill = 2 defense_skill = 3 planning_skill = 3 logistics_skill = 5 } } } division_template = { name = "Liwa al-Jaysh" is_locked = yes regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } } } capital_scope = { create_unit = { division = "name = \"Liwa Al-Shahid\" division_template = \"Liwa al-Jaysh\" start_experience_factor = 0.5 start_equipment_factor = 0.75" owner = ROOT } } libya_add_secularist_independence = yes hidden_effect = { random_army_leader = { limit = { NOT = { is_character = LBA_abdel_hakim_al_hasidi } NOT = { is_character = LBA_mahdi_al_harati } NOT = { is_character = LBA_osama_al_juwaili } NOT = { is_character = LBA_khalifa_haftar } } unit_leader_event = { id = LibyaCivilWarContent.19 days = 30 random_days = 30 } } } } } #General assassinated unit_leader_event = { id = LibyaCivilWarContent.19 title = LibyaCivilWarContent.19.t desc = LibyaCivilWarContent.19.d is_triggered_only = yes trigger = { has_character = LBA_khalifa_haftar } immediate = { hidden_effect = { retire_character = FROM } } option = { name = LibyaCivilWarContent.19.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.19.a executed" LBA_khalifa_haftar = { add_advisor_role = { activate = yes advisor = { slot = army_chief idea_token = khalifa_haftar traits = { marshall_of_libya } cost = 100 } } } libya_add_secularist_independence = yes } option = { name = LibyaCivilWarContent.19.b log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.19.b executed" custom_effect_tooltip = LibyaCivilWarContent.19.tooltip random_army_leader = { limit = { NOT = { is_character = LBA_khalifa_haftar } } gain_xp = 2000 if = { limit = { is_corps_commander = yes } promote_leader = yes } add_random_trait = { logistics_wizard fast_planner thorough_planner unyielding_defender aggressive_assaulter offensive_doctrine defensive_doctrine organisational_leader inspirational_leader expert_delegator } add_random_trait = { desert_fox hill_fighter trait_mountaineer urban_assault_specialist } } } } #New Jihadist Brigade country_event = { id = LibyaCivilWarContent.20 title = LibyaCivilWarContent.20.t desc = LibyaCivilWarContent.20.d picture = GFX_libya_rebel_brigade is_triggered_only = yes trigger = { tag = LRB has_country_flag = LBA_new_lifg has_civil_war = yes has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } OR = { NOT = { is_in_array = { LBA_jihadist_counter = 1 } } NOT = { is_in_array = { LBA_jihadist_counter = 2 } } NOT = { is_in_array = { LBA_jihadist_counter = 3 } } NOT = { is_in_array = { LBA_jihadist_counter = 4 } } NOT = { is_in_array = { LBA_jihadist_counter = 5 } } NOT = { is_in_array = { LBA_jihadist_counter = 6 } } NOT = { is_in_array = { LBA_jihadist_counter = 7 } } NOT = { is_in_array = { LBA_jihadist_counter = 8 } } NOT = { is_in_array = { LBA_jihadist_counter = 9 } } NOT = { is_in_array = { LBA_jihadist_counter = 10 } } } } option = { name = LibyaCivilWarContent.20.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.20.a executed" custom_effect_tooltip = LibyaCivilWarContent.20.tooltip hidden_effect = { random_list = { 10 = { modifier = { factor = 0 is_in_array = { LBA_jihadist_counter = 1 } } capital_scope = { create_unit = { division = "name = \"Liwa Shuhada 17 Fibrayir\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_jihadist_counter = 1 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_jihadist_counter = 2 } } capital_scope = { create_unit = { division = "name = \"Liwa Eubaydat Ibn al-Jaraah\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_jihadist_counter = 2 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_jihadist_counter = 3 } } capital_scope = { create_unit = { division = "name = \"Liwa Eaqbat Ibn Nafie\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_jihadist_counter = 3 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_jihadist_counter = 4 } } capital_scope = { create_unit = { division = "name = \"Liwa Shuhada al-Jabal\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_jihadist_counter = 4 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_jihadist_counter = 5 } } capital_scope = { create_unit = { division = "name = \"Liwa Shuhada Tarabulus\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_jihadist_counter = 5 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_jihadist_counter = 6 } } capital_scope = { create_unit = { division = "name = \"Liwa Shuhada al-Bayda\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_jihadist_counter = 6 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_jihadist_counter = 7 } } capital_scope = { create_unit = { division = "name = \"Liwa al-Shahid Wisam Qalie\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_jihadist_counter = 7 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_jihadist_counter = 8 } } capital_scope = { create_unit = { division = "name = \"Liwa 28 Mayu\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_jihadist_counter = 8 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_jihadist_counter = 9 } } capital_scope = { create_unit = { division = "name = \"Liwa Shuhada al-Zaawia\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_jihadist_counter = 9 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_jihadist_counter = 10 } } capital_scope = { create_unit = { division = "name = \"Liwa Gharyan\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_jihadist_counter = 10 } } } } libya_add_jihadist_independence = yes } } #New Islamist Brigade country_event = { id = LibyaCivilWarContent.21 title = LibyaCivilWarContent.21.t desc = LibyaCivilWarContent.21.d picture = GFX_libya_rebel_brigade is_triggered_only = yes trigger = { tag = LRB has_country_flag = LBA_zintan_brigades_formed has_civil_war = yes has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } OR = { NOT = { is_in_array = { LBA_islamist_counter = 1 } } NOT = { is_in_array = { LBA_islamist_counter = 2 } } NOT = { is_in_array = { LBA_islamist_counter = 3 } } NOT = { is_in_array = { LBA_islamist_counter = 4 } } NOT = { is_in_array = { LBA_islamist_counter = 5 } } NOT = { is_in_array = { LBA_islamist_counter = 6 } } NOT = { is_in_array = { LBA_islamist_counter = 7 } } NOT = { is_in_array = { LBA_islamist_counter = 8 } } NOT = { is_in_array = { LBA_islamist_counter = 9 } } NOT = { is_in_array = { LBA_islamist_counter = 10 } } } } option = { name = LibyaCivilWarContent.21.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.21.a executed" custom_effect_tooltip = LibyaCivilWarContent.21.tooltip hidden_effect = { random_list = { 10 = { modifier = { factor = 0 is_in_array = { LBA_islamist_counter = 1 } } capital_scope = { create_unit = { division = "name = \"Liwa Al-Qaeqae\" division_template = \"Liwa al-Zanatan\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_islamist_counter = 1 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_islamist_counter = 2 } } capital_scope = { create_unit = { division = "name = \"Liwa Al-Madani\" division_template = \"Liwa al-Zanatan\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_islamist_counter = 2 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_islamist_counter = 3 } } capital_scope = { create_unit = { division = "name = \"Liwa Al-Ghayran\" division_template = \"Liwa al-Zanatan\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_islamist_counter = 3 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_islamist_counter = 4 } } capital_scope = { create_unit = { division = "name = \"Liwa Khalid bin al-Walid\" division_template = \"Liwa al-Zanatan\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_islamist_counter = 4 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_islamist_counter = 5 } } capital_scope = { create_unit = { division = "name = \"Liwa Shuhada Sabiha Libia\" division_template = \"Liwa al-Zanatan\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_islamist_counter = 5 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_islamist_counter = 6 } } capital_scope = { create_unit = { division = "name = \"Liwa Sabrata\" division_template = \"Liwa al-Zanatan\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_islamist_counter = 6 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_islamist_counter = 7 } } capital_scope = { create_unit = { division = "name = \"Liwa Al-Nuhud\" division_template = \"Liwa al-Zanatan\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_islamist_counter = 7 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_islamist_counter = 8 } } capital_scope = { create_unit = { division = "name = \"Liwa Nalut\" division_template = \"Liwa al-Zanatan\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_islamist_counter = 8 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_islamist_counter = 9 } } capital_scope = { create_unit = { division = "name = \"Liwa Kabaw\" division_template = \"Liwa al-Zanatan\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_islamist_counter = 9 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_islamist_counter = 10 } } capital_scope = { create_unit = { division = "name = \"Liwa Jadu\" division_template = \"Liwa al-Zanatan\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_islamist_counter = 10 } } } } libya_add_islamist_independence = yes } } #New Secularist Brigade country_event = { id = LibyaCivilWarContent.22 title = LibyaCivilWarContent.22.t desc = LibyaCivilWarContent.22.d picture = GFX_libya_rebel_brigade is_triggered_only = yes trigger = { tag = LRB has_country_flag = LBA_haftar_returned has_civil_war = yes has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } OR = { NOT = { is_in_array = { LBA_secularist_counter = 1 } } NOT = { is_in_array = { LBA_secularist_counter = 2 } } NOT = { is_in_array = { LBA_secularist_counter = 3 } } NOT = { is_in_array = { LBA_secularist_counter = 4 } } NOT = { is_in_array = { LBA_secularist_counter = 5 } } NOT = { is_in_array = { LBA_secularist_counter = 6 } } NOT = { is_in_array = { LBA_secularist_counter = 7 } } NOT = { is_in_array = { LBA_secularist_counter = 8 } } NOT = { is_in_array = { LBA_secularist_counter = 9 } } NOT = { is_in_array = { LBA_secularist_counter = 10 } } } } option = { name = LibyaCivilWarContent.22.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.22.a executed" custom_effect_tooltip = LibyaCivilWarContent.22.tooltip hidden_effect = { if = { limit = { NOT = { has_template = "Liwa al-Jaysh" } } division_template = { name = "Liwa al-Jaysh" is_locked = yes regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } } } } random_list = { 10 = { modifier = { factor = 0 is_in_array = { LBA_secularist_counter = 1 } } capital_scope = { create_unit = { division = "name = \"Liwa Faysal\" division_template = \"Liwa al-Jaysh\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_secularist_counter = 1 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_secularist_counter = 2 } } capital_scope = { create_unit = { division = "name = \"Liwa Dire al-Sahara\" division_template = \"Liwa al-Jaysh\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_secularist_counter = 2 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_secularist_counter = 3 } } capital_scope = { create_unit = { division = "name = \"Liwa Misrata\" division_template = \"Liwa al-Jaysh\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_secularist_counter = 3 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_secularist_counter = 4 } } capital_scope = { create_unit = { division = "name = \"Liwa Zawaara\" division_template = \"Liwa al-Jaysh\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_secularist_counter = 4 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_secularist_counter = 5 } } capital_scope = { create_unit = { division = "name = \"Liwa al-Saahil\" division_template = \"Liwa al-Jaysh\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_secularist_counter = 5 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_secularist_counter = 6 } } capital_scope = { create_unit = { division = "name = \"Liwa al-Hadi Eashar\" division_template = \"Liwa al-Jaysh\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_secularist_counter = 6 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_secularist_counter = 7 } } capital_scope = { create_unit = { division = "name = \"Liwa al-Fursan\" division_template = \"Liwa al-Jaysh\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_secularist_counter = 7 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_secularist_counter = 8 } } capital_scope = { create_unit = { division = "name = \"Liwa Eumar al-Mukhtar\" division_template = \"Liwa al-Jaysh\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_secularist_counter = 8 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_secularist_counter = 9 } } capital_scope = { create_unit = { division = "name = \"Liwa Eali Hasan al-Jabir\" division_template = \"Liwa al-Jaysh\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_secularist_counter = 9 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_secularist_counter = 10 } } capital_scope = { create_unit = { division = "name = \"Liwa al-Huriya\" division_template = \"Liwa al-Jaysh\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_secularist_counter = 10 } } } } libya_add_secularist_independence = yes } } #New Reformist Brigade country_event = { id = LibyaCivilWarContent.23 title = LibyaCivilWarContent.23.t desc = LibyaCivilWarContent.23.d picture = GFX_libya_militia_training is_triggered_only = yes trigger = { tag = LRB has_civil_war = yes has_global_flag = first_libyan_civil_war NOT = { has_global_flag = first_libyan_civil_war_over } OR = { NOT = { is_in_array = { LBA_reformist_counter = 1 } } NOT = { is_in_array = { LBA_reformist_counter = 2 } } NOT = { is_in_array = { LBA_reformist_counter = 3 } } NOT = { is_in_array = { LBA_reformist_counter = 4 } } NOT = { is_in_array = { LBA_reformist_counter = 5 } } } } option = { name = LibyaCivilWarContent.23.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.23.a executed" custom_effect_tooltip = LibyaCivilWarContent.22.tooltip hidden_effect = { if = { limit = { NOT = { has_template = "Liwa al-Iislahiiyn" } } division_template = { name = "Liwa al-Iislahiiyn" is_locked = yes regiments = { Mot_Inf_Bat = { x = 0 y = 0 } Mot_Inf_Bat = { x = 0 y = 1 } } } } random_list = { 10 = { modifier = { factor = 0 is_in_array = { LBA_reformist_counter = 1 } } capital_scope = { create_unit = { division = "name = \"Katibat Libya al-Hura\" division_template = \"Liwa al-Iislahiiyn\" start_experience_factor = 0.2 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_reformist_counter = 1 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_reformist_counter = 2 } } capital_scope = { create_unit = { division = "name = \"Wahdat al-Nasr\" division_template = \"Liwa al-Iislahiiyn\" start_experience_factor = 0.2 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_reformist_counter = 2 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_reformist_counter = 3 } } capital_scope = { create_unit = { division = "name = \"Liwa Aswad al-Wadi\" division_template = \"Liwa al-Iislahiiyn\" start_experience_factor = 0.2 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_reformist_counter = 3 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_reformist_counter = 4 } } capital_scope = { create_unit = { division = "name = \"Liwa al-Aswad\" division_template = \"Liwa al-Iislahiiyn\" start_experience_factor = 0.2 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_reformist_counter = 4 } } 10 = { modifier = { factor = 0 is_in_array = { LBA_reformist_counter = 5 } } capital_scope = { create_unit = { division = "name = \"Liwa al-Siwidii\" division_template = \"Liwa al-Iislahiiyn\" start_experience_factor = 0.2 start_equipment_factor = 0.75" owner = ROOT } } add_to_array = { LBA_reformist_counter = 5 } } } } libya_add_reformist_independence = yes } } #End of the civil war country_event = { id = LibyaCivilWarContent.24 title = LibyaCivilWarContent.24.t desc = LibyaCivilWarContent.24.d picture = GFX_libya_victory_celebration is_triggered_only = yes fire_only_once = yes immediate = { add_timed_idea = { idea = LBA_aftermath_of_the_civil_war days = 360 } activate_mission = libya_integrate_militias_mission } option = { name = LibyaCivilWarContent.24.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.24.a executed" ai_chance = { base = 50 } set_temp_variable = { election_year = global.year } subtract_from_temp_variable = { election_year = 3 } meta_effect = { text = { set_politics = { ruling_party = ROOT elections_allowed = yes last_election = "[YEAR].[MONTH].1" election_frequency = 48 } } YEAR = election_year MONTH = global.month } custom_effect_tooltip = LibyaCivilWarContent.24.tooltip set_country_flag = generic_election_killswitch } option = { name = LibyaCivilWarContent.24.b log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.24.b executed" ai_chance = { base = 50 modifier = { factor = 0 LBA_ai_any_path = yes } modifier = { factor = 0 is_historical_focus_on = yes } } if = { limit = { has_dynamic_modifier = { modifier = LBA_tribal_militias } } libya_add_tribal_independence = yes set_temp_variable = { loyalty_change = -0.20 } libya_change_tripolitania_loyalty = yes set_temp_variable = { loyalty_change = -0.20 } libya_change_cyrenaica_loyalty = yes set_temp_variable = { loyalty_change = -0.20 } libya_change_fezzan_loyalty = yes libya_update_tribalism_modifiers = yes newline = yes } if = { limit = { has_dynamic_modifier = { modifier = LBA_jihadist_militias } NOT = { has_government = fascism } } libya_add_jihadist_independence = yes newline = yes } if = { limit = { has_dynamic_modifier = { modifier = LBA_islamist_militias } NOT = { neutrality_neutral_muslim_brotherhood_are_in_power = yes } } libya_add_islamist_independence = yes set_temp_variable = { influence_target = ROOT } set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = QAT } change_influence_percentage = yes newline = yes } if = { limit = { has_dynamic_modifier = { modifier = LBA_secularist_militias } NOT = { nationalist_military_junta_are_in_power = yes } } libya_add_secularist_independence = yes if = { limit = { has_character = LBA_khalifa_haftar } LBA_khalifa_haftar = { remove_unit_leader = yes } } set_temp_variable = { temp_opinion = -20 } change_the_military_opinion = yes newline = yes } if = { limit = { has_dynamic_modifier = { modifier = LBA_reformist_militias } NOT = { has_government = democratic } } libya_add_reformist_independence = yes add_stability = -0.10 } } } #Ansar al-Sharia takes control of Benghazi country_event = { id = LibyaCivilWarContent.25 title = LibyaCivilWarContent.25.t desc = LibyaCivilWarContent.25.d picture = GFX_libya_ansar_al_sharia is_triggered_only = yes trigger = { owns_state = 395 fascism > 0.05 NOT = { country_exists = ASL } } option = { name = LibyaCivilWarContent.25.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.25.a executed" custom_effect_tooltip = LibyaCivilWarContent.25.tooltip if = { limit = { LBA_khalifa_haftar = { is_advisor = yes } } activate_mission = libya_operation_dignity_mission } custom_effect_tooltip = { localization_key = UNLOCK_DECISION_IN_CATEGORY DECISION = libya_attack_ansar_al_sharia_in_benghazi DECISION_CATEGORY = libya_aftermath_of_civil_war } libya_add_jihadist_independence = yes hidden_effect = { create_dynamic_country = { original_tag = ISI transfer_state = 395 set_country_flag = LBA_this_is_ansar_al_sharia clr_country_flag = dynamic_flag clr_country_flag = dynamic_rebel_flag set_cosmetic_tag = LBA_ANSAR_AL_SHARIA LBA = { every_core_state = { add_core_of = ASL } } set_capital = { state = 395 } add_ideas = fossil_fuel_industry add_ideas = the_ulema add_ideas = foreign_jihadis add_ideas = no_women_in_military add_ideas = full_isr_boycotte load_oob = "LBA_ansar_al_sharia" set_popularities = { democratic = LBA.party_popularity_100@democratic neutrality = LBA.party_popularity_100@neutrality fascism = LBA.party_popularity_100@fascism communism = LBA.party_popularity_100@communism nationalist = LBA.party_popularity_100@nationalist } start_politics_input = yes for_each_loop = { array = THIS.party_pop_array set_variable = { THIS.party_pop_array^i = ROOT.party_pop_array^i } } set_temp_variable = { rul_party_temp = 11 } change_ruling_party_effect = yes set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.25 } set_temp_variable = { temp_outlook_increase = 0.25 } change_relative_party_popularity = yes startup_politics = yes create_country_leader = { name = "Muhammad Al-Zahawi" picture = "gfx/leaders/LBA/Muhammad_al_Zahawi.dds" #TODO: ADD BETTER PORTRAIT ideology = Caliphate traits = { salafist_Caliphate } } LBA = { LBA_wissam_ben_hamid = { set_nationality = ASL add_corps_commander_role = { traits = { career_officer guerrilla_leader_trait urban_assault_specialist adaptable } skill = 1 attack_skill = 1 defense_skill = 1 planning_skill = 1 logistics_skill = 1 } } LBA_mansour_al_shalili = { set_nationality = ASL add_corps_commander_role = { traits = { war_hero desperate_defender } skill = 1 attack_skill = 1 defense_skill = 1 planning_skill = 1 logistics_skill = 1 } } } set_variable = { var = corporate_tax_rate value = PREV.corporate_tax_rate } set_variable = { var = population_tax_rate value = PREV.population_tax_rate } set_variable = { gdp_per_capita = PREV.gdp_per_capita } set_variable = { gdpc_converging_var = PREV.gdpc_converging_var } set_variable = { treasury = 10 } set_temp_variable = { nation_to_copy_from = PREV.id } setup_employment_variables = yes add_to_variable = { domestic_influence_amount = 100 } recalculate_influence = yes add_to_array = { global.arabic_countries = THIS } set_variable = { social_conservatism_government = 70 } set_variable = { social_conservatism_society = 70 } calculate_influence_percentage = yes #set alignment drifts from influence ingame_update_setup = yes #money system setup_init_factions = yes #flags for int. factions update_neighbors_effects = yes economic_cycle_drift_popularity = yes #drift from neighbor add_equipment_to_stockpile = { type = convoy amount = 50 } } } } } #Derna Shura Council formed country_event = { id = LibyaCivilWarContent.26 title = LibyaCivilWarContent.26.t desc = LibyaCivilWarContent.26.d picture = GFX_libya_ansar_al_sharia is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 2 fascism > 0.15 fascism < 0.20 } modifier = { factor = 4 fascism > 0.20 fascism < 0.25 } modifier = { factor = 6 fascism > 0.25 } } trigger = { country_exists = ASL ASL = { owns_state = 395 } fascism > 0.10 owns_state = 396 ASL = { has_war = no } LBA_abdel_hakim_al_hasidi = { is_unit_leader = no } } option = { name = LibyaCivilWarContent.26.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.26.a executed" custom_effect_tooltip = LibyaCivilWarContent.26.tooltip2 LBA_salim_derby = { set_nationality = ASL } every_unit_leader = { limit = { has_trait = LBA_unit_leader_trait_jihadist_commander NOT = { is_character = LBA_mahdi_al_harati } } random = { chance = 50 set_nationality = ASL } } delete_unit = { id = 1890 disband = no } hidden_effect = { ASL = { if = { limit = { NOT = { has_template = "Liwa al-Shuhada" } } division_template = { name = "Liwa al-Shuhada" regiments = { Mot_Militia_Bat = { x = 0 y = 0 } Mot_Militia_Bat = { x = 0 y = 1 } Mot_Militia_Bat = { x = 0 y = 2 } } support = { L_Recce_Comp = { x = 0 y = 0 } } } } capital_scope = { create_unit = { division = "name = \"Liwa Shuhada Abu Salim\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ASL id = 11954 } create_unit = { division = "name = \"Jaysh al-Islam\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ASL id = 11954 } } } } 396 = { add_dynamic_modifier = { modifier = LBA_shura_council_of_derna } } if = { limit = { has_active_mission = libya_operation_dignity_mission } add_days_mission_timeout = { mission = libya_operation_dignity_mission days = -60 } } libya_add_jihadist_independence = yes if = { limit = { ASL = { NOT = { has_cosmetic_tag = LBA_SHURA_COUNCILS } } } custom_effect_tooltip = LibyaCivilWarContent.26.tooltip1 ASL = { set_cosmetic_tag = LBA_SHURA_COUNCILS } } custom_effect_tooltip = { localization_key = UNLOCK_DECISION_IN_CATEGORY DECISION = libya_attack_ansar_al_sharia_in_derna DECISION_CATEGORY = libya_aftermath_of_civil_war } } } #Ajdabiya Revolutionaries Shura Council formed country_event = { id = LibyaCivilWarContent.27 title = LibyaCivilWarContent.27.t desc = LibyaCivilWarContent.27.d picture = GFX_libya_ansar_al_sharia is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 2 fascism > 0.15 fascism < 0.20 } modifier = { factor = 4 fascism > 0.20 fascism < 0.25 } modifier = { factor = 6 fascism > 0.25 } } trigger = { country_exists = ASL OR = { ASL = { owns_state = 395 } ASL = { owns_state = 919 } } fascism > 0.10 owns_state = 397 ASL = { has_war = no } } option = { name = LibyaCivilWarContent.27.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.27.a executed" hidden_effect = { ASL = { if = { limit = { NOT = { has_template = "Liwa al-Shuhada" } } division_template = { name = "Liwa al-Shuhada" regiments = { Mot_Militia_Bat = { x = 0 y = 0 } Mot_Militia_Bat = { x = 0 y = 1 } Mot_Militia_Bat = { x = 0 y = 2 } } support = { L_Recce_Comp = { x = 0 y = 0 } } } } capital_scope = { create_unit = { division = "name = \"Jaysh Shuraa Ajdabiana\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ASL id = 11954 } create_unit = { division = "name = \"Katibat Muziq al-Zuwy\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ASL id = 11954 } } } } 397 = { add_dynamic_modifier = { modifier = LBA_shura_council_of_ajdabiya } } if = { limit = { has_active_mission = libya_operation_dignity_mission } add_days_mission_timeout = { mission = libya_operation_dignity_mission days = -60 } } libya_add_jihadist_independence = yes if = { limit = { ASL = { NOT = { has_cosmetic_tag = LBA_SHURA_COUNCILS } } } ASL = { set_cosmetic_tag = LBA_SHURA_COUNCILS } } custom_effect_tooltip = { localization_key = UNLOCK_DECISION_IN_CATEGORY DECISION = libya_attack_ansar_al_sharia_in_ajdabiya DECISION_CATEGORY = libya_aftermath_of_civil_war } } } #Rafallah al-Sahati brigade formed country_event = { id = LibyaCivilWarContent.28 title = LibyaCivilWarContent.28.t desc = LibyaCivilWarContent.28.d picture = GFX_libya_rebel_brigade is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 2 fascism > 0.15 fascism < 0.20 } modifier = { factor = 4 fascism > 0.20 fascism < 0.25 } modifier = { factor = 6 fascism > 0.25 } } trigger = { country_exists = ASL fascism > 0.10 owns_state = 1100 ASL = { has_war = no } } option = { name = LibyaCivilWarContent.28.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.28.a executed" 1100 = { add_dynamic_modifier = { modifier = LBA_southern_insurgency } } if = { limit = { has_active_mission = libya_operation_dignity_mission } add_days_mission_timeout = { mission = libya_operation_dignity_mission days = -60 } } libya_add_jihadist_independence = yes custom_effect_tooltip = { localization_key = UNLOCK_DECISION_IN_CATEGORY DECISION = libya_attack_ansar_al_sharia_in_kufra DECISION_CATEGORY = libya_aftermath_of_civil_war } } } #Ansar al-Sharia takes control of Sirte country_event = { id = LibyaCivilWarContent.29 title = LibyaCivilWarContent.29.t desc = LibyaCivilWarContent.29.d picture = GFX_libya_ansar_al_sharia is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 2 fascism > 0.15 fascism < 0.20 } modifier = { factor = 4 fascism > 0.20 fascism < 0.25 } modifier = { factor = 6 fascism > 0.25 } } trigger = { country_exists = ASL fascism > 0.10 owns_state = 919 ASL = { has_war = no } } option = { name = LibyaCivilWarContent.29.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.29.a executed" 919 = { transfer_state_to = ASL } hidden_effect = { ASL = { if = { limit = { NOT = { has_template = "Liwa al-Shuhada" } } division_template = { name = "Liwa al-Shuhada" regiments = { Mot_Militia_Bat = { x = 0 y = 0 } Mot_Militia_Bat = { x = 0 y = 1 } Mot_Militia_Bat = { x = 0 y = 2 } } support = { L_Recce_Comp = { x = 0 y = 0 } } } } 919 = { create_unit = { division = "name = \"Quat Himayat Sirt\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ASL id = 4047 } create_unit = { division = "name = \"Liwa Shuhada Sirt\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ASL id = 4047 } create_unit = { division = "name = \"Katibat Abu Abdullah Al-Libi\" division_template = \"Liwa al-Shuhada\" start_experience_factor = 0.1 start_equipment_factor = 0.75" owner = ASL id = 4047 } } } } if = { limit = { has_active_mission = libya_operation_dignity_mission } add_days_mission_timeout = { mission = libya_operation_dignity_mission days = -60 } } libya_add_jihadist_independence = yes custom_effect_tooltip = { localization_key = UNLOCK_DECISION_IN_CATEGORY DECISION = libya_attack_ansar_al_sharia_in_sirte DECISION_CATEGORY = libya_aftermath_of_civil_war } } } #Ansar al-Sharia occupies Sabha country_event = { id = LibyaCivilWarContent.30 title = LibyaCivilWarContent.30.t desc = LibyaCivilWarContent.30.d picture = GFX_libya_ansar_al_sharia is_triggered_only = yes fire_only_once = yes mean_time_to_happen = { modifier = { factor = 2 fascism > 0.15 fascism < 0.20 } modifier = { factor = 4 fascism > 0.20 fascism < 0.25 } modifier = { factor = 6 fascism > 0.25 } } trigger = { country_exists = ASL fascism > 0.10 ASL = { owns_state = 919 has_war = no } } option = { name = LibyaCivilWarContent.30.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.30.a executed" 392 = { set_demilitarized_zone = yes } custom_effect_tooltip = LibyaCivilWarContent.30.tooltip if = { limit = { has_active_mission = libya_operation_dignity_mission } add_days_mission_timeout = { mission = libya_operation_dignity_mission days = -60 } } libya_add_jihadist_independence = yes custom_effect_tooltip = { localization_key = UNLOCK_DECISION_IN_CATEGORY DECISION = libya_attack_ansar_al_sharia_in_sabha DECISION_CATEGORY = libya_aftermath_of_civil_war } } } #Abdel-Hakim al-Hasidi gets elected in Derna country_event = { id = LibyaCivilWarContent.31 title = LibyaCivilWarContent.31.t desc = LibyaCivilWarContent.31.d picture = GFX_libya_islamist_government is_triggered_only = yes fire_only_once = yes trigger = { has_character = LBA_abdel_hakim_al_hasidi has_elections = yes LBA_abdel_hakim_al_hasidi = { is_unit_leader = yes } owns_state = 396 controls_state = 396 } option = { name = LibyaCivilWarContent.31.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.31.a executed" LBA_abdel_hakim_al_hasidi = { retire = yes } add_stability = 0.025 set_temp_variable = { temp_productivity_change = 25 } flat_productivity_change_effect = yes set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes LBA = { LBA_salim_derby = { set_nationality = ROOT add_corps_commander_role = { skill = 2 traits = { commando_officer armoured_cavalry_leader LBA_unit_leader_trait_cyrenaica LBA_unit_leader_trait_jihadist_commander } attack_skill = 1 defense_skill = 2 planning_skill = 2 logistics_skill = 2 } } } } option = { name = LibyaCivilWarContent.31.b log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.31.a executed" LBA_abdel_hakim_al_hasidi = { gain_xp = 500 } libya_add_jihadist_independence = yes } } #Choosing a defence minister country_event = { id = LibyaCivilWarContent.32 title = LibyaCivilWarContent.32.t desc = LibyaCivilWarContent.32.d picture = GFX_libya_militia_commanders is_triggered_only = yes fire_only_once = yes trigger = { has_global_flag = first_libyan_civil_war_over } immediate = { hidden_effect = { random_unit_leader = { limit = { NOT = { is_hired_as_advisor = yes } } set_character_flag = first_pick_as_minister } } } option = { name = LibyaCivilWarContent.32.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.32.a executed" if = { limit = { any_unit_leader = { is_army_chief = yes } } random_unit_leader = { limit = { has_character_flag = first_pick_as_minister } add_advisor_role = { advisor = { slot = army_chief idea_token = LBA_defence_minister_character cost = 100 traits = { defence_minister_of_libya } } } if = { limit = { has_trait = LBA_unit_leader_trait_jihadist_commander } PREV = { libya_add_jihadist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_islamist_commander } PREV = { libya_add_islamist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_secularist_commander } PREV = { libya_add_secularist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_reformist_commander } PREV = { libya_add_reformist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_tribal_commander } PREV = { libya_add_tribal_independence = yes } } } } else = { random_unit_leader = { limit = { has_character_flag = first_pick_as_minister } add_advisor_role = { activate = yes advisor = { slot = army_chief idea_token = LBA_defence_minister_character cost = 100 traits = { defence_minister_of_libya } } } if = { limit = { has_trait = LBA_unit_leader_trait_jihadist_commander } PREV = { libya_add_jihadist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_islamist_commander } PREV = { libya_add_islamist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_secularist_commander } PREV = { libya_add_secularist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_reformist_commander } PREV = { libya_add_reformist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_tribal_commander } PREV = { libya_add_tribal_independence = yes } } } } hidden_effect = { every_unit_leader = { clr_character_flag = first_pick_as_minister } } } option = { name = LibyaCivilWarContent.32.b log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.32.a executed" if = { limit = { any_unit_leader = { is_army_chief = yes } } random_unit_leader = { limit = { NOT = { has_character_flag = first_pick_as_minister } NOT = { is_hired_as_advisor = yes } } add_advisor_role = { advisor = { slot = army_chief idea_token = LBA_defence_minister_character cost = 100 traits = { defence_minister_of_libya } } } if = { limit = { has_trait = LBA_unit_leader_trait_jihadist_commander } PREV = { libya_add_jihadist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_islamist_commander } PREV = { libya_add_islamist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_secularist_commander } PREV = { libya_add_secularist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_reformist_commander } PREV = { libya_add_reformist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_tribal_commander } PREV = { libya_add_tribal_independence = yes } } } } else = { random_unit_leader = { limit = { NOT = { has_character_flag = first_pick_as_minister } NOT = { is_hired_as_advisor = yes } } add_advisor_role = { activate = yes advisor = { slot = army_chief idea_token = LBA_defence_minister_character cost = 100 traits = { defence_minister_of_libya } } } if = { limit = { has_trait = LBA_unit_leader_trait_jihadist_commander } PREV = { libya_add_jihadist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_islamist_commander } PREV = { libya_add_islamist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_secularist_commander } PREV = { libya_add_secularist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_reformist_commander } PREV = { libya_add_reformist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_tribal_commander } PREV = { libya_add_tribal_independence = yes } } } } hidden_effect = { every_unit_leader = { clr_character_flag = first_pick_as_minister } } } } #General abducted country_event = { id = LibyaCivilWarContent.33 title = LibyaCivilWarContent.33.t desc = LibyaCivilWarContent.33.d picture = GFX_libya_militia_commanders is_triggered_only = yes fire_only_once = yes trigger = { OR = { has_dynamic_modifier = { modifier = LBA_tribal_militias } has_dynamic_modifier = { modifier = LBA_jihadist_militias } has_dynamic_modifier = { modifier = LBA_islamist_militias } has_dynamic_modifier = { modifier = LBA_secularist_militias } has_dynamic_modifier = { modifier = LBA_reformist_militias } } } immediate = { hidden_effect = { random_list = { 10 = { set_country_flag = LBA_tribal_abduction random_unit_leader = { limit = { NOT = { has_trait = LBA_unit_leader_trait_tribal_commander } } set_character_flag = abducted } } 10 = { set_country_flag = LBA_jihadist_abduction random_unit_leader = { limit = { NOT = { has_trait = LBA_unit_leader_trait_jihadist_commander } } set_character_flag = abducted } } 10 = { set_country_flag = LBA_islamist_abduction random_unit_leader = { limit = { NOT = { has_trait = LBA_unit_leader_trait_islamist_commander } } set_character_flag = abducted } } 10 = { set_country_flag = LBA_secularist_abduction random_unit_leader = { limit = { NOT = { has_trait = LBA_unit_leader_trait_secularist_commander } } set_character_flag = abducted } } 10 = { set_country_flag = LBA_reformist_abduction random_unit_leader = { limit = { NOT = { has_trait = LBA_unit_leader_trait_reformist_commander } } set_character_flag = abducted } } } } } option = { name = LibyaCivilWarContent.33.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.33.a executed" set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.025 } modify_treasury_effect = yes if = { limit = { has_country_flag = LBA_tribal_abduction } libya_add_tribal_independence = yes } if = { limit = { has_country_flag = LBA_jihadist_abduction } libya_add_jihadist_independence = yes } if = { limit = { has_country_flag = LBA_islamist_abduction } libya_add_islamist_independence = yes } if = { limit = { has_country_flag = LBA_secularist_abduction } libya_add_secularist_independence = yes } if = { limit = { has_country_flag = LBA_reformist_abduction } libya_add_reformist_independence = yes } random_unit_leader = { limit = { has_character_flag = abducted } add_timed_unit_leader_trait = { trait = sick days = 180 } clr_character_flag = abducted } clr_country_flag = LBA_tribal_abduction clr_country_flag = LBA_jihadist_abduction clr_country_flag = LBA_islamist_abduction clr_country_flag = LBA_secularist_abduction clr_country_flag = LBA_reformist_abduction } option = { name = LibyaCivilWarContent.33.b log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.32.a executed" random_unit_leader = { limit = { has_character_flag = abducted } add_timed_unit_leader_trait = { trait = disgruntled days = 360 } if = { limit = { has_trait = LBA_unit_leader_trait_jihadist_commander } PREV = { libya_add_jihadist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_islamist_commander } PREV = { libya_add_islamist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_secularist_commander } PREV = { libya_add_secularist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_reformist_commander } PREV = { libya_add_reformist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_tribal_commander } PREV = { libya_add_tribal_independence = yes } } clr_character_flag = abducted } clr_country_flag = LBA_tribal_abduction clr_country_flag = LBA_jihadist_abduction clr_country_flag = LBA_islamist_abduction clr_country_flag = LBA_secularist_abduction clr_country_flag = LBA_reformist_abduction } option = { name = LibyaCivilWarContent.33.c log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.33.c executed" random_list = { 75 = { random_unit_leader = { limit = { has_character_flag = abducted } add_timed_unit_leader_trait = { trait = wounded days = 90 } clr_character_flag = abducted } } 25 = { random_unit_leader = { limit = { has_character_flag = abducted } retire = yes clr_character_flag = abducted } } } clr_country_flag = LBA_tribal_abduction clr_country_flag = LBA_jihadist_abduction clr_country_flag = LBA_islamist_abduction clr_country_flag = LBA_secularist_abduction clr_country_flag = LBA_reformist_abduction } } #Commander suspected of war crimes country_event = { id = LibyaCivilWarContent.34 title = LibyaCivilWarContent.34.t desc = LibyaCivilWarContent.34.d picture = GFX_libya_militia_commanders is_triggered_only = yes fire_only_once = yes trigger = { has_global_flag = first_libyan_civil_war_over } immediate = { hidden_effect = { random_unit_leader = { set_character_flag = war_criminal } } } option = { name = LibyaCivilWarContent.34.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.34.a executed" random_unit_leader = { limit = { has_character_flag = war_criminal } retire = yes clr_character_flag = war_criminal } } option = { name = LibyaCivilWarContent.34.b log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.34.a executed" add_timed_idea = { idea = international_sanctions days = 360 } random_unit_leader = { limit = { has_character_flag = war_criminal } if = { limit = { NOT = { has_trait = harsh_leader } } if = { limit = { has_trait = kind_leader } remove_trait = { trait = kind_leader } } add_trait = { trait = harsh_leader } } if = { limit = { has_trait = LBA_unit_leader_trait_jihadist_commander } PREV = { libya_add_jihadist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_islamist_commander } PREV = { libya_add_islamist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_secularist_commander } PREV = { libya_add_secularist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_reformist_commander } PREV = { libya_add_reformist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_tribal_commander } PREV = { libya_add_tribal_independence = yes } } clr_character_flag = war_criminal } } } #Commander retires from service country_event = { id = LibyaCivilWarContent.35 title = LibyaCivilWarContent.35.t desc = LibyaCivilWarContent.35.d picture = GFX_libya_militia_commanders is_triggered_only = yes fire_only_once = yes trigger = { has_global_flag = first_libyan_civil_war_over } immediate = { hidden_effect = { random_unit_leader = { set_character_flag = general_to_retire } } } option = { name = LibyaCivilWarContent.35.a log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.35.a executed" random_unit_leader = { limit = { has_character_flag = general_to_retire } retire = yes clr_character_flag = general_to_retire } } option = { name = LibyaCivilWarContent.35.b log = "[GetDateText]: [This.GetName]: LibyaCivilWarContent.35.a executed" random_unit_leader = { limit = { has_character_flag = general_to_retire } if = { limit = { has_trait = LBA_unit_leader_trait_jihadist_commander } PREV = { libya_add_jihadist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_islamist_commander } PREV = { libya_add_islamist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_secularist_commander } PREV = { libya_add_secularist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_reformist_commander } PREV = { libya_add_reformist_independence = yes } } else_if = { limit = { has_trait = LBA_unit_leader_trait_tribal_commander } PREV = { libya_add_tribal_independence = yes } } clr_character_flag = general_to_retire } } } #Gaddafi Assassinated news_event = { id = LibyaFocusNews.1 title = LibyaFocusNews.1.t desc = { text = LibyaFocusNews.1.coup.d trigger = { FROM = { has_civil_war = no } } } desc = { text = LibyaFocusNews.1.civilwar.d trigger = { FROM = { has_civil_war = no } } } picture = GFX_news_gaddafi_dead is_triggered_only = yes major = yes option = { name = LibyaFocusNews.1.a } } #Grand Mufti becomes leader news_event = { id = LibyaFocusNews.2 title = LibyaFocusNews.2.t desc = LibyaFocusNews.2.d picture = GFX_news_libyan_grand_mufti is_triggered_only = yes major = yes option = { name = LibyaFocusNews.2.a } } #Islamic State of Sahel announced news_event = { id = LibyaFocusNews.3 title = LibyaFocusNews.3.t desc = LibyaFocusNews.3.d picture = GFX_news_rise_of_taliban is_triggered_only = yes major = yes option = { name = LibyaFocusNews.3.a } } #Libya moves towards freedom news_event = { id = LibyaFocusNews.4 title = LibyaFocusNews.4.t desc = LibyaFocusNews.4.d picture = GFX_news_arab_spring2 is_triggered_only = yes major = yes option = { name = LibyaFocusNews.4.a } } #Libya moves towards authoritarianism news_event = { id = LibyaFocusNews.5 title = LibyaFocusNews.5.t desc = LibyaFocusNews.5.d picture = GFX_news_arab_riot_police is_triggered_only = yes major = yes option = { name = LibyaFocusNews.5.a } } #Libya will protect minorities news_event = { id = LibyaFocusNews.6 title = LibyaFocusNews.6.t desc = LibyaFocusNews.6.d picture = GFX_news_tuareg is_triggered_only = yes major = yes option = { name = LibyaFocusNews.6.a } } #Libya joins war on terror news_event = { id = LibyaFocusNews.7 title = LibyaFocusNews.7.t desc = LibyaFocusNews.7.d picture = GFX_USA_War_On_Terrorism is_triggered_only = yes major = yes option = { name = LibyaFocusNews.7.a } } #Casablanca accords started news_event = { id = LibyaFocusNews.8 title = LibyaFocusNews.8.t desc = LibyaFocusNews.8.d picture = GFX_news_arab_conference is_triggered_only = yes major = yes option = { name = LibyaFocusNews.8.a } } #Libya claims Aouzou Strip news_event = { id = LibyaFocusNews.9 title = LibyaFocusNews.9.t desc = LibyaFocusNews.9.d picture = GFX_news_toyota_war is_triggered_only = yes major = yes option = { name = LibyaFocusNews.9.a } } #Chad cedes Aouzou Strip news_event = { id = LibyaFocusNews.10 title = LibyaFocusNews.10.t desc = LibyaFocusNews.10.d picture = GFX_news_toyota_war is_triggered_only = yes major = yes option = { name = LibyaFocusNews.10.a } } #Chad refuses to cede Aouzou Strip news_event = { id = LibyaFocusNews.11 title = LibyaFocusNews.11.t desc = LibyaFocusNews.11.d picture = GFX_news_toyota_war is_triggered_only = yes major = yes option = { name = LibyaFocusNews.11.a } } #Libya creates anti-colonial union news_event = { id = LibyaFocusNews.12 title = LibyaFocusNews.12.t desc = LibyaFocusNews.12.d picture = GFX_new_gaddafi_un is_triggered_only = yes major = yes option = { name = LibyaFocusNews.12.a } } #Libya occupies Socotra news_event = { id = LibyaFocusNews.13 title = LibyaFocusNews.13.t desc = LibyaFocusNews.13.d picture = GFX_news_peninsula_shield_intervention is_triggered_only = yes major = yes option = { name = LibyaFocusNews.13.a } } #Libyan civil war news_event = { id = LibyaFocusNews.14 title = LibyaFocusNews.14.t desc = LibyaFocusNews.14.d picture = GFX_news_libyan_civil_war is_triggered_only = yes major = yes option = { name = LibyaFocusNews.14.a } } #Libyan civil war over news_event = { id = LibyaFocusNews.15 title = LibyaFocusNews.15.t desc = { text = LibyaFocusNews.15.LBA.d trigger = { FROM = { is_ruled_by_a_gaddafi = yes } } } desc = { text = LibyaFocusNews.15.LRB.d trigger = { FROM = { is_ruled_by_a_gaddafi = no } } } picture = GFX_news_libyan_civil_war is_triggered_only = yes major = yes fire_only_once = yes option = { name = LibyaFocusNews.15.a } } #Casablanca accords successfull news_event = { id = LibyaFocusNews.16 title = LibyaFocusNews.16.t desc = { text = LibyaFocusNews.16.annex.d trigger = { FROM = { has_country_flag = libya_western_sahara_peace_plan_annexation } } } desc = { text = LibyaFocusNews.16.autonomy.d trigger = { FROM = { has_country_flag = libya_western_sahara_peace_plan_autonomy } } } desc = { text = LibyaFocusNews.16.independence.d trigger = { FROM = { has_country_flag = libya_western_sahara_peace_plan_independence } } } desc = { text = LibyaFocusNews.16.mauritania.d trigger = { FROM = { has_country_flag = libya_western_sahara_peace_plan_mauritania } } } picture = GFX_news_arab_conference is_triggered_only = yes major = yes fire_only_once = yes option = { name = LibyaFocusNews.16.a } } #Casablanca Accords fail to reach a conclusion news_event = { id = LibyaFocusNews.17 title = LibyaFocusNews.17.t desc = LibyaFocusNews.17.d picture = GFX_news_arab_conference is_triggered_only = yes major = yes option = { name = LibyaFocusNews.17.a } } #Casablanca Accords end prematurely news_event = { id = LibyaFocusNews.18 title = LibyaFocusNews.18.t desc = LibyaFocusNews.18.d picture = GFX_news_arab_conference is_triggered_only = yes major = yes option = { name = LibyaFocusNews.18.a } } #ENG invades Libya news_event = { id = LibyaFocusNews.19 title = LibyaFocusNews.19.t desc = LibyaFocusNews.19.d picture = GFX_news_gaddafi_dead is_triggered_only = yes major = yes option = { name = LibyaFocusNews.19.a } } #Death of Gaddafi news_event = { id = LibyaFocusNews.20 title = LibyaFocusNews.20.t desc = { text = LibyaFocusNews.20.d trigger = { any_of_scopes = { array = global.nato_members has_country_flag = intervene_in_libya } } } desc = { text = LibyaFocusNews.20.d.airstrike trigger = { NOT = { any_of_scopes = { array = global.nato_members has_country_flag = intervene_in_libya } } } } picture = GFX_news_gaddafi_dead is_triggered_only = yes major = yes option = { name = LibyaFocusNews.20.a } }