EGY_evergreen_category = { EGY_expand_evergreen_production = { visible = { check_variable = { ROOT.current_max_evergreen_capacity < ROOT.max_evergreen_capacity } } days_remove = 100 days_re_enable = 150 cost = 50 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove EGY_expand_evergreen_production" custom_effect_tooltip = evergreen_cap_tt set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes add_to_variable = { ROOT.current_max_evergreen_capacity = 1 } } ai_will_do = { base = 20 } } EGY_mission_to_Israel = { fire_only_once = no available = { custom_trigger_tooltip = { tooltip = EGY_can_send_evergreen_mission_TT check_variable = { ROOT.current_evergreen_capacity < ROOT.current_max_evergreen_capacity } } NOT = { has_decision = EGY_mission_to_Sudan } NOT = { has_decision = EGY_mission_to_Libya } NOT = { has_decision = EGY_mission_to_Algeria } NOT = { has_decision = EGY_mission_to_Jordan } NOT = { has_decision = EGY_mission_to_Syria } NOT = { has_decision = EGY_mission_to_Saudia } NOT = { has_decision = EGY_mission_to_Iraq } NOT = { has_decision = EGY_mission_to_Lebanon } NOT = { has_decision = EGY_mission_to_uae } NOT = { has_decision = EGY_mission_to_Turkey } NOT = { has_country_flag = EGY_pending_offer } NOT = { ISR = { has_idea = EGY_evergreen_fertilizers_idea } } } visible = { country_exists = ISR } days_remove = 10 days_re_enable = 250 cost = 25 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Israel" set_country_flag = EGY_pending_offer ISR = { country_event = egypt_evergreen.1 } } ai_will_do = { base = 20 modifier = { factor = 20 ROOT = { has_opinion = { target = ISR value < -20 } } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Israel" } } EGY_mission_to_Sudan = { fire_only_once = no available = { custom_trigger_tooltip = { tooltip = EGY_can_send_evergreen_mission_TT check_variable = { ROOT.current_evergreen_capacity < ROOT.current_max_evergreen_capacity } } NOT = { has_decision = EGY_mission_to_Israel } NOT = { has_decision = EGY_mission_to_Libya } NOT = { has_decision = EGY_mission_to_Algeria } NOT = { has_decision = EGY_mission_to_Jordan } NOT = { has_decision = EGY_mission_to_Syria } NOT = { has_decision = EGY_mission_to_Saudia } NOT = { has_decision = EGY_mission_to_Iraq } NOT = { has_decision = EGY_mission_to_Lebanon } NOT = { has_decision = EGY_mission_to_uae } NOT = { has_decision = EGY_mission_to_Turkey } NOT = { has_country_flag = EGY_pending_offer } NOT = { SUD = { has_idea = EGY_evergreen_fertilizers_idea } } } visible = { country_exists = SUD } days_remove = 10 days_re_enable = 250 cost = 25 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Sudan" set_country_flag = EGY_pending_offer SUD = { country_event = egypt_evergreen.1 } } ai_will_do = { base = 20 modifier = { factor = 20 ROOT = { has_opinion = { target = SUD value < -20 } } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Sudan" } } EGY_mission_to_Libya = { fire_only_once = no available = { custom_trigger_tooltip = { tooltip = EGY_can_send_evergreen_mission_TT check_variable = { ROOT.current_evergreen_capacity < ROOT.current_max_evergreen_capacity } } NOT = { has_decision = EGY_mission_to_Israel } NOT = { has_decision = EGY_mission_to_Sudan } NOT = { has_decision = EGY_mission_to_Algeria } NOT = { has_decision = EGY_mission_to_Jordan } NOT = { has_decision = EGY_mission_to_Syria } NOT = { has_decision = EGY_mission_to_Saudia } NOT = { has_decision = EGY_mission_to_Iraq } NOT = { has_decision = EGY_mission_to_Lebanon } NOT = { has_decision = EGY_mission_to_uae } NOT = { has_decision = EGY_mission_to_Turkey } NOT = { has_country_flag = EGY_pending_offer } NOT = { LBA = { has_idea = EGY_evergreen_fertilizers_idea } } } visible = { country_exists = LBA } days_remove = 10 days_re_enable = 250 cost = 25 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Libya" set_country_flag = EGY_pending_offer LBA = { country_event = egypt_evergreen.1 } } ai_will_do = { base = 20 modifier = { factor = 20 ROOT = { has_opinion = { target = LBA value < -20 } } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Libya" } } EGY_mission_to_Algeria = { fire_only_once = no available = { custom_trigger_tooltip = { tooltip = EGY_can_send_evergreen_mission_TT check_variable = { ROOT.current_evergreen_capacity < ROOT.current_max_evergreen_capacity } } NOT = { has_decision = EGY_mission_to_Israel } NOT = { has_decision = EGY_mission_to_Sudan } NOT = { has_decision = EGY_mission_to_Libya } NOT = { has_decision = EGY_mission_to_Jordan } NOT = { has_decision = EGY_mission_to_Syria } NOT = { has_decision = EGY_mission_to_Saudia } NOT = { has_decision = EGY_mission_to_Iraq } NOT = { has_decision = EGY_mission_to_Lebanon } NOT = { has_decision = EGY_mission_to_uae } NOT = { has_decision = EGY_mission_to_Turkey } NOT = { has_country_flag = EGY_pending_offer } NOT = { ALG = { has_idea = EGY_evergreen_fertilizers_idea } } } visible = { country_exists = ALG } days_remove = 10 days_re_enable = 250 cost = 25 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Algeria" set_country_flag = EGY_pending_offer ALG = { country_event = egypt_evergreen.1 } } ai_will_do = { base = 20 modifier = { factor = 20 ROOT = { has_opinion = { target = ALG value < -20 } } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Algeria" } } EGY_mission_to_Jordan = { fire_only_once = no available = { custom_trigger_tooltip = { tooltip = EGY_can_send_evergreen_mission_TT check_variable = { ROOT.current_evergreen_capacity < ROOT.current_max_evergreen_capacity } } NOT = { has_decision = EGY_mission_to_Israel } NOT = { has_decision = EGY_mission_to_Sudan } NOT = { has_decision = EGY_mission_to_Libya } NOT = { has_decision = EGY_mission_to_Algeria } NOT = { has_decision = EGY_mission_to_Syria } NOT = { has_decision = EGY_mission_to_Saudia } NOT = { has_decision = EGY_mission_to_Iraq } NOT = { has_decision = EGY_mission_to_Lebanon } NOT = { has_decision = EGY_mission_to_uae } NOT = { has_decision = EGY_mission_to_Turkey } NOT = { has_country_flag = EGY_pending_offer } NOT = { JOR = { has_idea = EGY_evergreen_fertilizers_idea } } } visible = { country_exists = JOR } days_remove = 10 days_re_enable = 250 cost = 25 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Jordan" set_country_flag = EGY_pending_offer JOR = { country_event = egypt_evergreen.1 } } ai_will_do = { base = 20 modifier = { factor = 20 ROOT = { has_opinion = { target = JOR value < -20 } } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Jordan" } } EGY_mission_to_Syria = { fire_only_once = no available = { custom_trigger_tooltip = { tooltip = EGY_can_send_evergreen_mission_TT check_variable = { ROOT.current_evergreen_capacity < ROOT.current_max_evergreen_capacity } } NOT = { has_decision = EGY_mission_to_Israel } NOT = { has_decision = EGY_mission_to_Sudan } NOT = { has_decision = EGY_mission_to_Libya } NOT = { has_decision = EGY_mission_to_Algeria } NOT = { has_decision = EGY_mission_to_Jordan } NOT = { has_decision = EGY_mission_to_Saudia } NOT = { has_decision = EGY_mission_to_Iraq } NOT = { has_decision = EGY_mission_to_Lebanon } NOT = { has_decision = EGY_mission_to_uae } NOT = { has_decision = EGY_mission_to_Turkey } NOT = { has_country_flag = EGY_pending_offer } NOT = { SYR = { has_idea = EGY_evergreen_fertilizers_idea } } } visible = { country_exists = SYR } days_remove = 10 days_re_enable = 250 cost = 25 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Syria" set_country_flag = EGY_pending_offer SYR = { country_event = egypt_evergreen.1 } } ai_will_do = { base = 20 modifier = { factor = 20 ROOT = { has_opinion = { target = SYR value < -20 } } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Syria" } } EGY_mission_to_Saudia = { fire_only_once = no available = { custom_trigger_tooltip = { tooltip = EGY_can_send_evergreen_mission_TT check_variable = { ROOT.current_evergreen_capacity < ROOT.current_max_evergreen_capacity } } NOT = { has_decision = EGY_mission_to_Israel } NOT = { has_decision = EGY_mission_to_Sudan } NOT = { has_decision = EGY_mission_to_Libya } NOT = { has_decision = EGY_mission_to_Algeria } NOT = { has_decision = EGY_mission_to_Jordan } NOT = { has_decision = EGY_mission_to_Syria } NOT = { has_decision = EGY_mission_to_Iraq } NOT = { has_decision = EGY_mission_to_Lebanon } NOT = { has_decision = EGY_mission_to_uae } NOT = { has_decision = EGY_mission_to_Turkey } NOT = { has_country_flag = EGY_pending_offer } NOT = { SAU = { has_idea = EGY_evergreen_fertilizers_idea } } } visible = { country_exists = SAU } days_remove = 10 days_re_enable = 250 cost = 25 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Saudia" set_country_flag = EGY_pending_offer SAU = { country_event = egypt_evergreen.1 } } ai_will_do = { base = 20 modifier = { factor = 20 ROOT = { has_opinion = { target = SAU value < -20 } } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Saudia" } } EGY_mission_to_Iraq = { fire_only_once = no available = { custom_trigger_tooltip = { tooltip = EGY_can_send_evergreen_mission_TT check_variable = { ROOT.current_evergreen_capacity < ROOT.current_max_evergreen_capacity } } NOT = { has_decision = EGY_mission_to_Israel } NOT = { has_decision = EGY_mission_to_Sudan } NOT = { has_decision = EGY_mission_to_Libya } NOT = { has_decision = EGY_mission_to_Algeria } NOT = { has_decision = EGY_mission_to_Jordan } NOT = { has_decision = EGY_mission_to_Syria } NOT = { has_decision = EGY_mission_to_Saudia } NOT = { has_decision = EGY_mission_to_Lebanon } NOT = { has_decision = EGY_mission_to_uae } NOT = { has_decision = EGY_mission_to_Turkey } NOT = { has_country_flag = EGY_pending_offer } NOT = { IRQ = { has_idea = EGY_evergreen_fertilizers_idea } } } visible = { country_exists = IRQ } days_remove = 10 days_re_enable = 250 cost = 25 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Iraq" set_country_flag = EGY_pending_offer IRQ = { country_event = egypt_evergreen.1 } } ai_will_do = { base = 20 modifier = { factor = 20 ROOT = { has_opinion = { target = IRQ value < -20 } } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Iraq" } } EGY_mission_to_Lebanon = { fire_only_once = no available = { custom_trigger_tooltip = { tooltip = EGY_can_send_evergreen_mission_TT check_variable = { ROOT.current_evergreen_capacity < ROOT.current_max_evergreen_capacity } } NOT = { has_decision = EGY_mission_to_Israel } NOT = { has_decision = EGY_mission_to_Sudan } NOT = { has_decision = EGY_mission_to_Libya } NOT = { has_decision = EGY_mission_to_Algeria } NOT = { has_decision = EGY_mission_to_Jordan } NOT = { has_decision = EGY_mission_to_Syria } NOT = { has_decision = EGY_mission_to_Saudia } NOT = { has_decision = EGY_mission_to_Iraq } NOT = { has_decision = EGY_mission_to_uae } NOT = { has_decision = EGY_mission_to_Turkey } NOT = { has_country_flag = EGY_pending_offer } NOT = { LEB = { has_idea = EGY_evergreen_fertilizers_idea } } } visible = { country_exists = LEB } days_remove = 10 days_re_enable = 250 cost = 25 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Lebanon" set_country_flag = EGY_pending_offer LEB = { country_event = egypt_evergreen.1 } } ai_will_do = { base = 20 modifier = { factor = 20 ROOT = { has_opinion = { target = LEB value < -20 } } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Lebanon" } } EGY_mission_to_uae = { fire_only_once = no available = { custom_trigger_tooltip = { tooltip = EGY_can_send_evergreen_mission_TT check_variable = { ROOT.current_evergreen_capacity < ROOT.current_max_evergreen_capacity } } NOT = { has_decision = EGY_mission_to_Israel } NOT = { has_decision = EGY_mission_to_Sudan } NOT = { has_decision = EGY_mission_to_Libya } NOT = { has_decision = EGY_mission_to_Algeria } NOT = { has_decision = EGY_mission_to_Jordan } NOT = { has_decision = EGY_mission_to_Syria } NOT = { has_decision = EGY_mission_to_Saudia } NOT = { has_decision = EGY_mission_to_Iraq } NOT = { has_decision = EGY_mission_to_Lebanon } NOT = { has_decision = EGY_mission_to_Turkey } NOT = { has_country_flag = EGY_pending_offer } NOT = { UAE = { has_idea = EGY_evergreen_fertilizers_idea } } } visible = { country_exists = UAE } days_remove = 10 days_re_enable = 250 cost = 25 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_uae" set_country_flag = EGY_pending_offer UAE = { country_event = egypt_evergreen.1 } } ai_will_do = { base = 20 modifier = { factor = 20 has_opinion = { target = UAE value < -20 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_uae" } } EGY_mission_to_Turkey = { fire_only_once = no available = { custom_trigger_tooltip = { tooltip = EGY_can_send_evergreen_mission_TT check_variable = { ROOT.current_evergreen_capacity < ROOT.current_max_evergreen_capacity } } NOT = { has_decision = EGY_mission_to_Israel } NOT = { has_decision = EGY_mission_to_Sudan } NOT = { has_decision = EGY_mission_to_Libya } NOT = { has_decision = EGY_mission_to_Algeria } NOT = { has_decision = EGY_mission_to_Jordan } NOT = { has_decision = EGY_mission_to_Syria } NOT = { has_decision = EGY_mission_to_Saudia } NOT = { has_decision = EGY_mission_to_Iraq } NOT = { has_decision = EGY_mission_to_Lebanon } NOT = { has_decision = EGY_mission_to_uae } NOT = { has_country_flag = EGY_pending_offer } NOT = { TUR = { has_idea = EGY_evergreen_fertilizers_idea } } } visible = { country_exists = TUR } days_remove = 10 days_re_enable = 250 cost = 25 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Turkey" set_country_flag = EGY_pending_offer TUR = { country_event = egypt_evergreen.1 } } ai_will_do = { base = 20 modifier = { factor = 20 has_opinion = { target = TUR value < -20 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_mission_to_Turkey" } } } EGY_coptic_decision = { EGY_appease_coptic_people = { icon = GFX_decision_copts_speaker_button cost = 65 days_remove = 65 fire_only_once = no available = { NOT = { has_decision = EGY_promote_coptic_politicians } NOT = { has_decision = EGY_raids_on_coptic_people } NOT = { has_decision = EGY_governmental_pressure } NOT = { has_decision = EGY_copt_coalition } NOT = { has_decision = EGY_appease_coptic_people } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_appease_coptic_people" set_temp_variable = { coptic_opinion_change = 4 } modify_coptic_opinion_effect = yes } ai_will_do = { base = 0 modifier = { add = 15 check_variable = { EGY_coptic_people_opinion < 50 } } modifier = { add = 25 check_variable = { EGY_coptic_people_opinion < 30 } } } } EGY_promote_coptic_politicians = { icon = GFX_decision_copts_propa_button cost = 45 days_remove = 73 fire_only_once = no available = { NOT = { has_decision = EGY_appease_coptic_people } NOT = { has_decision = EGY_raids_on_coptic_people } NOT = { has_decision = EGY_governmental_pressure } NOT = { has_decision = EGY_copt_coalition } NOT = { has_decision = EGY_promote_coptic_politicians } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_promote_coptic_politicians" set_temp_variable = { coptic_opinion_change = 7 } modify_coptic_opinion_effect = yes } ai_will_do = { base = 0 modifier = { add = 20 check_variable = { EGY_coptic_people_opinion < 50 } } modifier = { add = 30 check_variable = { EGY_coptic_people_opinion < 30 } } } } # EGY_raids_on_coptic_people = { icon = GFX_decision_copts_raid_button cost = 55 days_remove = 67 fire_only_once = no available = { NOT = { has_decision = EGY_appease_coptic_people } NOT = { has_decision = EGY_raids_on_coptic_people } NOT = { has_decision = EGY_governmental_pressure } NOT = { has_decision = EGY_copt_coalition } NOT = { has_decision = EGY_promote_coptic_politicians } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_raids_on_coptic_people" set_temp_variable = { coptic_opinion_change = -8 } modify_coptic_opinion_effect = yes } ai_will_do = { base = 0 } } # EGY_governmental_pressure = { icon = GFX_decision_copts_pressure_button cost = 60 days_remove = 75 fire_only_once = no available = { NOT = { has_decision = EGY_appease_coptic_people } NOT = { has_decision = EGY_raids_on_coptic_people } NOT = { has_decision = EGY_governmental_pressure } NOT = { has_decision = EGY_copt_coalition } NOT = { has_decision = EGY_promote_coptic_politicians } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_governmental_pressure" set_temp_variable = { coptic_opinion_change = -3 } modify_coptic_opinion_effect = yes set_temp_variable = { coptic_pol_influence_change = -5 } modify_coptic_pol_influence_effect = yes } ai_will_do = { base = 0 } } EGY_copt_coalition = { icon = GFX_decision_copts_govern_button cost = 60 days_remove = 75 visible = { NOT = { neutrality_neutral_autocracy_are_in_power = yes } } available = { NOT = { has_decision = EGY_appease_coptic_people } NOT = { has_decision = EGY_raids_on_coptic_people } NOT = { has_decision = EGY_governmental_pressure } NOT = { has_decision = EGY_copt_coalition } NOT = { has_decision = EGY_promote_coptic_politicians } NOT = { neutrality_neutral_autocracy_are_in_coalition = yes } custom_trigger_tooltip = { check_variable = { EGY_coptic_people_opinion > 80 } check_variable = { EGY_copts_political_influence > 60 } tooltip = copt_coalition_decision_tt } } fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_copt_coalition" custom_effect_tooltip = EGY_copt_coalition_create hidden_effect = { set_temp_variable = { add_col_one = 13 } add_coalition_members_effect = yes set_temp_variable = { party_index = 13 } set_temp_variable = { party_popularity_increase = { value = party_pop_array^13 multiply = -0.5 } } change_relative_party_popularity = yes } set_temp_variable = { party_index = 12 } unban_party_scripted_call = yes set_temp_variable = { coptic_opinion_change = 8 } modify_coptic_opinion_effect = yes set_temp_variable = { coptic_pol_influence_change = 5 } modify_coptic_pol_influence_effect = yes set_temp_variable = { party_index = 13 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes set_temp_variable = { party_index = 13 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 0 modifier = { add = 25 check_variable = { EGY_coptic_people_opinion > 80 } check_variable = { EGY_copts_political_influence > 60 } NOT = { neutrality_neutral_autocracy_are_in_power = yes } } } } } EGY_slums_decision = { EGY_remove_slums_in_alexandria = { visible = { owns_state = 216 216 = { EGY_has_slums_in_state = yes } } available = { NOT = { has_country_flag = EGY_already_remove_slums } } highlight_states = { highlight_states_trigger = { state = 216 } } icon = GFX_decision_slums_up_button days_remove = 120 fire_only_once = no modifier = { consumer_goods_factor = 0.05 } custom_cost_text = cost_4_0 custom_cost_trigger = { check_variable = { treasury > 3.99 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_remove_slums_in_alexandria" set_country_flag = EGY_already_remove_slums set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_remove_slums_in_alexandria" clr_country_flag = EGY_already_remove_slums 216 = { EGY_lower_slums_level = yes } subtract_from_variable = { EGY_slums_left = 1 } check_broken_economy_conditions_for_reducing = yes add_stability = 0.005 hidden_effect = { country_event = egypt.149 } } ai_will_do = { base = 10 modifier = { 216 = { has_dynamic_modifier = { modifier = EGY_slums_1_level } } add = 10 } modifier = { 216 = { has_dynamic_modifier = { modifier = EGY_slums_2_level } } add = 10 } modifier = { 216 = { has_dynamic_modifier = { modifier = EGY_slums_3_level } } add = 15 } modifier = { 216 = { has_dynamic_modifier = { modifier = EGY_slums_4_level } } add = 20 } } } EGY_remove_slums_in_cairo = { visible = { owns_state = 215 215 = { EGY_has_slums_in_state = yes } } available = { NOT = { has_country_flag = EGY_already_remove_slums } } highlight_states = { highlight_states_trigger = { state = 215 } } icon = GFX_decision_slums_up_button days_remove = 180 fire_only_once = no modifier = { consumer_goods_factor = 0.1 } custom_cost_text = cost_6_0 custom_cost_trigger = { check_variable = { treasury > 5.99 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_remove_slums_in_cairo" set_country_flag = EGY_already_remove_slums set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_remove_slums_in_cairo" clr_country_flag = EGY_already_remove_slums 215 = { EGY_lower_slums_level = yes } subtract_from_variable = { EGY_slums_left = 1 } check_broken_economy_conditions_for_reducing = yes add_stability = 0.005 hidden_effect = { country_event = egypt.149 } } ai_will_do = { base = 10 modifier = { 215 = { has_dynamic_modifier = { modifier = EGY_slums_1_level } } add = 10 } modifier = { 215 = { has_dynamic_modifier = { modifier = EGY_slums_2_level } } add = 15 } modifier = { 215 = { has_dynamic_modifier = { modifier = EGY_slums_3_level } } add = 20 } modifier = { 215 = { has_dynamic_modifier = { modifier = EGY_slums_4_level } } add = 25 } modifier = { 215 = { has_dynamic_modifier = { modifier = EGY_slums_5_level } } add = 30 } } } EGY_remove_slums_in_suez = { visible = { owns_state = 214 214 = { EGY_has_slums_in_state = yes } } available = { NOT = { has_country_flag = EGY_already_remove_slums } } highlight_states = { highlight_states_trigger = { state = 214 } } icon = GFX_decision_slums_up_button days_remove = 150 fire_only_once = no custom_cost_text = cost_5_0 custom_cost_trigger = { check_variable = { treasury > 4.99 } } modifier = { consumer_goods_factor = 0.08 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_remove_slums_in_suez" set_country_flag = EGY_already_remove_slums set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_remove_slums_in_suez" clr_country_flag = EGY_already_remove_slums 214 = { EGY_lower_slums_level = yes } subtract_from_variable = { EGY_slums_left = 1 } check_broken_economy_conditions_for_reducing = yes add_stability = 0.005 hidden_effect = { country_event = egypt.149 } } ai_will_do = { base = 10 modifier = { 214 = { has_dynamic_modifier = { modifier = EGY_slums_1_level } } add = 10 } modifier = { 214 = { has_dynamic_modifier = { modifier = EGY_slums_2_level } } add = 15 } modifier = { 214 = { has_dynamic_modifier = { modifier = EGY_slums_3_level } } add = 20 } modifier = { 214 = { has_dynamic_modifier = { modifier = EGY_slums_4_level } } add = 25 } } } EGY_remove_slums_in_nile_valley = { visible = { owns_state = 217 217 = { OR = { has_dynamic_modifier = { modifier = EGY_slums_4_level } has_dynamic_modifier = { modifier = EGY_slums_3_level } has_dynamic_modifier = { modifier = EGY_slums_2_level } has_dynamic_modifier = { modifier = EGY_slums_1_level } } } } available = { NOT = { has_country_flag = EGY_already_remove_slums } } highlight_states = { highlight_states_trigger = { state = 217 } } icon = GFX_decision_slums_up_button days_remove = 120 fire_only_once = no custom_cost_text = cost_3_5 custom_cost_trigger = { check_variable = { treasury > 3.49 } } modifier = { consumer_goods_factor = 0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_remove_slums_in_nile_valley" set_country_flag = EGY_already_remove_slums set_temp_variable = { treasury_change = -3.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_remove_slums_in_nile_valley" clr_country_flag = EGY_already_remove_slums 217 = { EGY_lower_slums_level = yes } subtract_from_variable = { EGY_slums_left = 1 } check_broken_economy_conditions_for_reducing = yes add_stability = 0.005 hidden_effect = { country_event = egypt.149 } } ai_will_do = { base = 10 modifier = { 217 = { has_dynamic_modifier = { modifier = EGY_slums_1_level } } add = 10 } modifier = { 217 = { has_dynamic_modifier = { modifier = EGY_slums_2_level } } add = 15 } modifier = { 217 = { has_dynamic_modifier = { modifier = EGY_slums_3_level } } add = 20 } } } } EGY_aswan_tribal_clashes_category = { EGY_tribal_conflict_escalation_mission = { icon = GFX_decision_zsr_unrest available = { has_country_flag = EGY_aswan_tribal_conflict hidden_trigger = { has_country_flag = EGY_aswan_deployed_military has_country_flag = EGY_aswan_historical_choice } } activation = { has_country_flag = EGY_aswan_tribal_conflict NOT = { has_country_flag = EGY_aswan_tribal_conflict_resolved } NOT = { has_country_flag = EGY_aswan_tribal_conflict_escalated } } is_good = no fire_only_once = yes days_mission_timeout = 30 timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_tribal_conflict_escalation_mission" add_stability = -0.03 country_event = egypt.167 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_tribal_conflict_escalation_mission" effect_tooltip = { 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 } country_event = egypt.164 } } EGY_deploy_military_police_to_the_region_decision = { icon = GFX_decision_generic_prepare_civil_war_new visible = { has_active_mission = EGY_tribal_conflict_escalation_mission NOT = { has_country_flag = EGY_aswan_deployed_military } } available = { has_active_mission = EGY_tribal_conflict_escalation_mission divisions_in_state = { size > 2 state = 217 } } cost = 25 days_remove = 7 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_deploy_military_police_to_the_region_decision" set_country_flag = EGY_aswan_deployed_military } ai_will_do = { base = 35 modifier = { factor = 2 is_historical_focus_on = yes } } } EGY_choose_a_side_decision = { icon = GFX_decision_generic_political_discourse visible = { has_active_mission = EGY_tribal_conflict_escalation_mission NOT = { has_country_flag = EGY_chosen_a_side_in_the_fighting } } cost = 25 days_remove = 7 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_choose_a_side_decision" set_country_flag = EGY_chosen_a_side_in_the_fighting country_event = { id = egypt.166 days = 2 } } ai_will_do = { base = 35 modifier = { factor = 2 is_historical_focus_on = yes } } } } EGY_Foreign_evergreen_trade_category = { cancel_EGY_trade = { cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cancel_EGY_trade" EGY = { country_event = egypt_evergreen.4 } remove_ideas = EGY_evergreen_fertilizers_idea subtract_from_variable = { EGY.current_evergreen_capacity = 1 } } ai_will_do = { base = 1 modifier = { THIS = { has_opinion = { target = EGY value < -10 } } add = 10 } } } } EGY_ai_path_category = { EGY_ai_rally_the_brotherhood = { icon = generic_decision cost = 25 days_re_enable = 30 visible = { EGY_ai_morsi_path = yes } available = { has_civil_war = no date > 2010.1.1 check_variable = { party_pop_array^12 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_ai_rally_the_brotherhood" set_temp_variable = { party_index = 12 } unban_party_scripted_call = yes set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } EGY_ai_brotherhood_takes_the_country = { icon = generic_decision cost = 150 days_re_enable = 180 visible = { EGY_ai_morsi_path = yes } available = { has_civil_war = no neutrality_neutral_muslim_brotherhood_are_in_power = no date > 2012.6.30 check_variable = { party_pop_array^12 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_ai_brotherhood_takes_the_country" set_temp_variable = { rul_party_temp = 12 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } EGY_ai_rally_the_generals = { icon = generic_decision cost = 25 days_re_enable = 30 visible = { EGY_ai_historical_path = yes } available = { has_civil_war = no date > 2012.6.30 check_variable = { party_pop_array^22 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_ai_rally_the_generals" 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 } ai_will_do = { base = 100 } } EGY_ai_generals_take_the_country = { icon = generic_decision cost = 150 days_re_enable = 180 visible = { EGY_ai_historical_path = yes } available = { has_civil_war = no nationalist_military_junta_are_in_power = no date > 2013.7.3 check_variable = { party_pop_array^22 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_ai_generals_take_the_country" set_temp_variable = { rul_party_temp = 22 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } EGY_ai_rally_the_national_front = { icon = generic_decision cost = 25 days_re_enable = 30 visible = { has_global_flag = EGY_PAN_ARAB_FOCUS_PATH } available = { has_civil_war = no date > 2010.1.1 check_variable = { party_pop_array^7 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_ai_rally_the_national_front" 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 } ai_will_do = { base = 100 } } EGY_ai_national_front_takes_the_country = { icon = generic_decision cost = 150 days_re_enable = 180 visible = { has_global_flag = EGY_PAN_ARAB_FOCUS_PATH } available = { has_civil_war = no emerging_autocracy_are_in_power = no date > 2011.2.11 check_variable = { party_pop_array^7 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_ai_national_front_takes_the_country" set_temp_variable = { rul_party_temp = 7 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } EGY_ai_rally_the_salafists = { icon = generic_decision cost = 25 days_re_enable = 30 visible = { has_global_flag = EGY_SALAFIST_FOCUS_PATH } available = { has_civil_war = no date > 2010.1.1 check_variable = { party_pop_array^10 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_ai_rally_the_salafists" set_temp_variable = { party_index = 10 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } EGY_ai_salafists_take_the_country = { icon = generic_decision cost = 150 days_re_enable = 180 visible = { has_global_flag = EGY_SALAFIST_FOCUS_PATH } available = { has_civil_war = no salafist_kingdom_are_in_power = no date > 2011.2.11 check_variable = { party_pop_array^10 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_ai_salafists_take_the_country" set_temp_variable = { rul_party_temp = 10 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } EGY_ai_rally_the_copts = { icon = generic_decision cost = 25 days_re_enable = 30 visible = { has_global_flag = EGY_COPTIC_FOCUS_PATH } available = { has_civil_war = no date > 2010.1.1 check_variable = { party_pop_array^13 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_ai_rally_the_copts" set_temp_variable = { party_index = 13 } unban_party_scripted_call = yes set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } EGY_ai_copts_take_the_country = { icon = generic_decision cost = 150 days_re_enable = 180 visible = { has_global_flag = EGY_COPTIC_FOCUS_PATH } available = { has_civil_war = no neutrality_neutral_autocracy_are_in_power = no NOT = { has_country_flag = copts_revolted } date > 2011.2.11 check_variable = { party_pop_array^13 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EGY_ai_copts_take_the_country" set_temp_variable = { rul_party_temp = 13 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } }