SAU_domestic_external_category = { SAU_oil_increase_output = { icon = oil visible = { has_completed_focus = SAU_saudi_aramco } available = { has_war = no } cost = 25 days_remove = 90 days_re_enable = 365 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_oil_increase_output" 174 = { add_resource = { type = oil amount = 2 } } set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes custom_effect_tooltip = SAU_oil_dep_p3_tt add_to_variable = { oil_dependence = 3 } } ai_will_do = { base = 1 } } SAU_oil_new_field = { icon = generic_factory visible = { has_completed_focus = SAU_saudi_aramco } available = { has_idea = SAU_aramco_production } cost = 50 days_remove = 180 days_re_enable = 730 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_oil_new_field" 175 = { add_resource = { type = oil amount = 3 } } set_temp_variable = { treasury_change = -40 } modify_treasury_effect = yes custom_effect_tooltip = SAU_oil_dep_p3_tt add_to_variable = { oil_dependence = 3 } } ai_will_do = { base = 1 } } SAU_oil_conserve = { icon = oil visible = { has_completed_focus = SAU_saudi_aramco } cost = 25 days_remove = 90 days_re_enable = 365 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_oil_conserve" custom_effect_tooltip = SAU_oil_dep_m5_tt add_to_variable = { oil_dependence = -5 } add_stability = 0.03 set_temp_variable = { treasury_change = -40 } modify_treasury_effect = yes } ai_will_do = { base = 0 } } SAU_oil_embargo = { icon = oil visible = { has_completed_focus = SAU_saudi_aramco } available = { OR = { has_idea = SAU_aramco_production has_idea = SAU_aramco_export } } cost = 150 days_remove = 15 days_re_enable = 730 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_oil_embargo" every_country = { limit = { exists = yes OR = { original_tag = USA original_tag = ENG original_tag = FRA original_tag = GER original_tag = NED original_tag = ISR } } add_timed_idea = { idea = SAU_oil_embargoed days = 365 } country_event = { id = SAU_events.361 hours = 6 } } set_temp_variable = { treasury_change = -120 } modify_treasury_effect = yes add_war_support = 0.10 add_political_power = 100 add_stability = 0.05 add_to_variable = { wahabi_ulema_opinion = 15 } custom_effect_tooltip = SAU_oil_dep_p5_tt add_to_variable = { oil_dependence = 5 } set_temp_variable = { percent_change = -15 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = SAU } change_influence_percentage = yes news_event = { id = SAU_events.362 hours = 6 } } ai_will_do = { base = 0 } } SAU_mod_construction = { icon = generic_construction visible = { has_completed_focus = SAU_economic_liberalization } cost = 25 days_remove = 120 days_re_enable = 180 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_construction" 176 = { one_state_industrial_complex = yes one_state_infrastructure = yes } set_temp_variable = { treasury_change = -50 } modify_treasury_effect = yes custom_effect_tooltip = SAU_oil_dep_m2_tt add_to_variable = { oil_dependence = -2 } } ai_will_do = { base = 1 } } SAU_mod_devfund = { icon = generic_construction visible = { has_completed_focus = SAU_economic_liberalization } cost = 40 days_remove = 120 days_re_enable = 365 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_devfund" 176 = { add_extra_state_shared_building_slots = 2 } set_temp_variable = { treasury_change = -60 } modify_treasury_effect = yes custom_effect_tooltip = SAU_oil_dep_m3_tt add_to_variable = { oil_dependence = -3 } } ai_will_do = { base = 1 } } SAU_mod_workforce = { icon = generic_construction visible = { has_completed_focus = SAU_economic_liberalization } cost = 30 days_remove = 90 days_re_enable = 365 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_workforce" add_stability = 0.03 add_war_support = 0.02 custom_effect_tooltip = SAU_oil_dep_m3_tt add_to_variable = { oil_dependence = -3 } } ai_will_do = { base = 1 } } SAU_div_pif_invest = { icon = generic_construction visible = { has_completed_focus = SAU_fund_vision_2030 } cost = 40 days_remove = 180 days_re_enable = 365 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_div_pif_invest" 176 = { one_state_industrial_complex = yes add_extra_state_shared_building_slots = 2 } set_temp_variable = { treasury_change = -100 } modify_treasury_effect = yes custom_effect_tooltip = SAU_oil_dep_m5_tt add_to_variable = { oil_dependence = -5 } add_political_power = 25 } ai_will_do = { base = 1 } } SAU_div_giga_project = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 } cost = 50 days_remove = 365 days_re_enable = 365 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_div_giga_project" 932 = { add_extra_state_shared_building_slots = 2 one_state_infrastructure = yes } set_temp_variable = { treasury_change = -120 } modify_treasury_effect = yes custom_effect_tooltip = SAU_oil_dep_m4_tt add_to_variable = { oil_dependence = -4 } add_stability = 0.02 } ai_will_do = { base = 1 } } SAU_div_renewables = { icon = generic_construction visible = { has_completed_focus = SAU_the_national_renewable_energy_program } cost = 25 days_remove = 150 days_re_enable = 180 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_div_renewables" 175 = { one_state_infrastructure = yes } set_temp_variable = { treasury_change = -50 } modify_treasury_effect = yes custom_effect_tooltip = SAU_oil_dep_m3_tt add_to_variable = { oil_dependence = -3 } add_stability = 0.01 } ai_will_do = { base = 1 } } SAU_div_digital = { icon = generic_factory visible = { has_completed_focus = SAU_fintech_saudi } cost = 25 days_remove = 120 days_re_enable = 180 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_div_digital" set_temp_variable = { treasury_change = 25 } modify_treasury_effect = yes custom_effect_tooltip = SAU_oil_dep_m2_tt add_to_variable = { oil_dependence = -2 } add_stability = 0.01 } ai_will_do = { base = 1 } } SAU_div_tourism_event = { icon = generic_factory visible = { has_completed_focus = SAU_the_red_sea_project } available = { has_war = no } cost = 30 days_remove = 120 days_re_enable = 365 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_div_tourism_event" set_temp_variable = { treasury_change = 25 } modify_treasury_effect = yes custom_effect_tooltip = SAU_oil_dep_m2_tt add_to_variable = { oil_dependence = -2 } add_stability = 0.02 } ai_will_do = { base = 1 } } SAU_div_arms = { icon = military_buildup visible = { has_completed_focus = SAU_sami_saudi_arabian_military_industries } cost = 35 days_remove = 150 days_re_enable = 365 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_div_arms" 176 = { one_state_arms_factory = yes } set_temp_variable = { treasury_change = -60 } modify_treasury_effect = yes custom_effect_tooltip = SAU_oil_dep_m2_tt add_to_variable = { oil_dependence = -2 } add_war_support = 0.02 } ai_will_do = { base = 1 } } SAU_opec_cut_production = { icon = oil visible = { has_idea = SAU_aramco_export } available = { has_idea = SAU_aramco_export has_war = no } cost = 50 days_remove = 90 days_re_enable = 180 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_opec_cut_production" add_stability = 0.01 add_political_power = 50 set_temp_variable = { treasury_change = 25 } modify_treasury_effect = yes every_country = { limit = { OR = { original_tag = SOV original_tag = IRN original_tag = IRQ original_tag = VEN has_idea = rentier_state } exists = yes } add_stability = 0.01 } } ai_will_do = { base = 1 } } SAU_opec_flood_market = { icon = oil visible = { has_idea = SAU_aramco_export } cost = 75 days_remove = 90 days_re_enable = 365 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_opec_flood_market" add_war_support = 0.05 every_country = { limit = { OR = { original_tag = SOV original_tag = IRN original_tag = IRQ original_tag = VEN has_idea = rentier_state } exists = yes } add_stability = -0.01 add_political_power = -50 set_temp_variable = { treasury_change = -30 } modify_treasury_effect = yes } } ai_will_do = { base = 0 } } SAU_request_f15 = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_peace_sun_f_15_eagle_program has_completed_focus = SAU_f_15c_d_eagle_squadrons NOT = { has_country_flag = SAU_fighter_chosen } } available = { NOT = { has_country_flag = SAU_fighter_request_pending } country_exists = USA } cost = 50 days_re_enable = 21 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_request_f15" set_country_flag = SAU_fighter_request_pending USA = { country_event = { id = SAU_events.390 days = 2 } } } ai_will_do = { base = 1 } } SAU_request_tornado = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_peace_sun_f_15_eagle_program has_completed_focus = SAU_f_15c_d_eagle_squadrons NOT = { has_country_flag = SAU_fighter_chosen } } available = { NOT = { has_country_flag = SAU_fighter_request_pending } country_exists = ENG } cost = 50 days_re_enable = 21 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_request_tornado" set_country_flag = SAU_fighter_request_pending ENG = { country_event = { id = SAU_events.396 days = 2 } } } ai_will_do = { base = 1 } } SAU_request_panavia = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_peace_sun_f_15_eagle_program has_completed_focus = SAU_f_15c_d_eagle_squadrons NOT = { has_country_flag = SAU_fighter_chosen } } available = { NOT = { has_country_flag = SAU_fighter_request_pending } country_exists = ITA } cost = 50 days_re_enable = 21 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_request_panavia" set_country_flag = SAU_fighter_request_pending ITA = { country_event = { id = SAU_events.399 days = 2 } } } ai_will_do = { base = 1 } } SAU_request_typhoon = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_peace_sun_f_15_eagle_program has_completed_focus = SAU_f_15c_d_eagle_squadrons NOT = { has_country_flag = SAU_fighter_chosen } } available = { NOT = { has_country_flag = SAU_fighter_request_pending } country_exists = GER } cost = 75 days_re_enable = 30 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_request_typhoon" set_country_flag = SAU_fighter_request_pending GER = { country_event = { id = SAU_events.393 days = 2 } } } ai_will_do = { base = 1 } } } SAU_modernisation_balance_of_power_category = { SAU_bop_note = { icon = GFX_decision_generic_decision priority = 100 visible = { always = yes } available = { always = no } ai_will_do = { base = 0 } } SAU_debug_bop_left = { icon = GFX_decision_generic_decision priority = 50 visible = { is_debug = yes } available = { always = yes } cost = 0 days_remove = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_bop_left" add_power_balance_value = { id = SAU_modernisation_balance_of_power_category value = -0.05 } } ai_will_do = { base = 0 } } SAU_debug_bop_right = { icon = GFX_decision_generic_decision priority = 50 visible = { is_debug = yes } available = { always = yes } cost = 0 days_remove = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_bop_right" add_power_balance_value = { id = SAU_modernisation_balance_of_power_category value = 0.05 } } ai_will_do = { base = 0 } } SAU_debug_water_pride_up = { icon = GFX_decision_generic_decision priority = 40 visible = { is_debug = yes } available = { always = yes } cost = 0 days_remove = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_water_pride_up" SAU_water_pride_set_tier = yes } ai_will_do = { base = 0 } } SAU_debug_water_pride_down = { icon = GFX_decision_generic_decision priority = 40 visible = { is_debug = yes } available = { always = yes } cost = 0 days_remove = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_water_pride_down" SAU_water_pride_set_tier = yes } ai_will_do = { base = 0 } } } SAU_military_category = { SAU_mod_gulf_lessons = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_lessons_of_the_gulf_war } cost = 50 days_remove = 15 fire_only_once = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_gulf_lessons" country_event = { id = SAU_events.310 hours = 6 } } ai_will_do = { base = 1 } } SAU_mod_sang_drills = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_saudi_arabian_national_guard has_country_flag = SAU_stage1 } cost = 40 days_remove = 15 fire_only_once = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_sang_drills" country_event = { id = SAU_events.311 hours = 6 } } ai_will_do = { base = 1 } } SAU_mod_abrams_gunnery = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_m1a2_abrams_main_battle_tank has_country_flag = SAU_stage1 } cost = 40 days_remove = 15 fire_only_once = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_abrams_gunnery" country_event = { id = SAU_events.312 hours = 6 } } ai_will_do = { base = 1 } } SAU_mod_artillery_livefire = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_m109_self_propelled_artillery has_country_flag = SAU_stage2 } cost = 40 days_remove = 15 fire_only_once = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_artillery_livefire" country_event = { id = SAU_events.313 hours = 6 } } ai_will_do = { base = 1 } } SAU_mod_apache_training = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_army_aviation_and_apache_gunships has_country_flag = SAU_stage2 } cost = 40 days_remove = 15 fire_only_once = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_apache_training" country_event = { id = SAU_events.314 hours = 6 } } ai_will_do = { base = 1 } } SAU_mod_sf_selection = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_special_forces_command has_country_flag = SAU_stage3 } cost = 45 days_remove = 15 fire_only_once = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_sf_selection" country_event = { id = SAU_events.315 hours = 6 } } ai_will_do = { base = 1 } } SAU_mod_fleet_exercise = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_the_royal_saudi_naval_forces has_country_flag = SAU_stage2 } cost = 40 days_remove = 15 fire_only_once = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_fleet_exercise" country_event = { id = SAU_events.316 hours = 6 } } ai_will_do = { base = 1 } } SAU_mod_red_flag = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_the_royal_saudi_air_force has_country_flag = SAU_stage1 } cost = 40 days_remove = 15 fire_only_once = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_red_flag" country_event = { id = SAU_events.317 hours = 6 } } ai_will_do = { base = 1 } } SAU_mod_awacs_battle = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_e_3_sentry_awacs has_country_flag = SAU_stage3 } cost = 40 days_remove = 15 fire_only_once = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_awacs_battle" country_event = { id = SAU_events.318 hours = 6 } } ai_will_do = { base = 1 } } SAU_mod_pgm_doctrine = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_precision_guided_munitions has_country_flag = SAU_stage3 } cost = 45 days_remove = 15 fire_only_once = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_pgm_doctrine" country_event = { id = SAU_events.319 hours = 6 } } ai_will_do = { base = 1 } } SAU_mod_reform = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_the_general_staff has_idea = SAU_forces_unmodernized } available = { custom_trigger_tooltip = { tooltip = SAU_stage1_req_tt has_country_flag = SAU_done_gulf } } cost = 75 days_remove = 90 fire_only_once = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_reform" country_event = { id = SAU_events.320 hours = 6 } } ai_will_do = { base = 1 } } SAU_mod_modernize = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_armored_brigades has_idea = SAU_forces_reforming } available = { custom_trigger_tooltip = { tooltip = SAU_stage2_req_tt has_country_flag = SAU_done_sang has_country_flag = SAU_done_abrams has_country_flag = SAU_done_redflag } } cost = 100 days_remove = 90 fire_only_once = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_modernize" country_event = { id = SAU_events.321 hours = 6 } } ai_will_do = { base = 1 } } SAU_mod_complete = { icon = decision_saudi_arabia visible = { has_completed_focus = SAU_air_operations_command has_idea = SAU_forces_modernizing } available = { custom_trigger_tooltip = { tooltip = SAU_stage3_req_tt has_country_flag = SAU_done_artillery has_country_flag = SAU_done_apache has_country_flag = SAU_done_fleet } } cost = 150 fire_only_once = yes days_remove = 90 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mod_complete" country_event = { id = SAU_events.322 hours = 6 } } ai_will_do = { base = 1 } } } # Intelligence Category - General Intelligence Presidency (GIP) SAU_Intelligence_category = { SAU_intel_expand_gip = { icon = recruit_operative visible = { has_country_flag = creation_of_GIP } available = { has_intelligence_agency = yes custom_trigger_tooltip = { tooltip = SAU_gip_slots_cap_tt check_variable = { SAU_gip_slots < 3 } } } cost = 75 days_re_enable = 180 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_intel_expand_gip" hidden_effect = { if = { limit = { NOT = { has_dynamic_modifier = { modifier = SAU_gip_network } } } SAU_found_gip_network = yes } } set_temp_variable = { treasury_change = -60 } modify_treasury_effect = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SAU_gip_network } add_to_variable = { SAU_gip_slots = 1 tooltip = operative_slot_tt } add_stability = 0.01 } ai_will_do = { base = 1 } } SAU_intel_mabahith = { icon = GFX_decision_generic_decision visible = { has_country_flag = creation_of_GIP } cost = 40 days_remove = 120 days_re_enable = 180 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_intel_mabahith" set_temp_variable = { treasury_change = -40 } modify_treasury_effect = yes add_stability = 0.03 set_temp_variable = { temp_opinion = 5 } change_the_wahabi_ulema_opinion = yes } ai_will_do = { base = 1 } } SAU_intel_counterterror = { icon = generic_operation visible = { has_country_flag = creation_of_GIP } cost = 50 days_remove = 90 days_re_enable = 180 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_intel_counterterror" set_temp_variable = { treasury_change = -60 } modify_treasury_effect = yes add_war_support = 0.03 add_stability = 0.02 set_temp_variable = { temp_opinion = 5 } change_saudi_royal_family_opinion = yes if = { limit = { has_idea = foreign_jihadis } set_temp_variable = { temp_opinion = -10 } change_foreign_jihadis_opinion = yes } } ai_will_do = { base = 1 } } SAU_intel_foreign_stations = { icon = generic_intelligence_operation visible = { has_country_flag = creation_of_GIP } available = { country_exists = PER } cost = 60 days_remove = 150 days_re_enable = 365 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_intel_foreign_stations" set_temp_variable = { treasury_change = -80 } modify_treasury_effect = yes set_temp_variable = { percent_change = -10 } set_temp_variable = { tag_index = PER } set_temp_variable = { influence_target = SAU } change_influence_percentage = yes add_political_power = 15 } ai_will_do = { base = 1 } } SAU_intel_surveillance_tech = { icon = generic_operation visible = { has_country_flag = creation_of_GIP NOT = { has_done_agency_upgrade = upgrade_computer_servers } } available = { has_intelligence_agency = yes } cost = 40 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_intel_surveillance_tech" set_temp_variable = { treasury_change = -50 } modify_treasury_effect = yes custom_effect_tooltip = SAU_intel_surveillance_bypass_tt upgrade_intelligence_agency = upgrade_computer_servers add_stability = 0.02 } ai_will_do = { base = 1 } } SAU_intel_counterintel_sweep = { icon = generic_intelligence_operation visible = { has_country_flag = creation_of_GIP } available = { has_intelligence_agency = yes } cost = 50 days_remove = 90 days_re_enable = 90 fire_only_once = no modifier = { foreign_subversive_activites = -0.15 encryption_factor = 0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_intel_counterintel_sweep" set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_intel_counterintel_sweep" set_temp_variable = { temp_opinion = 10 } change_intelligence_community_opinion = yes } ai_will_do = { base = 1 } } SAU_cyber_defensive_op = { icon = generic_intelligence_operation visible = { has_country_flag = creation_of_GIP } available = { has_intelligence_agency = yes } target_array = global.countries target_root_trigger = { has_country_flag = creation_of_GIP has_intelligence_agency = yes } target_trigger = { country_exists = FROM FROM = { NOT = { original_tag = SAU } } network_strength = { target = FROM value > 70 } } cost = 50 days_re_enable = 120 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_cyber_defensive_op vs [FROM.GetTag]" set_temp_variable = { treasury_change = -50 } modify_treasury_effect = yes add_timed_idea = { idea = SAU_cyber_defensive_posture days = 90 } FROM = { add_timed_idea = { idea = SAU_cyber_defensive_target days = 90 } set_country_flag = { flag = is_under_defensive_op_by_SAU days = 90 value = 1 } } } ai_will_do = { base = 1 } } SAU_cyber_offensive_op = { icon = generic_operation visible = { has_country_flag = creation_of_GIP } available = { has_intelligence_agency = yes } target_array = global.countries target_root_trigger = { has_country_flag = creation_of_GIP has_intelligence_agency = yes } target_trigger = { country_exists = FROM FROM = { NOT = { original_tag = SAU } } network_strength = { target = FROM value > 70 } } cost = 75 days_re_enable = 180 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_cyber_offensive_op vs [FROM.GetTag]" set_temp_variable = { treasury_change = -80 } modify_treasury_effect = yes FROM = { add_timed_idea = { idea = SAU_cyber_offensive_target days = 90 } set_country_flag = { flag = is_under_offensive_attack_by_SAU days = 90 value = 1 } } add_political_power = 10 } ai_will_do = { base = 1 } } SAU_rivalry_back_separatists = { icon = GFX_decision_generic_break_treaty priority = 90 visible = { has_country_flag = SAU_islamic_rivalry_open has_completed_focus = SAU_gip NOT = { has_global_flag = SAU_PER_beijing_agreement } } available = { country_exists = PER } cost = 50 days_re_enable = 180 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_rivalry_back_separatists" set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes PER = { add_stability = -0.04 add_war_support = -0.02 } } ai_will_do = { base = 1 } } } # ------------ Foreign Affairs Category ------------ SAU_Foregin_affairs_category = { SAU_bahrain_restore_khalifa = { icon = GFX_decision_generic_form_nation priority = 96 visible = { has_country_flag = SAU_peninsula_shield_ready country_exists = BHR NOT = { has_war_with = BHR } } available = { custom_trigger_tooltip = { tooltip = SAU_bahrain_khalifa_fallen_tt BHR = { NOT = { western_autocrats_are_in_power = yes } } } } cost = 100 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_bahrain_restore_khalifa" custom_effect_tooltip = SAU_bahrain_shield_tt BHR = { if = { limit = { is_in_faction = yes NOT = { is_in_faction_with = ROOT } } leave_faction = yes } set_temp_variable = { party_index = 0 } set_temp_variable = { party_popularity_increase = 0.40 } set_temp_variable = { temp_outlook_increase = 0.40 } change_relative_party_popularity = yes hidden_effect = { set_temp_variable = { rul_party_temp = 0 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } if = { limit = { NOT = { has_idea = SAU_arab_shield_member } } add_ideas = SAU_arab_shield_member } add_opinion_modifier = { target = ROOT modifier = SAU_arab_shield_bond } } add_opinion_modifier = { target = BHR modifier = SAU_arab_shield_bond } add_war_support = 0.05 add_stability = -0.02 PER = { add_opinion_modifier = { target = ROOT modifier = SAU_islamic_rivalry } } set_temp_variable = { treasury_change = -15.00 } modify_treasury_effect = yes news_event = { id = SAU_events.210 days = 2 } } ai_will_do = { base = 20 modifier = { has_active_mission = bankruptcy_incoming_collapse factor = 0 } } } SAU_Foreign_affairs_unlocked = { icon = generic_political_discourse priority = 100 visible = { has_completed_focus = SAU_saudi_foreign_policy } available = { always = no } cost = 0 ai_will_do = { base = 0 } } # Among The Majors Powers Decisions SAU_Among_Major_powers_Open = { icon = generic_political_discourse priority = 100 visible = { has_completed_focus = SAU_among_the_major_powers NOT = { has_country_flag = Among_Major_powers_open } } available = { NOT = { has_country_flag = Among_Major_powers_open } } cost = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_Among_Major_powers_Open" set_country_flag = Among_Major_powers_open clr_country_flag = Among_Major_powers_close } ai_will_do = { base = 1 } } SAU_Among_Major_powers_Close = { icon = generic_political_discourse priority = 100 visible = { has_completed_focus = SAU_among_the_major_powers has_country_flag = Among_Major_powers_open NOT = { has_country_flag = Among_Major_powers_close } } available = { NOT = { has_country_flag = Among_Major_powers_close } } cost = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_Among_Major_powers_Close" set_country_flag = Among_Major_powers_close clr_country_flag = Among_Major_powers_open } ai_will_do = { base = 1 } } # Among the Major Powers - Cooperation with West SAU_Among_Major_powers_Open_west = { icon = recogn_usa_button priority = 100 visible = { has_completed_focus = SAU_cooperation_with_the_west has_country_flag = Among_Major_powers_open NOT = { has_country_flag = Among_Major_powers_open_west } } available = { NOT = { has_country_flag = Among_Major_powers_open_west } } cost = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_Among_Major_powers_Open_west" set_country_flag = Among_Major_powers_open_west clr_country_flag = Among_Major_powers_close_west } ai_will_do = { base = 1 } } SAU_Among_Major_powers_Close_west = { icon = recogn_usa_button priority = 100 visible = { has_completed_focus = SAU_cooperation_with_the_west has_country_flag = Among_Major_powers_open_west NOT = { has_country_flag = Among_Major_powers_close_west } } available = { NOT = { has_country_flag = Among_Major_powers_close_west } } cost = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_Among_Major_powers_Close_west" set_country_flag = Among_Major_powers_close_west clr_country_flag = Among_Major_powers_open_west } ai_will_do = { base = 1 } } SAU_west_free_trade = { icon = recogn_usa_button priority = 90 visible = { has_country_flag = Among_Major_powers_open_west NOT = { has_country_flag = Among_Major_powers_close_west } } available = { NOT = { has_country_flag = SAU_west_deal_locked } has_opinion = { target = USA value > 50 } } cost = 50 days_remove = 90 days_re_enable = 365 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_west_free_trade" set_country_flag = SAU_west_deal_locked } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_west_free_trade" set_temp_variable = { treasury_change = 25 } modify_treasury_effect = yes every_other_country = { limit = { exists = yes is_in_array = { array = global.nato_members value = THIS.id } } add_opinion_modifier = { target = ROOT modifier = SAU_open_trade_deal } ROOT = { add_opinion_modifier = { target = PREV modifier = SAU_open_trade_deal } } } clr_country_flag = SAU_west_deal_locked increase_exports = yes increase_economic_growth = yes } ai_will_do = { base = 1 } } SAU_west_petrodollar = { icon = recogn_usa_button priority = 89 visible = { has_country_flag = Among_Major_powers_open_west NOT = { has_country_flag = Among_Major_powers_close_west } } available = { NOT = { has_country_flag = SAU_west_deal_locked } has_opinion = { target = USA value > 70 } } cost = 50 days_remove = 100 days_re_enable = 365 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_west_petrodollar" set_country_flag = SAU_west_deal_locked } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_west_petrodollar" set_temp_variable = { treasury_change = 15 } modify_treasury_effect = yes if = { limit = { country_exists = USA } USA = { add_political_power = 25 set_temp_variable = { treasury_change = 15 } modify_treasury_effect = yes } set_temp_variable = { percent_change = 6 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = SAU } change_influence_percentage = yes } clr_country_flag = SAU_west_deal_locked random_owned_state = { add_building_construction = { type = fossil_powerplant level = 1 instant_build = yes } } } ai_will_do = { base = 1 } } SAU_west_joint_training = { icon = recogn_usa_button priority = 88 visible = { has_country_flag = Among_Major_powers_open_west NOT = { has_country_flag = Among_Major_powers_close_west } } available = { NOT = { has_country_flag = SAU_west_deal_locked } has_opinion = { target = USA value > 50 } } cost = 50 days_remove = 120 days_re_enable = 365 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_west_joint_training" set_country_flag = SAU_west_deal_locked } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_west_joint_training" army_experience = 25 air_experience = 20 navy_experience = 15 USA = { army_experience = 25 air_experience = 20 navy_experience = 15 } clr_country_flag = SAU_west_deal_locked } ai_will_do = { base = 1 } } # Among Major Powers - Cooperation with East SAU_Among_Major_powers_Open_east = { icon = recogn_china_button priority = 100 visible = { has_completed_focus = SAU_cooperation_with_the_east has_country_flag = Among_Major_powers_open NOT = { has_country_flag = Among_Major_powers_open_east } } available = { NOT = { has_country_flag = Among_Major_powers_open_east } } cost = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_Among_Major_powers_Open_east" set_country_flag = Among_Major_powers_open_east clr_country_flag = Among_Major_powers_close_east } ai_will_do = { base = 1 } } SAU_Among_Major_powers_Close_east = { icon = recogn_china_button priority = 100 visible = { has_completed_focus = SAU_cooperation_with_the_east has_country_flag = Among_Major_powers_open_east NOT = { has_country_flag = Among_Major_powers_close_east } } available = { NOT = { has_country_flag = Among_Major_powers_close_east } } cost = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_Among_Major_powers_Close_east" set_country_flag = Among_Major_powers_close_east clr_country_flag = Among_Major_powers_open_east } ai_will_do = { base = 1 } } SAU_east_trade = { icon = recogn_china_button priority = 0 visible = { has_country_flag = Among_Major_powers_open_east NOT = { has_country_flag = Among_Major_powers_close_east } } available = { NOT = { has_country_flag = SAU_east_deal_locked } has_opinion = { target = CHI value > 50 } } cost = 50 days_remove = 90 days_re_enable = 365 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_east_trade" set_country_flag = SAU_east_deal_locked } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_east_trade" set_temp_variable = { treasury_change = 25 } modify_treasury_effect = yes add_opinion_modifier = { target = CHI modifier = SAU_open_trade_deal } CHI = { add_opinion_modifier = { target = PREV modifier = SAU_open_trade_deal } } 177 = { add_extra_state_shared_building_slots = 1 } add_political_power = 10 increase_exports = yes increase_economic_growth = yes clr_country_flag = SAU_east_deal_locked } ai_will_do = { base = 1 } } SAU_east_energy_markets = { icon = recogn_china_button priority = 0 visible = { has_country_flag = Among_Major_powers_open_east NOT = { has_country_flag = Among_Major_powers_close_east } } available = { NOT = { has_country_flag = SAU_east_deal_locked } has_opinion = { target = CHI value > 90 } } cost = 50 days_remove = 100 days_re_enable = 365 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_east_energy_markets" set_country_flag = SAU_east_deal_locked } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_east_energy_markets" set_temp_variable = { treasury_change = -35 } modify_treasury_effect = yes add_political_power = 10 if = { limit = { country_exists = CHI } set_temp_variable = { percent_change = 6 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = SAU } change_influence_percentage = yes } clr_country_flag = SAU_east_deal_locked set_temp_variable = { temp_change = 1 } 178 = { add_building_construction = { type = nuclear_reactor level = 1 instant_build = yes } } } ai_will_do = { base = 1 } } SAU_east_belt_road = { icon = recogn_china_button priority = 0 visible = { has_country_flag = Among_Major_powers_open_east NOT = { has_country_flag = Among_Major_powers_close_east } } available = { NOT = { has_country_flag = SAU_east_deal_locked } has_opinion = { target = CHI value > 70 } } cost = 50 days_remove = 120 days_re_enable = 365 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_east_belt_road" set_country_flag = SAU_east_deal_locked } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_east_belt_road" one_random_infrastructure = yes random_owned_state = { add_building_construction = { type = internet_station level = 1 instant_build = yes } } if = { limit = { country_exists = CHI } set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = SAU } change_influence_percentage = yes } clr_country_flag = SAU_east_deal_locked } ai_will_do = { base = 1 } } # The End of the Among Major Powers Decisions. # End of The Foreign Policy # --- Support the Free Syrian Army (focus: SAU_fund_the_free_syrian_army) --- SAU_fsa_send_cash = { icon = syr_money_button priority = 90 visible = { has_completed_focus = SAU_fund_the_free_syrian_army country_exists = FSA } available = { NOT = { has_country_flag = SAU_fsa_cash_locked } } cost = 40 days_remove = 90 days_re_enable = 180 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_fsa_send_cash" set_country_flag = SAU_fsa_cash_locked } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_fsa_send_cash" set_temp_variable = { treasury_change = -30 } modify_treasury_effect = yes if = { limit = { country_exists = FSA } FSA = { set_temp_variable = { treasury_change = 30 } modify_treasury_effect = yes add_political_power = 50 add_stability = 0.03 add_war_support = 0.03 add_opinion_modifier = { target = ROOT modifier = military_aid } } } clr_country_flag = SAU_fsa_cash_locked } ai_will_do = { base = 1 } } SAU_fsa_smuggle_weapons = { icon = generic_military priority = 90 visible = { has_completed_focus = SAU_fund_the_free_syrian_army country_exists = FSA } available = { NOT = { has_country_flag = SAU_fsa_weapons_locked } } cost = 50 days_remove = 120 days_re_enable = 200 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_fsa_smuggle_weapons" set_country_flag = SAU_fsa_weapons_locked } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_fsa_smuggle_weapons" set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes if = { limit = { country_exists = FSA } FSA = { army_experience = 10 add_manpower = 2000 add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 300 producer = ROOT } } } clr_country_flag = SAU_fsa_weapons_locked } ai_will_do = { base = 1 } } SAU_fsa_foreign_fighters = { icon = sov_volunteer_storm_corps_button priority = 90 visible = { has_completed_focus = SAU_fund_the_free_syrian_army country_exists = FSA } available = { NOT = { has_country_flag = SAU_fsa_fighters_locked } } cost = 35 days_remove = 150 days_re_enable = 250 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_fsa_foreign_fighters" set_country_flag = SAU_fsa_fighters_locked } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_fsa_foreign_fighters" if = { limit = { country_exists = FSA } FSA = { add_manpower = 1500 add_war_support = 0.02 } add_ai_strategy = { type = support id = "FSA" value = 20 } } clr_country_flag = SAU_fsa_fighters_locked } ai_will_do = { base = 1 } } # --- Palestine: Two-State Solution (focus: SAU_broker_a_two_state_peace) --- SAU_pal_fund_development = { icon = attract_foreign_investor priority = 90 visible = { has_completed_focus = SAU_broker_a_two_state_peace country_exists = PAL } available = { NOT = { has_country_flag = SAU_pal_dev_locked } } cost = 40 days_remove = 120 days_re_enable = 200 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pal_fund_development" set_country_flag = SAU_pal_dev_locked } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pal_fund_development" set_temp_variable = { treasury_change = -40 } modify_treasury_effect = yes if = { limit = { country_exists = PAL } PAL = { add_stability = 0.05 add_political_power = 50 add_opinion_modifier = { target = ROOT modifier = SAU_funds_the_cause } one_random_infrastructure = yes } } clr_country_flag = SAU_pal_dev_locked } ai_will_do = { base = 1 } } SAU_pal_invest_gaza = { icon = attract_foreign_investor priority = 90 visible = { has_completed_focus = SAU_broker_a_two_state_peace country_exists = PAL } available = { NOT = { has_country_flag = SAU_pal_gaza_locked } } cost = 60 days_remove = 180 days_re_enable = 300 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pal_invest_gaza" set_country_flag = SAU_pal_gaza_locked } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pal_invest_gaza" set_temp_variable = { treasury_change = -50 } modify_treasury_effect = yes if = { limit = { country_exists = PAL } PAL = { add_stability = 0.03 set_temp_variable = { treasury_change = 20 } modify_treasury_effect = yes one_random_infrastructure = yes one_random_network_infrastructure = yes } } clr_country_flag = SAU_pal_gaza_locked } ai_will_do = { base = 1 } } # --- Palestine: Support the Militia (focus: SAU_arm_the_militants) - choose one faction --- SAU_militia_back_hamas = { icon = hamas priority = 100 visible = { NOT = { has_global_flag = SAU_ISR_normalized } has_completed_focus = SAU_arm_the_militants } available = { NOT = { has_country_flag = SAU_militia_chosen } } cost = 75 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_militia_back_hamas" set_country_flag = SAU_militia_chosen add_war_support = 0.03 if = { limit = { country_exists = HAM } HAM = { add_political_power = 50 add_manpower = 10000 add_opinion_modifier = { target = ROOT modifier = military_aid } } add_ai_strategy = { type = support id = "HAM" value = 30 } add_ai_strategy = { type = befriend id = "HAM" value = 30 } } } ai_will_do = { base = 1 } } SAU_militia_back_dflp = { icon = com_militia_2000_dec priority = 100 visible = { NOT = { has_global_flag = SAU_ISR_normalized } has_completed_focus = SAU_arm_the_militants } available = { NOT = { has_country_flag = SAU_militia_chosen } } cost = 75 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_militia_back_dflp" set_country_flag = SAU_militia_chosen add_political_power = 40 add_stability = 0.02 if = { limit = { country_exists = PAL } PAL = { add_opinion_modifier = { target = ROOT modifier = SAU_funds_the_cause } } } } ai_will_do = { base = 1 } } SAU_militia_islamic_front = { icon = category_taliban_insurgency priority = 100 visible = { NOT = { has_global_flag = SAU_ISR_normalized } has_completed_focus = SAU_arm_the_militants } available = { NOT = { has_country_flag = SAU_militia_chosen } } cost = 75 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_militia_islamic_front" set_country_flag = SAU_militia_chosen set_country_flag = SAU_sponsors_islamic_front country_event = { id = SAU_events.20 hours = 6 } unlock_decision_tooltip = SAU_if_rocket_barrage unlock_decision_tooltip = SAU_if_suicide_bombing unlock_decision_tooltip = SAU_if_cross_border_raid add_war_support = 0.05 add_political_power = 50 if = { limit = { country_exists = PAL } PAL = { add_opinion_modifier = { target = ROOT modifier = SAU_funds_the_cause } } } } ai_will_do = { base = 1 } } #Loyal Islamic Front: strikes against Israel (flag: SAU_sponsors_islamic_front) SAU_if_rocket_barrage = { icon = missile_rocket_button priority = 100 visible = { NOT = { has_global_flag = SAU_ISR_normalized } has_country_flag = SAU_sponsors_islamic_front country_exists = ISR } available = { country_exists = ISR NOT = { ISR = { has_capitulated = yes } } } cost = 30 days_re_enable = 60 fire_only_once = no days_remove = 15 fixed_random_seed = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_if_rocket_barrage" if = { limit = { country_exists = ISR } ISR = { add_stability = -0.05 add_war_support = -0.03 add_opinion_modifier = { target = ROOT modifier = SAU_proxy_aggression } random = { chance = 50 random_owned_state = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } country_event = { id = SAU_events.17 hours = 6 } } } random = { chance = 20 add_political_power = -25 add_war_support = -0.02 } } ai_will_do = { base = 1 } } SAU_if_suicide_bombing = { icon = jet_bomber priority = 100 visible = { NOT = { has_global_flag = SAU_ISR_normalized } has_country_flag = SAU_sponsors_islamic_front country_exists = ISR } available = { country_exists = ISR NOT = { ISR = { has_capitulated = yes } } } cost = 40 days_re_enable = 75 fire_only_once = no days_remove = 20 fixed_random_seed = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_if_suicide_bombing" if = { limit = { country_exists = ISR } ISR = { add_stability = -0.07 add_political_power = -50 add_manpower = -2000 add_opinion_modifier = { target = ROOT modifier = SAU_proxy_aggression } country_event = { id = SAU_events.18 hours = 6 } } } random = { chance = 30 add_political_power = -30 add_war_support = -0.02 } } ai_will_do = { base = 1 } } SAU_if_cross_border_raid = { icon = border_war priority = 100 visible = { NOT = { has_global_flag = SAU_ISR_normalized } has_country_flag = SAU_sponsors_islamic_front country_exists = ISR } available = { country_exists = ISR NOT = { ISR = { has_capitulated = yes } } } cost = 50 days_re_enable = 90 fire_only_once = no days_remove = 20 fixed_random_seed = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_if_cross_border_raid" if = { limit = { country_exists = ISR } ISR = { add_war_support = -0.05 add_manpower = -1000 add_opinion_modifier = { target = ROOT modifier = SAU_proxy_aggression } random = { chance = 50 random_owned_state = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 1 } } } country_event = { id = SAU_events.19 hours = 6 } } } random = { chance = 40 add_political_power = -40 add_war_support = -0.03 } } ai_will_do = { base = 1 } } # Pipeline routes (focus: SAU_the_great_pipeline_game) SAU_pipeline_yemen = { icon = oil priority = 100 visible = { has_completed_focus = SAU_the_great_pipeline_game NOT = { has_country_flag = SAU_yemen_pipeline_open } custom_trigger_tooltip = { tooltip = SAU_tt_not_houthi NOT = { SAU_houthis_won_south = yes } } } available = { SAU_yemen_route_secure = yes country_exists = YEM } cost = 75 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pipeline_yemen" YEM = { country_event = { id = SAU_events.22 hours = 6 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { add_ideas = SAU_yemen_pipeline_t3 } } ai_will_do = { base = 1 } } SAU_pipeline_syria_fsa = { icon = oil priority = 100 visible = { has_completed_focus = SAU_the_great_pipeline_game SAU_fsa_controls_syria = yes NOT = { has_country_flag = SAU_syria_pipeline_open } } available = { country_exists = FSA country_exists = JOR } cost = 75 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pipeline_syria_fsa" JOR = { country_event = { id = SAU_events.29 hours = 6 } } custom_effect_tooltip = SAU_tt_via_jordan } ai_will_do = { base = 1 } } SAU_pipeline_syria_assad = { icon = oil priority = 100 visible = { has_completed_focus = SAU_the_great_pipeline_game SAU_assad_controls_syria = yes NOT = { has_country_flag = SAU_syria_pipeline_open } } available = { country_exists = SYR country_exists = JOR } cost = 100 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pipeline_syria_assad" JOR = { country_event = { id = SAU_events.29 hours = 6 } } custom_effect_tooltip = SAU_tt_via_jordan } ai_will_do = { base = 1 } } SAU_pipeline_iraq = { icon = oil priority = 100 visible = { has_completed_focus = SAU_the_great_pipeline_game SAU_saddam_fell = yes NOT = { has_country_flag = SAU_iraq_pipeline_open } } available = { country_exists = IRQ } cost = 100 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pipeline_iraq" IRQ = { country_event = { id = SAU_events.24 hours = 6 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { add_ideas = SAU_iraq_pipeline_t3 } } ai_will_do = { base = 1 } } SAU_pipeline_turkey_extend = { icon = oil priority = 100 visible = { has_country_flag = SAU_iraq_pipeline_open NOT = { has_country_flag = SAU_turkey_pipeline_open } } available = { country_exists = TUR } cost = 75 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pipeline_turkey_extend" TUR = { country_event = { id = SAU_events.33 hours = 6 } } custom_effect_tooltip = SAU_tt_extend_turkey } ai_will_do = { base = 1 } } SAU_pipeline_iraq_talks = { icon = GFX_decision_generic_decision priority = 100 visible = { has_completed_focus = SAU_the_great_pipeline_game SAU_saddam_in_power = yes NOT = { has_country_flag = SAU_iraq_pipeline_open } } available = { country_exists = IRQ NOT = { has_country_flag = SAU_saddam_talks_done } } cost = 75 days_re_enable = 365 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pipeline_iraq_talks" IRQ = { country_event = { id = SAU_events.25 hours = 6 } } custom_effect_tooltip = SAU_tt_saddam_talks } ai_will_do = { base = 1 } } # Pipeline repair SAU_repair_pipeline_yemen = { icon = generic_construction priority = 95 visible = { has_country_flag = SAU_yemen_pipeline_open OR = { has_idea = SAU_yemen_pipeline_t1 has_idea = SAU_yemen_pipeline_t2 } } available = { command_power > 0 NOT = { has_country_flag = SAU_repair_active } } cost = 75 days_remove = 60 days_re_enable = 90 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_repair_pipeline_yemen" set_country_flag = SAU_repair_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_repair_pipeline_yemen" clr_country_flag = SAU_repair_active SAU_yemen_tier_up = yes } ai_will_do = { base = 1 } } SAU_repair_pipeline_syria = { icon = generic_construction priority = 95 visible = { has_country_flag = SAU_syria_pipeline_open OR = { has_idea = SAU_syria_pipeline_t1 has_idea = SAU_syria_pipeline_t2 } } available = { command_power > 0 NOT = { has_country_flag = SAU_repair_active } } cost = 75 days_remove = 60 days_re_enable = 90 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_repair_pipeline_syria" set_country_flag = SAU_repair_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_repair_pipeline_syria" clr_country_flag = SAU_repair_active SAU_syria_tier_up = yes } ai_will_do = { base = 1 } } SAU_repair_pipeline_iraq = { icon = generic_construction priority = 95 visible = { has_country_flag = SAU_iraq_pipeline_open OR = { has_idea = SAU_iraq_pipeline_t1 has_idea = SAU_iraq_pipeline_t2 } } available = { command_power > 0 NOT = { has_country_flag = SAU_repair_active } } cost = 75 days_remove = 60 days_re_enable = 90 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_repair_pipeline_iraq" set_country_flag = SAU_repair_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_repair_pipeline_iraq" clr_country_flag = SAU_repair_active SAU_iraq_tier_up = yes } ai_will_do = { base = 1 } } # Throttling a line short of closing it: graduated pressure on the transit states, who # lose fee income a tier at a time. SAU_throttle_pipeline_yemen = { icon = oil priority = 95 visible = { has_country_flag = SAU_yemen_pipeline_open OR = { has_idea = SAU_yemen_pipeline_t2 has_idea = SAU_yemen_pipeline_t3 } } cost = 25 days_re_enable = 60 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_throttle_pipeline_yemen" SAU_yemen_tier_down = yes if = { limit = { country_exists = YEM } YEM = { add_opinion_modifier = { target = ROOT modifier = SAU_pipeline_throttled } } } } ai_will_do = { base = 0 } } SAU_throttle_pipeline_syria = { icon = oil priority = 95 visible = { has_country_flag = SAU_syria_pipeline_open OR = { has_idea = SAU_syria_pipeline_t2 has_idea = SAU_syria_pipeline_t3 } } cost = 25 days_re_enable = 60 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_throttle_pipeline_syria" SAU_syria_tier_down = yes if = { limit = { country_exists = JOR } JOR = { add_opinion_modifier = { target = ROOT modifier = SAU_pipeline_throttled } } } if = { limit = { country_exists = SYR } SYR = { add_opinion_modifier = { target = ROOT modifier = SAU_pipeline_throttled } } } if = { limit = { country_exists = FSA } FSA = { add_opinion_modifier = { target = ROOT modifier = SAU_pipeline_throttled } } } } ai_will_do = { base = 0 } } SAU_throttle_pipeline_iraq = { icon = oil priority = 95 visible = { has_country_flag = SAU_iraq_pipeline_open OR = { has_idea = SAU_iraq_pipeline_t2 has_idea = SAU_iraq_pipeline_t3 } } cost = 25 days_re_enable = 60 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_throttle_pipeline_iraq" SAU_iraq_tier_down = yes if = { limit = { country_exists = IRQ } IRQ = { add_opinion_modifier = { target = ROOT modifier = SAU_pipeline_throttled } } } } ai_will_do = { base = 0 } } # Pipeline shutdown - the transit fees are charged for as long as a route is open, so # the Kingdom needs a way out of a corridor that has stopped paying for itself. SAU_shutdown_pipeline_yemen = { icon = oil priority = 95 visible = { has_country_flag = SAU_yemen_pipeline_open } cost = 50 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_shutdown_pipeline_yemen" SAU_close_route_yemen = yes } ai_will_do = { base = 0 } } SAU_shutdown_pipeline_syria = { icon = oil priority = 95 visible = { has_country_flag = SAU_syria_pipeline_open } cost = 50 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_shutdown_pipeline_syria" SAU_close_route_syria = yes } ai_will_do = { base = 0 } } SAU_shutdown_pipeline_iraq = { icon = oil priority = 95 visible = { has_country_flag = SAU_iraq_pipeline_open } cost = 50 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_shutdown_pipeline_iraq" SAU_close_route_iraq = yes } ai_will_do = { base = 0 } } SAU_shutdown_pipeline_turkey = { icon = oil priority = 95 visible = { has_country_flag = SAU_turkey_pipeline_open } cost = 50 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_shutdown_pipeline_turkey" SAU_close_route_turkey = yes } ai_will_do = { base = 0 } } # Yemen Proxies SAU_yemen_raise_brigade = { icon = generic_operation priority = 90 visible = { has_country_flag = SAU_decisive_storm country_exists = YEM NOT = { YEM = { has_idea = SAU_yemen_attack_buff } } } available = { NOT = { has_country_flag = SAU_houthi_ceasefire } YEM = { has_war_with = HOU } } cost = 50 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_yemen_raise_brigade" if = { limit = { country_exists = YEM } YEM = { add_timed_idea = { idea = SAU_yemen_attack_buff days = 60 } } } } ai_will_do = { base = 1 } } SAU_yemen_old_weapons = { icon = generic_operation priority = 90 visible = { has_country_flag = SAU_decisive_storm country_exists = YEM } available = { NOT = { has_country_flag = SAU_houthi_ceasefire } YEM = { has_war_with = HOU } NOT = { has_country_flag = SAU_yem_weapons_lock } } cost = 35 days_remove = 60 days_re_enable = 120 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_yemen_old_weapons" set_country_flag = SAU_yem_weapons_lock } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_yemen_old_weapons" clr_country_flag = SAU_yem_weapons_lock if = { limit = { country_exists = YEM } YEM = { add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 300 producer = ROOT } } } } ai_will_do = { base = 1 } } SAU_yemen_war_funds = { icon = generic_operation priority = 90 visible = { has_country_flag = SAU_decisive_storm country_exists = YEM } available = { NOT = { has_country_flag = SAU_houthi_ceasefire } YEM = { has_war_with = HOU } NOT = { has_country_flag = SAU_yem_funds_lock } } cost = 30 days_remove = 60 days_re_enable = 120 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_yemen_war_funds" set_country_flag = SAU_yem_funds_lock } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_yemen_war_funds" clr_country_flag = SAU_yem_funds_lock set_temp_variable = { treasury_change = -20 } modify_treasury_effect = yes if = { limit = { country_exists = YEM } YEM = { add_manpower = 8000 add_war_support = 0.03 } } } ai_will_do = { base = 1 } } SAU_operation_decisive_storm = { icon = military_buildup priority = 95 visible = { has_country_flag = SAU_yemen_proxy country_exists = HOU NOT = { has_country_flag = SAU_decisive_storm } } available = { country_exists = YEM YEM = { has_war_with = HOU } } cost = 75 fire_only_once = yes days_remove = 10 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_operation_decisive_storm" set_country_flag = SAU_decisive_storm news_event = { id = SAU_events.39 days = 1 } unlock_decision_tooltip = SAU_yemen_raise_brigade unlock_decision_tooltip = SAU_yemen_old_weapons unlock_decision_tooltip = SAU_yemen_war_funds unlock_decision_tooltip = SAU_storm_air_campaign unlock_decision_tooltip = SAU_storm_partner_readout unlock_decision_tooltip = SAU_storm_stand_down unlock_decision_tooltip = SAU_storm_partner_readout if = { limit = { country_exists = YEM } YEM = { add_ideas = SAU_decisive_storm_air_cover } } if = { limit = { country_exists = HOU } HOU = { every_controlled_state = { if = { limit = { infrastructure > 0 } random = { chance = 50 damage_building = { type = infrastructure damage = 2 } } } if = { limit = { anti_air_building > 0 } random = { chance = 35 damage_building = { type = anti_air_building damage = 1 } } } } } } custom_effect_tooltip = SAU_decisive_storm_tt } ai_will_do = { base = 1 } } SAU_storm_air_campaign = { icon = GFX_decision_generic_army_support priority = 95 state_target = yes on_map_mode = map_only highlight_states = { highlight_states_trigger = { is_owned_by = HOU } highlight_color_before_active = 3 highlight_color_while_active = 2 } target_trigger = { FROM = { is_owned_by = HOU } } visible = { has_country_flag = SAU_decisive_storm } cost = 25 days_re_enable = 14 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_storm_air_campaign" FROM = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 2 } } if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 1 } } if = { limit = { anti_air_building > 0 } damage_building = { type = anti_air_building damage = 1 } } add_manpower = -2000 } add_war_support = 0.01 } ai_will_do = { base = 10 } } SAU_storm_partner_readout = { icon = GFX_decision_generic_political_discourse priority = 95 visible = { has_country_flag = SAU_decisive_storm } available = { always = no } cost = 0 ai_will_do = { base = 0 } } SAU_storm_stand_down = { icon = GFX_decision_generic_political_discourse priority = 95 visible = { has_country_flag = SAU_decisive_storm } cost = 100 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_storm_stand_down" clr_country_flag = SAU_decisive_storm_launched add_stability = 0.04 add_war_support = -0.03 } ai_will_do = { base = 2 } } SAU_break_houthi_ceasefire = { icon = military_buildup priority = 95 visible = { has_country_flag = SAU_houthi_ceasefire country_exists = HOU } cost = 50 days_remove = 60 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_break_houthi_ceasefire started" custom_effect_tooltip = SAU_break_ceasefire_prepare_tt } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_break_houthi_ceasefire" clr_country_flag = SAU_houthi_ceasefire custom_effect_tooltip = SAU_break_ceasefire_tt add_war_support = 0.05 hidden_effect = { if = { limit = { country_exists = YEM YEM = { has_war_with = HOU } NOT = { YEM = { has_idea = SAU_decisive_storm_air_cover } } } YEM = { add_ideas = SAU_decisive_storm_air_cover } SAU = { clr_country_flag = SAU_houthi_ceasefire } } } } ai_will_do = { base = 1 } } SAU_islamic_rivalry_open = { icon = GFX_decision_generic_political_discourse priority = 100 visible = { has_completed_focus = SAU_the_islamic_rivalry NOT = { has_country_flag = SAU_islamic_rivalry_open } NOT = { has_global_flag = SAU_PER_beijing_agreement } } cost = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_islamic_rivalry_open" set_country_flag = SAU_islamic_rivalry_open } ai_will_do = { base = 1 } } SAU_islamic_rivalry_close = { icon = GFX_decision_generic_political_discourse priority = 100 visible = { has_country_flag = SAU_islamic_rivalry_open } cost = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_islamic_rivalry_close" clr_country_flag = SAU_islamic_rivalry_open } ai_will_do = { base = 0 } } SAU_rivalry_propaganda_blitz = { icon = GFX_decision_generic_nationalism priority = 90 visible = { has_country_flag = SAU_islamic_rivalry_open NOT = { has_global_flag = SAU_PER_beijing_agreement } } available = { country_exists = PER } cost = 25 days_re_enable = 90 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_rivalry_propaganda_blitz" add_war_support = 0.01 PER = { add_stability = -0.01 add_war_support = -0.01 } } ai_will_do = { base = 1 } } SAU_rivalry_strait_patrols = { icon = GFX_decision_generic_naval priority = 90 visible = { has_country_flag = SAU_islamic_rivalry_open has_completed_focus = SAU_the_battle_for_the_straits } cost = 25 days_re_enable = 180 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_rivalry_strait_patrols" navy_experience = 15 add_war_support = 0.01 } ai_will_do = { base = 1 } } SAU_arm_lebanese_army = { icon = GFX_decision_generic_army_support priority = 85 visible = { has_completed_focus = SAU_fund_the_lebanese_army country_exists = LEB NOT = { has_war_with = LEB } } cost = 25 days_re_enable = 90 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_arm_lebanese_army" set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes add_to_variable = { SAU_laf_strength = 1 } LEB = { add_equipment_to_stockpile = { type = infantry_weapons_type amount = 1000 producer = SAU } army_experience = 15 } custom_effect_tooltip = SAU_laf_strength_tt } ai_will_do = { base = 1 } } SAU_unleash_laf = { icon = GFX_decision_generic_military priority = 85 visible = { has_completed_focus = SAU_fund_the_lebanese_army country_exists = LEB country_exists = HEZ NOT = { LEB = { has_war_with = HEZ } } } available = { custom_trigger_tooltip = { tooltip = SAU_laf_armed_req_tt check_variable = { var = SAU_laf_strength value = 3 compare = greater_than_or_equals } } } cost = 50 days_re_enable = 365 fire_only_once = no war_with_on_complete = HEZ complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_unleash_laf" LEB = { country_event = { id = SAU_events.60 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { LEB = { declare_war_on = { target = HEZ type = annex_everything } } } } ai_will_do = { base = 1 } } SAU_isr_talks_clock = { icon = GFX_decision_generic_political_discourse priority = 110 activation = { has_country_flag = SAU_isr_talks_opened NOT = { has_global_flag = SAU_ISR_talks_failed } NOT = { has_global_flag = SAU_ISR_normalized } } available = { custom_trigger_tooltip = { tooltip = SAU_isr_success_tt has_global_flag = SAU_ISR_t1_answered has_global_flag = SAU_ISR_t2_answered has_global_flag = SAU_ISR_t3_answered has_global_flag = SAU_ISR_t2_yes OR = { has_global_flag = SAU_ISR_t1_yes has_global_flag = SAU_ISR_t3_yes } } } cancel_trigger = { has_global_flag = SAU_ISR_normalized } days_mission_timeout = 120 selectable_mission = no fire_only_once = yes is_good = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_isr_talks_clock complete" country_event = { id = SAU_events.77 days = 1 } } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_isr_talks_clock timeout" set_global_flag = SAU_ISR_talks_failed set_global_flag = SAU_ISR_t1_answered set_global_flag = SAU_ISR_t2_answered set_global_flag = SAU_ISR_t3_answered country_event = { id = SAU_events.76 days = 1 } } } SAU_isr_talks_backchannel = { icon = GFX_decision_generic_political_discourse priority = 105 visible = { has_country_flag = SAU_isr_talks_opened NOT = { has_global_flag = SAU_ISR_talks_failed } NOT = { has_global_flag = SAU_ISR_normalized } } available = { country_exists = ISR } cost = 25 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_isr_talks_backchannel" ISR = { country_event = { id = SAU_events.68 days = 3 } } custom_effect_tooltip = SAU_isr_track_tt } ai_will_do = { base = 1 } } SAU_isr_talks_palestine = { icon = GFX_decision_generic_form_nation priority = 105 visible = { has_country_flag = SAU_isr_talks_opened NOT = { has_global_flag = SAU_ISR_talks_failed } NOT = { has_global_flag = SAU_ISR_normalized } } available = { country_exists = ISR } cost = 25 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_isr_talks_palestine" ISR = { country_event = { id = SAU_events.71 days = 3 } } custom_effect_tooltip = SAU_isr_track_tt } ai_will_do = { base = 1 } } SAU_isr_talks_sweeten = { icon = GFX_decision_generic_civil_support priority = 105 visible = { has_country_flag = SAU_isr_talks_opened NOT = { has_global_flag = SAU_ISR_talks_failed } NOT = { has_global_flag = SAU_ISR_normalized } } available = { country_exists = ISR } cost = 25 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_isr_talks_sweeten" set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes ISR = { country_event = { id = SAU_events.72 days = 3 } } custom_effect_tooltip = SAU_isr_track_tt } ai_will_do = { base = 1 } } SAU_isr_talks_us_mediation = { icon = GFX_decision_generic_break_treaty priority = 104 visible = { has_country_flag = SAU_isr_talks_opened NOT = { has_global_flag = SAU_ISR_talks_failed } NOT = { has_global_flag = SAU_ISR_normalized } NOT = { has_global_flag = SAU_ISR_us_mediation } } available = { country_exists = USA has_opinion = { target = USA value > 0 } } cost = 50 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_isr_talks_us_mediation" set_global_flag = SAU_ISR_us_mediation custom_effect_tooltip = SAU_isr_us_mediation_tt } ai_will_do = { base = 1 } } SAU_pal_aid_package = { icon = GFX_decision_generic_civil_support priority = 90 visible = { has_completed_focus = SAU_normalization_champion_the_palestinian_cause country_exists = PAL NOT = { has_global_flag = SAU_ISR_normalized } } cost = 25 days_re_enable = 120 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pal_aid_package" set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes PAL = { set_temp_variable = { treasury_change = 10 } modify_treasury_effect = yes add_stability = 0.02 set_temp_variable = { percent_change = 3 } change_influence_percentage = yes } } ai_will_do = { base = 1 } } } SAU_pipeline_sabotage_category = { SAU_sabotage_pipeline_yemen = { icon = generic_operation priority = 100 allowed = { SAU_is_pipeline_saboteur = yes } visible = { SAU = { has_country_flag = SAU_yemen_pipeline_open } } available = { NOT = { is_in_faction_with = SAU } NOT = { has_country_flag = SAU_sabotage_active } } cost = 50 days_remove = 30 days_re_enable = 120 fire_only_once = no fixed_random_seed = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_sabotage_pipeline_yemen" set_country_flag = SAU_sabotage_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_sabotage_pipeline_yemen" clr_country_flag = SAU_sabotage_active custom_effect_tooltip = SAU_tt_sabotage_chance random = { chance = 50 SAU = { country_event = { id = SAU_events.28 hours = 6 } } } } ai_will_do = { base = 1 } } SAU_sabotage_pipeline_syria = { icon = generic_operation priority = 100 allowed = { SAU_is_pipeline_saboteur = yes } visible = { SAU = { has_country_flag = SAU_syria_pipeline_open } } available = { NOT = { is_in_faction_with = SAU } NOT = { has_country_flag = SAU_sabotage_active } } cost = 50 days_remove = 30 days_re_enable = 120 fire_only_once = no fixed_random_seed = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_sabotage_pipeline_syria" set_country_flag = SAU_sabotage_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_sabotage_pipeline_syria" clr_country_flag = SAU_sabotage_active custom_effect_tooltip = SAU_tt_sabotage_chance random = { chance = 50 SAU = { country_event = { id = SAU_events.34 hours = 6 } } } } ai_will_do = { base = 1 } } SAU_sabotage_pipeline_iraq = { icon = generic_operation priority = 100 allowed = { SAU_is_pipeline_saboteur = yes } visible = { SAU = { has_country_flag = SAU_iraq_pipeline_open } } available = { NOT = { is_in_faction_with = SAU } NOT = { has_country_flag = SAU_sabotage_active } } cost = 50 days_remove = 30 days_re_enable = 120 fire_only_once = no fixed_random_seed = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_sabotage_pipeline_iraq" set_country_flag = SAU_sabotage_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_sabotage_pipeline_iraq" clr_country_flag = SAU_sabotage_active custom_effect_tooltip = SAU_tt_sabotage_chance random = { chance = 50 SAU = { country_event = { id = SAU_events.35 hours = 6 } } } } ai_will_do = { base = 1 } } } # --- Yemen War: Iranian Houthi support + North/South Yemen name (moved from Yemen_war.txt) --- PER_houthi_support_category = { # --- Iran arms the Houthis (mirror of the Saudi proxy effort) --- PER_houthi_raise_brigade = { icon = generic_operation priority = 90 visible = { country_exists = HOU NOT = { HOU = { has_idea = PER_houthi_defense_buff } } } available = { HOU = { has_war_with = YEM } } cost = 50 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PER_houthi_raise_brigade" if = { limit = { country_exists = HOU } HOU = { add_timed_idea = { idea = PER_houthi_defense_buff days = 60 } } } } ai_will_do = { base = 1 } } PER_houthi_militia = { icon = generic_operation priority = 90 visible = { country_exists = HOU } available = { HOU = { has_war_with = YEM } NOT = { has_country_flag = PER_hou_militia_lock } } cost = 35 days_remove = 60 days_re_enable = 120 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PER_houthi_militia" set_country_flag = PER_hou_militia_lock } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision PER_houthi_militia" clr_country_flag = PER_hou_militia_lock if = { limit = { country_exists = HOU } HOU = { add_manpower = 10000 } } } ai_will_do = { base = 1 } } PER_houthi_old_weapons = { icon = generic_operation priority = 90 visible = { country_exists = HOU } available = { HOU = { has_war_with = YEM } NOT = { has_country_flag = PER_hou_weapons_lock } } cost = 35 days_remove = 60 days_re_enable = 120 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PER_houthi_old_weapons" set_country_flag = PER_hou_weapons_lock } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision PER_houthi_old_weapons" clr_country_flag = PER_hou_weapons_lock if = { limit = { country_exists = HOU } HOU = { add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 300 producer = ROOT } } } } ai_will_do = { base = 1 } } } yemen_partition_category = { YEM_drop_south_yemen_name = { icon = GFX_decision_generic_decision allowed = { original_tag = YEM } visible = { has_cosmetic_tag = YEM_south_yemen } cost = 25 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision YEM_drop_south_yemen_name" drop_cosmetic_tag = yes clear_variable = dynamic_flag_variant } ai_will_do = { base = 0 } } HOU_drop_north_yemen_name = { icon = GFX_decision_generic_decision allowed = { original_tag = HOU } visible = { has_cosmetic_tag = HOU_north_yemen } cost = 25 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision HOU_drop_north_yemen_name" drop_cosmetic_tag = yes clear_variable = dynamic_flag_variant } ai_will_do = { base = 0 } } } SAU_vision2030_category = { SAU_proj_neom = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_neom } NOT = { has_country_flag = SAU_failed_neom } } cost = 35 days_remove = 730 fire_only_once = yes modifier = { civilian_factory_use = 10 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_neom start" set_country_flag = SAU_committed_neom set_temp_variable = { treasury_change = -150 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_neom done" 932 = { add_extra_state_shared_building_slots = 3 one_state_industrial_complex = yes one_state_infrastructure = yes } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -5 } add_stability = 0.03 set_country_flag = SAU_built_neom custom_effect_tooltip = SAU_proj_neom_done_tt } ai_will_do = { base = 1 } } SAU_proj_the_line = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_the_line } NOT = { has_country_flag = SAU_failed_the_line } } cost = 40 days_remove = 900 fire_only_once = yes modifier = { civilian_factory_use = 12 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_the_line start" set_country_flag = SAU_committed_the_line set_temp_variable = { treasury_change = -200 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_the_line done" 932 = { add_extra_state_shared_building_slots = 3 one_state_industrial_complex = yes one_state_infrastructure = yes } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -5 } add_stability = 0.03 set_country_flag = SAU_built_the_line custom_effect_tooltip = SAU_proj_the_line_done_tt } ai_will_do = { base = 1 } } SAU_proj_oxagon = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_oxagon } NOT = { has_country_flag = SAU_failed_oxagon } } cost = 30 days_remove = 540 fire_only_once = yes modifier = { civilian_factory_use = 8 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_oxagon start" set_country_flag = SAU_committed_oxagon set_temp_variable = { treasury_change = -80 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_oxagon done" 932 = { add_extra_state_shared_building_slots = 2 one_state_industrial_complex = yes } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -3 } add_stability = 0.02 set_country_flag = SAU_built_oxagon custom_effect_tooltip = SAU_proj_oxagon_done_tt } ai_will_do = { base = 1 } } SAU_proj_trojena = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_trojena } NOT = { has_country_flag = SAU_failed_trojena } } cost = 25 days_remove = 450 fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_trojena start" set_country_flag = SAU_committed_trojena set_temp_variable = { treasury_change = -60 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_trojena done" 932 = { add_extra_state_shared_building_slots = 1 one_state_infrastructure = yes } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -2 } add_stability = 0.02 set_country_flag = SAU_built_trojena custom_effect_tooltip = SAU_proj_trojena_done_tt } ai_will_do = { base = 1 } } SAU_proj_sindalah = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_sindalah } NOT = { has_country_flag = SAU_failed_sindalah } } cost = 20 days_remove = 270 fire_only_once = yes modifier = { civilian_factory_use = 4 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_sindalah start" set_country_flag = SAU_committed_sindalah set_temp_variable = { treasury_change = -40 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_sindalah done" 932 = { add_extra_state_shared_building_slots = 1 } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -2 } add_stability = 0.02 set_country_flag = SAU_built_sindalah custom_effect_tooltip = SAU_proj_sindalah_done_tt } ai_will_do = { base = 1 } } SAU_proj_red_sea = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_red_sea } NOT = { has_country_flag = SAU_failed_red_sea } } cost = 30 days_remove = 540 fire_only_once = yes modifier = { civilian_factory_use = 7 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_red_sea start" set_country_flag = SAU_committed_red_sea set_temp_variable = { treasury_change = -80 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_red_sea done" 932 = { add_extra_state_shared_building_slots = 1 one_state_infrastructure = yes } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -3 } add_stability = 0.02 set_country_flag = SAU_built_red_sea custom_effect_tooltip = SAU_proj_red_sea_done_tt } ai_will_do = { base = 1 } } SAU_proj_amaala = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_amaala } NOT = { has_country_flag = SAU_failed_amaala } } cost = 22 days_remove = 450 fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_amaala start" set_country_flag = SAU_committed_amaala set_temp_variable = { treasury_change = -50 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_amaala done" 932 = { add_extra_state_shared_building_slots = 1 } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -2 } add_stability = 0.02 set_country_flag = SAU_built_amaala custom_effect_tooltip = SAU_proj_amaala_done_tt } ai_will_do = { base = 1 } } SAU_proj_qiddiya = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_qiddiya } NOT = { has_country_flag = SAU_failed_qiddiya } } cost = 30 days_remove = 540 fire_only_once = yes modifier = { civilian_factory_use = 8 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_qiddiya start" set_country_flag = SAU_committed_qiddiya set_temp_variable = { treasury_change = -80 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_qiddiya done" 176 = { add_extra_state_shared_building_slots = 1 one_state_industrial_complex = yes one_state_infrastructure = yes } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -3 } add_stability = 0.03 set_country_flag = SAU_built_qiddiya custom_effect_tooltip = SAU_proj_qiddiya_done_tt } ai_will_do = { base = 1 } } SAU_proj_diriyah = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_diriyah } NOT = { has_country_flag = SAU_failed_diriyah } } cost = 22 days_remove = 450 fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_diriyah start" set_country_flag = SAU_committed_diriyah set_temp_variable = { treasury_change = -50 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_diriyah done" 176 = { add_extra_state_shared_building_slots = 1 one_state_infrastructure = yes } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -2 } add_stability = 0.02 set_country_flag = SAU_built_diriyah custom_effect_tooltip = SAU_proj_diriyah_done_tt } ai_will_do = { base = 1 } } SAU_proj_alula = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_alula } NOT = { has_country_flag = SAU_failed_alula } } cost = 22 days_remove = 450 fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_alula start" set_country_flag = SAU_committed_alula set_temp_variable = { treasury_change = -50 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_alula done" 177 = { add_extra_state_shared_building_slots = 1 one_state_infrastructure = yes } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -2 } add_stability = 0.02 set_country_flag = SAU_built_alula custom_effect_tooltip = SAU_proj_alula_done_tt } ai_will_do = { base = 1 } } SAU_proj_new_murabba = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_new_murabba } NOT = { has_country_flag = SAU_failed_new_murabba } } cost = 35 days_remove = 730 fire_only_once = yes modifier = { civilian_factory_use = 10 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_new_murabba start" set_country_flag = SAU_committed_new_murabba set_temp_variable = { treasury_change = -100 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_new_murabba done" 176 = { add_extra_state_shared_building_slots = 2 one_state_industrial_complex = yes one_state_infrastructure = yes } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -3 } add_stability = 0.02 set_country_flag = SAU_built_new_murabba custom_effect_tooltip = SAU_proj_new_murabba_done_tt } ai_will_do = { base = 1 } } SAU_proj_king_salman_park = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_king_salman_park } NOT = { has_country_flag = SAU_failed_king_salman_park } } cost = 18 days_remove = 270 fire_only_once = yes modifier = { civilian_factory_use = 4 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_king_salman_park start" set_country_flag = SAU_committed_king_salman_park set_temp_variable = { treasury_change = -40 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_king_salman_park done" 176 = { add_extra_state_shared_building_slots = 1 } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -1 } add_stability = 0.02 set_country_flag = SAU_built_king_salman_park custom_effect_tooltip = SAU_proj_king_salman_park_done_tt } ai_will_do = { base = 1 } } SAU_proj_sports_blvd = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_sports_blvd } NOT = { has_country_flag = SAU_failed_sports_blvd } } cost = 15 days_remove = 270 fire_only_once = yes modifier = { civilian_factory_use = 4 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_sports_blvd start" set_country_flag = SAU_committed_sports_blvd set_temp_variable = { treasury_change = -30 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_sports_blvd done" 176 = { one_state_infrastructure = yes } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -1 } add_stability = 0.02 set_country_flag = SAU_built_sports_blvd custom_effect_tooltip = SAU_proj_sports_blvd_done_tt } ai_will_do = { base = 1 } } SAU_proj_green_riyadh = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_green_riyadh } NOT = { has_country_flag = SAU_failed_green_riyadh } } cost = 15 days_remove = 365 fire_only_once = yes modifier = { civilian_factory_use = 4 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_green_riyadh start" set_country_flag = SAU_committed_green_riyadh set_temp_variable = { treasury_change = -30 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_green_riyadh done" 176 = { } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -1 } add_stability = 0.02 set_country_flag = SAU_built_green_riyadh custom_effect_tooltip = SAU_proj_green_riyadh_done_tt } ai_will_do = { base = 1 } } SAU_proj_jeddah_central = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_jeddah_central } NOT = { has_country_flag = SAU_failed_jeddah_central } } cost = 25 days_remove = 450 fire_only_once = yes modifier = { civilian_factory_use = 6 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_jeddah_central start" set_country_flag = SAU_committed_jeddah_central set_temp_variable = { treasury_change = -60 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_jeddah_central done" 177 = { add_extra_state_shared_building_slots = 1 one_state_infrastructure = yes } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -2 } add_stability = 0.02 set_country_flag = SAU_built_jeddah_central custom_effect_tooltip = SAU_proj_jeddah_central_done_tt } ai_will_do = { base = 1 } } SAU_proj_soudah_peaks = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_soudah_peaks } NOT = { has_country_flag = SAU_failed_soudah_peaks } } cost = 20 days_remove = 450 fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_soudah_peaks start" set_country_flag = SAU_committed_soudah_peaks set_temp_variable = { treasury_change = -40 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_soudah_peaks done" 178 = { add_extra_state_shared_building_slots = 1 one_state_infrastructure = yes } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -2 } add_stability = 0.02 set_country_flag = SAU_built_soudah_peaks custom_effect_tooltip = SAU_proj_soudah_peaks_done_tt } ai_will_do = { base = 1 } } SAU_proj_roshn = { icon = generic_construction visible = { has_completed_focus = SAU_vision_2030 NOT = { has_country_flag = SAU_built_roshn } NOT = { has_country_flag = SAU_failed_roshn } } cost = 25 days_remove = 365 fire_only_once = yes modifier = { civilian_factory_use = 7 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_roshn start" set_country_flag = SAU_committed_roshn set_temp_variable = { treasury_change = -60 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_proj_roshn done" 176 = { add_extra_state_shared_building_slots = 2 one_state_industrial_complex = yes } add_to_variable = { SAU_giga_projects_built = 1 } add_to_variable = { oil_dependence = -2 } add_stability = 0.02 set_country_flag = SAU_built_roshn custom_effect_tooltip = SAU_proj_roshn_done_tt } ai_will_do = { base = 1 } } } SAU_crown_prince_category = { SAU_faisalite_sermons = { icon = GFX_decision_generic_political_discourse priority = 168 visible = { has_country_flag = SAU_faisalite_circle_active NOT = { has_country_flag = SAU_faisalite_path_open } NOT = { has_country_flag = SAU_faisalite_path_rejected } NOT = { has_country_flag = SAU_military_coup_ready } } cost = 40 days_re_enable = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_faisalite_sermons" add_stability = -0.01 add_to_variable = { SAU_faisalite_conviction = 6 tooltip = SAU_faisalite_conviction_tt } hidden_effect = { SAU_faisalite_conviction_set_tier = yes } } ai_will_do = { base = 8 modifier = { factor = 25 has_global_flag = SAU_FAISALITE_KINGDOM_FOCUS_PATH } modifier = { factor = 0 SAU_ai_not_faisalite_path = yes } } } SAU_faisalite_endowments = { icon = GFX_decision_generic_form_nation priority = 167 visible = { has_country_flag = SAU_faisalite_circle_active NOT = { has_country_flag = SAU_faisalite_path_open } NOT = { has_country_flag = SAU_faisalite_path_rejected } NOT = { has_country_flag = SAU_military_coup_ready } } cost = 25 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_faisalite_endowments" set_temp_variable = { treasury_change = -8.00 } modify_treasury_effect = yes add_to_variable = { SAU_faisalite_conviction = 8 tooltip = SAU_faisalite_conviction_tt } hidden_effect = { SAU_faisalite_conviction_set_tier = yes } } ai_will_do = { base = 8 modifier = { has_active_mission = bankruptcy_incoming_collapse factor = 0 } modifier = { factor = 25 has_global_flag = SAU_FAISALITE_KINGDOM_FOCUS_PATH } modifier = { factor = 0 SAU_ai_not_faisalite_path = yes } } } SAU_faisalite_guard_petition = { icon = GFX_decision_generic_military priority = 166 visible = { has_country_flag = SAU_faisalite_circle_active NOT = { has_country_flag = SAU_faisalite_path_open } NOT = { has_country_flag = SAU_faisalite_path_rejected } NOT = { has_country_flag = SAU_military_coup_ready } } available = { custom_trigger_tooltip = { tooltip = SAU_faisalite_petition_gate_tt check_variable = { SAU_faisalite_conviction > 49 } } } cost = 75 days_re_enable = 120 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_faisalite_guard_petition" add_war_support = 0.02 add_to_variable = { SAU_faisalite_conviction = 12 tooltip = SAU_faisalite_conviction_tt } hidden_effect = { SAU_faisalite_conviction_set_tier = yes } } ai_will_do = { base = 8 modifier = { factor = 25 has_global_flag = SAU_FAISALITE_KINGDOM_FOCUS_PATH } modifier = { factor = 0 SAU_ai_not_faisalite_path = yes } } } SAU_royal_patronage = { icon = GFX_decision_influence priority = 200 cost = 75 visible = { has_country_flag = SAU_royal_patronage_unlocked OR = { AND = { has_country_flag = SAU_succession_race_active NOT = { check_variable = { SAU_crown_choice = 0 } } NOT = { has_country_flag = SAU_patronage_spent_crown } } AND = { has_country_flag = SAU_crown_prince_race_active NOT = { check_variable = { SAU_heir_choice = 0 } } NOT = { has_country_flag = SAU_patronage_spent_heir } } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_royal_patronage" set_temp_variable = { amount = 20 } if = { limit = { has_country_flag = SAU_succession_race_active NOT = { check_variable = { SAU_crown_choice = 0 } } NOT = { has_country_flag = SAU_patronage_spent_crown } } set_country_flag = SAU_patronage_spent_crown set_temp_variable = { prince = SAU_crown_choice } SAU_add_crown_points = yes SAU_recompute_crown_shares = yes } else_if = { limit = { has_country_flag = SAU_crown_prince_race_active NOT = { check_variable = { SAU_heir_choice = 0 } } NOT = { has_country_flag = SAU_patronage_spent_heir } } set_country_flag = SAU_patronage_spent_heir set_temp_variable = { heir = SAU_heir_choice } SAU_add_heir_points = yes SAU_recompute_heir_shares = yes } custom_effect_tooltip = SAU_royal_patronage_tt } ai_will_do = { base = 6 } } #### KING SALMAN'S HEALTH #### # Readout only; the tiers themselves are hidden ideas so they stay out of the spirit bar. SAU_salman_health_status = { icon = GFX_decision_generic_civil_support priority = 200 visible = { check_variable = { SAU_current_king = 2 } NOT = { has_country_flag = SAU_monarchy_abolished } } available = { always = no } cost = 0 ai_will_do = { base = 0 } } SAU_salman_royal_physicians = { icon = GFX_decision_generic_civil_support cost = 60 days_re_enable = 180 visible = { check_variable = { SAU_current_king = 2 } NOT = { has_country_flag = SAU_monarchy_abolished } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_salman_royal_physicians" add_to_variable = { SAU_salman_health = 12 } clamp_variable = { var = SAU_salman_health min = 0 max = 100 } SAU_salman_health_set_tier = yes custom_effect_tooltip = SAU_salman_health_improve_tt } ai_will_do = { base = 30 } } SAU_salman_burden_of_state = { icon = GFX_decision_generic_political_discourse cost = 40 days_re_enable = 180 visible = { check_variable = { SAU_current_king = 2 } has_country_flag = SAU_crown_prince_named NOT = { has_country_flag = SAU_monarchy_abolished } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_salman_burden_of_state" subtract_from_variable = { SAU_salman_health = 12 } clamp_variable = { var = SAU_salman_health min = 0 max = 100 } SAU_salman_health_set_tier = yes custom_effect_tooltip = SAU_salman_health_worsen_tt } ai_will_do = { base = 0 } } #### KING SALMAN'S HEIR - MBS against MBN for Crown Prince #### SAU_back_mbs_heir = { icon = GFX_decision_generic_political_rally cost = 0 fire_only_once = yes visible = { has_country_flag = SAU_crown_prince_race_active check_variable = { SAU_heir_choice = 0 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_back_mbs_heir" set_variable = { SAU_heir_choice = 1 } } ai_will_do = { base = 100 } } SAU_back_mbn_heir = { icon = GFX_decision_generic_political_rally cost = 0 fire_only_once = yes visible = { has_country_flag = SAU_crown_prince_race_active check_variable = { SAU_heir_choice = 0 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_back_mbn_heir" set_variable = { SAU_heir_choice = 2 } } ai_will_do = { base = 15 } } SAU_heir_rally_support = { icon = GFX_decision_influence cost = 20 days_remove = 30 fire_only_once = no visible = { has_country_flag = SAU_crown_prince_race_active NOT = { check_variable = { SAU_heir_choice = 0 } } } fixed_random_seed = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_heir_rally_support" random_list = { 55 = { set_temp_variable = { heir = SAU_heir_choice } set_temp_variable = { amount = 2 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_rally_slight_tt } 33 = { set_temp_variable = { heir = SAU_heir_choice } set_temp_variable = { amount = 5 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_rally_normal_tt } 12 = { set_temp_variable = { heir = SAU_heir_choice } set_temp_variable = { amount = 10 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_rally_major_tt } } } ai_will_do = { base = 5 } } SAU_heir_undermine_mbs = { icon = GFX_decision_generic_intelligence_operation cost = 25 days_remove = 30 fire_only_once = no visible = { has_country_flag = SAU_crown_prince_race_active NOT = { check_variable = { SAU_heir_choice = 0 } } NOT = { check_variable = { SAU_heir_choice = 1 } } } fixed_random_seed = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_heir_undermine_mbs" random_list = { 60 = { set_temp_variable = { heir = 1 } set_temp_variable = { amount = -3 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_undermine_minor_tt } 40 = { set_temp_variable = { heir = 1 } set_temp_variable = { amount = -6 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_undermine_major_tt } } } ai_will_do = { base = 3 } } SAU_heir_undermine_mbn = { icon = GFX_decision_generic_intelligence_operation cost = 25 days_remove = 30 fire_only_once = no visible = { has_country_flag = SAU_crown_prince_race_active NOT = { check_variable = { SAU_heir_choice = 0 } } NOT = { check_variable = { SAU_heir_choice = 2 } } } fixed_random_seed = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_heir_undermine_mbn" random_list = { 60 = { set_temp_variable = { heir = 2 } set_temp_variable = { amount = -3 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_undermine_minor_tt } 40 = { set_temp_variable = { heir = 2 } set_temp_variable = { amount = -6 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_undermine_major_tt } } } ai_will_do = { base = 5 } } SAU_heir_mbs_maneuver = { icon = GFX_decision_generic_political_discourse fire_only_once = no is_good = no selectable_mission = no days_mission_timeout = 60 activation = { has_country_flag = SAU_crown_prince_race_active NOT = { check_variable = { SAU_heir_choice = 0 } } NOT = { check_variable = { SAU_heir_choice = 1 } } } available = { NOT = { has_country_flag = SAU_crown_prince_race_active } } fixed_random_seed = no timeout_effect = { log = "[GetDateText]: [Root.GetName]: mission timeout SAU_heir_mbs_maneuver" random_list = { 45 = { set_temp_variable = { heir = 1 } set_temp_variable = { amount = 3 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_maneuver_slight_tt } 25 = { set_temp_variable = { heir = 1 } set_temp_variable = { amount = 5 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_maneuver_normal_tt } 10 = { set_temp_variable = { heir = 1 } set_temp_variable = { amount = 8 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_maneuver_major_tt } 20 = { set_temp_variable = { heir = 1 } set_temp_variable = { amount = 3 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_maneuver_scheme_tt } } } } SAU_heir_mbn_maneuver = { icon = GFX_decision_generic_political_discourse fire_only_once = no is_good = no selectable_mission = no days_mission_timeout = 60 activation = { has_country_flag = SAU_crown_prince_race_active NOT = { check_variable = { SAU_heir_choice = 0 } } NOT = { check_variable = { SAU_heir_choice = 2 } } } available = { NOT = { has_country_flag = SAU_crown_prince_race_active } } fixed_random_seed = no timeout_effect = { log = "[GetDateText]: [Root.GetName]: mission timeout SAU_heir_mbn_maneuver" random_list = { 45 = { set_temp_variable = { heir = 2 } set_temp_variable = { amount = 2 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_maneuver_slight_tt } 25 = { set_temp_variable = { heir = 2 } set_temp_variable = { amount = 4 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_maneuver_normal_tt } 10 = { set_temp_variable = { heir = 2 } set_temp_variable = { amount = 7 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_maneuver_major_tt } 20 = { set_temp_variable = { heir = 2 } set_temp_variable = { amount = 2 } SAU_add_heir_points = yes custom_effect_tooltip = SAU_maneuver_scheme_tt } } } } #### STEP 1 - Back a candidate (one-time) #### SAU_back_salman = { icon = GFX_decision_generic_political_rally cost = 0 fire_only_once = yes visible = { has_country_flag = SAU_succession_race_active check_variable = { SAU_crown_choice = 0 } } available = { always = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_back_salman" set_variable = { SAU_crown_choice = 1 } } ai_will_do = { base = 100 modifier = { factor = 0 has_global_flag = SAU_FAISALITE_KINGDOM_FOCUS_PATH } } } SAU_back_mbn = { icon = GFX_decision_generic_political_rally cost = 0 fire_only_once = yes visible = { has_country_flag = SAU_succession_race_active check_variable = { SAU_crown_choice = 0 } } available = { always = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_back_mbn" set_variable = { SAU_crown_choice = 2 } } ai_will_do = { base = 1 } } SAU_back_mutaib = { icon = GFX_decision_generic_political_rally cost = 0 fire_only_once = yes visible = { has_country_flag = SAU_succession_race_active check_variable = { SAU_crown_choice = 0 } } available = { always = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_back_mutaib" set_variable = { SAU_crown_choice = 3 } } ai_will_do = { base = 1 modifier = { factor = 500 has_global_flag = SAU_FAISALITE_KINGDOM_FOCUS_PATH } } } #### STEP 2 - Rally support behind your candidate (30-day timed action) #### SAU_rally_support = { icon = GFX_decision_influence cost = 20 days_remove = 30 fire_only_once = no visible = { has_country_flag = SAU_succession_race_active NOT = { check_variable = { SAU_crown_choice = 0 } } } available = { always = yes } fixed_random_seed = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_rally_support" random_list = { 55 = { set_temp_variable = { prince = SAU_crown_choice } set_temp_variable = { amount = 2 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_rally_slight_tt } 33 = { set_temp_variable = { prince = SAU_crown_choice } set_temp_variable = { amount = 5 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_rally_normal_tt } 12 = { set_temp_variable = { prince = SAU_crown_choice } set_temp_variable = { amount = 10 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_rally_major_tt } } } ai_will_do = { base = 5 } } #### STEP 2 - Undermine a rival (30-day timed action, two visible at a time) #### SAU_undermine_salman = { icon = GFX_decision_generic_intelligence_operation cost = 25 days_remove = 30 fire_only_once = no visible = { has_country_flag = SAU_succession_race_active NOT = { check_variable = { SAU_crown_choice = 0 } } NOT = { check_variable = { SAU_crown_choice = 1 } } } available = { always = yes } fixed_random_seed = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_undermine_salman" random_list = { 60 = { set_temp_variable = { prince = 1 } set_temp_variable = { amount = -3 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_undermine_minor_tt } 40 = { set_temp_variable = { prince = 1 } set_temp_variable = { amount = -6 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_undermine_major_tt } } } ai_will_do = { base = 2 } } SAU_undermine_mbn = { icon = GFX_decision_generic_intelligence_operation cost = 25 days_remove = 30 fire_only_once = no visible = { has_country_flag = SAU_succession_race_active NOT = { check_variable = { SAU_crown_choice = 0 } } NOT = { check_variable = { SAU_crown_choice = 2 } } } available = { always = yes } fixed_random_seed = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_undermine_mbn" random_list = { 60 = { set_temp_variable = { prince = 2 } set_temp_variable = { amount = -3 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_undermine_minor_tt } 40 = { set_temp_variable = { prince = 2 } set_temp_variable = { amount = -6 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_undermine_major_tt } } } ai_will_do = { base = 2 } } SAU_undermine_mutaib = { icon = GFX_decision_generic_intelligence_operation cost = 25 days_remove = 30 fire_only_once = no visible = { has_country_flag = SAU_succession_race_active NOT = { check_variable = { SAU_crown_choice = 0 } } NOT = { check_variable = { SAU_crown_choice = 3 } } } available = { always = yes } fixed_random_seed = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_undermine_mutaib" random_list = { 60 = { set_temp_variable = { prince = 3 } set_temp_variable = { amount = -3 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_undermine_minor_tt } 40 = { set_temp_variable = { prince = 3 } set_temp_variable = { amount = -6 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_undermine_major_tt } } } ai_will_do = { base = 2 } } #### Rival factions act on their own (recurring 30-day auto missions, two run at a time) #### SAU_salman_maneuver = { icon = GFX_decision_generic_political_discourse fire_only_once = no is_good = no selectable_mission = no days_mission_timeout = 60 activation = { has_country_flag = SAU_succession_race_active NOT = { check_variable = { SAU_crown_choice = 0 } } NOT = { check_variable = { SAU_crown_choice = 1 } } } available = { NOT = { has_country_flag = SAU_succession_race_active } } fixed_random_seed = no timeout_effect = { log = "[GetDateText]: [Root.GetName]: mission timeout SAU_salman_maneuver" random_list = { 45 = { set_temp_variable = { prince = 1 } set_temp_variable = { amount = 2 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_maneuver_slight_tt } 25 = { set_temp_variable = { prince = 1 } set_temp_variable = { amount = 4 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_maneuver_normal_tt } 10 = { set_temp_variable = { prince = 1 } set_temp_variable = { amount = 7 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_maneuver_major_tt } 20 = { set_temp_variable = { prince = 1 } set_temp_variable = { amount = 2 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_maneuver_scheme_tt } } } } SAU_mbn_maneuver = { icon = GFX_decision_generic_political_discourse fire_only_once = no is_good = no selectable_mission = no days_mission_timeout = 60 activation = { has_country_flag = SAU_succession_race_active NOT = { check_variable = { SAU_crown_choice = 0 } } NOT = { check_variable = { SAU_crown_choice = 2 } } } available = { NOT = { has_country_flag = SAU_succession_race_active } } fixed_random_seed = no timeout_effect = { log = "[GetDateText]: [Root.GetName]: mission timeout SAU_mbn_maneuver" random_list = { 45 = { set_temp_variable = { prince = 2 } set_temp_variable = { amount = 2 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_maneuver_slight_tt } 25 = { set_temp_variable = { prince = 2 } set_temp_variable = { amount = 4 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_maneuver_normal_tt } 10 = { set_temp_variable = { prince = 2 } set_temp_variable = { amount = 7 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_maneuver_major_tt } 20 = { set_temp_variable = { prince = 2 } set_temp_variable = { amount = 2 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_maneuver_scheme_tt } } } } SAU_mutaib_maneuver = { icon = GFX_decision_generic_political_discourse fire_only_once = no is_good = no selectable_mission = no days_mission_timeout = 60 activation = { has_country_flag = SAU_succession_race_active NOT = { check_variable = { SAU_crown_choice = 0 } } NOT = { check_variable = { SAU_crown_choice = 3 } } } available = { NOT = { has_country_flag = SAU_succession_race_active } } fixed_random_seed = no timeout_effect = { log = "[GetDateText]: [Root.GetName]: mission timeout SAU_mutaib_maneuver" random_list = { 45 = { set_temp_variable = { prince = 3 } set_temp_variable = { amount = 2 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_maneuver_slight_tt } 25 = { set_temp_variable = { prince = 3 } set_temp_variable = { amount = 4 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_maneuver_normal_tt } 10 = { set_temp_variable = { prince = 3 } set_temp_variable = { amount = 7 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_maneuver_major_tt } 20 = { set_temp_variable = { prince = 3 } set_temp_variable = { amount = 2 } SAU_add_crown_points = yes custom_effect_tooltip = SAU_maneuver_scheme_tt } } } } } SAU_spread_revolution_category = { SAU_broadcast_revolution = { icon = GFX_decision_generic_political_rally cost = 50 days_remove = 30 days_re_enable = 30 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_broadcast_revolution" every_other_country = { limit = { is_in_array = { global.arabic_countries = THIS.id } NOT = { has_government = communism } } set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes } } ai_will_do = { base = 0 } } SAU_arm_arab_revolutionaries = { icon = GFX_decision_generic_intelligence_operation cost = 100 days_re_enable = 60 fire_only_once = no visible = { has_completed_focus = SAU_the_peoples_republic_of_arabia } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_arm_arab_revolutionaries" every_other_country = { limit = { is_in_array = { global.arabic_countries = THIS.id } NOT = { has_government = communism } } set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes add_stability = -0.04 } } ai_will_do = { base = 0 } } SAU_found_arab_comintern = { icon = GFX_decision_generic_nationalism cost = 150 fire_only_once = yes visible = { any_of_scopes = { array = global.arabic_countries NOT = { tag = ROOT } OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_found_arab_comintern" if = { limit = { is_in_faction = yes } leave_faction = yes } create_faction_from_template = faction_template_sau_arab_comintern every_other_country = { limit = { is_in_array = { global.arabic_countries = THIS.id } OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } is_in_faction = no NOT = { has_war_with = ROOT } } country_event = { id = SAU_events.95 days = 2 } } } ai_will_do = { base = 0 } } SAU_communist_seize_power = { icon = GFX_decision_generic_form_nation target_array = global.arabic_countries target_root_trigger = { has_completed_focus = SAU_the_peoples_republic_of_arabia } target_trigger = { FROM = { OR = { original_tag = EGY original_tag = SYR original_tag = IRQ original_tag = JOR original_tag = LEB original_tag = LBA original_tag = YEM original_tag = SUD original_tag = TUN original_tag = ALG original_tag = MOR original_tag = KUW original_tag = UAE original_tag = QAT original_tag = BHR original_tag = OMA } NOT = { has_war_with = ROOT } NOT = { is_in_faction_with = ROOT } NOT = { has_civil_war = yes } NOT = { emerging_communist_state_are_in_power = yes } NOT = { neutrality_neutral_communism_are_in_power = yes } check_variable = { party_pop_array^4 > 0.3 } } } cost = 200 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_communist_seize_power" add_threat = 0.10 FROM = { if = { limit = { check_variable = { party_pop_array^4 > 0.5 } } set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.5 } set_temp_variable = { temp_outlook_increase = 0.5 } change_relative_party_popularity = yes hidden_effect = { set_temp_variable = { rul_party_temp = 4 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } } else = { set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.35 } set_temp_variable = { temp_outlook_increase = 0.35 } change_relative_party_popularity = yes start_civil_war = { ideology = communism size = 0.5 } } } } ai_will_do = { base = 0 } } SAU_communist_invite_to_comintern = { icon = GFX_decision_generic_form_nation target_array = global.arabic_countries target_root_trigger = { has_completed_focus = SAU_the_peoples_republic_of_arabia } target_trigger = { FROM = { OR = { original_tag = EGY original_tag = SYR original_tag = IRQ original_tag = JOR original_tag = LEB original_tag = LBA original_tag = YEM original_tag = SUD original_tag = TUN original_tag = ALG original_tag = MOR original_tag = KUW original_tag = UAE original_tag = QAT original_tag = BHR original_tag = OMA } OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } NOT = { is_in_faction_with = ROOT } NOT = { has_war_with = ROOT } NOT = { has_civil_war = yes } } } cost = 50 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_communist_invite_to_comintern" custom_effect_tooltip = SAU_communist_invite_tt FROM = { save_event_target_as = SAU_faction_invite_target } event_target:SAU_faction_invite_target = { country_event = { id = SAU_events.109 days = 1 } } } ai_will_do = { base = 0 } } } arab_spring_category = { # SAU: shows once protests hit 100; taking it instantly fires the breaking-point event (SAU_events.90). #SAU_arab_spring_breaking_point = { # icon = GFX_decision_generic_civil_support # cost = 15 # days_remove = 15 # fire_only_once = yes # visible = { # original_tag = SAU # } # available = { # has_country_flag = arab_spring_active # has_government = fascism # check_variable = { var = arab_spring value = 50 compare = greater_than_or_equals } # custom_effect_tooltip = arab_spring_saudi_arabia_decision_tt # NOT = { has_country_flag = SAU_arab_spring_fired } # } # remove_effect = { # log = "[GetDateText]: [Root.GetName]: SAU_arab_spring_breaking_point -> SAU_events.90" # country_event = SAU_events.90 # } # ai_will_do = { factor = 1 } #} SAU_arab_spring_breaking_point = { icon = GFX_decision_generic_civil_support priority = 110 allowed = { original_tag = SAU } activation = { has_country_flag = arab_spring_active salafist_kingdom_are_in_power = yes check_variable = { var = arab_spring value = 100 compare = greater_than_or_equals } NOT = { has_country_flag = SAU_arab_spring_fired } } available = { has_country_flag = arab_spring_active custom_trigger_tooltip = { tooltip = SAU_arab_spring_contained_tt NOT = { check_variable = { var = arab_spring value = 100 compare = greater_than_or_equals } } } # NOT = { has_country_flag = SAU_arab_spring_fired } } cancel_trigger = { } days_mission_timeout = 10 selectable_mission = no fire_only_once = yes is_good = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_arab_spring_breaking_point complete" add_political_power = 100 custom_effect_tooltip = arab_spring_saudi_arabia_decision_2_tt } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_arab_spring_breaking_point timeout" country_event = SAU_events.90 set_country_flag = SAU_arab_spring_fired custom_effect_tooltip = arab_spring_saudi_arabia_decision_tt } } } HOU_break_ceasefire_category = { SAU_houthi_break_ceasefire = { icon = military_buildup priority = 95 visible = { country_exists = SAU SAU = { has_country_flag = SAU_houthi_ceasefire } } available = { NOT = { has_capitulated = yes } custom_trigger_tooltip = { tooltip = SAU_ceasefire_locked_tt NOT = { SAU = { has_country_flag = SAU_ceasefire_locked } } } } cost = 50 days_re_enable = 120 fire_only_once = no war_with_on_complete = YEM complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_houthi_break_ceasefire" SAU = { clr_country_flag = SAU_houthi_ceasefire } if = { limit = { country_exists = SAU NOT = { has_war_with = SAU } } declare_war_on = { target = YEM type = puppet_wargoal_focus } } SAU = { country_event = SAU_events.114 clr_country_flag = SAU_houthi_ceasefire } } ai_will_do = { base = 10 modifier = { factor = 2 has_war_support > 0.6 } } } } SAU_king_abdullah_category = { SAU_abdullah_kaust_grants = { icon = generic_research priority = 100 cost = 20 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_abdullah_kaust_grants" add_timed_idea = { idea = SAU_decree_abdullah_kaust_grants days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_abdullah_kaust_grants" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_abdullah_kaec_construction = { icon = generic_construction priority = 100 cost = 25 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_abdullah_kaec_construction" add_timed_idea = { idea = SAU_decree_abdullah_kaec_construction days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_abdullah_kaec_construction" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_abdullah_national_dialogue = { icon = GFX_decision_generic_decision priority = 100 cost = 15 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_abdullah_national_dialogue" add_timed_idea = { idea = SAU_decree_abdullah_national_dialogue days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_abdullah_national_dialogue" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_abdullah_sang_subsidies = { icon = generic_army_support priority = 100 cost = 20 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_abdullah_sang_subsidies" add_timed_idea = { idea = SAU_decree_abdullah_sang_subsidies days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_abdullah_sang_subsidies" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_abdullah_kasp_scholarship = { icon = generic_research priority = 100 cost = 20 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_abdullah_kasp_scholarship" add_timed_idea = { idea = SAU_decree_abdullah_kasp_scholarship days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_abdullah_kasp_scholarship" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } } SAU_king_salman_category = { SAU_salman_cpsa_council = { icon = GFX_decision_generic_military priority = 100 cost = 20 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_salman_cpsa_council" add_timed_idea = { idea = SAU_decree_salman_cpsa_council days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_salman_cpsa_council" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_salman_spark_park = { icon = GFX_decision_syr_money_button priority = 100 cost = 25 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_salman_spark_park" add_timed_idea = { idea = SAU_decree_salman_spark_park days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_salman_spark_park" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_salman_ksrelief = { icon = GFX_decision_generic_civil_support priority = 100 cost = 15 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_salman_ksrelief" add_timed_idea = { idea = SAU_decree_salman_ksrelief days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_salman_ksrelief" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_salman_royal_decrees = { icon = GFX_decision_generic_decision priority = 100 cost = 20 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_salman_royal_decrees" add_timed_idea = { idea = SAU_decree_salman_royal_decrees days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_salman_royal_decrees" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_salman_riyadh_metro_plan = { icon = generic_construction priority = 100 cost = 25 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_salman_riyadh_metro_plan" add_timed_idea = { idea = SAU_decree_salman_riyadh_metro_plan days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_salman_riyadh_metro_plan" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } } SAU_king_mbn_category = { SAU_mbn_rehabilitation_center = { icon = GFX_decision_generic_civil_support priority = 100 cost = 15 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mbn_rehabilitation_center" add_timed_idea = { idea = SAU_decree_mbn_rehabilitation_center days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mbn_rehabilitation_center" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_mbn_special_security_forces = { icon = GFX_decision_generic_military priority = 100 cost = 20 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mbn_special_security_forces" add_timed_idea = { idea = SAU_decree_mbn_special_security_forces days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mbn_special_security_forces" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_mbn_western_intel_networks = { icon = generic_intelligence_operation priority = 100 cost = 15 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mbn_western_intel_networks" add_timed_idea = { idea = SAU_decree_mbn_western_intel_networks days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mbn_western_intel_networks" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_mbn_border_surveillance = { icon = military_buildup priority = 100 cost = 25 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mbn_border_surveillance" add_timed_idea = { idea = SAU_decree_mbn_border_surveillance days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mbn_border_surveillance" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_mbn_mabahith_campaign = { icon = generic_operation priority = 100 cost = 15 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mbn_mabahith_campaign" add_timed_idea = { idea = SAU_decree_mbn_mabahith_campaign days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mbn_mabahith_campaign" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } } SAU_king_mutaib_category = { SAU_mutaib_janadriyah_festival = { icon = GFX_decision_generic_nationalism priority = 100 cost = 15 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mutaib_janadriyah_festival" add_timed_idea = { idea = SAU_decree_mutaib_janadriyah_festival days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mutaib_janadriyah_festival" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_mutaib_tribal_reserves = { icon = generic_army_support priority = 100 cost = 20 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mutaib_tribal_reserves" add_timed_idea = { idea = SAU_decree_mutaib_tribal_reserves days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mutaib_tribal_reserves" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_mutaib_sang_procurement = { icon = GFX_decision_generic_army_support priority = 100 cost = 25 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mutaib_sang_procurement" add_timed_idea = { idea = SAU_decree_mutaib_sang_procurement days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mutaib_sang_procurement" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_mutaib_capital_garrison = { icon = GFX_decision_generic_military priority = 100 cost = 20 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mutaib_capital_garrison" add_timed_idea = { idea = SAU_decree_mutaib_capital_garrison days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mutaib_capital_garrison" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_mutaib_sang_logistics = { icon = GFX_decision_bus_ast priority = 100 cost = 20 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mutaib_sang_logistics" add_timed_idea = { idea = SAU_decree_mutaib_sang_logistics days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mutaib_sang_logistics" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } } SAU_king_mbs_category = { SAU_mbs_vision2030_blitz = { icon = generic_construction priority = 100 cost = 35 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mbs_vision2030_blitz" add_timed_idea = { idea = SAU_decree_mbs_vision2030_blitz days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mbs_vision2030_blitz" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_mbs_anticorruption_drive = { icon = generic_political_discourse priority = 100 cost = 25 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mbs_anticorruption_drive" add_political_power = 100 add_timed_idea = { idea = SAU_decree_mbs_anticorruption_drive days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mbs_anticorruption_drive" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_mbs_gami_localization = { icon = GFX_decision_generic_army_support priority = 100 cost = 30 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mbs_gami_localization" add_timed_idea = { idea = SAU_decree_mbs_gami_localization days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mbs_gami_localization" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_mbs_pif_neom = { icon = GFX_decision_generic_construction priority = 100 cost = 30 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mbs_pif_neom" add_timed_idea = { idea = SAU_decree_mbs_pif_neom days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mbs_pif_neom" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } SAU_mbs_aramco_liquidity = { icon = petro_dollar priority = 100 cost = 20 days_remove = 60 available = { NOT = { has_country_flag = SAU_royal_decree_active } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_mbs_aramco_liquidity" add_timed_idea = { idea = SAU_decree_mbs_aramco_liquidity days = 60 } set_country_flag = SAU_royal_decree_active } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_mbs_aramco_liquidity" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 8 } } } SAU_debug_category = { SAU_debug_shura_seat_jump = { icon = GFX_decision_generic_political_discourse priority = 85 cost = 0 visible = { has_country_flag = SAU_shura_open NOT = { has_country_flag = SAU_shura_chartered } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_shura_seat_jump" add_to_variable = { SAU_shura_technocrats = 30 } subtract_from_variable = { SAU_shura_ulema = 10 } subtract_from_variable = { SAU_shura_notables = 10 } SAU_shura_set_tier = yes } ai_will_do = { base = 0 } } SAU_debug_corp_readout = { icon = GFX_decision_generic_political_discourse priority = 84 available = { always = no } cost = 0 visible = { has_dynamic_modifier = { modifier = SAU_corporate_policy } } ai_will_do = { base = 0 } } SAU_debug_junta_control_up = { icon = GFX_decision_generic_military priority = 83 cost = 0 visible = { has_country_flag = SAU_military_coup_ready NOT = { has_country_flag = SAU_military_rule_ended } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_junta_control_up" add_to_variable = { SAU_junta_control = 25 } SAU_junta_set_tier = yes } ai_will_do = { base = 0 } } SAU_debug_junta_control_down = { icon = GFX_decision_generic_military priority = 82 cost = 0 visible = { has_country_flag = SAU_military_coup_ready NOT = { has_country_flag = SAU_military_rule_ended } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_junta_control_down" subtract_from_variable = { SAU_junta_control = 25 } SAU_junta_set_tier = yes } ai_will_do = { base = 0 } } SAU_debug_junta_open = { icon = GFX_decision_generic_military priority = 89 cost = 0 visible = { NOT = { has_country_flag = SAU_military_coup_ready } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_junta_open" set_country_flag = SAU_officer_grievance_active set_country_flag = SAU_order_to_deploy_given set_variable = { SAU_army_grievance = 80 } hidden_effect = { SAU_army_grievance_set_tier = yes } country_event = SAU_events.147 } ai_will_do = { base = 0 } } SAU_debug_junta_legitimacy_zero = { icon = GFX_decision_generic_military priority = 88 cost = 0 visible = { has_country_flag = SAU_military_coup_ready NOT = { has_country_flag = SAU_military_rule_ended } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_junta_legitimacy_zero" set_variable = { SAU_junta_legitimacy = 0 } SAU_junta_set_tier = yes } ai_will_do = { base = 0 } } SAU_debug_junta_legitimacy_up = { icon = GFX_decision_generic_military priority = 87 cost = 0 visible = { has_country_flag = SAU_military_coup_ready NOT = { has_country_flag = SAU_military_rule_ended } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_junta_legitimacy_up" add_to_variable = { SAU_junta_legitimacy = 25 } SAU_junta_set_tier = yes } ai_will_do = { base = 0 } } SAU_debug_oil_dep_readout = { icon = GFX_decision_generic_political_discourse priority = 86 available = { always = no } cost = 0 ai_will_do = { base = 0 } } SAU_debug_pc_readout = { icon = GFX_decision_generic_political_discourse priority = 82 cost = 0 visible = { always = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_pc_readout" add_political_power = 0 } ai_will_do = { base = 0 } } SAU_debug_pc_open = { icon = GFX_decision_generic_political_discourse priority = 81 cost = 0 visible = { NOT = { has_country_flag = SAU_peoples_council_open } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_pc_open" set_country_flag = SAU_peoples_council_open set_variable = { SAU_pc_standing = 50 } set_variable = { SAU_pc_reformists = 40 } set_variable = { SAU_pc_traditionalists = 40 } set_variable = { SAU_pc_provincials = 40 } } ai_will_do = { base = 0 } } SAU_debug_pc_standing_up = { icon = GFX_decision_generic_political_discourse priority = 80 cost = 0 visible = { has_country_flag = SAU_peoples_council_open } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_pc_standing_up" add_to_variable = { SAU_pc_standing = 20 } SAU_pc_clamp_seats = yes } ai_will_do = { base = 0 } } SAU_debug_pc_reset_cycle = { icon = GFX_decision_generic_political_discourse priority = 79 cost = 0 visible = { OR = { has_country_flag = SAU_pc_debate_ongoing has_country_flag = SAU_pc_doing_bill } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_pc_reset_cycle" clr_country_flag = SAU_pc_debate_ongoing clr_country_flag = SAU_pc_doing_bill } ai_will_do = { base = 0 } } SAU_debug_shura_readout = { icon = GFX_decision_generic_political_discourse priority = 85 cost = 0 visible = { always = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_shura_readout" add_political_power = 0 } ai_will_do = { base = 0 } } SAU_debug_shura_open = { icon = GFX_decision_generic_political_discourse priority = 84 cost = 0 visible = { NOT = { has_country_flag = SAU_shura_open } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_shura_open" set_country_flag = SAU_shura_open set_variable = { SAU_shura_ulema = 50 } set_variable = { SAU_shura_technocrats = 50 } set_variable = { SAU_shura_notables = 50 } SAU_shura_set_tier = yes } ai_will_do = { base = 0 } } SAU_debug_shura_dissolve = { icon = GFX_decision_generic_political_discourse priority = 83 cost = 0 visible = { has_country_flag = SAU_shura_open } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_shura_dissolve" SAU_shura_dissolve = yes } ai_will_do = { base = 0 } } SAU_debug_storm_readout = { icon = GFX_decision_generic_army_support priority = 88 cost = 0 visible = { always = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_storm_readout" add_political_power = 0 } ai_will_do = { base = 0 } } SAU_debug_storm_open = { icon = GFX_decision_generic_army_support priority = 87 cost = 0 visible = { NOT = { has_country_flag = SAU_decisive_storm_launched } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_storm_open" country_event = SAU_events.194 } ai_will_do = { base = 0 } } SAU_debug_storm_complete_civil_war = { icon = GFX_decision_generic_army_support priority = 86 cost = 0 visible = { NOT = { has_completed_focus = SAU_the_yemeni_civil_war } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_storm_complete_civil_war" complete_national_focus = SAU_the_yemeni_civil_war } ai_will_do = { base = 0 } } SAU_debug_grievance_readout = { icon = GFX_decision_generic_military priority = 91 cost = 0 visible = { always = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_grievance_readout" add_political_power = 0 } ai_will_do = { base = 0 } } SAU_debug_grievance_open = { icon = GFX_decision_generic_military priority = 90 cost = 0 visible = { NOT = { has_country_flag = SAU_officer_grievance_active } NOT = { has_country_flag = SAU_military_coup_ready } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_grievance_open" set_country_flag = SAU_oil_crash_2008 country_event = SAU_events.145 } ai_will_do = { base = 0 } } SAU_debug_grievance_up = { icon = GFX_decision_generic_military priority = 89 cost = 0 visible = { has_country_flag = SAU_officer_grievance_active NOT = { has_country_flag = SAU_military_coup_ready } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_grievance_up" add_to_variable = { SAU_army_grievance = 25 } clamp_variable = { var = SAU_army_grievance min = 0 max = 100 } SAU_army_grievance_set_tier = yes } ai_will_do = { base = 0 } } SAU_debug_faisalite_readout = { icon = GFX_decision_generic_political_discourse priority = 95 cost = 0 visible = { always = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_faisalite_readout" add_political_power = 0 } ai_will_do = { base = 0 } } SAU_debug_faisalite_open = { icon = GFX_decision_generic_political_discourse priority = 94 cost = 0 visible = { NOT = { has_country_flag = SAU_faisalite_circle_active } NOT = { has_country_flag = SAU_faisalite_path_open } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_faisalite_open" country_event = SAU_events.185 } ai_will_do = { base = 0 } } SAU_debug_faisalite_conviction_up = { icon = GFX_decision_generic_political_discourse priority = 93 cost = 0 visible = { has_country_flag = SAU_faisalite_circle_active NOT = { has_country_flag = SAU_faisalite_path_open } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_faisalite_conviction_up" add_to_variable = { SAU_faisalite_conviction = 25 } SAU_faisalite_conviction_set_tier = yes } ai_will_do = { base = 0 } } SAU_debug_faisalite_pivot = { icon = GFX_decision_generic_political_discourse priority = 92 cost = 0 visible = { has_country_flag = SAU_faisalite_circle_active NOT = { has_country_flag = SAU_faisalite_path_open } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_faisalite_pivot" country_event = SAU_events.188 } ai_will_do = { base = 0 } } SAU_debug_king_abdullah = { icon = GFX_decision_generic_nationalism priority = 100 cost = 0 visible = { salafist_kingdom_are_in_power = yes NOT = { check_variable = { SAU_current_king = 1 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_king_abdullah" SAU_debug_reset_reign = yes set_variable = { SAU_current_king = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Abdullah bin Abdulaziz Al-Saud" picture = "Abdullah_bin_Abdulaziz_Al-Saud.dds" ideology = Kingdom traits = { king salafist_Kingdom pro_american anti_zionist capable } } SAU_init_succession_race = yes } ai_will_do = { base = 0 } } SAU_debug_king_salman = { icon = GFX_decision_generic_nationalism priority = 100 cost = 0 visible = { salafist_kingdom_are_in_power = yes NOT = { check_variable = { SAU_current_king = 2 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_king_salman" SAU_debug_reset_reign = yes set_variable = { SAU_current_king = 2 } set_variable = { Kingdom_leader = 0 } set_leader = yes set_variable = { SAU_salman_health = 100 } SAU_salman_health_set_tier = yes SAU_init_crown_prince_race = yes } ai_will_do = { base = 0 } } SAU_debug_king_mbn = { icon = GFX_decision_generic_nationalism priority = 100 cost = 0 visible = { salafist_kingdom_are_in_power = yes NOT = { check_variable = { SAU_current_king = 3 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_king_mbn" SAU_debug_reset_reign = yes set_variable = { SAU_current_king = 3 } set_variable = { Kingdom_leader = 1 } set_leader = yes } ai_will_do = { base = 0 } } SAU_debug_king_mutaib = { icon = GFX_decision_generic_nationalism priority = 100 cost = 0 visible = { salafist_kingdom_are_in_power = yes NOT = { check_variable = { SAU_current_king = 4 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_king_mutaib" SAU_debug_reset_reign = yes set_variable = { SAU_current_king = 4 } set_variable = { Kingdom_leader = 4 } set_leader = yes } ai_will_do = { base = 0 } } SAU_debug_king_mbs = { icon = GFX_decision_generic_nationalism priority = 100 cost = 0 visible = { salafist_kingdom_are_in_power = yes NOT = { check_variable = { SAU_current_king = 5 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_king_mbs" SAU_debug_reset_reign = yes set_variable = { SAU_current_king = 5 } set_variable = { Kingdom_leader = 2 } set_leader = yes } ai_will_do = { base = 0 } } SAU_debug_clear_decree_lock = { icon = GFX_decision_generic_decision priority = 100 cost = 0 visible = { has_country_flag = SAU_royal_decree_active } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_clear_decree_lock" clr_country_flag = SAU_royal_decree_active } ai_will_do = { base = 0 } } SAU_debug_drain_salman_health = { icon = generic_political_discourse priority = 100 cost = 0 visible = { check_variable = { SAU_current_king = 2 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_debug_drain_salman_health" set_variable = { SAU_salman_health = 0 } SAU_salman_health_set_tier = yes } ai_will_do = { base = 0 } } } SAU_faisalite_category = { SAU_faisalite_score_interventionist = { icon = GFX_decision_generic_form_nation priority = 200 available = { always = no } cost = 0 ai_will_do = { base = 0 } } SAU_faisalite_score_isolationist = { icon = GFX_decision_generic_nationalism priority = 200 available = { always = no } cost = 0 ai_will_do = { base = 0 } } SAU_faisalite_iso_buy_foreign_firms = { icon = generic_factory priority = 100 cost = 120 days_remove = 180 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = SAU_faisalite_slots_tt check_variable = { SAU_faisalite_active < 2 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_faisalite_iso_buy_foreign_firms" add_to_variable = { SAU_faisalite_active = 1 } set_temp_variable = { treasury_change = -50 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_faisalite_iso_buy_foreign_firms" subtract_from_variable = { SAU_faisalite_active = 1 } add_stability = 0.03 add_timed_idea = { idea = SAU_faisalite_nationalised_management days = 365 } add_to_variable = { SAU_faisalite_isolationist = 3 tooltip = SAU_faisalite_isolationist_tt } hidden_effect = { SAU_faisalite_update_balance = yes } } ai_will_do = { base = 3 modifier = { is_historical_focus_on = yes factor = 0.50 } modifier = { has_active_mission = bankruptcy_incoming_collapse factor = 0 } } } SAU_faisalite_iso_repatriate_reserves = { icon = petro_dollar priority = 100 cost = 100 days_remove = 180 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = SAU_faisalite_slots_tt check_variable = { SAU_faisalite_active < 2 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_faisalite_iso_repatriate_reserves" add_to_variable = { SAU_faisalite_active = 1 } set_temp_variable = { treasury_change = 20 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_faisalite_iso_repatriate_reserves" subtract_from_variable = { SAU_faisalite_active = 1 } add_stability = -0.02 add_opinion_modifier = { target = USA modifier = medium_decrease } add_opinion_modifier = { target = ENG modifier = medium_decrease } add_to_variable = { SAU_faisalite_isolationist = 3 tooltip = SAU_faisalite_isolationist_tt } hidden_effect = { SAU_faisalite_update_balance = yes } } ai_will_do = { base = 3 modifier = { is_historical_focus_on = yes factor = 0.50 } } } SAU_faisalite_iso_cancel_visas = { icon = GFX_decision_generic_civil_support priority = 100 cost = 80 days_remove = 120 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = SAU_faisalite_slots_tt check_variable = { SAU_faisalite_active < 2 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_faisalite_iso_cancel_visas" add_to_variable = { SAU_faisalite_active = 1 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_faisalite_iso_cancel_visas" subtract_from_variable = { SAU_faisalite_active = 1 } add_stability = 0.02 add_timed_idea = { idea = SAU_faisalite_labour_shortage days = 180 } add_to_variable = { SAU_faisalite_isolationist = 2 tooltip = SAU_faisalite_isolationist_tt } hidden_effect = { SAU_faisalite_update_balance = yes } } ai_will_do = { base = 3 modifier = { is_historical_focus_on = yes factor = 0.50 } } } SAU_faisalite_iso_import_licences = { icon = GFX_decision_eng_trade_unions_support priority = 100 cost = 60 days_remove = 120 days_re_enable = 120 available = { custom_trigger_tooltip = { tooltip = SAU_faisalite_slots_tt check_variable = { SAU_faisalite_active < 2 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_faisalite_iso_import_licences" add_to_variable = { SAU_faisalite_active = 1 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_faisalite_iso_import_licences" subtract_from_variable = { SAU_faisalite_active = 1 } add_timed_idea = { idea = SAU_faisalite_import_rationing days = 120 } add_to_variable = { SAU_faisalite_isolationist = 2 tooltip = SAU_faisalite_isolationist_tt } hidden_effect = { SAU_faisalite_update_balance = yes } } ai_will_do = { base = 3 modifier = { is_historical_focus_on = yes factor = 0.50 } } } SAU_faisalite_iso_close_foreign_schools = { icon = generic_research priority = 100 cost = 40 days_remove = 90 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = SAU_faisalite_slots_tt check_variable = { SAU_faisalite_active < 2 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_faisalite_iso_close_foreign_schools" add_to_variable = { SAU_faisalite_active = 1 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_faisalite_iso_close_foreign_schools" subtract_from_variable = { SAU_faisalite_active = 1 } add_stability = 0.02 add_timed_idea = { idea = SAU_faisalite_closed_schools days = 365 } add_to_variable = { SAU_faisalite_isolationist = 1 tooltip = SAU_faisalite_isolationist_tt } hidden_effect = { SAU_faisalite_update_balance = yes } } ai_will_do = { base = 3 modifier = { is_historical_focus_on = yes factor = 0.50 } } } SAU_faisalite_int_officers_abroad = { icon = GFX_decision_generic_army_support priority = 100 cost = 120 days_remove = 180 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = SAU_faisalite_slots_tt check_variable = { SAU_faisalite_active < 2 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_faisalite_int_officers_abroad" add_to_variable = { SAU_faisalite_active = 1 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_faisalite_int_officers_abroad" subtract_from_variable = { SAU_faisalite_active = 1 } army_experience = 30 add_timed_idea = { idea = SAU_faisalite_officers_abroad days = 365 } add_to_variable = { SAU_faisalite_interventionist = 3 tooltip = SAU_faisalite_interventionist_tt } hidden_effect = { SAU_faisalite_update_balance = yes } } ai_will_do = { base = 8 modifier = { is_historical_focus_on = yes factor = 1.50 } } } SAU_faisalite_int_buy_satellite_channels = { icon = GFX_decision_generic_political_discourse priority = 100 cost = 80 days_remove = 120 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = SAU_faisalite_slots_tt check_variable = { SAU_faisalite_active < 2 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_faisalite_int_buy_satellite_channels" add_to_variable = { SAU_faisalite_active = 1 } set_temp_variable = { treasury_change = -12 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_faisalite_int_buy_satellite_channels" subtract_from_variable = { SAU_faisalite_active = 1 } add_stability = -0.02 add_opinion_modifier = { target = EGY modifier = medium_increase } add_opinion_modifier = { target = JOR modifier = medium_increase } add_opinion_modifier = { target = LEB modifier = medium_increase } add_to_variable = { SAU_faisalite_interventionist = 2 tooltip = SAU_faisalite_interventionist_tt } hidden_effect = { SAU_faisalite_update_balance = yes } } ai_will_do = { base = 8 modifier = { is_historical_focus_on = yes factor = 1.50 } modifier = { has_active_mission = bankruptcy_incoming_collapse factor = 0 } } } SAU_faisalite_int_pilgrimage_quotas = { icon = GFX_decision_generic_nationalism priority = 100 cost = 60 days_remove = 120 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = SAU_faisalite_slots_tt check_variable = { SAU_faisalite_active < 2 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_faisalite_int_pilgrimage_quotas" add_to_variable = { SAU_faisalite_active = 1 } set_temp_variable = { treasury_change = 4 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_faisalite_int_pilgrimage_quotas" subtract_from_variable = { SAU_faisalite_active = 1 } add_stability = -0.02 add_political_power = 30 add_to_variable = { SAU_faisalite_interventionist = 2 tooltip = SAU_faisalite_interventionist_tt } hidden_effect = { SAU_faisalite_update_balance = yes } } ai_will_do = { base = 8 modifier = { is_historical_focus_on = yes factor = 1.50 } } } SAU_faisalite_int_endow_universities = { icon = generic_research priority = 100 cost = 60 days_remove = 120 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = SAU_faisalite_slots_tt check_variable = { SAU_faisalite_active < 2 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_faisalite_int_endow_universities" add_to_variable = { SAU_faisalite_active = 1 } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_faisalite_int_endow_universities" subtract_from_variable = { SAU_faisalite_active = 1 } add_timed_idea = { idea = SAU_faisalite_foreign_endowments days = 365 } add_to_variable = { SAU_faisalite_interventionist = 2 tooltip = SAU_faisalite_interventionist_tt } hidden_effect = { SAU_faisalite_update_balance = yes } } ai_will_do = { base = 8 modifier = { is_historical_focus_on = yes factor = 1.50 } modifier = { has_active_mission = bankruptcy_incoming_collapse factor = 0 } } } SAU_faisalite_int_hard_currency_loans = { icon = petro_dollar priority = 100 cost = 60 days_remove = 120 days_re_enable = 120 available = { custom_trigger_tooltip = { tooltip = SAU_faisalite_slots_tt check_variable = { SAU_faisalite_active < 2 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_faisalite_int_hard_currency_loans" add_to_variable = { SAU_faisalite_active = 1 } set_temp_variable = { treasury_change = -8 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_faisalite_int_hard_currency_loans" subtract_from_variable = { SAU_faisalite_active = 1 } add_timed_idea = { idea = SAU_faisalite_creditor_of_the_ummah days = 120 } add_to_variable = { SAU_faisalite_interventionist = 2 tooltip = SAU_faisalite_interventionist_tt } hidden_effect = { SAU_faisalite_update_balance = yes } } ai_will_do = { base = 8 modifier = { is_historical_focus_on = yes factor = 1.50 } modifier = { has_active_mission = bankruptcy_incoming_collapse factor = 0 } } } } SAU_junta_category = { SAU_junta_address_the_nation = { icon = GFX_decision_generic_political_discourse priority = 160 cost = 100 days_re_enable = 120 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_junta_address_the_nation" add_to_variable = { SAU_junta_control = 6 tooltip = SAU_junta_control_tt } add_to_variable = { SAU_junta_legitimacy = 6 tooltip = SAU_junta_legitimacy_tt } hidden_effect = { SAU_junta_set_tier = yes } } ai_will_do = { base = 10 modifier = { factor = 5 check_variable = { SAU_junta_legitimacy < 40 } } } } SAU_junta_tour_the_provinces = { icon = GFX_decision_generic_civil_support priority = 160 cost = 50 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_junta_tour_the_provinces" set_temp_variable = { treasury_change = -10.00 } modify_treasury_effect = yes add_to_variable = { SAU_junta_legitimacy = 10 tooltip = SAU_junta_legitimacy_tt } hidden_effect = { SAU_junta_set_tier = yes } } ai_will_do = { base = 10 modifier = { has_active_mission = bankruptcy_incoming_collapse factor = 0 } modifier = { factor = 5 check_variable = { SAU_junta_legitimacy < 40 } } } } SAU_junta_reinforce_garrisons = { icon = GFX_decision_generic_army_support priority = 160 cost = 50 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_junta_reinforce_garrisons" set_temp_variable = { treasury_change = -10.00 } modify_treasury_effect = yes add_to_variable = { SAU_junta_control = 10 tooltip = SAU_junta_control_tt } hidden_effect = { SAU_junta_set_tier = yes } } ai_will_do = { base = 10 modifier = { has_active_mission = bankruptcy_incoming_collapse factor = 0 } modifier = { factor = 5 check_variable = { SAU_junta_control < 40 } } } } SAU_council_officer_purge = { icon = GFX_decision_generic_military priority = 140 cost = 75 days_remove = 60 days_re_enable = 60 visible = { has_completed_focus = SAU_supreme_military_council } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_council_officer_purge" add_ideas = SAU_spirit_officer_purge add_to_variable = { SAU_junta_control = -12 tooltip = SAU_junta_control_tt } add_to_variable = { SAU_junta_legitimacy = -10 tooltip = SAU_junta_legitimacy_tt } hidden_effect = { SAU_junta_set_tier = yes } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_council_officer_purge" remove_ideas = SAU_spirit_officer_purge } ai_will_do = { base = 8 } } SAU_council_public_accounts = { icon = GFX_decision_generic_political_discourse priority = 140 cost = 75 days_remove = 60 days_re_enable = 60 visible = { has_completed_focus = SAU_supreme_military_council } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_council_public_accounts" add_ideas = SAU_spirit_public_accounts add_to_variable = { SAU_junta_control = -8 tooltip = SAU_junta_control_tt } add_to_variable = { SAU_junta_legitimacy = -8 tooltip = SAU_junta_legitimacy_tt } hidden_effect = { SAU_junta_set_tier = yes } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_council_public_accounts" remove_ideas = SAU_spirit_public_accounts } ai_will_do = { base = 8 } } SAU_council_national_service = { icon = GFX_decision_generic_nationalism priority = 140 cost = 60 days_remove = 60 days_re_enable = 60 visible = { has_completed_focus = SAU_supreme_military_council } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_council_national_service" add_ideas = SAU_spirit_national_service add_to_variable = { SAU_junta_control = -5 tooltip = SAU_junta_control_tt } add_to_variable = { SAU_junta_legitimacy = -5 tooltip = SAU_junta_legitimacy_tt } hidden_effect = { SAU_junta_set_tier = yes } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_council_national_service" remove_ideas = SAU_spirit_national_service } ai_will_do = { base = 8 } } SAU_council_officer_housing = { icon = GFX_decision_generic_civil_support priority = 140 cost = 90 days_remove = 60 days_re_enable = 60 visible = { has_completed_focus = SAU_supreme_military_council } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_council_officer_housing" add_ideas = SAU_spirit_officer_housing add_to_variable = { SAU_junta_control = -10 tooltip = SAU_junta_control_tt } add_to_variable = { SAU_junta_legitimacy = -8 tooltip = SAU_junta_legitimacy_tt } hidden_effect = { SAU_junta_set_tier = yes } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_council_officer_housing" remove_ideas = SAU_spirit_officer_housing } ai_will_do = { base = 8 } } SAU_council_security_directorate = { icon = generic_operation priority = 140 cost = 90 days_remove = 60 days_re_enable = 60 visible = { has_completed_focus = SAU_supreme_military_council } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_council_security_directorate" add_ideas = SAU_spirit_security_directorate add_to_variable = { SAU_junta_control = -12 tooltip = SAU_junta_control_tt } add_to_variable = { SAU_junta_legitimacy = -12 tooltip = SAU_junta_legitimacy_tt } hidden_effect = { SAU_junta_set_tier = yes } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove SAU_council_security_directorate" remove_ideas = SAU_spirit_security_directorate } ai_will_do = { base = 8 } } SAU_appoint_provincial_governor = { icon = GFX_decision_generic_decision priority = 150 state_target = yes on_map_mode = map_only highlight_states = { highlight_states_trigger = { is_owned_and_controlled_by = ROOT NOT = { has_state_flag = SAU_governor_appointed } } highlight_color_before_active = 3 highlight_color_while_active = 2 } target_trigger = { FROM = { is_owned_and_controlled_by = ROOT } } visible = { has_completed_focus = SAU_install_a_loyalist_in_the_government FROM = { NOT = { has_state_flag = SAU_governor_appointed } } } cost = 40 days_re_enable = 30 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_appoint_provincial_governor in [FROM.GetName]" FROM = { set_state_flag = SAU_governor_appointed save_event_target_as = SAU_governor_province } country_event = SAU_events.158 } ai_will_do = { base = 8 } } SAU_junta_control_readout = { icon = GFX_decision_generic_military priority = 300 available = { always = no } cost = 0 ai_will_do = { base = 0 } } SAU_junta_legitimacy_readout = { icon = GFX_decision_generic_political_discourse priority = 300 available = { always = no } cost = 0 ai_will_do = { base = 0 } } SAU_junta_standing_readout = { icon = GFX_decision_generic_nationalism priority = 300 available = { always = no } cost = 0 ai_will_do = { base = 0 } } SAU_junta_legitimacy_crisis = { icon = GFX_decision_generic_political_discourse priority = 200 activation = { has_country_flag = SAU_military_coup_ready NOT = { has_country_flag = SAU_military_rule_ended } check_variable = { SAU_junta_legitimacy < 1 } } cancel_trigger = { has_country_flag = SAU_military_rule_ended } days_mission_timeout = 180 is_good = no available = { custom_trigger_tooltip = { tooltip = SAU_junta_crisis_restore_tt check_variable = { SAU_junta_legitimacy > 19 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_junta_legitimacy_crisis complete" custom_effect_tooltip = SAU_junta_crisis_survived_tt add_stability = 0.05 add_war_support = 0.03 country_event = { id = SAU_events.153 days = 1 } } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_junta_legitimacy_crisis timeout" country_event = { id = SAU_events.154 days = 1 } } } } SAU_officer_crisis_category = { SAU_officer_grievance_readout = { icon = GFX_decision_generic_military priority = 200 available = { always = no } cost = 0 ai_will_do = { base = 0 } } SAU_officers_pay_arrears = { icon = GFX_decision_generic_army_support priority = 190 cost = 50 days_re_enable = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_officers_pay_arrears" set_temp_variable = { treasury_change = -12.00 } modify_treasury_effect = yes subtract_from_variable = { SAU_army_grievance = 20 tooltip = SAU_army_grievance_down_tt } hidden_effect = { SAU_army_grievance_set_tier = yes } } ai_will_do = { base = 20 modifier = { has_active_mission = bankruptcy_incoming_collapse factor = 0 } } } SAU_officers_promote_colonels = { icon = GFX_decision_generic_military priority = 180 cost = 100 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_officers_promote_colonels" subtract_from_variable = { SAU_army_grievance = 15 tooltip = SAU_army_grievance_down_tt } hidden_effect = { SAU_army_grievance_set_tier = yes } add_stability = 0.02 } ai_will_do = { base = 20 } } SAU_officers_restore_defence_budget = { icon = GFX_decision_generic_army_support priority = 170 cost = 75 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_officers_restore_defence_budget" set_temp_variable = { treasury_change = -25.00 } modify_treasury_effect = yes subtract_from_variable = { SAU_army_grievance = 25 tooltip = SAU_army_grievance_down_tt } hidden_effect = { SAU_army_grievance_set_tier = yes } clr_country_flag = SAU_sang_shielded custom_effect_tooltip = SAU_sang_unshielded_tt } ai_will_do = { base = 20 modifier = { has_active_mission = bankruptcy_incoming_collapse factor = 0 } } } SAU_officers_settle_for_good = { icon = GFX_decision_generic_political_discourse priority = 160 cost = 150 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = SAU_officers_settle_gate_tt check_variable = { SAU_army_grievance < 1 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_officers_settle_for_good" set_country_flag = SAU_officers_stood_down clr_country_flag = SAU_officer_grievance_active set_variable = { SAU_army_grievance = 0 } hidden_effect = { SAU_army_grievance_set_tier = yes } add_stability = 0.05 add_political_power = 50 country_event = { id = SAU_events.193 days = 2 } } ai_will_do = { base = 20 } } } SAU_coalition_member_category = { SAU_coalition_member_strike = { icon = GFX_decision_generic_army_support priority = 200 state_target = yes on_map_mode = map_only highlight_states = { highlight_states_trigger = { is_owned_by = HOU } highlight_color_before_active = 3 highlight_color_while_active = 2 } target_trigger = { FROM = { is_owned_by = HOU } } cost = 25 days_re_enable = 21 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_coalition_member_strike" FROM = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 2 } } if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 1 } } if = { limit = { anti_air_building > 0 } damage_building = { type = anti_air_building damage = 1 } } add_manpower = -2000 } } ai_will_do = { base = 10 } } SAU_coalition_member_arm_yemen = { icon = GFX_decision_generic_army_support priority = 190 cost = 40 days_re_enable = 30 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_coalition_member_arm_yemen" if = { limit = { country_exists = YEM } YEM = { add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 1500 producer = ROOT } add_manpower = 8000 army_experience = 10 add_opinion_modifier = { target = ROOT modifier = military_aid } } } } ai_will_do = { base = 10 } } SAU_coalition_member_leave = { icon = GFX_decision_generic_political_discourse priority = 180 cost = 75 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_coalition_member_leave" clr_country_flag = SAU_joined_the_coalition if = { limit = { country_exists = SAU } SAU = { subtract_from_variable = { SAU_coalition_partners = 1 tooltip = SAU_coalition_partners_tt } add_opinion_modifier = { target = ROOT modifier = SAU_talks_collapsed } } add_opinion_modifier = { target = SAU modifier = SAU_talks_collapsed } } add_political_power = 50 add_stability = 0.03 } ai_will_do = { base = 3 } } } SAU_councils_category = { SAU_pc_enact_reformist = { icon = GFX_decision_generic_political_discourse priority = 198 activation = { always = no } available = { custom_trigger_tooltip = { tooltip = SAU_pc_enact_reformist_tt has_political_power > 299 check_variable = { SAU_pc_standing > 39 } } } ai_hint_pp_cost = 300 days_mission_timeout = 365 is_good = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_pc_enact_reformist complete" add_political_power = -300 custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SAU_Monarchy_house_of_al_saud } add_to_variable = { SAU_production_speed_infrastructure_factor = 0.03 tooltip = production_speed_infrastructure_factor_tt } add_to_variable = { SAU_production_speed_industrial_complex_factor = 0.02 tooltip = production_speed_industrial_complex_factor_tt } hidden_effect = { add_to_variable = { SAU_pc_standing = 5 } SAU_pc_clamp_seats = yes } } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_pc_enact_reformist timeout" custom_effect_tooltip = SAU_pc_bill_unenacted_tt add_stability = -0.04 hidden_effect = { subtract_from_variable = { SAU_pc_standing = 15 } SAU_pc_clamp_seats = yes } } } SAU_pc_enact_traditionalist = { icon = GFX_decision_generic_political_discourse priority = 198 activation = { always = no } available = { custom_trigger_tooltip = { tooltip = SAU_pc_enact_traditionalist_tt has_political_power > 299 check_variable = { SAU_pc_standing > 39 } } } ai_hint_pp_cost = 300 days_mission_timeout = 365 is_good = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_pc_enact_traditionalist complete" add_political_power = -300 custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SAU_Monarchy_house_of_al_saud } add_to_variable = { SAU_monthly_population = 0.02 tooltip = monthly_population_tt } add_to_variable = { SAU_consumer_goods_factor = -0.02 tooltip = consumer_goods_factor_tt } hidden_effect = { add_to_variable = { SAU_pc_standing = 5 } SAU_pc_clamp_seats = yes } } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_pc_enact_traditionalist timeout" custom_effect_tooltip = SAU_pc_bill_unenacted_tt add_stability = -0.04 hidden_effect = { subtract_from_variable = { SAU_pc_standing = 15 } SAU_pc_clamp_seats = yes } } } SAU_pc_enact_provincial = { icon = GFX_decision_generic_political_discourse priority = 198 activation = { always = no } available = { custom_trigger_tooltip = { tooltip = SAU_pc_enact_provincial_tt has_political_power > 299 check_variable = { SAU_pc_standing > 39 } } } ai_hint_pp_cost = 300 days_mission_timeout = 365 is_good = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_pc_enact_provincial complete" add_political_power = -300 custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SAU_Monarchy_house_of_al_saud } add_to_variable = { SAU_recruitable_population = 0.02 tooltip = recruitable_population_tt } add_to_variable = { SAU_corruption_cost = -0.03 tooltip = corruption_cost_factor_tt } hidden_effect = { add_to_variable = { SAU_pc_standing = 5 } SAU_pc_clamp_seats = yes } } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_pc_enact_provincial timeout" custom_effect_tooltip = SAU_pc_bill_unenacted_tt add_stability = -0.04 hidden_effect = { subtract_from_variable = { SAU_pc_standing = 15 } SAU_pc_clamp_seats = yes } } } SAU_pc_readout = { icon = GFX_decision_generic_political_discourse priority = 175 visible = { has_country_flag = SAU_peoples_council_open } available = { always = no } cost = 0 ai_will_do = { base = 0 } } SAU_pc_convene = { icon = GFX_decision_generic_political_discourse priority = 174 visible = { has_country_flag = SAU_peoples_council_open NOT = { has_country_flag = SAU_pc_debate_ongoing } NOT = { has_country_flag = SAU_pc_doing_bill } } cost = 60 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pc_convene" set_country_flag = SAU_pc_debate_ongoing clr_country_flag = SAU_pc_bill_answered custom_effect_tooltip = SAU_pc_convene_tt activate_mission = SAU_pc_session_clock } ai_will_do = { base = 8 } } SAU_pc_session_clock = { icon = GFX_decision_generic_political_discourse priority = 199 activation = { always = no } available = { custom_trigger_tooltip = { tooltip = SAU_pc_answer_the_chamber_tt has_country_flag = SAU_pc_bill_answered } } days_mission_timeout = 21 is_good = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_pc_session_clock complete" clr_country_flag = SAU_pc_debate_ongoing clr_country_flag = SAU_pc_doing_bill } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_pc_session_clock timeout" clr_country_flag = SAU_pc_debate_ongoing clr_country_flag = SAU_pc_doing_bill add_political_power = -100 add_stability = -0.03 custom_effect_tooltip = SAU_pc_ignored_tt hidden_effect = { subtract_from_variable = { SAU_pc_standing = 10 } clamp_variable = { var = SAU_pc_standing min = 0 max = 100 } } } } SAU_pc_take_reformist_bill = { icon = GFX_decision_generic_political_discourse priority = 173 visible = { has_country_flag = SAU_pc_debate_ongoing NOT = { has_country_flag = SAU_pc_doing_bill } check_variable = { SAU_pc_reformists > 20 } } cost = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pc_take_reformist_bill" set_country_flag = SAU_pc_doing_bill set_country_flag = SAU_pc_bill_answered clr_country_flag = SAU_pc_debate_ongoing country_event = SAU_events.206 } ai_will_do = { base = 5 } } SAU_pc_take_traditionalist_bill = { icon = GFX_decision_generic_political_discourse priority = 172 visible = { has_country_flag = SAU_pc_debate_ongoing NOT = { has_country_flag = SAU_pc_doing_bill } check_variable = { SAU_pc_traditionalists > 20 } } cost = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pc_take_traditionalist_bill" set_country_flag = SAU_pc_doing_bill set_country_flag = SAU_pc_bill_answered clr_country_flag = SAU_pc_debate_ongoing country_event = SAU_events.207 } ai_will_do = { base = 5 } } SAU_pc_take_provincial_bill = { icon = GFX_decision_generic_political_discourse priority = 171 visible = { has_country_flag = SAU_pc_debate_ongoing NOT = { has_country_flag = SAU_pc_doing_bill } check_variable = { SAU_pc_provincials > 20 } } cost = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pc_take_provincial_bill" set_country_flag = SAU_pc_doing_bill set_country_flag = SAU_pc_bill_answered clr_country_flag = SAU_pc_debate_ongoing country_event = SAU_events.208 } ai_will_do = { base = 5 } } SAU_pc_public_works = { icon = GFX_decision_generic_political_discourse priority = 170 visible = { has_country_flag = SAU_peoples_council_open NOT = { has_country_flag = SAU_pc_works_underway } } available = { custom_trigger_tooltip = { tooltip = SAU_pc_works_gate_tt check_variable = { SAU_pc_standing > 59 } } custom_trigger_tooltip = { tooltip = SAU_pc_works_somewhere_tt any_owned_state = { is_core_of = ROOT is_controlled_by = ROOT NOT = { has_state_flag = SAU_pc_works_done } # Rub' al Khali and the Najrani Desert are impassable - nothing can be built there NOT = { state = 175 } NOT = { state = 1120 } free_building_slots = { building = industrial_complex size > 0 include_locked = yes } free_building_slots = { building = infrastructure size > 0 } } } } cost = 50 days_re_enable = 30 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pc_public_works" set_country_flag = SAU_pc_works_underway hidden_effect = { if = { limit = { check_variable = { SAU_pc_req_civ < 1 } } set_variable = { SAU_pc_req_civ = 1 } } if = { limit = { check_variable = { SAU_pc_req_off < 1 } } set_variable = { SAU_pc_req_off = 1 } } if = { limit = { check_variable = { SAU_pc_req_inf < 1 } } set_variable = { SAU_pc_req_inf = 1 } } random_owned_controlled_state = { limit = { is_core_of = ROOT NOT = { has_state_flag = SAU_pc_works_done } NOT = { state = 175 } NOT = { state = 1120 } free_building_slots = { building = industrial_complex size > 0 include_locked = yes } free_building_slots = { building = infrastructure size > 0 } } save_global_event_target_as = SAU_pc_works_province } SAU_pc_set_mandate = yes } custom_effect_tooltip = SAU_pc_works_named_tt activate_mission = SAU_pc_works_mandate set_temp_variable = { treasury_change = -4.00 } modify_treasury_effect = yes } ai_will_do = { base = 8 modifier = { has_active_mission = bankruptcy_incoming_collapse factor = 0 } } } SAU_pc_works_mandate = { icon = GFX_decision_generic_political_discourse priority = 197 activation = { always = no } available = { custom_trigger_tooltip = { tooltip = SAU_pc_works_build_tt OR = { check_variable = { SAU_pc_mandate_civ < 1 } AND = { check_variable = { SAU_pc_mandate_civ < 2 } event_target:SAU_pc_works_province = { industrial_complex > 0 } } AND = { check_variable = { SAU_pc_mandate_civ < 3 } event_target:SAU_pc_works_province = { industrial_complex > 1 } } event_target:SAU_pc_works_province = { industrial_complex > 2 } } OR = { check_variable = { SAU_pc_mandate_off < 1 } AND = { check_variable = { SAU_pc_mandate_off < 2 } event_target:SAU_pc_works_province = { offices > 0 } } AND = { check_variable = { SAU_pc_mandate_off < 3 } event_target:SAU_pc_works_province = { offices > 1 } } event_target:SAU_pc_works_province = { offices > 2 } } OR = { check_variable = { SAU_pc_mandate_inf < 1 } AND = { check_variable = { SAU_pc_mandate_inf < 2 } event_target:SAU_pc_works_province = { infrastructure > 0 } } event_target:SAU_pc_works_province = { infrastructure > 1 } } } } days_mission_timeout = 730 is_good = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_pc_works_mandate complete" clr_country_flag = SAU_pc_works_underway event_target:SAU_pc_works_province = { set_state_flag = SAU_pc_works_done add_dynamic_modifier = { modifier = SAU_peoples_council_works } } custom_effect_tooltip = SAU_pc_works_finished_tt hidden_effect = { add_to_variable = { SAU_pc_standing = 5 } add_to_variable = { SAU_pc_req_civ = 1 } add_to_variable = { SAU_pc_req_off = 1 } add_to_variable = { SAU_pc_req_inf = 1 } SAU_pc_clamp_works = yes } } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission SAU_pc_works_mandate timeout" clr_country_flag = SAU_pc_works_underway event_target:SAU_pc_works_province = { if = { limit = { industrial_complex > 0 } remove_building = { type = industrial_complex level = 1 } } } custom_effect_tooltip = SAU_pc_works_abandoned_tt add_stability = -0.03 hidden_effect = { subtract_from_variable = { SAU_pc_standing = 15 } SAU_pc_clamp_works = yes } } } SAU_pc_dissolve = { icon = GFX_decision_generic_political_discourse priority = 169 visible = { has_country_flag = SAU_peoples_council_open } cost = 150 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_pc_dissolve" clr_country_flag = SAU_peoples_council_open custom_effect_tooltip = SAU_pc_dissolved_tt add_stability = -0.10 add_war_support = -0.08 add_political_power = 150 hidden_effect = { set_variable = { SAU_pc_standing = 0 } } } ai_will_do = { base = 1 } } SAU_shura_seat_ulema = { icon = GFX_decision_generic_political_discourse priority = 190 cost = 50 days_re_enable = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_shura_seat_ulema" custom_effect_tooltip = SAU_shura_seat_ulema_tt hidden_effect = { add_to_variable = { SAU_shura_ulema = 10 } subtract_from_variable = { SAU_shura_technocrats = 5 } subtract_from_variable = { SAU_shura_notables = 5 } SAU_shura_set_tier = yes } } ai_will_do = { base = 8 } } SAU_shura_seat_technocrats = { icon = GFX_decision_generic_political_discourse priority = 190 cost = 50 days_re_enable = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_shura_seat_technocrats" custom_effect_tooltip = SAU_shura_seat_technocrats_tt hidden_effect = { add_to_variable = { SAU_shura_technocrats = 10 } subtract_from_variable = { SAU_shura_ulema = 5 } subtract_from_variable = { SAU_shura_notables = 5 } SAU_shura_set_tier = yes } } ai_will_do = { base = 8 } } SAU_shura_seat_notables = { icon = GFX_decision_generic_political_discourse priority = 190 cost = 50 days_re_enable = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_shura_seat_notables" custom_effect_tooltip = SAU_shura_seat_notables_tt hidden_effect = { add_to_variable = { SAU_shura_notables = 10 } subtract_from_variable = { SAU_shura_ulema = 5 } subtract_from_variable = { SAU_shura_technocrats = 5 } SAU_shura_set_tier = yes } } ai_will_do = { base = 8 } } SAU_shura_convene_session = { icon = GFX_decision_generic_political_discourse priority = 180 cost = 75 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision SAU_shura_convene_session" custom_effect_tooltip = SAU_shura_session_tt add_political_power = 60 add_stability = 0.03 # a session run by a settled Council carries further than a divided one if = { limit = { has_country_flag = SAU_shura_chartered } add_political_power = 40 add_stability = 0.02 } } ai_will_do = { base = 6 } } }