add_namespace = Egypt add_namespace = egypt add_namespace = egypt_evergreen add_namespace = egypt_news add_namespace = egypt_copts add_namespace = egypt_sahar #They agree callback country_event = { id = egypt_evergreen.2 title = egypt_evergreen.2.t desc = egypt_evergreen.2.d picture = GFX_treaty is_triggered_only = yes option = { name = egypt_evergreen.2.a log = "[GetDateText]: [This.GetName]: egypt_evergreen.2.a executed" ai_chance = { base = 1 } add_to_variable = { ROOT.current_evergreen_capacity = 1 } clr_country_flag = EGY_pending_offer } } #They disagree callback country_event = { id = egypt_evergreen.3 title = egypt_evergreen.3.t desc = egypt_evergreen.3.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = egypt_evergreen.3.a log = "[GetDateText]: [This.GetName]: egypt_evergreen.3.a executed" ai_chance = { base = 1 } clr_country_flag = EGY_pending_offer } } #Someone cancels their trade with us country_event = { id = egypt_evergreen.4 title = egypt_evergreen.4.t desc = egypt_evergreen.4.d picture = GFX_generic_tractor_manufacturer is_triggered_only = yes option = { name = egypt_evergreen.4.a ai_chance = { base = 1 } } } #Trading mission country_event = { id = egypt_evergreen.1 title = egypt_evergreen.1.t desc = egypt_evergreen.1.d picture = GFX_generic_tractor_manufacturer is_triggered_only = yes option = { name = egypt_evergreen.1.a log = "[GetDateText]: [This.GetName]: egypt_evergreen.1.a executed" add_ideas = EGY_evergreen_fertilizers_idea add_opinion_modifier = { target = EGY modifier = trade_mission } reverse_add_opinion_modifier = { target = EGY modifier = trade_mission } EGY = { country_event = { id = egypt_evergreen.2 days = 1 } } ai_chance = { base = 1 modifier = { THIS = { has_opinion = { target = EGY value > -20 } } add = 10 } modifier = { is_top5_influencer = yes add = 10 } } } option = { name = egypt_evergreen.1.b log = "[GetDateText]: [This.GetName]: egypt_evergreen.1.b executed" EGY = { country_event = { id = egypt_evergreen.3 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = Egypt.1 title = Egypt.1.t desc = Egypt.1.d picture = GFX_egy_flagg is_triggered_only = yes option = { name = Egypt.1.a log = "[GetDateText]: [This.GetName]: Egypt.1.a executed" add_political_power = 100 ai_chance = { base = 95 } } } country_event = { id = Egypt.2 title = Egypt.2.t desc = Egypt.2.d picture = GFX_iraq_war3 is_triggered_only = yes option = { name = Egypt.2.a log = "[GetDateText]: [This.GetName]: Egypt.2.a executed" ai_chance = { base = 75 modifier = { factor = 10 is_historical_focus_on = yes tag = EGY } } add_opinion_modifier = { modifier = supports_us target = IRQ } reverse_add_opinion_modifier = { modifier = supports_us target = IRQ } set_temp_variable = { percent_change = 2 } change_domestic_influence_percentage = yes add_stability = 0.05 USA = { country_event = Egypt.3 } } option = { name = Egypt.2.b log = "[GetDateText]: [This.GetName]: Egypt.2.b executed" ai_chance = { base = 75 } add_opinion_modifier = { modifier = drama target = USA } reverse_add_opinion_modifier = { modifier = drama target = USA } add_popularity = { ideology = fascism popularity = 0.05 } add_popularity = { ideology = nationalist popularity = 0.05 } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = EGY } set_temp_variable = { influence_target = IRQ } change_influence_percentage = yes IRQ = { country_event = Egypt.4 } } } country_event = { id = Egypt.3 title = Egypt.3.t desc = Egypt.3.d picture = GFX_arab_spring_defection is_triggered_only = yes option = { name = Egypt.3.a log = "[GetDateText]: [This.GetName]: Egypt.3.a executed" ai_chance = { base = 95 } add_opinion_modifier = { modifier = drama target = USA } reverse_add_opinion_modifier = { modifier = drama target = USA } set_temp_variable = { percent_change = -4 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = EGY } change_influence_percentage = yes } } country_event = { id = Egypt.4 title = Egypt.4.t desc = Egypt.4.d picture = GFX_belarus_send_weapon_to_iraq is_triggered_only = yes option = { name = Egypt.4.a log = "[GetDateText]: [This.GetName]: Egypt.4.a executed" ai_chance = { base = 95 } add_opinion_modifier = { modifier = supports_us target = EGY } reverse_add_opinion_modifier = { modifier = supports_us target = EGY } set_temp_variable = { percent_change = 7 } set_temp_variable = { tag_index = EGY } set_temp_variable = { influence_target = IRQ } change_influence_percentage = yes add_equipment_to_stockpile = { type = infantry_weapons_4 amount = 1350 producer = EGY } add_equipment_to_stockpile = { type = medium_tank_chassis_2 variant_name = "T-90" amount = 10 producer = EGY } add_equipment_to_stockpile = { type = medium_tank_flame_chassis_1 variant_name = "BMP-3" amount = 10 producer = EGY } add_equipment_to_stockpile = { type = medium_tank_amphibious_chassis_1 variant_name = "BTR-80" amount = 20 producer = EGY } } } country_event = { id = Egypt.5 title = Egypt.5.t desc = Egypt.5.d picture = GFX_paris_convention is_triggered_only = yes option = { name = Egypt.5.a log = "[GetDateText]: [This.GetName]: Egypt.5.a executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value > 10 } } } set_temp_variable = { int_investment_change = 7.5 } modify_international_investment_effect = yes EGY = { one_random_industrial_complex = yes set_temp_variable = { treasury_change = 7.5 } modify_treasury_effect = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = EGY } change_influence_percentage = yes country_event = { id = Egypt.7 days = 1 } } } option = { name = Egypt.5.b log = "[GetDateText]: [This.GetName]: Egypt.5.b executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value < 10 } } } hidden_effect = { EGY = { country_event = { id = Egypt.6 days = 1 } } } } } country_event = { id = Egypt.6 title = Egypt.6.t desc = Egypt.6.d picture = GFX_paris_convention is_triggered_only = yes option = { name = Egypt.6.a ai_chance = { base = 1 } } } country_event = { id = Egypt.7 title = Egypt.7.t desc = Egypt.7.d picture = GFX_paris_convention is_triggered_only = yes option = { name = Egypt.7.a log = "[GetDateText]: [This.GetName]: Egypt.7.a executed" custom_effect_tooltip = us_inv_one_tt ai_chance = { base = 1 } } } country_event = { id = Egypt.8 title = Egypt.8.t desc = Egypt.8.d picture = GFX_Hatay is_triggered_only = yes option = { name = Egypt.8.a log = "[GetDateText]: [This.GetName]: Egypt.8.a executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value > 10 } } } set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = EGY } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes if = { limit = { tag = SYR } diplomatic_relation = { country = TUR relation = non_aggression_pact active = no } } else_if = { limit = { tag = TUR } diplomatic_relation = { country = SYR relation = non_aggression_pact active = no } } SYR = { country_event = Egypt.10 } EGY = { country_event = Egypt.10 } } option = { name = Egypt.8.b log = "[GetDateText]: [This.GetName]: Egypt.8.b executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value < 10 } } } add_political_power = -50 set_temp_variable = { percent_change = 3 } change_domestic_influence_percentage = yes set_temp_variable = { temp_opinion = 5 } if = { limit = { tag = SYR } add_opinion_modifier = { modifier = drama target = TUR } } else_if = { limit = { tag = TUR } add_opinion_modifier = { modifier = drama target = SYR } } SYR = { country_event = Egypt.9 } EGY = { country_event = Egypt.9 } } } country_event = { id = Egypt.9 title = Egypt.9.t desc = Egypt.9.d picture = GFX_Hatay is_triggered_only = yes option = { name = Egypt.9.a ai_chance = { base = 1 } } } country_event = { id = Egypt.10 title = Egypt.10.t desc = Egypt.10.d picture = GFX_Hatay is_triggered_only = yes option = { name = Egypt.10.a log = "[GetDateText]: [This.GetName]: Egypt.10.a executed" ai_chance = { base = 1 } add_political_power = 100 if = { limit = { tag = SYR } add_opinion_modifier = { modifier = declaration_of_friendship target = EGY } reverse_add_opinion_modifier = { modifier = declaration_of_friendship target = EGY } } } } country_event = { id = Egypt.11 title = Egypt.11.t desc = Egypt.11.d picture = GFX_taliban_police_attack is_triggered_only = yes option = { name = Egypt.11.a log = "[GetDateText]: [This.GetName]: Egypt.11.a executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value > 10 } } } EGY = { country_event = Egypt.12 } } option = { name = Egypt.11.b log = "[GetDateText]: [This.GetName]: Egypt.11.b executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value < 10 } } } EGY = { country_event = Egypt.13 } } } country_event = { id = Egypt.12 title = Egypt.12.t desc = Egypt.12.d picture = GFX_internal_conflict is_triggered_only = yes option = { name = Egypt.12.a log = "[GetDateText]: [This.GetName]: Egypt.12.a executed" PAL = { country_event = Egypt.14 } ai_chance = { base = 1 } } } country_event = { id = Egypt.13 title = Egypt.13.t desc = Egypt.13.d picture = GFX_internal_conflict is_triggered_only = yes option = { name = Egypt.13.a log = "[GetDateText]: [This.GetName]: Egypt.13.a executed" ai_chance = { base = 1 } add_opinion_modifier = { modifier = drama target = ISR } } } country_event = { id = Egypt.14 title = Egypt.14.t desc = Egypt.14.d picture = GFX_iran_quds is_triggered_only = yes option = { name = Egypt.14.a log = "[GetDateText]: [This.GetName]: Egypt.14.a executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value > 10 } } } add_war_support = -0.05 EGY = { add_state_core = 209 } 209 = { transfer_state_to = EGY } } option = { name = Egypt.14.b log = "[GetDateText]: [This.GetName]: Egypt.14.b executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value < 10 } } } if = { limit = { 213 = { is_fully_controlled_by = EGY } NOT = { 209 = { is_controlled_by = EGY } } } EGY = { start_border_war = { change_state_after_war = no attacker = { state = 213 num_provinces = 1 on_win = Egypt.15 on_lose = Egypt.16 } defender = { state = 209 num_provinces = 1 on_win = Egypt.16 on_lose = Egypt.15 } } } } else = { EGY = { country_event = Egypt.16 } } } } country_event = { id = Egypt.15 title = Egypt.15.t desc = Egypt.15.d picture = GFX_internal_conflict is_triggered_only = yes option = { name = Egypt.15.a log = "[GetDateText]: [This.GetName]: Egypt.15.a executed" ai_chance = { base = 1 } add_war_support = -0.05 EGY = { add_state_core = 209 } 209 = { transfer_state_to = EGY } } } country_event = { id = Egypt.16 title = Egypt.16.t desc = Egypt.16.d picture = GFX_internal_conflict is_triggered_only = yes option = { name = Egypt.16.a log = "[GetDateText]: [This.GetName]: Egypt.16.a executed" ai_chance = { base = 1 } EGY = { add_war_support = -0.05 add_political_power = -100 } PAL = { add_war_support = 0.05 add_political_power = 150 } HAM = { add_war_support = 0.05 add_political_power = 150 } } } country_event = { id = Egypt.17 title = Egypt.17.t desc = Egypt.17.d picture = GFX_retaliatory_strike is_triggered_only = yes option = { name = Egypt.17.a log = "[GetDateText]: [This.GetName]: Egypt.17.a executed" add_decryption = { target = ISR amount = 10 } ai_chance = { base = 1 } } option = { name = Egypt.17.b log = "[GetDateText]: [This.GetName]: Egypt.17.b executed" add_decryption = { target = LBA amount = 10 } ai_chance = { base = 1 } } option = { name = Egypt.17.c log = "[GetDateText]: [This.GetName]: Egypt.17.c executed" add_decryption = { target = SUD amount = 10 } ai_chance = { base = 1 } } } country_event = { id = Egypt.18 title = Egypt.18.t desc = Egypt.18.d picture = GFX_boko_haram_insurgency is_triggered_only = yes option = { name = Egypt.18.a log = "[GetDateText]: [This.GetName]: Egypt.18.a executed" add_political_power = 50 add_stability = -0.05 add_opinion_modifier = { target = EGY modifier = diplomatic_support } reverse_add_opinion_modifier = { target = EGY modifier = diplomatic_support } ai_chance = { base = 1 } } } country_event = { id = Egypt.19 title = Egypt.19.t desc = Egypt.19.d picture = GFX_report_event_Italy_From_Space is_triggered_only = yes option = { name = Egypt.19.a log = "[GetDateText]: [This.GetName]: Egypt.19.a executed" ai_chance = { base = 1 } add_popularity = { ideology = fascism popularity = -0.05 } set_temp_variable = { percent_change = 3 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = EGY } change_influence_percentage = yes add_manpower = -10 EGY = { country_event = Egypt.20 } hidden_effect = { set_country_flag = didsupp_egy_terror } } option = { name = Egypt.19.b log = "[GetDateText]: [This.GetName]: Egypt.19.b executed" ai_chance = { base = 0 } add_political_power = 50 add_popularity = { ideology = fascism popularity = 0.05 } add_stability = -0.05 EGY = { country_event = Egypt.21 } } } country_event = { id = Egypt.20 title = Egypt.20.t desc = Egypt.20.d picture = GFX_fbi is_triggered_only = yes option = { name = Egypt.20.a log = "[GetDateText]: [This.GetName]: Egypt.20.a executed" ai_chance = { base = 1 } add_manpower = 10 add_political_power = 100 } } country_event = { id = Egypt.21 title = Egypt.21.t desc = Egypt.21.d picture = GFX_george_w_bush is_triggered_only = yes option = { name = Egypt.21.a log = "[GetDateText]: [This.GetName]: Egypt.21.a executed" ai_chance = { base = 1 } add_stability = -0.05 add_popularity = { ideology = democratic popularity = -0.05 } add_opinion_modifier = { modifier = drama target = USA } reverse_add_opinion_modifier = { modifier = drama target = USA } } } country_event = { id = Egypt.22 title = Egypt.22.t desc = Egypt.22.d picture = GFX_report_event_Arrest_5 is_triggered_only = yes option = { name = Egypt.22.a log = "[GetDateText]: [This.GetName]: Egypt.22.a executed" ai_chance = { base = 1 } add_stability = 0.05 add_political_power = 100 add_popularity = { ideology = fascism popularity = -0.05 } } } country_event = { id = Egypt.23 title = Egypt.23.t desc = Egypt.23.d picture = GFX_turkishmafia is_triggered_only = yes option = { name = Egypt.23.a log = "[GetDateText]: [This.GetName]: Egypt.23.a executed" ai_chance = { base = 1 } add_offsite_building = { type = industrial_complex level = 1 } add_tech_bonus = { name = Egypt.23.t bonus = 0.5 uses = 1 category = CAT_util } set_temp_variable = { int_investment_change = 5 } modify_international_investment_effect = yes set_temp_variable = { percent_change = 3 } set_temp_variable = { tag_index = EGY } set_temp_variable = { influence_target = USA } change_influence_percentage = yes } } country_event = { id = Egypt.236 title = Egypt.236.t desc = Egypt.236.d picture = GFX_turkishmafia is_triggered_only = yes option = { name = Egypt.236.a log = "[GetDateText]: [This.GetName]: Egypt.236.a executed" ai_chance = { base = 1 } add_offsite_building = { type = industrial_complex level = 1 } add_tech_bonus = { name = Egypt.236.t bonus = 0.15 uses = 3 category = CAT_atk_heli } set_temp_variable = { int_investment_change = 5 } modify_international_investment_effect = yes set_temp_variable = { percent_change = 3 } set_temp_variable = { tag_index = EGY } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes } } country_event = { id = Egypt.24 title = Egypt.24.t desc = Egypt.24.d picture = GFX_report_event_Arrest_4 is_triggered_only = yes option = { name = Egypt.24.a log = "[GetDateText]: [This.GetName]: Egypt.24.a executed" ai_chance = { base = 1 } add_political_power = 50 set_temp_variable = { temp_opinion = 5 } change_small_medium_business_owners_opinion = yes change_industrial_conglomerates_opinion = yes # if = { # limit = { tag = EGY } # # USA = { country_event = Egypt.24 } # # ITA = { country_event = Egypt.24 } # # FRA = { country_event = Egypt.24 } # # RAJ = { country_event = Egypt.24 } # # CHI = { country_event = Egypt.24 } # # BLR = { country_event = Egypt.24 } # # UKR = { country_event = Egypt.24 } # # SOV = { country_event = Egypt.24 } # # PER = { country_event = Egypt.24 } # # TUR = { country_event = Egypt.24 } # } } } country_event = { id = Egypt.25 title = Egypt.25.t desc = Egypt.25.d picture = GFX_internal_conflict is_triggered_only = yes option = { name = Egypt.25.a log = "[GetDateText]: [This.GetName]: Egypt.25.a executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value > 10 } } } custom_effect_tooltip = rosatom_egy_tt set_temp_variable = { treasury_change = -18 } modify_treasury_effect = yes EGY = { country_event = Egypt.26 } set_temp_variable = { percent_change = 10 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = EGY } change_influence_percentage = yes } option = { name = Egypt.25.b log = "[GetDateText]: [This.GetName]: Egypt.25.b executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value < 10 } } } EGY = { country_event = Egypt.27 } } } country_event = { id = Egypt.26 title = Egypt.26.t desc = Egypt.26.d picture = GFX_internal_conflict is_triggered_only = yes option = { name = Egypt.26.a log = "[GetDateText]: [This.GetName]: Egypt.26.a executed" ai_chance = { base = 1 } custom_effect_tooltip = rosatom_egyt_tt hidden_effect = { one_random_nuclear_reactor = yes one_random_nuclear_reactor = yes set_temp_variable = { treasury_change = 18 } modify_treasury_effect = yes } add_tech_bonus = { name = Egypt.26.t bonus = 0.25 uses = 2 category = CAT_nuclear_reactors } } } country_event = { id = Egypt.27 title = Egypt.27.t desc = Egypt.27.d picture = GFX_internal_conflict is_triggered_only = yes option = { name = Egypt.27.a ai_chance = { base = 1 } } } country_event = { id = Egypt.28 title = Egypt.28.t desc = Egypt.28.d picture = GFX_mars_colony_20 is_triggered_only = yes option = { name = Egypt.28.a log = "[GetDateText]: [This.GetName]: Egypt.28.a executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value > 10 } } } EGY = { country_event = Egypt.29 } set_temp_variable = { percent_change = 6 } set_temp_variable = { tag_index = EGY } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes random_owned_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = fossil_powerplant level = 1 instant_build = yes } add_resource = { type = oil amount = 2 } } newline = yes set_temp_variable = { treasury_change = -4.00 } modify_treasury_effect = yes } option = { name = Egypt.28.b log = "[GetDateText]: [This.GetName]: Egypt.28.b executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value < 10 } } } EGY = { country_event = Egypt.30 } } } country_event = { id = Egypt.29 title = Egypt.29.t desc = Egypt.29.d picture = GFX_mars_colony_20 is_triggered_only = yes option = { name = Egypt.29.a log = "[GetDateText]: [This.GetName]: Egypt.29.a executed" ai_chance = { base = 1 } custom_effect_tooltip = egy_petr_tt set_temp_variable = { treasury_change = -4.00 } modify_treasury_effect = yes random_owned_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = fossil_powerplant level = 1 instant_build = yes } add_resource = { type = oil amount = 2 } } } } country_event = { id = Egypt.30 title = Egypt.30.t desc = Egypt.30.d picture = GFX_mars_colony_20 is_triggered_only = yes option = { name = Egypt.30.a ai_chance = { base = 1 } } } country_event = { id = Egypt.31 title = Egypt.31.t desc = Egypt.31.d picture = GFX_negotiations is_triggered_only = yes option = { name = Egypt.31.a log = "[GetDateText]: [This.GetName]: Egypt.31.a executed" ai_chance = { base = 1 } EGY = { country_event = Egypt.32 } } option = { name = Egypt.31.b log = "[GetDateText]: [This.GetName]: Egypt.31.a executed" ai_chance = { base = 1 } EGY = { country_event = Egypt.33 } } } country_event = { id = Egypt.32 title = Egypt.32.t desc = Egypt.32.d picture = GFX_negotiations is_triggered_only = yes option = { name = Egypt.32.a log = "[GetDateText]: [This.GetName]: Egypt.32.a executed" ai_chance = { base = 1 } EGY = { add_ideas = EGY_idea_eacu_cooperation } set_temp_variable = { receiver_nation = EGY.id } set_temp_variable = { sender_nation = SOV.id } set_improved_trade_agreement = yes } } country_event = { id = Egypt.33 title = Egypt.33.t desc = Egypt.33.d picture = GFX_negotiations is_triggered_only = yes option = { name = Egypt.33.a ai_chance = { base = 1 } } } country_event = { id = Egypt.34 title = Egypt.34.t desc = Egypt.34.d picture = GFX_mars_colony_20 is_triggered_only = yes option = { name = Egypt.34.a log = "[GetDateText]: [This.GetName]: Egypt.34.a executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value > 10 } } } EGY = { two_random_network_infrastructure = yes set_temp_variable = { treasury_change = 6 } modify_treasury_effect = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = UAE } change_influence_percentage = yes country_event = Egypt.35 } set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } option = { name = Egypt.34.b log = "[GetDateText]: [This.GetName]: Egypt.34.a executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value < 10 } } } EGY = { country_event = Egypt.36 } } } country_event = { id = Egypt.35 title = Egypt.35.t desc = Egypt.35.d picture = GFX_mars_colony_20 is_triggered_only = yes option = { name = Egypt.35.a log = "[GetDateText]: [This.GetName]: Egypt.35.a executed" ai_chance = { base = 1 } custom_effect_tooltip = we_will_int_tt } } country_event = { id = Egypt.36 title = Egypt.36.t desc = Egypt.36.d picture = GFX_mars_colony_20 is_triggered_only = yes option = { name = Egypt.36.a ai_chance = { base = 1 } } } country_event = { id = Egypt.375 title = Egypt.375.t desc = Egypt.375.d picture = GFX_arab_spring_defection is_triggered_only = yes option = { name = Egypt.375.a log = "[GetDateText]: [This.GetName]: Egypt.375.a executed" ai_chance = { base = 1 } set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes custom_effect_tooltip = qatar_infl_egy_tt EGY = { country_event = Egypt.38 } } option = { name = Egypt.375.b log = "[GetDateText]: [This.GetName]: Egypt.375.b executed" ai_chance = { base = 0 } EGY = { country_event = Egypt.39 } } } country_event = { id = Egypt.38 title = Egypt.38.t desc = Egypt.38.d picture = GFX_arab_spring_defection is_triggered_only = yes option = { name = Egypt.38.a log = "[GetDateText]: [This.GetName]: Egypt.38.a executed" ai_chance = { base = 1 } set_temp_variable = { treasury_change = 10 } modify_treasury_effect = yes set_temp_variable = { percent_change = 6 } set_temp_variable = { tag_index = QAT } set_temp_variable = { influence_target = EGY } change_influence_percentage = yes } } country_event = { id = Egypt.39 title = Egypt.39.t desc = Egypt.39.d picture = GFX_arab_spring_defection is_triggered_only = yes option = { name = Egypt.39.a log = "[GetDateText]: [This.GetName]: Egypt.39.a executed" ai_chance = { base = 1 } add_opinion_modifier = { modifier = drama target = QAT } reverse_add_opinion_modifier = { modifier = drama target = QAT } } } country_event = { id = Egypt.40 title = Egypt.40.t desc = Egypt.40.d picture = GFX_arab_spring_defection is_triggered_only = yes option = { name = Egypt.40.a log = "[GetDateText]: [This.GetName]: Egypt.40.a executed" ai_chance = { base = 1 } add_political_power = 150 add_stability = 0.5 add_opinion_modifier = { modifier = drama target = ETH } reverse_add_opinion_modifier = { modifier = drama target = ETH } } option = { name = Egypt.40.b log = "[GetDateText]: [This.GetName]: Egypt.40.b executed" ai_chance = { base = 1 } add_political_power = -100 add_stability = -0.2 set_temp_variable = { temp_opinion = -5 } change_the_military_opinion = yes give_guarantee = SUD if = { limit = { is_in_faction = no } create_faction_from_template = faction_template_morsan_allianc } SUD = { country_event = Egypt.41 } set_temp_variable = { wargoal_on = ETH } set_temp_variable = { wargoal_type = 1 } add_threat_from_wargoal_effect = yes create_wargoal = { target = ETH type = liberate_wargoal } } } country_event = { id = Egypt.41 title = Egypt.41.t desc = Egypt.41.d picture = GFX_arab_spring_defection is_triggered_only = yes option = { name = Egypt.41.a log = "[GetDateText]: [This.GetName]: Egypt.41.a executed" ai_chance = { base = 1 } EGY = { add_to_faction = ROOT } } option = { name = Egypt.41.b log = "[GetDateText]: [This.GetName]: Egypt.41.b executed" ai_chance = { base = 0 } add_opinion_modifier = { modifier = drama target = EGY } reverse_add_opinion_modifier = { modifier = drama target = EGY } } } country_event = { id = Egypt.42 title = Egypt.42.t desc = Egypt.42.d picture = GFX_arab_spring_defection is_triggered_only = yes option = { name = Egypt.42.a log = "[GetDateText]: [This.GetName]: Egypt.42.a executed" ai_chance = { base = 1 } add_popularity = { ideology = neutrality popularity = 0.05 } add_equipment_to_stockpile = { type = infantry_weapons_2 amount = 2500 producer = EGY } } } country_event = { id = Egypt.43 title = Egypt.43.t desc = Egypt.43.d picture = GFX_arab_spring_defection is_triggered_only = yes option = { name = Egypt.43.a log = "[GetDateText]: [This.GetName]: Egypt.43.a executed" ai_chance = { base = 1 } add_opinion_modifier = { target = EGY modifier = hostile_status } reverse_add_opinion_modifier = { target = EGY modifier = hostile_status } } } country_event = { id = Egypt.44 title = Egypt.44.t desc = Egypt.44.d picture = GFX_new_intifada is_triggered_only = yes option = { name = Egypt.44.a ai_chance = { base = 100 } } } country_event = { id = Egypt.45 title = Egypt.45.t desc = Egypt.45.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = Egypt.45.a log = "[GetDateText]: [This.GetName]: Egypt.45.a executed" ai_chance = { base = 1 } set_temp_variable = { temp_opinion = 10 } change_the_military_opinion = yes ISR = { country_event = Egypt.46 } } option = { name = Egypt.45.b log = "[GetDateText]: [This.GetName]: Egypt.45.b executed" ai_chance = { base = 1 } add_political_power = 150 add_stability = 0.05 set_temp_variable = { temp_opinion = 5 } change_the_military_opinion = yes } option = { name = Egypt.45.c log = "[GetDateText]: [This.GetName]: Egypt.45.c executed" ai_chance = { base = 1 } set_temp_variable = { temp_opinion = -5 } change_the_military_opinion = yes add_stability = -0.1 add_political_power = -100 set_temp_variable = { wargoal_on = ISR } set_temp_variable = { wargoal_type = 1 } add_threat_from_wargoal_effect = yes create_wargoal = { target = ISR type = liberate_wargoal } HAM = { country_event = Egypt.41 } PAL = { country_event = Egypt.41 } } } country_event = { id = Egypt.46 title = Egypt.46.t desc = Egypt.46.d picture = GFX_new_intifada is_triggered_only = yes option = { name = Egypt.46.a log = "[GetDateText]: [This.GetName]: Egypt.46.a executed" ai_chance = { base = 1 } add_opinion_modifier = { modifier = peace_talks target = EGY } reverse_add_opinion_modifier = { modifier = peace_talks target = EGY } diplomatic_relation = { country = EGY relation = non_aggression_pact active = no } hidden_effect = { set_temp_variable = { percent_change = 4 } set_temp_variable = { tag_index = EGY } set_temp_variable = { influence_target = ISR } change_influence_percentage = yes } } option = { name = Egypt.46.b log = "[GetDateText]: [This.GetName]: Egypt.46.b executed" ai_chance = { base = 1 } add_opinion_modifier = { modifier = drama target = EGY } reverse_add_opinion_modifier = { modifier = drama target = EGY } hidden_effect = { set_temp_variable = { percent_change = 4 } set_temp_variable = { tag_index = ISR } set_temp_variable = { influence_target = EGY } change_influence_percentage = yes } } } country_event = { id = Egypt.47 title = Egypt.47.t desc = Egypt.47.d picture = GFX_united_arab_republic is_triggered_only = yes option = { name = Egypt.47.a log = "[GetDateText]: [This.GetName]: Egypt.47.a executed" ai_chance = { base = 1 } add_political_power = 100 set_temp_variable = { temp_modify_social_con_government = 5 } modify_social_conservatism_government = yes } } country_event = { id = Egypt.48 title = Egypt.48.t desc = Egypt.48.d picture = GFX_message_signing is_triggered_only = yes option = { name = Egypt.48.a log = "[GetDateText]: [This.GetName]: Egypt.48.a" add_stability = 0.02 increase_centralization = yes set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes ai_chance = { base = 25 } } option = { name = Egypt.48.b log = "[GetDateText]: [This.GetName]: Egypt.48.b" add_war_support = 0.05 increase_military_spending = yes set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes ai_chance = { base = 25 } } } country_event = { id = Egypt.49 title = Egypt.49.t desc = Egypt.49.d picture = GFX_new_intifada is_triggered_only = yes option = { name = Egypt.49.a log = "[GetDateText]: [This.GetName]: Egypt.49.a executed" ai_chance = { base = 1 } custom_effect_tooltip = TT_IF_WE_DECLINE EGY = { country_event = Egypt.50 } add_popularity = { ideology = fascism popularity = -0.02 } set_temp_variable = { percent_change = 2 } change_domestic_influence_percentage = yes } option = { name = Egypt.49.b log = "[GetDateText]: [This.GetName]: Egypt.49.b executed" ai_chance = { base = 0 } custom_effect_tooltip = TT_IF_WE_ACCEPT EGY = { country_event = Egypt.51 } add_popularity = { ideology = fascism popularity = 0.02 } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = EGY } change_influence_percentage = yes } } country_event = { id = Egypt.50 title = Egypt.50.t desc = Egypt.50.d picture = GFX_new_intifada is_triggered_only = yes option = { name = Egypt.50.a log = "[GetDateText]: [This.GetName]: Egypt.50.a executed" ai_chance = { base = 1 } add_opinion_modifier = { modifier = drama target = USA } reverse_add_opinion_modifier = { modifier = drama target = USA } } } country_event = { id = Egypt.51 title = Egypt.51.t desc = Egypt.51.d picture = GFX_new_intifada is_triggered_only = yes option = { name = Egypt.51.a log = "[GetDateText]: [This.GetName]: Egypt.51.a executed" ai_chance = { base = 1 } add_political_power = 100 add_popularity = { ideology = fascism popularity = 0.02 } add_opinion_modifier = { target = USA modifier = improve_trade } reverse_add_opinion_modifier = { target = USA modifier = improve_trade } } } country_event = { id = Egypt.52 title = Egypt.52.t desc = Egypt.52.d picture = GFX_lulw is_triggered_only = yes option = { name = Egypt.52.a log = "[GetDateText]: [This.GetName]: Egypt.52.a executed" ai_chance = { base = 1 } add_political_power = -50 ISR = { add_stability = -0.02 add_war_support = -0.05 } } } country_event = { id = Egypt.53 title = Egypt.53.t desc = Egypt.53.d picture = GFX_handshake_black is_triggered_only = yes option = { name = Egypt.53.a log = "[GetDateText]: [This.GetName]: Egypt.53.a executed" ai_chance = { base = 0 } add_stability = 0.05 add_political_power = 50 } option = { name = Egypt.53.b log = "[GetDateText]: [This.GetName]: Egypt.53.b executed" ai_chance = { base = 1 } add_political_power = -100 set_temp_variable = { temp_opinion = 10 } change_the_military_opinion = yes } } country_event = { id = egypt.100 title = egypt.100.t desc = egypt.100.d picture = GFX_evergreen_stuck is_triggered_only = yes fire_only_once = yes trigger = { tag = EGY has_idea = full_control_of_suez } #whatever it takes! option = { name = egypt.100.a log = "[GetDateText]: [This.GetName]: egypt.100.a executed" swap_ideas = { remove_idea = full_control_of_suez add_idea = suez_canal_blocked } add_political_power = -200 custom_effect_tooltip = EGY_whatever_it_takes_tt set_country_flag = EGY_whatever_it_takes set_global_flag = SUEZ_CANAL_BLOCKED hidden_effect = { news_event = { id = egypt.101 hours = 16 } random_list = { 25 = { country_event = { id = egypt.102 days = 5 } } 50 = { country_event = { id = egypt.102 days = 6 } } 25 = { country_event = { id = egypt.102 days = 7 } } } } ai_chance = { base = 1 } } #trust in the authorities option = { name = egypt.100.b log = "[GetDateText]: [This.GetName]: egypt.100.b executed" swap_ideas = { remove_idea = full_control_of_suez add_idea = suez_canal_blocked } add_political_power = -100 custom_effect_tooltip = EGY_trust_authorities_tt set_country_flag = EGY_trust_authorities set_global_flag = SUEZ_CANAL_BLOCKED hidden_effect = { news_event = egypt.101 random_list = { 25 = { country_event = { id = egypt.102 days = 7 } } 25 = { country_event = { id = egypt.102 days = 9 } } 25 = { country_event = { id = egypt.102 days = 12 } } 25 = { country_event = { id = egypt.102 days = 14 } } } } ai_chance = { base = 1 } } #act with cautious option = { name = egypt.100.c log = "[GetDateText]: [This.GetName]: egypt.100.c executed" swap_ideas = { remove_idea = full_control_of_suez add_idea = suez_canal_blocked } add_political_power = -50 custom_effect_tooltip = EGY_act_with_cautious_tt set_country_flag = EGY_act_with_cautious set_global_flag = SUEZ_CANAL_BLOCKED hidden_effect = { news_event = egypt.101 random_list = { 25 = { country_event = { id = egypt.102 days = 14 } } 25 = { country_event = { id = egypt.102 days = 19 } } 25 = { country_event = { id = egypt.102 days = 28 } } 25 = { country_event = { id = egypt.102 days = 35 } } } } ai_chance = { base = 1 } } } news_event = { id = egypt.101 title = egypt.101.t desc = egypt.101.d picture = GFX_evergreen is_triggered_only = yes major = yes # option = { name = egypt.101.a log = "[GetDateText]: [This.GetName]: egypt.101.a executed" add_stability = -0.001 if = { limit = { EGY = { has_country_flag = EGY_whatever_it_takes } } custom_effect_tooltip = EGY_whatever_it_takes_tt } if = { limit = { EGY = { has_country_flag = EGY_trust_authorities } } custom_effect_tooltip = EGY_trust_authorities_tt } if = { limit = { EGY = { has_country_flag = EGY_act_with_cautious } } custom_effect_tooltip = EGY_act_with_cautious_tt } ai_chance = { base = 1 } } } country_event = { id = egypt.102 title = egypt.102.t desc = egypt.102.d picture = GFX_evergreen_tucked is_triggered_only = yes # option = { name = egypt.102.a log = "[GetDateText]: [This.GetName]: egypt.102.a executed" swap_ideas = { remove_idea = suez_canal_blocked add_idea = full_control_of_suez } add_timed_idea = { idea = suez_blocked_aftermath days = 90 } hidden_effect = { clr_country_flag = EGY_whatever_it_takes clr_country_flag = EGY_trust_authorities clr_country_flag = EGY_act_with_cautious clr_global_flag = SUEZ_CANAL_BLOCKED news_event = { id = egypt.103 hours = 16 } } ai_chance = { base = 1 } } } news_event = { id = egypt.103 title = egypt.103.t desc = egypt.103.d picture = GFX_evergreen_free is_triggered_only = yes major = yes option = { name = egypt.103.a ai_chance = { base = 1 } } } country_event = { id = egypt.104 title = egypt.104.t desc = egypt.104.d picture = GFX_iraq_war3 is_triggered_only = yes # option = { name = egypt.104.a log = "[GetDateText]: [This.GetName]: egypt.104.a executed" add_political_power = -150 swap_ideas = { remove_idea = EGY_corrupt_mil_idea5 add_idea = EGY_corrupt_mil_idea6 } ai_chance = { base = 1 } } option = { name = egypt.104.b log = "[GetDateText]: [This.GetName]: egypt.104.b executed" add_stability = -0.04 remove_ideas = EGY_corrupt_mil_idea5 set_temp_variable = { temp_opinion = -6 } change_the_military_opinion = yes ai_chance = { base = 1 } } } country_event = { id = egypt_copts.1 title = egypt_copts.1.t desc = egypt_copts.1.d picture = GFX_taliban_attack_building is_triggered_only = yes # option = { name = egypt_copts.1.a log = "[GetDateText]: [This.GetName]: egypt_copts.1.a executed" add_political_power = 50 set_temp_variable = { coptic_pol_influence_change = -7 } modify_coptic_pol_influence_effect = yes set_temp_variable = { temp_modify_social_con_government = 5 } modify_social_conservatism_government = yes set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes set_temp_variable = { party_index = 12 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes ai_chance = { base = 30 modifier = { factor = 0.1 check_variable = { EGY_coptic_people_opinion < 50 } } } } option = { name = egypt_copts.1.b log = "[GetDateText]: [This.GetName]: egypt_copts.1.b executed" set_temp_variable = { coptic_opinion_change = 4 } modify_coptic_opinion_effect = yes set_temp_variable = { coptic_pol_influence_change = 7 } modify_coptic_pol_influence_effect = yes set_temp_variable = { temp_modify_social_con_government = -3 } modify_social_conservatism_government = yes set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes set_temp_variable = { party_index = 13 } set_temp_variable = { party_popularity_increase = 0.04 } change_relative_party_popularity = yes ai_chance = { base = 70 modifier = { factor = 2 check_variable = { EGY_coptic_people_opinion < 30 } } } } } country_event = { id = egypt_copts.2 title = egypt_copts.2.t desc = egypt_copts.2.d picture = GFX_egyptian_christian_massacre is_triggered_only = yes # option = { name = egypt_copts.2.a log = "[GetDateText]: [This.GetName]: egypt_copts.2.a executed" add_political_power = 50 set_temp_variable = { coptic_pol_influence_change = -4 } modify_coptic_pol_influence_effect = yes set_temp_variable = { temp_modify_social_con_government = 2 } modify_social_conservatism_government = yes set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes set_temp_variable = { party_index = 12 } set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes ai_chance = { base = 30 modifier = { factor = 0.1 check_variable = { EGY_coptic_people_opinion < 50 } } } } option = { name = egypt_copts.2.b log = "[GetDateText]: [This.GetName]: egypt_copts.2.b executed" set_temp_variable = { coptic_opinion_change = 4 } modify_coptic_opinion_effect = yes set_temp_variable = { coptic_pol_influence_change = 4 } modify_coptic_pol_influence_effect = yes set_temp_variable = { temp_modify_social_con_government = -2 } modify_social_conservatism_government = yes set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes set_temp_variable = { party_index = 13 } set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes ai_chance = { base = 70 modifier = { factor = 2 check_variable = { EGY_coptic_people_opinion < 30 } } } } } country_event = { id = egypt_copts.3 title = egypt_copts.3.t desc = egypt_copts.3.d picture = GFX_iranian_civ_war_country is_triggered_only = yes # option = { name = egypt_copts.3.a log = "[GetDateText]: [This.GetName]: egypt_copts.3.a executed" add_political_power = 50 set_temp_variable = { coptic_pol_influence_change = -6 } modify_coptic_pol_influence_effect = yes set_temp_variable = { temp_modify_social_con_government = 5 } modify_social_conservatism_government = yes set_temp_variable = { party_popularity_increase = -0.01 } change_relative_party_popularity = yes set_temp_variable = { party_index = 12 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.04 } change_relative_party_popularity = yes ai_chance = { base = 30 modifier = { factor = 0.1 check_variable = { EGY_coptic_people_opinion < 50 } } } } option = { name = egypt_copts.3.b log = "[GetDateText]: [This.GetName]: egypt_copts.3.b executed" set_temp_variable = { coptic_opinion_change = 6 } modify_coptic_opinion_effect = yes set_temp_variable = { coptic_pol_influence_change = 6 } modify_coptic_pol_influence_effect = yes set_temp_variable = { temp_modify_social_con_government = -3 } modify_social_conservatism_government = yes set_temp_variable = { party_popularity_increase = 0.04 } change_relative_party_popularity = yes set_temp_variable = { party_index = 13 } set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes ai_chance = { base = 70 modifier = { factor = 2 check_variable = { EGY_coptic_people_opinion < 30 } } } } } country_event = { id = egypt_copts.4 title = egypt_copts.4.t desc = egypt_copts.4.d picture = GFX_report_event_crocifisso is_triggered_only = yes # option = { name = egypt_copts.4.a log = "[GetDateText]: [This.GetName]: egypt_copts.4.a executed" add_political_power = 50 set_temp_variable = { coptic_pol_influence_change = -6 } modify_coptic_pol_influence_effect = yes set_temp_variable = { temp_modify_social_con_government = 2 } modify_social_conservatism_government = yes set_temp_variable = { party_popularity_increase = 0.01 } change_relative_party_popularity = yes set_temp_variable = { party_index = 12 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes ai_chance = { base = 30 modifier = { factor = 0.1 check_variable = { EGY_coptic_people_opinion < 50 } } } } option = { name = egypt_copts.4.b log = "[GetDateText]: [This.GetName]: egypt_copts.4.b executed" set_temp_variable = { coptic_opinion_change = 5 } modify_coptic_opinion_effect = yes set_temp_variable = { coptic_pol_influence_change = 6 } modify_coptic_pol_influence_effect = yes set_temp_variable = { temp_modify_social_con_government = -2 } modify_social_conservatism_government = yes set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes set_temp_variable = { party_index = 13 } set_temp_variable = { party_popularity_increase = 0.04 } change_relative_party_popularity = yes ai_chance = { base = 70 modifier = { factor = 2 check_variable = { EGY_coptic_people_opinion < 30 } } } } } country_event = { id = egypt_copts.5 title = egypt_copts.5.t desc = egypt_copts.5.d picture = GFX_SYR_tahrir_al_sham is_triggered_only = yes # option = { name = egypt_copts.5.a log = "[GetDateText]: [This.GetName]: egypt_copts.5.a executed" add_political_power = 50 set_temp_variable = { coptic_pol_influence_change = -6 } modify_coptic_pol_influence_effect = yes set_temp_variable = { temp_modify_social_con_government = 3 } modify_social_conservatism_government = yes set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes set_temp_variable = { party_index = 12 } set_temp_variable = { party_popularity_increase = 0.04 } change_relative_party_popularity = yes set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.04 } change_relative_party_popularity = yes ai_chance = { base = 30 modifier = { factor = 0.1 check_variable = { EGY_coptic_people_opinion < 50 } } } } option = { name = egypt_copts.5.b log = "[GetDateText]: [This.GetName]: egypt_copts.5.b executed" set_temp_variable = { coptic_opinion_change = 5 } modify_coptic_opinion_effect = yes set_temp_variable = { coptic_pol_influence_change = 6 } modify_coptic_pol_influence_effect = yes set_temp_variable = { temp_modify_social_con_government = -2 } modify_social_conservatism_government = yes set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes set_temp_variable = { party_index = 13 } set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes ai_chance = { base = 70 modifier = { factor = 2 check_variable = { EGY_coptic_people_opinion < 30 } } } } } country_event = { id = egypt.105 title = egypt.105.t desc = egypt.105.d picture = GFX_SYR_tahrir_al_sham is_triggered_only = yes # option = { name = egypt.105.a ai_chance = { base = 1 } } } country_event = { id = egypt.106 title = egypt.106.t desc = egypt.106.d picture = GFX_turkishmafia is_triggered_only = yes # option = { name = egypt.106.a log = "[GetDateText]: [This.GetName]: egypt.106.a executed" add_political_power = 100 add_stability = 0.05 add_legitimacy = 10 set_temp_variable = { temp_modify_social_con_government = -2 } modify_social_conservatism_government = yes ai_chance = { base = 1 } } } country_event = { id = egypt.107 title = egypt.107.t desc = egypt.107.d picture = GFX_SAU_generic is_triggered_only = yes # option = { name = egypt.107.a log = "[GetDateText]: [This.GetName]: egypt.107.a executed" give_guarantee = EGY set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes add_equipment_to_stockpile = { type = infantry_weapons_2 amount = -2500 producer = SAU } EGY = { country_event = Egypt.42 give_guarantee = SAU add_fuel = 400 } set_temp_variable = { percent_change = 8 } set_temp_variable = { tag_index = SAU } set_temp_variable = { influence_target = EGY } change_influence_percentage = yes ai_chance = { base = 1 } } option = { name = egypt.107.b log = "[GetDateText]: [This.GetName]: egypt.107.b executed" set_temp_variable = { percent_change = -2 } set_temp_variable = { tag_index = SAU } set_temp_variable = { influence_target = EGY } change_influence_percentage = yes EGY = { country_event = egypt.108 } ai_chance = { base = 0 } } } country_event = { id = egypt.108 title = egypt.108.t desc = egypt.108.d picture = GFX_SAU_generic is_triggered_only = yes # option = { name = egypt.108.a ai_chance = { base = 1 } } } country_event = { id = egypt.109 title = egypt.109.t desc = egypt.109.d picture = GFX_boko_haram_insurgency is_triggered_only = yes # option = { name = egypt.109.a log = "[GetDateText]: [This.GetName]: egypt.109.a executed" add_opinion_modifier = { target = EGY modifier = AlQaida_Are_Terrorists } reverse_add_opinion_modifier = { target = EGY modifier = AlQaida_Are_Terrorists } add_popularity = { ideology = fascism popularity = 0.02 } ai_chance = { base = 1 } } } country_event = { id = egypt.110 title = egypt.110.t desc = egypt.110.d picture = GFX_boko_haram_insurgency is_triggered_only = yes # option = { name = egypt.110.a log = "[GetDateText]: [This.GetName]: egypt.110.a executed" create_country_leader = { name = "Younes Makhioun" picture = "EGY_Salafi_Younes_Makhioun.dds" ideology = Kingdom traits = { salafist_Kingdom pro_saudi doctor anti_zionist pro_al_qaeda } } ai_chance = { base = 1 } } } country_event = { id = egypt.111 title = egypt.111.t desc = egypt.111.d picture = GFX_EST_VictoryColumng is_triggered_only = yes # option = { name = egypt.111.a log = "[GetDateText]: [This.GetName]: egypt.111.a executed" add_stability = 0.05 set_temp_variable = { coptic_opinion_change = 5 } modify_coptic_opinion_effect = yes set_temp_variable = { coptic_pol_influence_change = 2 } modify_coptic_pol_influence_effect = yes ai_chance = { base = 1 } } } country_event = { id = Egypt.112 title = Egypt.112.t desc = Egypt.112.d picture = GFX_vladimir_putin is_triggered_only = yes option = { name = Egypt.112.a log = "[GetDateText]: [This.GetName]: Egypt.112.a executed" ai_chance = { base = 1 } EGY = { two_random_network_infrastructure = yes set_temp_variable = { treasury_change = 6 } modify_treasury_effect = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = SOV } change_influence_percentage = yes country_event = Egypt.113 } set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } option = { name = Egypt.112.b log = "[GetDateText]: [This.GetName]: Egypt.112.a executed" ai_chance = { base = 0 } EGY = { country_event = Egypt.114 } } } country_event = { id = Egypt.113 title = Egypt.113.t desc = Egypt.113.d picture = GFX_vladimir_putin is_triggered_only = yes option = { name = Egypt.113.a log = "[GetDateText]: [This.GetName]: Egypt.113.a executed" ai_chance = { base = 1 } custom_effect_tooltip = we_will_int_tt_2 } } country_event = { id = Egypt.114 title = Egypt.114.t desc = Egypt.114.d picture = GFX_vladimir_putin is_triggered_only = yes option = { name = Egypt.114.a ai_chance = { base = 1 } } } country_event = { id = Egypt.115 title = Egypt.115.t desc = Egypt.115.d picture = GFX_harbor is_triggered_only = yes option = { name = Egypt.115.a log = "[GetDateText]: [This.GetName]: Egypt.115.a executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value > 10 } } } EGY = { two_random_network_infrastructure = yes set_temp_variable = { treasury_change = 6 } modify_treasury_effect = yes country_event = Egypt.116 } set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = EGY } change_influence_percentage = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } option = { name = Egypt.115.b log = "[GetDateText]: [This.GetName]: Egypt.115.a executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value < 10 } } } EGY = { country_event = Egypt.117 } } } country_event = { id = Egypt.116 title = Egypt.116.t desc = Egypt.116.d picture = GFX_harbor is_triggered_only = yes option = { name = Egypt.116.a log = "[GetDateText]: [This.GetName]: Egypt.116.a executed" ai_chance = { base = 1 } custom_effect_tooltip = we_will_int_tt_3 } } country_event = { id = Egypt.117 title = Egypt.117.t desc = Egypt.117.d picture = GFX_harbor is_triggered_only = yes option = { name = Egypt.117.a ai_chance = { base = 1 } } } country_event = { id = egypt.118 title = egypt.118.t desc = egypt.118.d picture = GFX_american_troops is_triggered_only = yes # option = { name = egypt.118.a log = "[GetDateText]: [This.GetName]: egypt.118.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT give_guarantee = EGY set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes add_equipment_to_stockpile = { type = infantry_weapons_2 amount = -2500 producer = USA } EGY = { country_event = Egypt.42 give_guarantee = USA add_fuel = 400 } set_temp_variable = { percent_change = 8 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = EGY } change_influence_percentage = yes ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value > 10 } } } } option = { name = egypt.118.b log = "[GetDateText]: [This.GetName]: egypt.118.b executed" custom_effect_tooltip = TT_IF_WE_DECLINE set_temp_variable = { percent_change = -2 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = EGY } change_influence_percentage = yes EGY = { country_event = egypt.119 } ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value < 10 } } } } } country_event = { id = egypt.119 title = egypt.119.t desc = egypt.119.d picture = GFX_american_troops is_triggered_only = yes # option = { name = egypt.119.a ai_chance = { base = 1 } } } country_event = { id = egypt.120 title = egypt.120.t desc = egypt.120.d picture = GFX_TUR_generic is_triggered_only = yes # option = { name = egypt.120.a log = "[GetDateText]: [This.GetName]: egypt.120.a executed" add_political_power = -50 add_stability = 0.05 set_temp_variable = { temp_opinion = 10 } change_the_military_opinion = yes SYR = { country_event = egypt.121 } KUW = { country_event = egypt.121 } ARM = { country_event = egypt.121 } GRE = { country_event = egypt.121 } set_temp_variable = { percent_change = -10 } set_temp_variable = { tag_index = TUR } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes set_temp_variable = { percent_change = -10 } set_temp_variable = { tag_index = QAT } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes ai_chance = { base = 1 } } option = { name = egypt.120.b log = "[GetDateText]: [This.GetName]: egypt.120.b executed" add_political_power = -200 add_stability = -0.1 set_temp_variable = { temp_opinion = -10 } change_the_military_opinion = yes SYR = { country_event = egypt.121 } KUW = { country_event = egypt.121 } ARM = { country_event = egypt.121 } GRE = { country_event = egypt.121 } set_temp_variable = { wargoal_on = TUR } set_temp_variable = { wargoal_type = 1 } add_threat_from_wargoal_effect = yes create_wargoal = { target = TUR type = liberate_wargoal } set_temp_variable = { wargoal_on = QAT } set_temp_variable = { wargoal_type = 1 } add_threat_from_wargoal_effect = yes create_wargoal = { target = QAT type = liberate_wargoal } set_temp_variable = { wargoal_on = SUD } set_temp_variable = { wargoal_type = 1 } add_threat_from_wargoal_effect = yes create_wargoal = { target = SUD type = liberate_wargoal } ai_chance = { base = 1 } } } country_event = { id = egypt.121 title = egypt.121.t desc = egypt.121.d picture = GFX_american_troops is_triggered_only = yes # option = { name = egypt.121.a log = "[GetDateText]: [This.GetName]: egypt.121.a executed" add_political_power = 50 add_opinion_modifier = { target = EGY modifier = diplomatic_support } reverse_add_opinion_modifier = { target = EGY modifier = diplomatic_support } set_temp_variable = { percent_change = -5 } set_temp_variable = { tag_index = TUR } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes set_temp_variable = { percent_change = -5 } set_temp_variable = { tag_index = QAT } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes ai_chance = { base = 1 } } } country_event = { id = egypt.122 title = egypt.122.t desc = egypt.122.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes # option = { name = egypt.122.a log = "[GetDateText]: [This.GetName]: egypt.122.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT diplomatic_relation = { country = EGY relation = non_aggression_pact active = yes } ai_chance = { base = 1 } } option = { name = egypt.122.b log = "[GetDateText]: [This.GetName]: egypt.122.b executed" custom_effect_tooltip = TT_IF_WE_DECLINE add_opinion_modifier = { modifier = drama target = EGY } reverse_add_opinion_modifier = { modifier = drama target = EGY } ai_chance = { base = 1 } } } ###########BUYARMS country_event = { id = egypt.123 title = egypt.123.t desc = egypt.123.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.123.a log = "[GetDateText]: [This.GetName]: egypt.123.a executed" USA = { set_temp_variable = { treasury_change = 4 } modify_treasury_effect = yes } EGY = { set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes country_event = egypt.124 } if = { limit = { has_dlc = "No Step Back" } USA = { add_equipment_to_stockpile = { type = medium_tank_artillery_chassis_1 variant_name = "M109A5" amount = -100 } } EGY = { add_equipment_to_stockpile = { type = medium_tank_artillery_chassis_1 variant_name = "M109A5" amount = 100 producer = USA } } } else = { USA = { add_equipment_to_stockpile = { type = SP_arty_2 amount = -100 producer = USA } } EGY = { add_equipment_to_stockpile = { type = SP_arty_2 amount = 100 producer = USA } } } ai_chance = { base = 1 } } option = { name = egypt.123.b log = "[GetDateText]: [This.GetName]: egypt.123.b executed" EGY = { country_event = egypt.125 } ai_chance = { base = 0 } } } country_event = { id = egypt.124 title = egypt.124.t desc = egypt.124.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.124.a ai_chance = { base = 1 } } } country_event = { id = egypt.125 title = egypt.125.t desc = egypt.125.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.125.a ai_chance = { base = 1 } } } country_event = { id = egypt.129 title = egypt.129.t desc = egypt.129.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.129.a log = "[GetDateText]: [This.GetName]: egypt.129.a executed" USA = { set_temp_variable = { treasury_change = 5 } modify_treasury_effect = yes } EGY = { set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes country_event = egypt.130 } if = { limit = { has_dlc = "No Step Back" } USA = { add_equipment_to_stockpile = { type = medium_tank_chassis_1 variant_name = "M1A2 Abrams" amount = -120 producer = USA } } EGY = { add_equipment_to_stockpile = { type = medium_tank_chassis_1 variant_name = "M1A2 Abrams" amount = 120 producer = USA } } } else = { USA = { add_equipment_to_stockpile = { type = MBT_3 #they don't have USA_MBT_4 (M1A2) technology amount = -120 producer = USA } } EGY = { add_equipment_to_stockpile = { type = MBT_3 amount = 120 producer = USA } } } ai_chance = { base = 1 } } option = { name = egypt.129.b log = "[GetDateText]: [This.GetName]: egypt.129.b executed" EGY = { country_event = egypt.131 } ai_chance = { base = 1 } } } country_event = { id = egypt.130 title = egypt.130.t desc = egypt.130.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.130.a ai_chance = { base = 1 } } } country_event = { id = egypt.131 title = egypt.131.t desc = egypt.131.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.131.a ai_chance = { base = 1 } } } country_event = { id = egypt.132 title = egypt.132.t desc = egypt.132.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.132.a log = "[GetDateText]: [This.GetName]: egypt.132.a executed" SOV = { set_temp_variable = { treasury_change = 4 } modify_treasury_effect = yes } EGY = { set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes country_event = egypt.133 } if = { limit = { has_dlc = "No Step Back" } SOV = { add_equipment_to_stockpile = { type = medium_tank_amphibious_chassis_1 variant_name = "BTR-70" amount = -90 producer = SOV } } EGY = { add_equipment_to_stockpile = { type = medium_tank_amphibious_chassis_1 variant_name = "BTR-70" amount = 90 producer = SOV } } } else = { SOV = { add_equipment_to_stockpile = { type = APC_3 amount = -90 producer = SOV } } EGY = { add_equipment_to_stockpile = { type = APC_3 amount = 90 producer = SOV } } } ai_chance = { base = 1 } } option = { name = egypt.132.b log = "[GetDateText]: [This.GetName]: egypt.132.b executed" EGY = { country_event = egypt.134 } ai_chance = { base = 1 } } } country_event = { id = egypt.133 title = egypt.133.t desc = egypt.133.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.133.a ai_chance = { base = 1 } } } country_event = { id = egypt.134 title = egypt.134.t desc = egypt.134.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.134.a ai_chance = { base = 1 } } } country_event = { id = egypt.135 title = egypt.135.t desc = egypt.135.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.135.a log = "[GetDateText]: [This.GetName]: egypt.135.a executed" USA = { add_equipment_to_stockpile = { type = infantry_weapons_4 amount = -6000 producer = USA } set_temp_variable = { treasury_change = 4 } modify_treasury_effect = yes } EGY = { add_equipment_to_stockpile = { type = infantry_weapons_4 amount = 6000 producer = USA } set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes country_event = egypt.136 } ai_chance = { base = 1 } } option = { name = egypt.135.b log = "[GetDateText]: [This.GetName]: egypt.135.b executed" EGY = { country_event = egypt.137 } ai_chance = { base = 1 } } } country_event = { id = egypt.136 title = egypt.136.t desc = egypt.136.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.136.a ai_chance = { base = 1 } } } country_event = { id = egypt.137 title = egypt.137.t desc = egypt.137.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.137.a ai_chance = { base = 1 } } } country_event = { id = egypt.138 title = egypt.138.t desc = egypt.138.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.138.a log = "[GetDateText]: [This.GetName]: egypt.138.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT SOV = { add_equipment_to_stockpile = { type = Anti_tank_1 variant_name = "9M133 Kornet" producer = SOV amount = -250 } set_temp_variable = { treasury_change = 4 } modify_treasury_effect = yes } EGY = { add_equipment_to_stockpile = { type = Anti_tank_1 variant_name = "9M133 Kornet" producer = SOV amount = 250 } set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes country_event = egypt.139 } ai_chance = { base = 1 } } option = { name = egypt.138.b log = "[GetDateText]: [This.GetName]: egypt.138.b executed" custom_effect_tooltip = TT_IF_WE_DECLINE EGY = { country_event = egypt.140 } ai_chance = { base = 1 } } } country_event = { id = egypt.139 title = egypt.139.t desc = egypt.139.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.139.a ai_chance = { base = 1 } } } country_event = { id = egypt.140 title = egypt.140.t desc = egypt.140.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.140.a ai_chance = { base = 1 } } } ##########COUP country_event = { id = egypt.141 title = egypt.141.t desc = egypt.141.d picture = GFX_turkeycoup is_triggered_only = yes fire_only_once = yes option = { name = egypt.141.a #Side with military peaceful log = "[GetDateText]: [This.GetName]: egypt.141.a executed" if = { limit = { NOT = { has_idea = EGY_guards_of_secularism } } add_ideas = EGY_guards_of_secularism } if = { limit = { NOT = { check_variable = { ruling_party = 22 } } } set_temp_variable = { rul_party_temp = 22 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes } create_country_leader = { name = "High Military Command of Egypt" picture = "egypt_junta.dds" ideology = Nat_Autocracy traits = { nationalist_Nat_Autocracy military_career staunch_constitutionalist inexperienced } } set_cosmetic_tag = EGY_REB_S_nationalist set_variable = { dynamic_flag_variant = 8 } ai_chance = { base = 10 modifier = { add = 90 EGY_ai_historical_path = yes } } } option = { name = egypt.141.b #Side with islam warrrr log = "[GetDateText]: [This.GetName]: egypt.141.b executed" if = { limit = { has_idea = EGY_guards_of_secularism } remove_ideas = EGY_guards_of_secularism } hidden_effect = { start_civil_war = { ideology = nationalist set_cosmetic_tag = EGY_REB_S_nationalist set_variable = { dynamic_flag_variant = 8 } size = 0.5 add_ideas = EGY_guards_of_secularism add_ideas = EGY_broken_economy_idea add_ideas = EGY_outdated_army_idea add_ideas = muslim_brotherhood_crackdown add_ideas = EGY_corrupt_mil_idea load_focus_tree = egypt_focus states = { 215 213 217 } add_equipment_to_stockpile = { type = infantry_weapons_type amount = 10000 producer = EGY } set_temp_variable = { rul_party_temp = 22 } change_ruling_party_effect = yes } } ai_chance = { base = 1 modifier = { add = 20 OR = { has_global_flag = EGY_BROTHERHOOD_FOCUS_PATH has_global_flag = EGY_SALAFIST_FOCUS_PATH } } } } } country_event = { id = egypt.142 title = egypt.142.t desc = egypt.142.d picture = GFX_african_union_forces is_triggered_only = yes option = { name = egypt.142.a log = "[GetDateText]: [This.GetName]: egypt.142.a executed" give_guarantee = EGY set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes country_event = Egypt.42 EGY = { give_guarantee = PAL add_equipment_to_stockpile = { type = infantry_weapons_2 amount = -2500 producer = PAL } } set_temp_variable = { percent_change = 3 } set_temp_variable = { tag_index = EGY } set_temp_variable = { influence_target = PAL } change_influence_percentage = yes ai_chance = { base = 1 } } option = { name = egypt.142.b log = "[GetDateText]: [This.GetName]: egypt.142.b executed" set_temp_variable = { percent_change = -2 } set_temp_variable = { tag_index = EGY } set_temp_variable = { influence_target = PAL } change_influence_percentage = yes EGY = { country_event = egypt.143 } ai_chance = { base = 0 } } } country_event = { id = egypt.143 title = egypt.143.t desc = egypt.143.d picture = GFX_african_union_forces is_triggered_only = yes # option = { name = egypt.143.a ai_chance = { base = 1 } } } country_event = { id = egypt.144 title = egypt.144.t desc = egypt.144.d picture = GFX_arab_spring_defection is_triggered_only = yes # option = { name = egypt.144.a log = "[GetDateText]: [This.GetName]: egypt.144.a executed" EGY = { add_timed_idea = { idea = large_refugee_population days = 360 } } if = { limit = { original_tag = PAL } EGY = { add_state_core = 208 add_state_core = 209 annex_country = { target = PAL transfer_troops = yes } } } if = { limit = { original_tag = SUD } EGY = { add_state_core = 576 add_state_core = 614 add_state_core = 221 add_state_core = 220 add_state_core = 222 add_state_core = 223 add_state_core = 224 annex_country = { target = SUD transfer_troops = yes } } } set_cosmetic_tag = UAR_communism ai_chance = { base = 90 } } option = { name = egypt.144.b log = "[GetDateText]: [This.GetName]: egypt.144.b executed" set_temp_variable = { treasury_change = 10 } modify_treasury_effect = yes EGY = { set_cosmetic_tag = UAR_communism set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes diplomatic_relation = { country = ROOT relation = puppet active = no } } ai_chance = { base = 5 } } option = { name = egypt.144.c log = "[GetDateText]: [This.GetName]: egypt.144.b executed" set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes ai_chance = { base = 5 } } } country_event = { id = egypt.145 title = egypt.145.t desc = egypt.145.d picture = GFX_african_union_forces is_triggered_only = yes # option = { name = egypt.145.a log = "[GetDateText]: [This.GetName]: egypt.145.a executed" ai_chance = { base = 1 } add_ideas = egy_secular_republic } option = { name = egypt.145.b log = "[GetDateText]: [This.GetName]: egypt.145.b executed" ai_chance = { base = 1 } add_ideas = egy_theocratic_monarchy } } country_event = { id = egypt.146 title = egypt.146.t desc = egypt.146.d picture = GFX_african_union_forces is_triggered_only = yes # option = { name = egypt.146.a log = "[GetDateText]: [This.GetName]: Egypt.146.a executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value > 10 } } } EGY = { country_event = egypt.147 add_to_faction = ROOT } } option = { name = egypt.146.b log = "[GetDateText]: [This.GetName]: Egypt.146.b executed" ai_chance = { base = 1 modifier = { factor = 0.2 has_opinion = { target = EGY value < 10 } } } EGY = { country_event = egypt.148 } } } country_event = { id = egypt.147 title = egypt.147.t desc = egypt.147.d picture = GFX_african_union_forces is_triggered_only = yes # option = { name = Egypt.147.a log = "[GetDateText]: [This.GetName]: Egypt.147.a executed" add_to_faction = FROM ai_chance = { base = 1 } } } country_event = { id = egypt.148 title = egypt.148.t desc = egypt.148.d picture = GFX_african_union_forces is_triggered_only = yes # option = { name = Egypt.148.a ai_chance = { base = 1 } } } country_event = { id = egypt.149 title = egypt.149.t desc = egypt.149.d picture = GFX_broken_infrastructure is_triggered_only = yes option = { name = egypt.149.a ai_chance = { base = 1 } } } country_event = { id = egypt.150 title = egypt.150.t desc = egypt.150.d picture = GFX_internal_faction_religion is_triggered_only = yes option = { name = egypt.150.a ai_chance = { base = 1 } } } country_event = { id = egypt.151 title = egypt.151.t desc = egypt.151.d picture = GFX_internal_faction_religion is_triggered_only = yes option = { name = egypt.151.a log = "[GetDateText]: [This.GetName]: Egypt.150.a executed" if = { limit = { original_tag = GER } custom_effect_tooltip = EGY_GER_agree_to_sell_tt hidden_effect = { EGY = { set_technology = { attack_submarine_hull_1 = 1 } create_ship = { type = attack_submarine_hull_1 equipment_variant = "Type 206 Class" creator = GER name = "ENS U-40" } create_ship = { type = attack_submarine_hull_1 equipment_variant = "Type 206 Class" creator = GER name = "ENS U-41" } create_ship = { type = attack_submarine_hull_1 equipment_variant = "Type 206 Class" creator = GER name = "ENS U-42" } create_ship = { type = attack_submarine_hull_1 equipment_variant = "Type 206 Class" creator = GER name = "ENS U-43" } create_ship = { type = attack_submarine_hull_1 equipment_variant = "Type 206 Class" creator = GER name = "ENS U-44" } } GER = { set_temp_variable = { treasury_change = 6 } modify_treasury_effect = yes } EGY = { set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes country_event = egypt.152 } } } else_if = { limit = { original_tag = ITA } custom_effect_tooltip = EGY_ITA_agree_to_sell_tt hidden_effect = { EGY = { set_technology = { frigate_hull_3 = 1 } create_ship = { type = frigate_hull_3 equipment_variant = "Artigliere Class" creator = ITA name = "Scirocco (F773)" } create_ship = { type = frigate_hull_3 equipment_variant = "Artigliere Class" creator = ITA name = "Aliseo (F774)" } create_ship = { type = frigate_hull_3 equipment_variant = "Artigliere Class" creator = ITA name = "Euro (F775)" } } ITA = { set_temp_variable = { treasury_change = 6 } modify_treasury_effect = yes } EGY = { set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes country_event = egypt.152 } } } else_if = { limit = { original_tag = FRA } custom_effect_tooltip = EGY_FRA_agree_to_sell_tt hidden_effect = { create_equipment_variant = { #фикшионал хуйня name = "Charles de Gaulle Class 2" type = helicopter_operator_hull_2 parent_version = 0 modules = { fixed_ship_engine_slot = module_surface_diesel_power_1 fixed_ship_fire_control_system_slot = module_digital_integrated_fire_control fixed_ship_radar_slot = module_radar_4 fixed_ship_auxillary_slot_3 = module_fuel_tank fixed_ship_auxillary_slot_2 = module_chain_gun fixed_ship_auxillary_slot = module_chain_gun fixed_ship_battery_slot = module_light_flight_deck_1 front_1_custom_slot = module_helipads_2 mid_1_custom_slot = module_helipads_2 rear_1_custom_slot = module_helipads_2 } } EGY = { set_technology = { helicopter_operator_hull_2 = 1 } create_ship = { type = helicopter_operator_hull_2 equipment_variant = "Charles de Gaulle Class 2" creator = FRA name = "Gamal Abdel Nasser" } } FRA = { set_temp_variable = { treasury_change = 8 } modify_treasury_effect = yes } EGY = { set_temp_variable = { treasury_change = -8 } modify_treasury_effect = yes country_event = egypt.152 } } } ai_chance = { base = 100 } } option = { name = egypt.151.b log = "[GetDateText]: [This.GetName]: Egypt.151.a executed" EGY = { country_event = egypt.153 } ai_chance = { base = 0 } } } country_event = { id = egypt.152 title = egypt.152.t desc = egypt.152.d picture = GFX_internal_faction_religion is_triggered_only = yes option = { name = egypt.152.a ai_chance = { base = 100 } } } country_event = { id = egypt.153 title = egypt.153.t desc = egypt.153.d picture = GFX_internal_faction_religion is_triggered_only = yes option = { name = egypt.153.a ai_chance = { base = 100 } } } country_event = { id = egypt_sahar.1 title = egypt_sahar.1.t desc = egypt_sahar.1.d picture = GFX_african_union_forces is_triggered_only = yes # option = { name = egypt_sahar.1.a log = "[GetDateText]: [This.GetName]: egypt_sahar.1.a executed" ai_chance = { base = 4 } add_ideas = sha_egypt_help add_manpower = 50000 set_temp_variable = { wargoal_on = MOR } set_temp_variable = { wargoal_type = 1 } add_threat_from_wargoal_effect = yes create_wargoal = { target = MOR type = liberate_wargoal } set_country_flag = sha_egypt_helping EGY = { country_event = egypt_sahar.7 } } option = { name = egypt_sahar.1.b log = "[GetDateText]: [This.GetName]: egypt_sahar.1.b executed" ai_chance = { base = 1 } EGY = { country_event = egypt_sahar.8 } } } country_event = { id = egypt_sahar.2 title = egypt_sahar.2.t desc = egypt_sahar.2.d picture = GFX_african_union_forces is_triggered_only = yes trigger = { tag = MOR has_war_with = SHA surrender_progress > 0.09 } # option = { name = egypt_sahar.2.a log = "[GetDateText]: [This.GetName]: egypt_sahar.2.a executed" ai_chance = { base = 4 } SHA = { country_event = egypt_sahar.3 clr_country_flag = sha_egypt_helping } set_country_flag = MOR_sahrawi_go } option = { name = egypt_sahar.2.b log = "[GetDateText]: [This.GetName]: egypt_sahar.2.b executed" ai_chance = { base = 2 } SHA = { country_event = egypt_sahar.4 clr_country_flag = sha_egypt_helping } set_country_flag = MOR_sahrawi_go } } country_event = { id = egypt_sahar.3 title = egypt_sahar.3.t desc = egypt_sahar.3.d picture = GFX_african_union_forces is_triggered_only = yes # option = { name = egypt_sahar.3.a log = "[GetDateText]: [This.GetName]: egypt_sahar.3.a executed" ai_chance = { base = 3 } MOR = { country_event = egypt_sahar.5 white_peace = SHA } transfer_state = 373 } option = { name = egypt_sahar.3.b log = "[GetDateText]: [This.GetName]: egypt_sahar.3.b executed" ai_chance = { base = 1 } MOR = { country_event = egypt_sahar.6 } set_cosmetic_tag = SHA_federation } } country_event = { id = egypt_sahar.4 title = egypt_sahar.4.t desc = egypt_sahar.4.d picture = GFX_plane_crash is_triggered_only = yes # option = { name = Egypt.4.a log = "[GetDateText]: [This.GetName]: egypt_sahar.4.a executed" ai_chance = { base = 1 } set_cosmetic_tag = SHA_federation } } country_event = { id = egypt_sahar.5 title = egypt_sahar.5.t desc = egypt_sahar.5.d picture = GFX_message_signing is_triggered_only = yes # option = { name = Egypt.5.a log = "[GetDateText]: [This.GetName]: egypt_sahar.5.a executed" ai_chance = { base = 1 } add_timed_idea = { idea = MOR_white_peace days = 600 } } } country_event = { id = egypt_sahar.6 title = egypt_sahar.6.t desc = egypt_sahar.6.d picture = GFX_african_union_forces is_triggered_only = yes # option = { name = Egypt.6.a ai_chance = { base = 1 } } } country_event = { id = egypt_sahar.7 title = egypt_sahar.7.t desc = egypt_sahar.7.d picture = GFX_weapons_arms1 is_triggered_only = yes # option = { name = egypt_sahar.7.a log = "[GetDateText]: [This.GetName]: egypt_sahar.7.a executed" ai_chance = { base = 1 } add_manpower = -50000 set_temp_variable = { treasury_change = -7 } modify_treasury_effect = yes } } country_event = { id = egypt_sahar.8 title = egypt_sahar.8.t desc = egypt_sahar.8.d picture = GFX_treaty_rejected is_triggered_only = yes # option = { name = egypt_sahar.8.a log = "[GetDateText]: [This.GetName]: egypt_sahar.8.a executed" ai_chance = { base = 1 } add_opinion_modifier = { modifier = drama target = SHA } reverse_add_opinion_modifier = { modifier = drama target = SHA } } } country_event = { id = egypt.154 title = egypt.154.t desc = egypt.154.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.154.a log = "[GetDateText]: [This.GetName]: egypt.154.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT USA = { set_temp_variable = { treasury_change = 12 } modify_treasury_effect = yes } EGY = { set_temp_variable = { treasury_change = -12 } modify_treasury_effect = yes country_event = egypt.155 } if = { limit = { has_dlc = "By Blood Alone" } USA = { add_equipment_to_stockpile = { type = small_plane_strike_airframe_2 variant_name = "F-16C Blk 40/42" amount = -27 } } EGY = { add_equipment_to_stockpile = { type = small_plane_strike_airframe_2 variant_name = "F-16C Blk 40/42" amount = 27 producer = USA } } } else = { USA = { add_equipment_to_stockpile = { type = small_plane_strike_airframe_2 amount = -27 producer = USA } } EGY = { add_equipment_to_stockpile = { type = small_plane_strike_airframe_2 amount = 27 producer = USA } } } ai_chance = { base = 1 } } option = { name = egypt.154.b log = "[GetDateText]: [This.GetName]: egypt.154.b executed" custom_effect_tooltip = TT_IF_WE_DECLINE EGY = { country_event = egypt.156 } ai_chance = { base = 0 } } } country_event = { id = egypt.155 title = egypt.155.t desc = egypt.155.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.155.a ai_chance = { base = 1 } } } country_event = { id = egypt.156 title = egypt.156.t desc = egypt.156.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.156.a ai_chance = { base = 1 } } } country_event = { id = egypt.157 title = egypt.157.t desc = egypt.157.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.157.a log = "[GetDateText]: [This.GetName]: egypt.157.a executed" SOV = { set_temp_variable = { treasury_change = 10 } modify_treasury_effect = yes } EGY = { set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes country_event = egypt.158 } if = { limit = { has_dlc = "By Blood Alone" } SOV = { add_equipment_to_stockpile = { type = small_plane_strike_airframe_2 variant_name = "MiG-29 Fulcrum" amount = -20 } } EGY = { add_equipment_to_stockpile = { type = small_plane_airframe_2 variant_name = "MiG-29 Fulcrum" amount = 20 producer = SOV } } } else = { SOV = { add_equipment_to_stockpile = { type = small_plane_strike_airframe_2 amount = -20 producer = SOV } } EGY = { add_equipment_to_stockpile = { type = small_plane_strike_airframe_2 amount = 20 producer = SOV } } } ai_chance = { base = 1 } } option = { name = egypt.157.b log = "[GetDateText]: [This.GetName]: egypt.157.b executed" EGY = { country_event = egypt.159 } ai_chance = { base = 0 } } } country_event = { id = egypt.158 title = egypt.158.t desc = egypt.158.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.158.a ai_chance = { base = 1 } } } country_event = { id = egypt.159 title = egypt.159.t desc = egypt.159.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.158.a ai_chance = { base = 1 } } } country_event = { id = egypt.160 title = egypt.160.t desc = egypt.160.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.160.a log = "[GetDateText]: [This.GetName]: egypt.160.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT SOV = { set_temp_variable = { treasury_change = 3 } modify_treasury_effect = yes } EGY = { set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes country_event = egypt.161 } if = { limit = { has_dlc = "No Step Back" } SOV = { add_equipment_to_stockpile = { type = medium_tank_aa_chassis_1 variant_name = "9K37 Buk" amount = -30 } } EGY = { add_equipment_to_stockpile = { type = medium_tank_aa_chassis_1 variant_name = "9K37 Buk" amount = 30 producer = SOV } } } else = { SOV = { add_equipment_to_stockpile = { type = medium_tank_aa_chassis_1 variant_name = "9K37 Buk" amount = -30 } } EGY = { add_equipment_to_stockpile = { type = medium_tank_aa_chassis_1 variant_name = "9K37 Buk" amount = 30 } } } ai_chance = { base = 1 } } option = { name = egypt.160.b log = "[GetDateText]: [This.GetName]: egypt.160.b executed" custom_effect_tooltip = TT_IF_WE_DECLINE EGY = { country_event = egypt.162 } ai_chance = { base = 0 } } } country_event = { id = egypt.161 title = egypt.161.t desc = egypt.161.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.161.a ai_chance = { base = 1 } } } country_event = { id = egypt.162 title = egypt.162.t desc = egypt.162.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = egypt.162.a ai_chance = { base = 1 } } } # The Aswan Tribal Clashes country_event = { id = egypt.163 title = egypt.163.t desc = egypt.163.d picture = GFX_EGY_aswan_tribal_clashes is_triggered_only = yes trigger = { original_tag = EGY } # Worrying... option = { name = egypt.163.a log = "[GetDateText]: [This.GetName]: egypt.163.a" set_country_flag = EGY_aswan_tribal_conflict activate_mission = EGY_tribal_conflict_escalation_mission unlock_decision_category_tooltip = EGY_aswan_tribal_clashes_category news_event = egypt_news.5 hidden_effect = { country_event = { id = egypt.165 days = 2 random_hours = 48 } } } } # The Tribal Conflicts Resolved country_event = { id = egypt.164 title = egypt.164.t desc = egypt.164.d picture = GFX_EGY_aswan_tribal_clashes is_triggered_only = yes trigger = { original_tag = EGY } # The Conflict Resolved option = { name = egypt.164.a log = "[GetDateText]: [This.GetName]: egypt.164.a" set_country_flag = EGY_aswan_tribal_conflict_resolved add_stability = 0.03 set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } } # Dozens Dead or Wounded country_event = { id = egypt.165 title = egypt.165.t desc = egypt.165.d picture = GFX_EGY_aswan_tribal_clashes is_triggered_only = yes trigger = { original_tag = EGY has_active_mission = EGY_tribal_conflict_escalation_mission } # Devastating... option = { name = egypt.165.a log = "[GetDateText]: [This.GetName]: egypt.165.a executed" 217 = { add_manpower = -26 } } } # Choosing a Side country_event = { id = egypt.166 title = egypt.166.t desc = egypt.166.d picture = GFX_EGY_aswan_tribal_clashes is_triggered_only = yes trigger = { original_tag = EGY has_active_mission = EGY_tribal_conflict_escalation_mission } # Neutrality option = { name = egypt.166.a log = "[GetDateText]: [This.GetName]: egypt.166.a" set_country_flag = EGY_aswan_historical_choice add_stability = -0.03 set_temp_variable = { party_popularity_increase = -0.03 } set_temp_variable = { temp_outlook_increase = -0.03 } change_relative_party_popularity = yes ai_chance = { base = 1 modifier = { factor = 1.5 is_historical_focus_on = yes } } } # The Arabs option = { name = egypt.166.b log = "[GetDateText]: [This.GetName]: egypt.166.b" set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes newline = yes set_temp_variable = { party_index = 21 } set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes hidden_effect = { SUD = { country_event = { id = egypt.168 days = 3 random_hours = 24 } } } ai_chance = { base = 1 modifier = { add = 25 OR = { has_government = nationalist has_government = fascism is_neo_baathist_uar = yes is_baathist_uar = yes } } modifier = { factor = 0 is_historical_focus_on = yes } } } } # The Tribal Conflict Escalates country_event = { id = egypt.167 title = egypt.167.t desc = egypt.167.d picture = GFX_EGY_aswan_tribal_clashes is_triggered_only = yes trigger = { original_tag = EGY } # The Conflict Escalated option = { name = egypt.167.a log = "[GetDateText]: [This.GetName]: egypt.167.a" set_country_flag = EGY_aswan_tribal_conflict_escalated custom_effect_tooltip = egypt.167.a_tt hidden_effect = { create_dynamic_country = { original_tag = EGY set_country_flag = EGY_aswan_breakaway copy_tag = EGY set_cosmetic_tag = EGY_ASW add_state_core = 217 add_state_core = 1198 add_state_core = 590 add_state_core = 219 transfer_state = 217 EGY = { set_state_controller = 217 } set_capital = { state = 217 } set_popularities = { neutrality = 100 } set_politics = { ruling_party = neutrality last_election = "1997.6.8" election_frequency = 48 elections_allowed = no } start_politics_input = yes set_variable = { party_pop_array^12 = 1.00 } #Neutral_Muslim_Brotherhood set_variable = { ruling_party = 12 } startup_politics = yes setup_employment_variables = yes ingame_update_setup = yes set_variable = { domestic_influence_amount = 100 } sort_influence = yes set_variable = { treasury = 5 } division_template = { name = "Aswan Rebel Forces" regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 1 y = 0 } Militia_Bat = { x = 2 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 1 y = 1 } } priority = 0 } } ASW = { ingame_startup_nations_effect = yes set_province_controller = 6217 set_province_controller = 12771 set_province_controller = 9891 add_ideas = EGY_aswan_rebel_forces_escalation declare_war_on = { target = EGY type = civil_war } 217 = { create_unit = { division = "name = \"Aswan Rebel Forces\" division_template = \"Aswan Rebel Forces\" start_experience_factor = 0.6" owner = ASW count = 3 prioritize_location = 6217 } if = { limit = { SUD = { OR = { has_country_flag = ASW_supported_the_nubian_people has_country_flag = ASW_intervention_in_aswan_conflict } } } create_unit = { division = "name = \"Aswan Rebel Forces\" division_template = \"Aswan Rebel Forces\" start_experience_factor = 0.6" owner = ASW count = 2 prioritize_location = 6217 } PREV = { set_temp_variable = { treasury_change = 6.00 } modify_treasury_effect = yes } } if = { limit = { SUD = { has_country_flag = ASW_intervention_in_aswan_conflict } } SUD = { country_event = { id = egypt.169 days = 2 } } } } } } } } # Support the Nubian People? country_event = { id = egypt.168 title = egypt.168.t desc = egypt.168.d picture = GFX_EGY_aswan_tribal_clashes is_triggered_only = yes # Material Support option = { name = egypt.168.a log = "[GetDateText]: [This.GetName]: egypt.168.a" set_country_flag = ASW_supported_the_nubian_people set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes ai_chance = { base = 1 modifier = { add = 5 SUD = { has_opinion = { target = EGY value < -50 } } } modifier = { add = 5 SUD = { has_opinion = { target = EGY value < -100 } } } modifier = { add = 5 NOT = { OR = { has_country_leader = { name = "Omar al-Bashir" ruling_only = yes } neutrality_neutral_muslim_brotherhood_are_in_power = yes } } } modifier = { factor = 0 OR = { is_historical_focus_on = yes has_country_leader = { name = "Omar al-Bashir" ruling_only = yes } neutrality_neutral_muslim_brotherhood_are_in_power = yes } } } } # Intervention if it Escalates + Material Support option = { name = egypt.168.b log = "[GetDateText]: [This.GetName]: egypt.168.b" set_country_flag = ASW_intervention_in_aswan_conflict set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes custom_effect_tooltip = ASW_we_will_be_called_to_war_tt ai_chance = { base = 1 modifier = { add = 5 SUD = { has_opinion = { target = EGY value < -50 } } } modifier = { add = 5 SUD = { has_opinion = { target = EGY value < -100 } } } modifier = { add = 5 NOT = { OR = { has_country_leader = { name = "Omar al-Bashir" ruling_only = yes } neutrality_neutral_muslim_brotherhood_are_in_power = yes } } } modifier = { factor = 0 OR = { is_historical_focus_on = yes has_country_leader = { name = "Omar al-Bashir" ruling_only = yes } neutrality_neutral_muslim_brotherhood_are_in_power = yes } } } } # Ignore Their Plight option = { name = egypt.168.c ai_chance = { base = 1 modifier = { add = 5 SUD = { has_opinion = { target = EGY value > 50 } } } modifier = { add = 5 SUD = { has_opinion = { target = EGY value > 100 } } } modifier = { factor = 2 is_historical_focus_on = yes } } } } # Intervention in the Conflict country_event = { id = egypt.169 title = egypt.169.t desc = egypt.169.d picture = GFX_EGY_aswan_tribal_clashes is_triggered_only = yes # Intervene! option = { name = egypt.169.a log = "[GetDateText]: [This.GetName]: egypt.169.a" effect_tooltip = { add_to_war = { targeted_alliance = ASW enemy = EGY hostility_reason = supporting_the_cause } } EGY = { country_event = { id = egypt.170 days = 2 } } ai_chance = { base = 1 } } # Back out of the Conflict option = { name = egypt.169.b ai_chance = { base = 1 } } } # Sudan Supports the Nubians country_event = { id = egypt.170 title = egypt.170.t desc = egypt.170.d picture = GFX_EGY_aswan_tribal_clashes is_triggered_only = yes # Oh no... option = { name = egypt.170.a log = "[GetDateText]: [This.GetName]: egypt.170.a" SUD = { add_to_war = { targeted_alliance = ASW enemy = EGY hostility_reason = supporting_the_cause } } } } # News Events news_event = { id = egypt_news.1 title = egypt_news.1.t desc = egypt_news.1.d picture = GFX_news_peninsula_shield_intervention is_triggered_only = yes option = { name = egypt_news.1.a } } news_event = { id = egypt_news.2 title = egypt_news.2.t desc = egypt_news.2.d picture = GFX_african_union_news is_triggered_only = yes option = { name = egypt_news.2.a } } news_event = { id = egypt_news.3 title = egypt_news.3.t desc = egypt_news.3.d picture = GFX_news_trade_agreement is_triggered_only = yes option = { name = egypt_news.3.a } } news_event = { id = egypt_news.4 title = egypt_news.4.t desc = egypt_news.4.d picture = GFX_news_trade_agreement is_triggered_only = yes option = { name = egypt_news.4.a } } news_event = { id = egypt_news.5 title = egypt_news.5.t desc = egypt_news.5.d picture = GFX_EGY_aswan_clashes_news is_triggered_only = yes major = yes option = { name = egypt_news.5.a } }