gulf_society = { GCC_crack_down_on_muslim_broterhood = { icon = GFX_decision_secur_brother_button allowed = { NOT = { original_tag = KAZ } NOT = { original_tag = UZB } NOT = { original_tag = KYR } } visible = { has_game_rule = { rule = rule_disable_muslim_brotherhood_civil_war option = no } NOT = { has_idea = muslim_brotherhood_crackdown } } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_crack_down_on_muslim_broterhood" add_ideas = muslim_brotherhood_crackdown } ai_will_do = { base = 1 modifier = { factor = 0 has_government = neutrality } modifier = { factor = 0 neutrality < 0.15 } modifier = { factor = 5 neutrality > 0.4 } modifier = { factor = 8 neutrality > 0.55 } modifier = { factor = 0.3 democratic > 0.6 } } } GCC_stop_crackdowns = { icon = GFX_decision_secur_brotheryes_button visible = { has_idea = muslim_brotherhood_crackdown } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_stop_crackdowns" remove_ideas = muslim_brotherhood_crackdown } ai_will_do = { base = 1 modifier = { factor = 0 neutrality > 0.35 } } } GCC_ban_al_jazeera = { icon = GFX_decision_secur_algjaban_button fire_only_once = yes visible = { has_idea = al_jazeera_allowed } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_ban_al_jazeera" QAT = { add_opinion_modifier = { target = ROOT modifier = GEN_banned_al_jazeera } } swap_ideas = { remove_idea = al_jazeera_allowed add_idea = al_jazeera_banned } } ai_will_do = { base = 0 } } GCC_allow_al_jazeera = { icon = GFX_decision_secur_algjaagree_button fire_only_once = yes visible = { has_idea = al_jazeera_banned } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_allow_al_jazeera" QAT = { add_opinion_modifier = { target = ROOT modifier = GEN_allowed_al_jazeera } } swap_ideas = { remove_idea = al_jazeera_banned add_idea = al_jazeera_allowed } } ai_will_do = { base = 0 } } GCC_remove_saudi_aid = { icon = GFX_decision_sau_aid_ban_button name = GEN_remove_saudi_aid fire_only_once = yes visible = { has_idea = saudi_aid } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_remove_saudi_aid" add_stability = -0.05 remove_ideas = saudi_aid set_temp_variable = { temp_modify_social_con_government = -5 } modify_social_conservatism_government = yes SAU = { add_opinion_modifier = { target = ROOT modifier = GEN_banned_saudi_mosques } } } ai_will_do = { base = 0 } } GCC_subsidize_western_culture = { icon = GFX_decision_secur_western_button available = { no_jihadist_government = yes custom_trigger_tooltip = { tooltip = conservatism_government_more_0_tt check_variable = { social_conservatism_government > 0 } } } custom_cost_trigger = { check_variable = { treasury > 1.4 } } custom_cost_text = cost_1_5 days_remove = 30 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_subsidize_western_culture" set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_subsidize_western_culture" set_temp_variable = { temp_modify_social_con_government = -1 } modify_social_conservatism_government = yes add_popularity = { ideology = fascism popularity = -0.01 } recalculate_party = yes } ai_will_do = { base = 0 } } GCC_subsidize_salafism = { icon = GFX_decision_fascism_button available = { custom_trigger_tooltip = { tooltip = conservatism_government_less_100_tt check_variable = { social_conservatism_government < 100 } } } custom_cost_trigger = { check_variable = { treasury > 1.4 } } custom_cost_text = cost_1_5 days_remove = 30 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_subsidize_salafism" set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_subsidize_salafism" set_temp_variable = { temp_modify_social_con_government = 1 } modify_social_conservatism_government = yes add_popularity = { ideology = fascism popularity = 0.01 } recalculate_party = yes } ai_will_do = { base = 0 } } GCC_encourage_female_representation = { visible = { if = { limit = { OR = { tag = BHR tag = KUW tag = OMA tag = QAT tag = UAE } } has_completed_focus = GCC_weaken_the_mutaween has_completed_focus = GCC_women_in_politics } } icon = GFX_decision_secur_femaleyes_button available = { custom_trigger_tooltip = { tooltip = conservatism_government_more_0_tt check_variable = { social_conservatism_government > 0 } } no_jihadist_government = yes } cost = 25 days_remove = 30 days_re_enable = 90 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_encourage_female_representation" set_temp_variable = { temp_modify_social_con_government = -2 } modify_social_conservatism_government = yes } ai_will_do = { base = 0 modifier = { add = 1 OR = { has_socialist_government = yes has_liberal_government = yes } } } } GCC_discourage_female_representation = { visible = { if = { limit = { OR = { tag = BHR tag = KUW tag = OMA tag = QAT tag = UAE } } has_completed_focus = GCC_empower_the_mutaween has_completed_focus = GCC_women_in_politics } } icon = GFX_decision_secur_femaleno_button available = { custom_trigger_tooltip = { tooltip = conservatism_government_less_100_tt check_variable = { social_conservatism_government < 100 } } } cost = 25 days_remove = 30 days_re_enable = 90 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_discourage_female_representation" set_temp_variable = { temp_modify_social_con_government = 2 } modify_social_conservatism_government = yes } ai_will_do = { base = 0 } } GCC_expand_female_employment = { visible = { if = { limit = { OR = { tag = BHR tag = KUW tag = OMA tag = QAT tag = UAE } } has_completed_focus = GCC_weaken_the_mutaween has_completed_focus = GCC_women_in_the_economy } no_jihadist_government = yes } icon = GFX_decision_secur_femalework_button available = { custom_trigger_tooltip = { tooltip = conservatism_government_more_0_tt check_variable = { social_conservatism_government > 0 } } } cost = 25 days_remove = 30 days_re_enable = 90 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_expand_female_employment" set_temp_variable = { temp_modify_social_con_government = -2 } modify_social_conservatism_government = yes } ai_will_do = { base = 0 modifier = { add = 1 OR = { has_socialist_government = yes has_liberal_government = yes } } } } GCC_limit_female_employment = { visible = { if = { limit = { OR = { tag = BHR tag = KUW tag = OMA tag = QAT tag = UAE } } has_completed_focus = GCC_empower_the_mutaween has_completed_focus = GCC_women_in_the_economy } } icon = GFX_decision_secur_femaleworkni_button available = { custom_trigger_tooltip = { tooltip = conservatism_government_less_100_tt check_variable = { social_conservatism_government < 100 } } } cost = 25 days_remove = 30 days_re_enable = 90 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_limit_female_employment" set_temp_variable = { temp_modify_social_con_government = 2 } modify_social_conservatism_government = yes } ai_will_do = { base = 0 } } GCC_legalize_alcohol_in_hotels_and_clubs = { icon = GFX_decision_secur_alcohol_button visible = { NOT = { has_country_flag = limited_alcohol } } available = { OR = { has_completed_focus = GCC_reduce_vice_prevention custom_trigger_tooltip = { tooltip = conservatism_society_less_60_tt check_variable = { social_conservatism_society < 60 } } } no_jihadist_government = yes } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_legalize_alcohol_in_hotels_and_clubs" set_temp_variable = { temp_modify_social_con_government = -2 } modify_social_conservatism_government = yes set_country_flag = limited_alcohol } ai_will_do = { base = 0 modifier = { add = 1 OR = { has_socialist_government = yes has_liberal_government = yes } } } } GCC_reverse_limited_alcohol_legalization = { visible = { has_country_flag = limited_alcohol } icon = GFX_decision_secur_alcoholban_button available = { custom_trigger_tooltip = { tooltip = conservatism_society_more_60_tt check_variable = { social_conservatism_society > 60 } } } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_reverse_limited_alcohol_legalization" set_temp_variable = { temp_modify_social_con_government = 2 } modify_social_conservatism_government = yes clr_country_flag = limited_alcohol } ai_will_do = { base = 0 } } GCC_legalize_alcohol = { visible = { NOT = { has_country_flag = alcohol } } icon = GFX_decision_secur_alcohol_button available = { OR = { has_completed_focus = GCC_westernization_policies custom_trigger_tooltip = { tooltip = conservatism_society_less_50_tt check_variable = { social_conservatism_society < 50 } } } has_country_flag = limited_alcohol no_jihadist_government = yes } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_legalize_alcohol" set_temp_variable = { temp_modify_social_con_government = -5 } modify_social_conservatism_government = yes set_country_flag = alcohol } ai_will_do = { base = 0 modifier = { add = 1 OR = { has_socialist_government = yes has_liberal_government = yes } } } } GCC_ban_alcohol = { visible = { has_country_flag = alcohol } icon = GFX_decision_secur_alcoholban_button available = { custom_trigger_tooltip = { tooltip = conservatism_society_more_50_tt check_variable = { social_conservatism_society > 50 } } } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_ban_alcohol" set_temp_variable = { temp_modify_social_con_government = 5 } modify_social_conservatism_government = yes clr_country_flag = alcohol } ai_will_do = { base = 0 } } GCC_relax_dress_code = { visible = { NOT = { has_country_flag = relaxed_dress_code } } icon = GFX_decision_secur_dressyes_button available = { OR = { has_completed_focus = GCC_reduce_vice_prevention custom_trigger_tooltip = { tooltip = conservatism_society_less_50_tt check_variable = { social_conservatism_society < 50 } } } no_jihadist_government = yes } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_relax_dress_code" set_temp_variable = { temp_modify_social_con_government = -5 } modify_social_conservatism_government = yes set_country_flag = relaxed_dress_code } ai_will_do = { base = 0 modifier = { add = 1 OR = { has_socialist_government = yes has_liberal_government = yes } } } } GCC_reimpose_dress_code = { visible = { has_country_flag = relaxed_dress_code } icon = GFX_decision_secur_dress_button available = { custom_trigger_tooltip = { tooltip = conservatism_society_more_50_tt check_variable = { social_conservatism_society > 50 } } } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_reimpose_dress_code" set_temp_variable = { temp_modify_social_con_government = 5 } modify_social_conservatism_government = yes clr_country_flag = relaxed_dress_code } ai_will_do = { base = 0 } } GCC_ban_burqa = { visible = { NOT = { has_country_flag = banned_burqa } } icon = GFX_decision_secur_burqaban_button available = { OR = { has_completed_focus = GCC_westernization_policies custom_trigger_tooltip = { tooltip = conservatism_society_less_40_tt check_variable = { social_conservatism_society < 40 } } } has_country_flag = relaxed_dress_code no_jihadist_government = yes } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_ban_burqa" set_temp_variable = { temp_modify_social_con_government = -10 } modify_social_conservatism_government = yes set_country_flag = banned_burqa } ai_will_do = { base = 0 modifier = { add = 1 OR = { has_socialist_government = yes has_liberal_government = yes } } } } GCC_unban_burqa = { visible = { has_country_flag = banned_burqa } icon = GFX_decision_secur_burqayes_button available = { custom_trigger_tooltip = { tooltip = conservatism_society_more_40_tt check_variable = { social_conservatism_society > 40 } } } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_unban_burqa" set_temp_variable = { temp_modify_social_con_government = 10 } modify_social_conservatism_government = yes clr_country_flag = banned_burqa } ai_will_do = { base = 0 } } GCC_head_scarves = { visible = { NOT = { has_country_flag = banned_head_scarf } } icon = GFX_decision_secur_scavesno_button available = { OR = { has_completed_focus = GCC_westernization_policies custom_trigger_tooltip = { tooltip = conservatism_society_less_30_tt check_variable = { social_conservatism_society < 30 } } } has_country_flag = banned_burqa no_jihadist_government = yes } cost = 150 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_head_scarves" set_temp_variable = { temp_modify_social_con_government = -15 } modify_social_conservatism_government = yes set_country_flag = banned_head_scarf } ai_will_do = { base = 0 modifier = { add = 1 OR = { has_socialist_government = yes has_liberal_government = yes } } } } GCC_unban_head_scarves = { visible = { has_country_flag = banned_head_scarf } icon = GFX_decision_secur_scavesyes_button available = { custom_trigger_tooltip = { tooltip = conservatism_society_more_30_tt check_variable = { social_conservatism_society > 30 } } } cost = 150 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_unban_head_scarves" set_temp_variable = { temp_modify_social_con_government = 15 } modify_social_conservatism_government = yes clr_country_flag = banned_head_scarf } ai_will_do = { base = 0 } } GCC_decriminalize_same_sex_relations = { icon = GFX_decision_secur_18_button visible = { NOT = { has_country_flag = same_sex_decriminalized } } available = { custom_trigger_tooltip = { tooltip = conservatism_society_less_30_tt check_variable = { social_conservatism_society < 30 } } no_jihadist_government = yes } cost = 150 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_decriminalize_same_sex_relations" set_temp_variable = { temp_modify_social_con_government = -15 } modify_social_conservatism_government = yes set_country_flag = same_sex_decriminalized } ai_will_do = { base = 0 modifier = { add = 1 OR = { has_socialist_government = yes has_liberal_government = yes } } } } GCC_recriminalize_same_sex_relations = { icon = GFX_decision_secur_18plus_button visible = { has_country_flag = same_sex_decriminalized } available = { custom_trigger_tooltip = { tooltip = conservatism_society_more_30_tt check_variable = { social_conservatism_society > 30 } } } cost = 150 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_recriminalize_same_sex_relations" set_temp_variable = { temp_modify_social_con_government = 15 } modify_social_conservatism_government = yes clr_country_flag = same_sex_decriminalized } ai_will_do = { base = 0 } } GCC_secularize_the_state = { icon = GFX_decision_secur_secur_button visible = { NOT = { has_country_flag = secularized } } available = { custom_trigger_tooltip = { tooltip = conservatism_society_less_20_tt check_variable = { social_conservatism_society < 20 } } NOT = { OR = { has_idea = the_ulema has_idea = wahabi_ulema } } no_jihadist_government = yes } cost = 150 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_secularize_the_state" set_temp_variable = { temp_modify_social_con_government = -20 } modify_social_conservatism_government = yes set_country_flag = secularized if = { limit = { has_idea = sunni } swap_ideas = { remove_idea = sunni add_idea = pluralist } } else_if = { limit = { has_idea = ibadi } swap_ideas = { remove_idea = ibadi add_idea = pluralist } } else_if = { limit = { has_idea = shia } swap_ideas = { remove_idea = shia add_idea = pluralist } } } ai_will_do = { base = 0 } } } shia_decisions = { encourage_shia_immigration = { icon = GFX_decision_infiltrate_state visible = { check_variable = { shia_population < 100 } } available = { NOT = { has_completed_focus = GCC_impose_quotas } if = { limit = { NOT = { has_completed_focus = GCC_open_pathways_to_citizenship } } NOT = { has_decision = encourage_sunni_immigration } } NOT = { has_decision = deport_foreign_shia } } cost = 50 days_remove = 90 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision encourage_shia_immigration" custom_effect_tooltip = shia_population_increase_tt add_to_variable = { shia_population = 1 } clamp_shia = yes set_temp_variable = { arg_popularity = -0.01 } add_ruling_outlook_popularity = yes increase_pop_gulf = yes } ai_will_do = { base = 0 modifier = { add = 1 OR = { AND = { tag = BHR has_global_flag = BHR_DAY_OF_RAGE_FOCUS_PATH } AND = { tag = SAU OR = { has_global_flag = SAU_SHIA_ACCOMMODATION has_global_flag = SAU_ISLAMIC_REPUBLIC_FOCUS_PATH } } } } modifier = { add = 2 tag = KUW 172 = { state_population_k < 3000 } } modifier = { add = 0 tag = KUW 172 = { state_population_k > 2999 state_population_k < 4599 } } } } encourage_sunni_immigration = { icon = GFX_decision_infiltrate_state visible = { check_variable = { shia_population > 0 } } available = { NOT = { has_completed_focus = GCC_impose_quotas } if = { limit = { NOT = { has_completed_focus = GCC_open_pathways_to_citizenship } } NOT = { has_decision = encourage_shia_immigration } } NOT = { has_decision = deport_foreign_sunnis } } cost = 50 days_remove = 90 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision encourage_sunni_immigration" custom_effect_tooltip = shia_population_decrease_tt subtract_from_variable = { shia_population = 1 } clamp_shia = yes set_temp_variable = { arg_popularity = -0.01 } add_ruling_outlook_popularity = yes increase_pop_gulf = yes } ai_will_do = { base = 0 modifier = { add = 4 tag = KUW 172 = { state_population_k < 3000 } } modifier = { add = 1 tag = KUW 172 = { state_population_k > 2999 state_population_k < 4599 } } } } deport_foreign_shia = { icon = GFX_decision_generic_break_treaty visible = { check_variable = { shia_population > 0 } } available = { NOT = { has_decision = encourage_shia_immigration } NOT = { has_decision = deport_foreign_sunnis } } cost = 50 days_remove = 45 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision deport_foreign_shia" custom_effect_tooltip = shia_population_decrease_tt subtract_from_variable = { shia_population = 1 } clamp_shia = yes set_temp_variable = { arg_popularity = 0.01 } add_ruling_outlook_popularity = yes decrease_pop_gulf = yes } ai_will_do = { base = 0 } } deport_foreign_sunnis = { icon = GFX_decision_generic_break_treaty visible = { check_variable = { shia_population < 100 } } available = { NOT = { has_decision = encourage_sunni_immigration } NOT = { has_decision = deport_foreign_shia } } cost = 50 days_remove = 45 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision deport_foreign_sunnis" custom_effect_tooltip = shia_population_increase_tt add_to_variable = { shia_population = 1 } clamp_shia = yes set_temp_variable = { arg_popularity = 0.01 } add_ruling_outlook_popularity = yes decrease_pop_gulf = yes } ai_will_do = { base = 0 modifier = { add = 1 OR = { AND = { tag = BHR has_global_flag = BHR_DAY_OF_RAGE_FOCUS_PATH } AND = { tag = SAU OR = { has_global_flag = SAU_SHIA_ACCOMMODATION has_global_flag = SAU_ISLAMIC_REPUBLIC_FOCUS_PATH } } } } } } } gcc_decisions = { GCC_campaign_for_unity = { icon = GFX_decision_gulf_unity_button visible = { has_idea = idea_gcc_member_state } cost = 50 days_remove = 30 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_campaign_for_unity" set_temp_variable = { temp_modify_gcc_unity = 1 } modify_gcc_unity = yes } ai_will_do = { base = 0 modifier = { add = 10 tag = SAU has_global_flag = SAU_KHALEEJI_UNION_FOCUS_PATH } } } GCC_offer_joint_exercises_specific = { icon = GFX_decision_gulf_exer_button visible = { has_idea = idea_gcc_member_state NOT = { has_global_flag = GCC_joint_exercises_offered } } available = { has_war = no gcc_unity_greater_20 = yes } cost = 50 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_offer_joint_exercises_specific" set_global_flag = GCC_joint_exercises_offered set_country_flag = GCC_joint_exercises_accepted for_each_scope_loop = { array = global.gcc_member_state tooltip = TT_ALL_GCC_MEMBER_NATIONS_GAIN if = { limit = { exists = yes NOT = { tag = ROOT } } country_event = gcc.26 } } } ai_will_do = { base = 0 } } GCC_start_joint_exercises_specific = { icon = GFX_decision_gulf_exer_button visible = { has_idea = idea_gcc_member_state has_global_flag = GCC_joint_exercises_offered } available = { has_war = no } custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_start_joint_exercises_specific" add_command_power = -20 for_each_scope_loop = { array = global.gcc_member_state tooltip = TT_ALL_GCC_MEMBER_NATIONS_GAIN if = { limit = { exists = yes has_country_flag = GCC_joint_exercises_accepted } add_timed_idea = { idea = GCC_joint_drill days = 30 } clr_country_flag = GCC_joint_exercises_accepted } } } days_remove = 30 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_start_joint_exercises_specific" if = { limit = { check_variable = { global.gcc_exercise > 0 } check_variable = { global.gcc_exercise < 3 } } set_temp_variable = { temp_modify_gcc_unity = 2 } modify_gcc_unity = yes } else = { set_temp_variable = { temp_modify_gcc_unity = 5 } modify_gcc_unity = yes } clr_global_flag = GCC_joint_exercises_offered } ai_will_do = { base = 1 } } GCC_request_bloc_arms_sales = { icon = GFX_decision_gulf_block_button visible = { has_idea = idea_gcc_member_state OR = { AND = { NOT = { OR = { has_completed_focus = GCC_increase_autonomy has_completed_focus = GCC_new_partners has_completed_focus = SAU_increase_autonomy has_completed_focus = SAU_new_partners } } } has_global_flag = gcc_pro_iranian has_global_flag = gcc_pro_turkish has_global_flag = gcc_pro_russian has_global_flag = gcc_pro_indian has_global_flag = gcc_pro_pakistani } } available = { NOT = { OR = { has_completed_focus = GCC_increase_autonomy has_completed_focus = SAU_increase_autonomy } } gcc_dominant_member = yes gcc_unity_greater_40 = yes } cost = 50 days_remove = 60 days_re_enable = 365 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_request_bloc_arms_sales" if = { limit = { NOT = { OR = { has_completed_focus = GCC_increase_autonomy has_completed_focus = GCC_new_partners has_completed_focus = SAU_increase_autonomy has_completed_focus = SAU_new_partners } } } USA = { country_event = gcc.22 } } if = { limit = { has_global_flag = gcc_pro_iranian } PER = { country_event = gcc.22 } } if = { limit = { has_global_flag = gcc_pro_turkish } TUR = { country_event = gcc.22 } } if = { limit = { has_global_flag = gcc_pro_russian } SOV = { country_event = gcc.22 } } if = { limit = { has_global_flag = gcc_pro_indian } RAJ = { country_event = gcc.22 } } if = { limit = { has_global_flag = gcc_pro_pakistani } PAK = { country_event = gcc.22 } } } ai_will_do = { base = 1 } } GCC_expel = { icon = GFX_decision_gulf_expel_button target_array = global.gcc_member_state target_root_trigger = { has_idea = idea_gcc_member_state NOT = { any_of_scopes = { array = global.gcc_member_state has_country_flag = being_expelled } } } target_trigger = { country_exists = FROM FROM = { NOT = { has_country_flag = gcc_membership_secure } NOT = { has_country_flag = being_expelled } NOT = { has_country_flag = recently_expelled_from_gcc } } } available = { FROM = { has_idea = idea_gcc_member_state OR = { has_government = nationalist has_government = communism jihadist_government = yes NOT = { has_idea = saudi_royal_family } } } } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_expel" FROM = { set_country_flag = being_expelled } every_country = { limit = { has_country_flag = recently_expelled_from_gcc } clr_country_flag = recently_expelled_from_gcc } for_each_scope_loop = { array = global.gcc_member_state tooltip = TT_ALL_GCC_MEMBER_NATIONS_GAIN if = { limit = { exists = yes NOT = { tag = ROOT } NOT = { tag = FROM } } country_event = gcc.18 } } set_country_flag = supports_expulsion_@FROM } ai_will_do = { base = 0 modifier = { add = 1 has_opinion = { target = FROM value < -20 } } } } GCC_leadership = { icon = GFX_decision_gulf_leader_button target_array = global.gcc_member_state target_root_trigger = { has_idea = idea_gcc_member_state } target_trigger = { country_exists = FROM FROM = { has_country_flag = gcc_dominant_member } } available = { ic_ratio = { tag = FROM ratio > 1 } if = { limit = { NOT = { tag = BHR } BHR = { exists = yes has_idea = idea_gcc_member_state NOT = { has_country_flag = gcc_dominant_member } } } custom_trigger_tooltip = { tooltip = greater_influence_BHR_tt BHR = { OR = { AND = { check_variable = { influence_array^0 = ROOT } } AND = { check_variable = { influence_array^1 = ROOT } NOT = { check_variable = { influence_array^0 = FROM } } } AND = { check_variable = { influence_array^2 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } } } } AND = { check_variable = { influence_array^3 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } } } } AND = { check_variable = { influence_array^4 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } } } } AND = { check_variable = { influence_array^5 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } } } } AND = { check_variable = { influence_array^6 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } check_variable = { influence_array^5 = FROM } } } } } } } } if = { limit = { NOT = { tag = EGY } EGY = { exists = yes has_idea = idea_gcc_member_state NOT = { has_country_flag = gcc_dominant_member } } } custom_trigger_tooltip = { tooltip = greater_influence_EGY_tt EGY = { OR = { AND = { check_variable = { influence_array^0 = ROOT } } AND = { check_variable = { influence_array^1 = ROOT } NOT = { check_variable = { influence_array^0 = FROM } } } AND = { check_variable = { influence_array^2 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } } } } AND = { check_variable = { influence_array^3 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } } } } AND = { check_variable = { influence_array^4 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } } } } AND = { check_variable = { influence_array^5 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } } } } AND = { check_variable = { influence_array^6 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } check_variable = { influence_array^5 = FROM } } } } } } } } if = { limit = { NOT = { tag = IRQ } IRQ = { exists = yes has_idea = idea_gcc_member_state NOT = { has_country_flag = gcc_dominant_member } } } custom_trigger_tooltip = { tooltip = greater_influence_IRQ_tt IRQ = { OR = { AND = { check_variable = { influence_array^0 = ROOT } } AND = { check_variable = { influence_array^1 = ROOT } NOT = { check_variable = { influence_array^0 = FROM } } } AND = { check_variable = { influence_array^2 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } } } } AND = { check_variable = { influence_array^3 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } } } } AND = { check_variable = { influence_array^4 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } } } } AND = { check_variable = { influence_array^5 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } } } } AND = { check_variable = { influence_array^6 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } check_variable = { influence_array^5 = FROM } } } } } } } } if = { limit = { NOT = { tag = JOR } JOR = { exists = yes has_idea = idea_gcc_member_state NOT = { has_country_flag = gcc_dominant_member } } } custom_trigger_tooltip = { tooltip = greater_influence_JOR_tt JOR = { OR = { AND = { check_variable = { influence_array^0 = ROOT } } AND = { check_variable = { influence_array^1 = ROOT } NOT = { check_variable = { influence_array^0 = FROM } } } AND = { check_variable = { influence_array^2 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } } } } AND = { check_variable = { influence_array^3 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } } } } AND = { check_variable = { influence_array^4 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } } } } AND = { check_variable = { influence_array^5 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } } } } AND = { check_variable = { influence_array^6 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } check_variable = { influence_array^5 = FROM } } } } } } } } if = { limit = { NOT = { tag = KUW } KUW = { exists = yes has_idea = idea_gcc_member_state NOT = { has_country_flag = gcc_dominant_member } } } custom_trigger_tooltip = { tooltip = greater_influence_KUW_tt KUW = { OR = { AND = { check_variable = { influence_array^0 = ROOT } } AND = { check_variable = { influence_array^1 = ROOT } NOT = { check_variable = { influence_array^0 = FROM } } } AND = { check_variable = { influence_array^2 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } } } } AND = { check_variable = { influence_array^3 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } } } } AND = { check_variable = { influence_array^4 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } } } } AND = { check_variable = { influence_array^5 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } } } } AND = { check_variable = { influence_array^6 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } check_variable = { influence_array^5 = FROM } } } } } } } } if = { limit = { NOT = { tag = MOR } MOR = { exists = yes has_idea = idea_gcc_member_state NOT = { has_country_flag = gcc_dominant_member } } } custom_trigger_tooltip = { tooltip = greater_influence_MOR_tt MOR = { OR = { AND = { check_variable = { influence_array^0 = ROOT } } AND = { check_variable = { influence_array^1 = ROOT } NOT = { check_variable = { influence_array^0 = FROM } } } AND = { check_variable = { influence_array^2 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } } } } AND = { check_variable = { influence_array^3 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } } } } AND = { check_variable = { influence_array^4 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } } } } AND = { check_variable = { influence_array^5 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } } } } AND = { check_variable = { influence_array^6 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } check_variable = { influence_array^5 = FROM } } } } } } } } if = { limit = { NOT = { tag = OMA } OMA = { exists = yes has_idea = idea_gcc_member_state NOT = { has_country_flag = gcc_dominant_member } } } custom_trigger_tooltip = { tooltip = greater_influence_OMA_tt OMA = { OR = { AND = { check_variable = { influence_array^0 = ROOT } } AND = { check_variable = { influence_array^1 = ROOT } NOT = { check_variable = { influence_array^0 = FROM } } } AND = { check_variable = { influence_array^2 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } } } } AND = { check_variable = { influence_array^3 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } } } } AND = { check_variable = { influence_array^4 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } } } } AND = { check_variable = { influence_array^5 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } } } } AND = { check_variable = { influence_array^6 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } check_variable = { influence_array^5 = FROM } } } } } } } } if = { limit = { NOT = { tag = QAT } QAT = { exists = yes has_idea = idea_gcc_member_state NOT = { has_country_flag = gcc_dominant_member } } } custom_trigger_tooltip = { tooltip = greater_influence_QAT_tt QAT = { OR = { AND = { check_variable = { influence_array^0 = ROOT } } AND = { check_variable = { influence_array^1 = ROOT } NOT = { check_variable = { influence_array^0 = FROM } } } AND = { check_variable = { influence_array^2 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } } } } AND = { check_variable = { influence_array^3 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } } } } AND = { check_variable = { influence_array^4 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } } } } AND = { check_variable = { influence_array^5 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } } } } AND = { check_variable = { influence_array^6 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } check_variable = { influence_array^5 = FROM } } } } } } } } if = { limit = { NOT = { tag = SAU } SAU = { exists = yes has_idea = idea_gcc_member_state NOT = { has_country_flag = gcc_dominant_member } } } custom_trigger_tooltip = { tooltip = greater_influence_SAU_tt SAU = { OR = { AND = { check_variable = { influence_array^0 = ROOT } } AND = { check_variable = { influence_array^1 = ROOT } NOT = { check_variable = { influence_array^0 = FROM } } } AND = { check_variable = { influence_array^2 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } } } } AND = { check_variable = { influence_array^3 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } } } } AND = { check_variable = { influence_array^4 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } } } } AND = { check_variable = { influence_array^5 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } } } } AND = { check_variable = { influence_array^6 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } check_variable = { influence_array^5 = FROM } } } } } } } } if = { limit = { NOT = { tag = UAE } UAE = { exists = yes has_idea = idea_gcc_member_state NOT = { has_country_flag = gcc_dominant_member } } } custom_trigger_tooltip = { tooltip = greater_influence_UAE_tt UAE = { OR = { AND = { check_variable = { influence_array^0 = ROOT } } AND = { check_variable = { influence_array^1 = ROOT } NOT = { check_variable = { influence_array^0 = FROM } } } AND = { check_variable = { influence_array^2 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } } } } AND = { check_variable = { influence_array^3 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } } } } AND = { check_variable = { influence_array^4 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } } } } AND = { check_variable = { influence_array^5 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } } } } AND = { check_variable = { influence_array^6 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } check_variable = { influence_array^5 = FROM } } } } } } } } if = { limit = { NOT = { tag = YEM } YEM = { exists = yes has_idea = idea_gcc_member_state NOT = { has_country_flag = gcc_dominant_member } } } custom_trigger_tooltip = { tooltip = greater_influence_YEM_tt YEM = { OR = { AND = { check_variable = { influence_array^0 = ROOT } } AND = { check_variable = { influence_array^1 = ROOT } NOT = { check_variable = { influence_array^0 = FROM } } } AND = { check_variable = { influence_array^2 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } } } } AND = { check_variable = { influence_array^3 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } } } } AND = { check_variable = { influence_array^4 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } } } } AND = { check_variable = { influence_array^5 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } } } } AND = { check_variable = { influence_array^6 = ROOT } NOT = { OR = { check_variable = { influence_array^0 = FROM } check_variable = { influence_array^1 = FROM } check_variable = { influence_array^2 = FROM } check_variable = { influence_array^3 = FROM } check_variable = { influence_array^4 = FROM } check_variable = { influence_array^5 = FROM } } } } } } } } } cost = 200 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_leadership" FROM = { clr_country_flag = gcc_dominant_member } set_country_flag = gcc_dominant_member custom_effect_tooltip = become_gcc_dominant_member_tt } ai_will_do = { base = 1 } } GCC_blockade = { icon = GFX_decision_gulf_expel_button target_array = global.gcc_member_state target_root_trigger = { has_idea = idea_gcc_member_state } target_trigger = { country_exists = FROM FROM = { has_completed_focus = GCC_improve_relations_with_iran NOT = { has_country_flag = accepted_blockade_demands } } OR = { AND = { FROM = { tag = QAT } tag = SAU date > 2017.1.1 } has_completed_focus = GCC_confront_iranian_partners has_completed_focus = SAU_roll_back_iran_in_the_gulf } } visible = { NOT = { any_of_scopes = { array = global.gcc_member_state has_country_flag = blockade_@FROM } } } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_blockade" set_country_flag = initiated_blockade_@FROM if = { limit = { FROM = { original_tag = QAT } } country_event = SAU_GCC_CRISIS.0 } if = { limit = { FROM = { original_tag = BHR } } country_event = SAU_GCC_CRISIS.9 } if = { limit = { FROM = { original_tag = KUW } } country_event = SAU_GCC_CRISIS.14 } if = { limit = { FROM = { original_tag = OMA } } country_event = SAU_GCC_CRISIS.19 } if = { limit = { FROM = { original_tag = SAU } } country_event = SAU_GCC_CRISIS.24 } if = { limit = { FROM = { original_tag = UAE } } country_event = SAU_GCC_CRISIS.27 } if = { limit = { has_idea = idea_gcc_member_state } set_temp_variable = { temp_modify_gcc_unity = -25 } modify_gcc_unity = yes } } ai_will_do = { base = 1 } } GCC_drop_the_blockade = { icon = GFX_decision_gulf_agree_button target_array = global.gcc_member_state target_trigger = { country_exists = FROM FROM = { has_country_flag = rejected_blockade_demands } } visible = { has_country_flag = initiated_blockade_@FROM } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_drop_the_blockade" clr_country_flag = blockade_@FROM clr_country_flag = initiated_blockade_@FROM every_country = { limit = { has_country_flag = blockade_@FROM } clr_country_flag = blockade_@FROM remove_opinion_modifier = { target = FROM modifier = Blockade } remove_opinion_modifier = { target = FROM modifier = Blockade_Trade } } if = { limit = { has_idea = idea_gcc_member_state } set_temp_variable = { temp_modify_gcc_unity = 25 } modify_gcc_unity = yes } } ai_will_do = { base = 0 modifier = { add = 1 has_opinion = { target = FROM value > 0 } } } } GCC_accept_blockade_demands = { icon = GFX_decision_gulf_agree1_button visible = { has_country_flag = rejected_blockade_demands } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_accept_blockade_demands" every_country = { limit = { has_country_flag = blockade_@ROOT } clr_country_flag = blockade_@ROOT clr_country_flag = initiated_blockade_@ROOT remove_opinion_modifier = { target = ROOT modifier = Blockade } remove_opinion_modifier = { target = ROOT modifier = Blockade_Trade } } clr_country_flag = rejected_blockade_demands set_country_flag = accepted_blockade_demands if = { limit = { tag = QAT } news_event = SAU_GCC_CRISIS.8 remove_ideas = al_jazeera every_country = { limit = { OR = { has_idea = al_jazeera_banned has_idea = al_jazeera_allowed } } remove_ideas = al_jazeera_banned remove_ideas = al_jazeera_allowed } } else = { news_event = SAU_GCC_CRISIS.13 } if = { limit = { gives_military_access_to = TUR } TUR = { diplomatic_relation = { country = ROOT relation = military_access active = no } } } if = { limit = { has_guaranteed = TUR } diplomatic_relation = { country = TUR relation = guarantee active = no } } if = { limit = { is_guaranteed_by = TUR } TUR = { diplomatic_relation = { country = ROOT relation = guarantee active = no } } } if = { limit = { is_in_faction_with = TUR } leave_faction = yes } if = { limit = { gives_military_access_to = PER } PER = { diplomatic_relation = { country = ROOT relation = military_access active = no } } } if = { limit = { has_guaranteed = PER } diplomatic_relation = { country = PER relation = guarantee active = no } } if = { limit = { is_guaranteed_by = PER } PER = { diplomatic_relation = { country = ROOT relation = guarantee active = no } } } if = { limit = { is_in_faction_with = PER } leave_faction = yes } if = { limit = { has_idea = idea_gcc_member_state } set_temp_variable = { temp_modify_gcc_unity = 25 } modify_gcc_unity = yes } } ai_will_do = { base = 0 } } GCC_support_gcc_membership = { icon = GFX_decision_gulf_support_member_button target_array = global.possible_gcc_members target_root_trigger = { has_idea = idea_gcc_member_state } target_trigger = { country_exists = FROM FROM = { NOT = { OR = { jihadist_government = yes has_idea = idea_gcc_member_state } } } } visible = { NOT = { has_country_flag = supports_membership_@FROM } } cost = 25 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_support_gcc_membership" set_country_flag = supports_membership_@FROM custom_effect_tooltip = GCC_support_gcc_membership_tt } ai_will_do = { base = -5 modifier = { add = 1 has_opinion = { target = FROM value > 25 } } modifier = { add = 1 has_opinion = { target = FROM value > 50 } } modifier = { add = 1 has_opinion = { target = FROM value > 100 } } modifier = { add = 1 has_opinion = { target = FROM value > 150 } } modifier = { add = 1 FROM = { has_idea = saudi_royal_family } } modifier = { add = -1 FROM = { has_idea = shia } } modifier = { add = 1 FROM = { NOT = { has_government = communism } } } modifier = { add = 1 FROM = { has_government = democratic } } modifier = { add = 1 FROM = { has_stability > 0.5 } } modifier = { add = 10 tag = KUW FROM = { tag = IRQ NOT = { has_government = nationalist } } } modifier = { add = 5 has_global_flag = global_arab_spring_started FROM = { OR = { tag = JOR tag = MOR } } } modifier = { add = 5 has_global_flag = global_arab_spring_started tag = BHR FROM = { tag = EGY } } } } GCC_pressure_countries_to_support = { icon = GFX_decision_gulf_pressure_button target_array = global.possible_gcc_members target_root_trigger = { has_idea = idea_gcc_member_state } target_trigger = { country_exists = FROM FROM = { NOT = { OR = { has_idea = idea_gcc_member_state jihadist_government = yes } } } } visible = { has_country_flag = supports_membership_@FROM any_of_scopes = { array = global.gcc_member_state NOT = { has_country_flag = supports_membership_@FROM } } } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_pressure_countries_to_support target: [From.GetName]" for_each_scope_loop = { array = global.gcc_member_state tooltip = TT_ALL_GCC_MEMBER_NATIONS_GAIN if = { limit = { exists = yes NOT = { tag = ROOT } NOT = { has_country_flag = supports_membership_@FROM } } FROM = { set_country_flag = pressured_to_accept_@PREV } country_event = gcc.24 } } } days_remove = 90 ai_will_do = { base = 0 modifier = { add = 5 has_opinion = { target = FROM value > 100 } } modifier = { add = 10 has_opinion = { target = FROM value > 150 } } } } GCC_show_supporters = { icon = GFX_decision_gulf_list_button visible = { is_in_array = { global.possible_gcc_members = THIS } NOT = { OR = { jihadist_government = yes has_idea = idea_gcc_member_state } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_show_supporters" every_country = { limit = { has_idea = idea_gcc_member_state has_country_flag = supports_membership_@ROOT } display_individual_scopes = yes set_temp_variable = { selected_tag = THIS.id } TAG_get_name_with_flag = yes } } ai_will_do = { base = 0 } } GCC_begin_accession_process = { icon = GFX_decision_gulf_agree_button visible = { is_in_array = { global.possible_gcc_members = THIS } NOT = { OR = { jihadist_government = yes has_country_flag = gcc_accession_process } } } available = { custom_trigger_tooltip = { tooltip = every_gcc_member_supports_tt NOT = { any_of_scopes = { array = global.gcc_member_state NOT = { has_country_flag = supports_membership_@ROOT } } } } } cost = 25 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_begin_accession_process" unlock_decision_tooltip = GCC_complete_accession_plan set_country_flag = gcc_accession_process news_event = gcc.25 } ai_will_do = { base = 1 } } GCC_complete_accession_plan = { icon = GFX_decision_gulf_agree1_button visible = { is_in_array = { global.possible_gcc_members = THIS } has_country_flag = gcc_accession_process } available = { gdp_per_capita_greater_than_10 = yes } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_complete_accession_plan" clr_country_flag = gcc_accession_process hidden_effect = { news_event = { days = 1 id = gcc.21 } } remove_from_array = { global.possible_gcc_members = THIS } add_ideas = idea_gcc_member_state force_update_map_mode = { mapmode = GCC_map_mode } if = { limit = { ROOT = { NOT = { has_idea = saudi_royal_family } has_idea = shia has_government = communism } } set_temp_variable = { temp_modify_gcc_unity = -25 } custom_effect_tooltip = GCC_unity_change_tt subtract_from_variable = { global.gcc_unity = 25 } clamp_variable = { var = global.gcc_unity min = 0 max = 100 } } else_if = { limit = { ROOT = { NOT = { has_idea = saudi_royal_family } OR = { has_idea = shia has_government = communism } } } set_temp_variable = { temp_modify_gcc_unity = -20 } custom_effect_tooltip = GCC_unity_change_tt subtract_from_variable = { global.gcc_unity = 20 } clamp_variable = { var = global.gcc_unity min = 0 max = 100 } } else_if = { limit = { ROOT = { OR = { NOT = { has_idea = saudi_royal_family } has_idea = shia has_government = communism } } } set_temp_variable = { temp_modify_gcc_unity = -10 } custom_effect_tooltip = GCC_unity_change_tt subtract_from_variable = { global.gcc_unity = 10 } clamp_variable = { var = global.gcc_unity min = 0 max = 100 } } else_if = { limit = { ROOT = { NOT = { OR = { NOT = { has_idea = saudi_royal_family } has_idea = shia has_government = communism } } } } set_temp_variable = { temp_modify_gcc_unity = -5 } custom_effect_tooltip = GCC_unity_change_tt subtract_from_variable = { global.gcc_unity = 5 } clamp_variable = { var = global.gcc_unity min = 0 max = 100 } } for_each_scope_loop = { array = global.gcc_member_state tooltip = TT_ALL_GCC_MEMBER_NATIONS_GAIN if = { limit = { exists = yes NOT = { tag = ROOT } } add_opinion_modifier = { target = ROOT modifier = Gulf_Cooperation_Council_Relations } reverse_add_opinion_modifier = { target = ROOT modifier = Gulf_Cooperation_Council_Relations } } } if = { limit = { has_global_flag = GCC_standardize_regulations_completed } add_to_tech_sharing_group = GCC_Tech_Share } if = { limit = { has_global_flag = GCC_intra_gcc_trade_completed } for_each_scope_loop = { array = global.gcc_member_state tooltip = TT_ALL_GCC_MEMBER_NATIONS_GAIN if = { limit = { exists = yes NOT = { tag = ROOT } } add_opinion_modifier = { target = ROOT modifier = improve_trade } reverse_add_opinion_modifier = { target = ROOT modifier = improve_trade } } } } if = { limit = { has_global_flag = GCC_intra_gcc_trade_completed } for_each_scope_loop = { array = global.gcc_member_state tooltip = TT_ALL_GCC_MEMBER_NATIONS_GAIN if = { limit = { exists = yes NOT = { tag = ROOT } } add_opinion_modifier = { target = ROOT modifier = common_market } reverse_add_opinion_modifier = { target = ROOT modifier = common_market } } } } if = { limit = { has_global_flag = GCC_monetary_union_completed } add_ideas = khaleeji } if = { limit = { has_global_flag = GCC_joint_defense_agreement_completed NOT = { has_global_flag = GCC_a_robust_alliance_completed } } for_each_scope_loop = { array = global.gcc_member_state tooltip = TT_ALL_GCC_MEMBER_NATIONS_GAIN if = { limit = { exists = yes NOT = { tag = ROOT } } give_guarantee = ROOT ROOT = { give_guarantee = PREV } } } } if = { limit = { has_global_flag = GCC_gulf_academy_completed } if = { limit = { has_idea = officer_baptism_by_fire } swap_ideas = { remove_idea = officer_baptism_by_fire add_idea = officer_military_academy } } if = { limit = { has_idea = officer_basic_training } swap_ideas = { remove_idea = officer_basic_training add_idea = officer_military_academy } } if = { limit = { has_idea = officer_advanced_training } swap_ideas = { remove_idea = officer_advanced_training add_idea = officer_military_academy } } if = { limit = { has_idea = officer_military_school } swap_ideas = { remove_idea = officer_military_school add_idea = officer_military_academy } } } if = { limit = { has_global_flag = GCC_joint_military_ventures_completed } add_ideas = joint_gcc_ventures } if = { limit = { has_global_flag = GCC_a_robust_alliance_completed } random_scope_in_array = { array = global.gcc_member_state limit = { has_country_flag = gcc_dominant_member } add_to_faction = ROOT ROOT = { if = { limit = { PREV = { tag = SAU } } add_ai_strategy = { type = alliance id = "SAU" value = 1200 } } if = { limit = { PREV = { tag = BHR } } add_ai_strategy = { type = alliance id = "BHR" value = 1200 } } if = { limit = { PREV = { tag = KUW } } add_ai_strategy = { type = alliance id = "KUW" value = 1200 } } if = { limit = { PREV = { tag = OMA } } add_ai_strategy = { type = alliance id = "OMA" value = 1200 } } if = { limit = { PREV = { tag = QAT } } add_ai_strategy = { type = alliance id = "QAT" value = 1200 } } if = { limit = { PREV = { tag = UAE } } add_ai_strategy = { type = alliance id = "UAE" value = 1200 } } if = { limit = { PREV = { tag = EGY } } add_ai_strategy = { type = alliance id = "EGY" value = 1200 } } if = { limit = { PREV = { tag = IRQ } } add_ai_strategy = { type = alliance id = "IRQ" value = 1200 } } if = { limit = { PREV = { tag = JOR } } add_ai_strategy = { type = alliance id = "JOR" value = 1200 } } if = { limit = { PREV = { tag = MOR } } add_ai_strategy = { type = alliance id = "MOR" value = 1200 } } if = { limit = { PREV = { tag = YEM } } add_ai_strategy = { type = alliance id = "YEM" value = 1200 } } } } } if = { limit = { has_global_flag = GCC_solidify_pro_american_alignment_completed NOT = { has_global_flag = gcc_usa_rejected } } USA = { give_guarantee = ROOT } } if = { limit = { has_global_flag = gcc_pro_turkish } TUR = { give_guarantee = ROOT } } if = { limit = { has_global_flag = gcc_pro_iranian } PER = { give_guarantee = ROOT } } if = { limit = { has_global_flag = gcc_pro_russian } SOV = { give_guarantee = ROOT } } if = { limit = { has_global_flag = gcc_pro_indian } RAJ = { give_guarantee = ROOT } } if = { limit = { has_global_flag = gcc_pro_pakistani } PAK = { give_guarantee = ROOT } } if = { limit = { has_global_flag = GCC_exploit_authority_completed } random_scope_in_array = { array = global.gcc_member_state limit = { has_country_flag = gcc_dominant_member } puppet = ROOT } } if = { limit = { has_global_flag = GCC_gulf_super_state_completed } random_scope_in_array = { array = global.gcc_member_state limit = { has_country_flag = gcc_dominant_member } annex_country = { target = ROOT transfer_troops = yes } } } } ai_will_do = { base = 1 } } GCC_endorse_EGY = { icon = GFX_decision_egy_flag allowed = { always = yes } visible = { has_idea = idea_gcc_member_state country_exists = EGY NOT = { EGY = { has_idea = idea_gcc_member_state } } NOT = { has_country_flag = gcc_endorsed_EGY } } available = { has_opinion = { target = EGY value > 0 } } cost = 25 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_endorse_EGY" set_country_flag = gcc_endorsed_EGY for_each_scope_loop = { array = global.gcc_member_state add_opinion_modifier = { modifier = supports_us target = EGY } EGY = { add_opinion_modifier = { modifier = supports_us target = PREV } } } } ai_will_do = { base = 1 modifier = { factor = 3 has_opinion = { target = EGY value > 40 } } modifier = { factor = 0 has_opinion = { target = EGY value < 0 } } } } GCC_endorse_JOR = { icon = GFX_decision_jor_flag allowed = { always = yes } visible = { has_idea = idea_gcc_member_state country_exists = JOR NOT = { JOR = { has_idea = idea_gcc_member_state } } NOT = { has_country_flag = gcc_endorsed_JOR } } available = { has_opinion = { target = JOR value > 0 } } cost = 25 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_endorse_JOR" set_country_flag = gcc_endorsed_JOR for_each_scope_loop = { array = global.gcc_member_state add_opinion_modifier = { modifier = supports_us target = JOR } JOR = { add_opinion_modifier = { modifier = supports_us target = PREV } } } } ai_will_do = { base = 1 modifier = { factor = 3 has_opinion = { target = JOR value > 40 } } modifier = { factor = 0 has_opinion = { target = JOR value < 0 } } } } GCC_endorse_MOR = { icon = GFX_decision_mol_flag allowed = { always = yes } visible = { has_idea = idea_gcc_member_state country_exists = MOR NOT = { MOR = { has_idea = idea_gcc_member_state } } NOT = { has_country_flag = gcc_endorsed_MOR } } available = { has_opinion = { target = MOR value > 0 } } cost = 25 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_endorse_MOR" set_country_flag = gcc_endorsed_MOR for_each_scope_loop = { array = global.gcc_member_state add_opinion_modifier = { modifier = supports_us target = MOR } MOR = { add_opinion_modifier = { modifier = supports_us target = PREV } } } } ai_will_do = { base = 1 modifier = { factor = 3 has_opinion = { target = MOR value > 40 } } modifier = { factor = 0 has_opinion = { target = MOR value < 0 } } } } GCC_endorse_IRQ = { icon = GFX_decision_irq_flag allowed = { always = yes } visible = { has_idea = idea_gcc_member_state country_exists = IRQ NOT = { IRQ = { has_idea = idea_gcc_member_state } } NOT = { has_country_flag = gcc_endorsed_IRQ } } available = { has_opinion = { target = IRQ value > 0 } } cost = 25 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_endorse_IRQ" set_country_flag = gcc_endorsed_IRQ for_each_scope_loop = { array = global.gcc_member_state add_opinion_modifier = { modifier = supports_us target = IRQ } IRQ = { add_opinion_modifier = { modifier = supports_us target = PREV } } } } ai_will_do = { base = 1 modifier = { factor = 3 has_opinion = { target = IRQ value > 40 } } modifier = { factor = 0 has_opinion = { target = IRQ value < 0 } } } } GCC_endorse_YEM = { icon = GFX_decision_yem_flag allowed = { always = yes } visible = { has_idea = idea_gcc_member_state country_exists = YEM NOT = { YEM = { has_idea = idea_gcc_member_state } } NOT = { has_country_flag = gcc_endorsed_YEM } } available = { has_opinion = { target = YEM value > 0 } } cost = 25 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_endorse_YEM" set_country_flag = gcc_endorsed_YEM for_each_scope_loop = { array = global.gcc_member_state add_opinion_modifier = { modifier = supports_us target = YEM } YEM = { add_opinion_modifier = { modifier = supports_us target = PREV } } } } ai_will_do = { base = 1 modifier = { factor = 3 has_opinion = { target = YEM value > 40 } } modifier = { factor = 0 has_opinion = { target = YEM value < 0 } } } } # --- Invite EGY into the GCC (Dominant Member, once every member endorses) --- GCC_invite_EGY = { icon = GFX_decision_generic_form_nation allowed = { always = yes } visible = { has_country_flag = gcc_dominant_member country_exists = EGY NOT = { EGY = { has_idea = idea_gcc_member_state } } } available = { custom_trigger_tooltip = { tooltip = GCC_endorse_status_SAU OR = { NOT = { SAU = { has_idea = idea_gcc_member_state } } SAU = { has_country_flag = gcc_endorsed_EGY } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_QAT OR = { NOT = { QAT = { has_idea = idea_gcc_member_state } } QAT = { has_country_flag = gcc_endorsed_EGY } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_UAE OR = { NOT = { UAE = { has_idea = idea_gcc_member_state } } UAE = { has_country_flag = gcc_endorsed_EGY } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_BHR OR = { NOT = { BHR = { has_idea = idea_gcc_member_state } } BHR = { has_country_flag = gcc_endorsed_EGY } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_KUW OR = { NOT = { KUW = { has_idea = idea_gcc_member_state } } KUW = { has_country_flag = gcc_endorsed_EGY } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_OMA OR = { NOT = { OMA = { has_idea = idea_gcc_member_state } } OMA = { has_country_flag = gcc_endorsed_EGY } } } all_of_scopes = { array = global.possible_gcc_member_state OR = { NOT = { has_idea = idea_gcc_member_state } has_country_flag = gcc_endorsed_EGY } } } cost = 50 days_re_enable = 180 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_invite_EGY" EGY = { country_event = { id = gcc_invite.1 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { EGY = { add_ideas = idea_gcc_member_state } } } ai_will_do = { base = 1 } } # --- Invite JOR into the GCC (Dominant Member, once every member endorses) --- GCC_invite_JOR = { icon = GFX_decision_generic_form_nation allowed = { always = yes } visible = { has_country_flag = gcc_dominant_member country_exists = JOR NOT = { JOR = { has_idea = idea_gcc_member_state } } } available = { custom_trigger_tooltip = { tooltip = GCC_endorse_status_SAU OR = { NOT = { SAU = { has_idea = idea_gcc_member_state } } SAU = { has_country_flag = gcc_endorsed_JOR } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_QAT OR = { NOT = { QAT = { has_idea = idea_gcc_member_state } } QAT = { has_country_flag = gcc_endorsed_JOR } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_UAE OR = { NOT = { UAE = { has_idea = idea_gcc_member_state } } UAE = { has_country_flag = gcc_endorsed_JOR } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_BHR OR = { NOT = { BHR = { has_idea = idea_gcc_member_state } } BHR = { has_country_flag = gcc_endorsed_JOR } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_KUW OR = { NOT = { KUW = { has_idea = idea_gcc_member_state } } KUW = { has_country_flag = gcc_endorsed_JOR } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_OMA OR = { NOT = { OMA = { has_idea = idea_gcc_member_state } } OMA = { has_country_flag = gcc_endorsed_JOR } } } all_of_scopes = { array = global.possible_gcc_member_state OR = { NOT = { has_idea = idea_gcc_member_state } has_country_flag = gcc_endorsed_JOR } } } cost = 50 days_re_enable = 180 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_invite_JOR" JOR = { country_event = { id = gcc_invite.1 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { JOR = { add_ideas = idea_gcc_member_state } } } ai_will_do = { base = 1 } } # --- Invite MOR into the GCC (Dominant Member, once every member endorses) --- GCC_invite_MOR = { icon = GFX_decision_generic_form_nation allowed = { always = yes } visible = { has_country_flag = gcc_dominant_member country_exists = MOR NOT = { MOR = { has_idea = idea_gcc_member_state } } } available = { custom_trigger_tooltip = { tooltip = GCC_endorse_status_SAU OR = { NOT = { SAU = { has_idea = idea_gcc_member_state } } SAU = { has_country_flag = gcc_endorsed_MOR } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_QAT OR = { NOT = { QAT = { has_idea = idea_gcc_member_state } } QAT = { has_country_flag = gcc_endorsed_MOR } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_UAE OR = { NOT = { UAE = { has_idea = idea_gcc_member_state } } UAE = { has_country_flag = gcc_endorsed_MOR } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_BHR OR = { NOT = { BHR = { has_idea = idea_gcc_member_state } } BHR = { has_country_flag = gcc_endorsed_MOR } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_KUW OR = { NOT = { KUW = { has_idea = idea_gcc_member_state } } KUW = { has_country_flag = gcc_endorsed_MOR } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_OMA OR = { NOT = { OMA = { has_idea = idea_gcc_member_state } } OMA = { has_country_flag = gcc_endorsed_MOR } } } all_of_scopes = { array = global.possible_gcc_member_state OR = { NOT = { has_idea = idea_gcc_member_state } has_country_flag = gcc_endorsed_MOR } } } cost = 50 days_re_enable = 180 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_invite_MOR" MOR = { country_event = { id = gcc_invite.1 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { MOR = { add_ideas = idea_gcc_member_state } } } ai_will_do = { base = 1 } } # --- Invite IRQ into the GCC (Dominant Member, once every member endorses) --- GCC_invite_IRQ = { icon = GFX_decision_generic_form_nation allowed = { always = yes } visible = { has_country_flag = gcc_dominant_member country_exists = IRQ NOT = { IRQ = { has_idea = idea_gcc_member_state } } } available = { custom_trigger_tooltip = { tooltip = GCC_endorse_status_SAU OR = { NOT = { SAU = { has_idea = idea_gcc_member_state } } SAU = { has_country_flag = gcc_endorsed_IRQ } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_QAT OR = { NOT = { QAT = { has_idea = idea_gcc_member_state } } QAT = { has_country_flag = gcc_endorsed_IRQ } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_UAE OR = { NOT = { UAE = { has_idea = idea_gcc_member_state } } UAE = { has_country_flag = gcc_endorsed_IRQ } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_BHR OR = { NOT = { BHR = { has_idea = idea_gcc_member_state } } BHR = { has_country_flag = gcc_endorsed_IRQ } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_KUW OR = { NOT = { KUW = { has_idea = idea_gcc_member_state } } KUW = { has_country_flag = gcc_endorsed_IRQ } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_OMA OR = { NOT = { OMA = { has_idea = idea_gcc_member_state } } OMA = { has_country_flag = gcc_endorsed_IRQ } } } all_of_scopes = { array = global.possible_gcc_member_state OR = { NOT = { has_idea = idea_gcc_member_state } has_country_flag = gcc_endorsed_IRQ } } } cost = 50 days_re_enable = 180 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_invite_IRQ" IRQ = { country_event = { id = gcc_invite.1 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { IRQ = { add_ideas = idea_gcc_member_state } } } ai_will_do = { base = 1 } } # --- Invite YEM into the GCC (Dominant Member, once every member endorses) --- GCC_invite_YEM = { icon = GFX_decision_generic_form_nation allowed = { always = yes } visible = { has_country_flag = gcc_dominant_member country_exists = YEM NOT = { YEM = { has_idea = idea_gcc_member_state } } } available = { custom_trigger_tooltip = { tooltip = GCC_endorse_status_SAU OR = { NOT = { SAU = { has_idea = idea_gcc_member_state } } SAU = { has_country_flag = gcc_endorsed_YEM } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_QAT OR = { NOT = { QAT = { has_idea = idea_gcc_member_state } } QAT = { has_country_flag = gcc_endorsed_YEM } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_UAE OR = { NOT = { UAE = { has_idea = idea_gcc_member_state } } UAE = { has_country_flag = gcc_endorsed_YEM } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_BHR OR = { NOT = { BHR = { has_idea = idea_gcc_member_state } } BHR = { has_country_flag = gcc_endorsed_YEM } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_KUW OR = { NOT = { KUW = { has_idea = idea_gcc_member_state } } KUW = { has_country_flag = gcc_endorsed_YEM } } } custom_trigger_tooltip = { tooltip = GCC_endorse_status_OMA OR = { NOT = { OMA = { has_idea = idea_gcc_member_state } } OMA = { has_country_flag = gcc_endorsed_YEM } } } all_of_scopes = { array = global.possible_gcc_member_state OR = { NOT = { has_idea = idea_gcc_member_state } has_country_flag = gcc_endorsed_YEM } } } cost = 50 days_re_enable = 180 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GCC_invite_YEM" YEM = { country_event = { id = gcc_invite.1 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { YEM = { add_ideas = idea_gcc_member_state } } } ai_will_do = { base = 1 } } } subversive_activities = { send_support_to_hamas = { icon = GFX_decision_generic_prepare_civil_war_new visible = { OR = { has_completed_focus = GCC_support_hamas has_completed_focus = SAU_arm_the_militants } } available = { OR = { country_exists = HAM PAL = { custom_trigger_tooltip = { tooltip = hamas_tt neutrality_neutral_muslim_brotherhood_are_in_power = yes } } } has_equipment = { infantry_weapons_type > 99 } has_equipment = { L_AT_Equipment > 9 } has_equipment = { AA_Equipment > 9 } has_equipment = { util_vehicle_type > 4 } } highlight_states = { highlight_states_trigger = { state = 209 } } cost = 20 days_remove = 50 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision send_support_to_hamas" if = { limit = { country_exists = HAM } send_equipment = { equipment = infantry_weapons_1 amount = 100 target = HAM } send_equipment = { equipment = L_AT_Equipment amount = 10 target = HAM } send_equipment = { equipment = AA_Equipment amount = 10 target = HAM } send_equipment = { equipment = util_vehicle_type amount = 5 target = HAM } HAM = { country_event = gulf.36 } } else = { send_equipment = { equipment = infantry_weapons_1 amount = 100 target = PAL } send_equipment = { equipment = L_AT_Equipment amount = 10 target = PAL } send_equipment = { equipment = AA_Equipment amount = 10 target = PAL } send_equipment = { equipment = util_vehicle_type amount = 5 target = PAL } PAL = { country_event = gulf.36 } } } ai_will_do = { base = 1 } } send_support_to_hezbollah = { icon = GFX_decision_generic_prepare_civil_war_new visible = { OR = { has_completed_focus = GCC_non_aggression_pact has_completed_focus = SAU_alliance_with_iran } } available = { country_exists = HEZ has_equipment = { infantry_weapons_type > 99 } has_equipment = { L_AT_Equipment > 9 } has_equipment = { AA_Equipment > 9 } has_equipment = { util_vehicle_type > 4 } } highlight_states = { highlight_states_trigger = { state = 201 } } cost = 20 days_remove = 50 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision send_support_to_hezbollah" send_equipment = { equipment = infantry_weapons_1 amount = 100 target = HEZ } send_equipment = { equipment = L_AT_Equipment amount = 10 target = HEZ } send_equipment = { equipment = AA_Equipment amount = 10 target = HEZ } send_equipment = { equipment = util_vehicle_type amount = 5 target = HEZ } HEZ = { country_event = gulf.36 } } ai_will_do = { base = 1 } } send_support_to_pmu = { icon = GFX_decision_generic_prepare_civil_war_new visible = { OR = { has_completed_focus = GCC_non_aggression_pact has_completed_focus = SAU_alliance_with_iran } } available = { country_exists = IRQ IRQ = { has_government = communism } has_equipment = { infantry_weapons_type > 99 } has_equipment = { L_AT_Equipment > 9 } has_equipment = { AA_Equipment > 9 } has_equipment = { util_vehicle_type > 4 } } highlight_states = { highlight_states_trigger = { state = 557 } } cost = 20 days_remove = 50 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision send_support_to_pmu" send_equipment = { equipment = infantry_weapons_1 amount = 100 target = IRQ } send_equipment = { equipment = L_AT_Equipment amount = 10 target = IRQ } send_equipment = { equipment = AA_Equipment amount = 10 target = IRQ } send_equipment = { equipment = util_vehicle_type amount = 5 target = IRQ } IRQ = { set_temp_variable = { percent_change = 1 } set_temp_variable = { tag_index = PER.id } change_influence_percentage = yes } } ai_will_do = { base = 1 } } send_support_to_pro_government_forces = { icon = GFX_decision_generic_prepare_civil_war_new visible = { OR = { has_completed_focus = GCC_non_aggression_pact has_completed_focus = SAU_alliance_with_iran } } available = { country_exists = SYR SYR = { has_government = communism } has_equipment = { infantry_weapons_type > 99 } has_equipment = { L_AT_Equipment > 9 } has_equipment = { AA_Equipment > 9 } has_equipment = { util_vehicle_type > 4 } } highlight_states = { highlight_states_trigger = { state = 186 } } cost = 20 days_remove = 50 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision send_support_to_pro_government_forces" send_equipment = { equipment = infantry_weapons_1 amount = 100 target = SYR } send_equipment = { equipment = L_AT_Equipment amount = 10 target = SYR } send_equipment = { equipment = AA_Equipment amount = 10 target = SYR } send_equipment = { equipment = util_vehicle_type amount = 5 target = SYR } SYR = { set_temp_variable = { percent_change = 1 } set_temp_variable = { tag_index = PER.id } change_influence_percentage = yes } } ai_will_do = { base = 1 } } send_support_to_the_syrian_opposition = { icon = GFX_decision_generic_prepare_civil_war_new visible = { OR = { has_completed_focus = GCC_back_the_syrian_opposition has_completed_focus = SAU_fund_the_free_syrian_army } } available = { has_equipment = { infantry_weapons_type > 99 } has_equipment = { L_AT_Equipment > 9 } has_equipment = { AA_Equipment > 9 } has_equipment = { util_vehicle_type > 4 } country_exists = FSA } highlight_states = { highlight_states_trigger = { state = 188 } } cost = 20 days_remove = 50 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision send_support_to_the_syrian_opposition" send_equipment = { equipment = infantry_weapons_1 amount = 100 target = FSA } send_equipment = { equipment = L_AT_Equipment amount = 10 target = FSA } send_equipment = { equipment = AA_Equipment amount = 10 target = FSA } send_equipment = { equipment = util_vehicle_type amount = 5 target = FSA } FSA = { country_event = gulf.36 } } ai_will_do = { base = 1 } } send_support_to_arabs = { icon = GFX_decision_generic_prepare_civil_war_new visible = { OR = { has_completed_focus = GCC_support_iranian_separatists has_completed_focus = SAU_arm_the_anti_iranian_groups } } available = { has_equipment = { infantry_weapons_type > 99 } PER = { owns_state = 399 } } highlight_states = { highlight_states_trigger = { state = 399 } } cost = 20 days_remove = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision send_support_to_arabs" add_equipment_to_stockpile = { type = infantry_weapons_type amount = -100 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision send_support_to_arabs" custom_effect_tooltip = arab_rebels_strengthened_tt add_to_variable = { global.arab_rebels_strength = 1 } } ai_will_do = { base = 1 } } send_support_to_balochis = { icon = GFX_decision_generic_prepare_civil_war_new visible = { OR = { has_completed_focus = GCC_support_iranian_separatists has_completed_focus = SAU_arm_the_anti_iranian_groups } } available = { has_equipment = { infantry_weapons_type > 99 } PER = { owns_state = 401 } } highlight_states = { highlight_states_trigger = { state = 401 } } cost = 20 days_remove = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision send_support_to_balochis" add_equipment_to_stockpile = { type = infantry_weapons_type amount = -100 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision send_support_to_balochis" custom_effect_tooltip = balochi_rebels_strengthened_tt add_to_variable = { global.balochi_rebels_strength = 1 } } ai_will_do = { base = 1 } } send_support_to_gna = { icon = GFX_decision_generic_prepare_civil_war_new visible = { OR = { AND = { has_completed_focus = GCC_back_the_brotherhood has_completed_focus = GCC_war_in_libya } AND = { has_completed_focus = SAU_back_the_brotherhood has_completed_focus = SAU_libyan_arms_shipments } } country_exists = GNA } available = { has_equipment = { infantry_weapons_type > 99 } has_equipment = { L_AT_Equipment > 9 } has_equipment = { AA_Equipment > 9 } has_equipment = { util_vehicle_type > 4 } } highlight_states = { highlight_states_trigger = { state = 391 } } cost = 20 days_remove = 50 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision send_support_to_gna" send_equipment = { equipment = infantry_weapons_1 amount = 100 target = GNA } send_equipment = { equipment = L_AT_Equipment amount = 10 target = GNA } send_equipment = { equipment = AA_Equipment amount = 10 target = GNA } send_equipment = { equipment = util_vehicle_type amount = 5 target = GNA } GNA = { country_event = gulf.36 } } ai_will_do = { base = 1 } } send_support_to_gnc = { icon = GFX_decision_generic_prepare_civil_war_new visible = { OR = { AND = { has_completed_focus = GCC_back_the_brotherhood has_completed_focus = GCC_war_in_libya } AND = { has_completed_focus = SAU_back_the_brotherhood has_completed_focus = SAU_libyan_arms_shipments } } country_exists = GNC NOT = { country_exists = GNA } } available = { has_equipment = { infantry_weapons_type > 99 } has_equipment = { L_AT_Equipment > 9 } has_equipment = { AA_Equipment > 9 } has_equipment = { util_vehicle_type > 4 } } highlight_states = { highlight_states_trigger = { state = 391 } } cost = 20 days_remove = 50 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision send_support_to_gnc" send_equipment = { equipment = infantry_weapons_1 amount = 100 target = GNC } send_equipment = { equipment = L_AT_Equipment amount = 10 target = GNC } send_equipment = { equipment = AA_Equipment amount = 10 target = GNC } send_equipment = { equipment = util_vehicle_type amount = 5 target = GNC } GNC = { country_event = gulf.36 } } ai_will_do = { base = 1 } } send_support_to_hor = { icon = GFX_decision_generic_prepare_civil_war_new visible = { OR = { AND = { has_completed_focus = GCC_back_the_strongman has_completed_focus = GCC_war_in_libya } AND = { has_completed_focus = SAU_back_the_strongman has_completed_focus = SAU_libyan_arms_shipments } } country_exists = HOR } available = { has_equipment = { infantry_weapons_type > 99 } has_equipment = { L_AT_Equipment > 9 } has_equipment = { AA_Equipment > 9 } has_equipment = { util_vehicle_type > 4 } } highlight_states = { highlight_states_trigger = { state = 396 } } cost = 20 days_remove = 60 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision send_support_to_hor" send_equipment = { equipment = infantry_weapons_1 amount = 100 target = HOR } send_equipment = { equipment = L_AT_Equipment amount = 10 target = HOR } send_equipment = { equipment = AA_Equipment amount = 10 target = HOR } send_equipment = { equipment = util_vehicle_type amount = 5 target = HOR } HOR = { country_event = gulf.36 } } ai_will_do = { base = 1 } } } JOR_oil_shale = { JOR_renegotiate_terms = { icon = oil cost = 100 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = JOR_eight_years_TT check_variable = { PER_shale_contract < 84 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision JOR_renegotiate_terms" country_event = iranian_focus.14 } ai_will_do = { base = 0 modifier = { is_in_faction_with = SAU add = 5 } modifier = { is_in_faction_with = USA add = 5 } modifier = { is_subject_of = SAU add = 10 } modifier = { is_subject_of = IRQ add = 10 } modifier = { is_subject_of = USA add = 10 } modifier = { check_variable = { interest_rate > 15.499 } add = 5 } modifier = { has_country_flag = PER_rejected add = 5 } } } JOR_back_out_of_contract = { icon = oil cost = 100 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision JOR_back_out_of_contract" PER = { country_event = iranian_focus.18 remove_resource_rights = 210 } JOR = { clr_country_flag = JOR_agreed_oil_shale } } ai_will_do = { base = 0 modifier = { has_war_with = PER add = 10 } modifier = { is_embargoed_by = PER add = 10 } modifier = { is_subject_of = SAU add = 10 } modifier = { has_government = fascism add = 10 } } } }