add_namespace = Kurdistan add_namespace = KurdistanNews ### Kurdish Independence Referendum ### #Kurdistan Rejoins Iraq country_event = { id = Kurdistan.2 title = Kurdistan.2.t desc = Kurdistan.2.d picture = GFX_SYR_rojava is_triggered_only = yes option = { name = Kurdistan.2.a log = "[GetDateText]: [This.GetName]: Kurdistan.2.a executed" ai_chance = { base = 100 } hidden_effect = { puppet = KUR } if = { limit = { has_global_flag = GAME_RULE_allow_colored_puppets } set_autonomy = { target = KUR autonomy_state = autonomy_autonomous_state_colored end_wars = yes end_civil_wars = yes } } else = { set_autonomy = { target = KUR autonomy_state = autonomy_autonomous_state end_wars = yes end_civil_wars = yes } } hidden_effect = { news_event = { id = KurdistanNews.1 hours = 6 } } } } #Independence Referendum is a success country_event = { id = Kurdistan.3 title = Kurdistan.3.t desc = Kurdistan.3.d picture = GFX_kurdistan_referendum is_triggered_only = yes option = { name = Kurdistan.3.a log = "[GetDateText]: [This.GetName]: Kurdistan.3.a executed" #Declare full independence ai_chance = { base = 80 } add_stability = 0.05 set_global_flag = KUR_demand_independence IRQ = { country_event = { id = Kurdistan.4 hours = 12 } } } option = { name = Kurdistan.3.b log = "[GetDateText]: [This.GetName]: Kurdistan.3.b executed" #Demand more autonomy ai_chance = { base = 20 } add_stability = 0.05 set_global_flag = KUR_demand_more_autonomy IRQ = { country_event = { id = Kurdistan.5 hours = 12 } } } } #Kurdistan demands full independence country_event = { id = Kurdistan.4 title = Kurdistan.4.t desc = Kurdistan.4.d picture = GFX_kurdistan_referendum is_triggered_only = yes option = { name = Kurdistan.4.a log = "[GetDateText]: [This.GetName]: Kurdistan.4.a executed" #No ai_chance = { base = 90 } KUR = { set_country_flag = KUR_negotiations_broken_down country_event = { id = Kurdistan.9 days = 3 } } } option = { name = Kurdistan.4.b log = "[GetDateText]: [This.GetName]: Kurdistan.4.b executed" #In exchange for Kirkuk ai_chance = { base = 9 } KUR = { country_event = { id = Kurdistan.7 days = 3 } } } option = { name = Kurdistan.4.c log = "[GetDateText]: [This.GetName]: Kurdistan.4.c executed" #Let them go ai_chance = { base = 1 } KUR = { country_event = { id = Kurdistan.6 days = 3 } } } } #Kurdistan demands more autonomy country_event = { id = Kurdistan.5 title = Kurdistan.5.t desc = Kurdistan.5.d picture = GFX_kurdistan_referendum is_triggered_only = yes option = { name = Kurdistan.5.a log = "[GetDateText]: [This.GetName]: Kurdistan.5.a executed" #No ai_chance = { base = 80 } KUR = { set_country_flag = KUR_negotiations_broken_down country_event = { id = Kurdistan.9 days = 3 } } } option = { name = Kurdistan.5.b log = "[GetDateText]: [This.GetName]: Kurdistan.5.b executed" #In exchange for Kirkuk ai_chance = { base = 10 } KUR = { country_event = { id = Kurdistan.7 days = 3 } } } option = { name = Kurdistan.5.c log = "[GetDateText]: [This.GetName]: Kurdistan.5.c executed" #Agree ai_chance = { base = 10 } KUR = { country_event = { id = Kurdistan.6 days = 3 } } } } #Iraq agrees to demands country_event = { id = Kurdistan.6 title = Kurdistan.6.t desc = Kurdistan.6.d picture = GFX_kurdistan_referendum is_triggered_only = yes option = { name = Kurdistan.6.a log = "[GetDateText]: [This.GetName]: Kurdistan.6.a executed" ai_chance = { base = 100 } if = { limit = { has_global_flag = KUR_demand_independence } add_political_power = 50 hidden_effect = { news_event = { id = KurdistanNews.3 hours = 6 } } swap_ideas = { remove_idea = non_state_actor add_idea = lacks_international_recognition } add_to_array = { global.Unrecognised_States = THIS } set_variable = { var = Granted_Recognition value = 1 } IRQ = { if = { limit = { NOT = { is_in_array = { recognised_countries = KUR } } } add_to_array = { recognised_countries = KUR } } } } if = { limit = { has_global_flag = KUR_demand_more_autonomy } IRQ = { if = { limit = { has_global_flag = GAME_RULE_allow_colored_puppets } set_autonomy = { target = KUR autonomy_state = autonomy_puppet_state_colored end_wars = yes end_civil_wars = yes } } else = { set_autonomy = { target = KUR autonomy_state = autonomy_puppet_state end_wars = yes end_civil_wars = yes } } } hidden_effect = { news_event = { id = KurdistanNews.4 hours = 6 } } } } } #Iraq demands Kirkuk country_event = { id = Kurdistan.7 title = Kurdistan.7.t desc = Kurdistan.7.d picture = GFX_kirkuk is_triggered_only = yes option = { name = Kurdistan.7.a log = "[GetDateText]: [This.GetName]: Kurdistan.7.a executed" #Give Kirkuk ai_chance = { base = 50 } country_event = { id = Kurdistan.6 hours = 6 } IRQ = { transfer_state = 165 transfer_state = 641 } if = { limit = { has_global_flag = KUR_demand_independence } swap_ideas = { remove_idea = non_state_actor add_idea = lacks_international_recognition } add_to_array = { global.Unrecognised_States = THIS } set_variable = { var = Granted_Recognition value = 0 } IRQ = { set_country_flag = original_owner_@FROM } PER = { set_country_flag = original_owner_@FROM } TUR = { set_country_flag = original_owner_@FROM } SYR = { set_country_flag = original_owner_@FROM } } } option = { name = Kurdistan.7.b log = "[GetDateText]: [This.GetName]: Kurdistan.7.b executed" #Never ai_chance = { base = 50 } IRQ = { country_event = { id = Kurdistan.8 hours = 6 } } set_country_flag = KUR_negotiations_broken_down } } #Kurdistan refuses to cede Kirkuk country_event = { id = Kurdistan.8 title = Kurdistan.8.t desc = Kurdistan.8.d picture = GFX_kirkuk is_triggered_only = yes option = { name = Kurdistan.8.a log = "[GetDateText]: [This.GetName]: Kurdistan.8.a executed" ai_chance = { base = 100 } KUR = { country_event = { id = Kurdistan.9 days = 3 } } } } #Future of Kurdistan? country_event = { id = Kurdistan.9 title = Kurdistan.9.t desc = Kurdistan.9.d picture = GFX_kurdistan is_triggered_only = yes fire_only_once = yes trigger = { original_tag = KUR has_country_flag = KUR_negotiations_broken_down } option = { name = Kurdistan.9.a log = "[GetDateText]: [This.GetName]: Kurdistan.9.a executed" #Declare full independence ai_chance = { base = 80 } hidden_effect = { IRQ = { remove_state_core = 164 } } if = { limit = { has_global_flag = KUR_demand_independence } swap_ideas = { remove_idea = non_state_actor add_idea = lacks_international_recognition } add_to_array = { global.Unrecognised_States = THIS } set_variable = { var = Granted_Recognition value = 0 } IRQ = { set_country_flag = original_owner_@FROM } PER = { set_country_flag = original_owner_@FROM } TUR = { set_country_flag = original_owner_@FROM } SYR = { set_country_flag = original_owner_@FROM } } IRQ = { country_event = { id = Kurdistan.10 days = 3 } } } option = { name = Kurdistan.9.b log = "[GetDateText]: [This.GetName]: Kurdistan.9.b executed" #Return to Iraq ai_chance = { base = 20 } IRQ = { country_event = { id = Kurdistan.2 days = 3 } } } } #Kurdistan tries to go independent country_event = { id = Kurdistan.10 title = Kurdistan.10.t desc = Kurdistan.10.d picture = GFX_kurdistan is_triggered_only = yes option = { name = Kurdistan.10.a log = "[GetDateText]: [This.GetName]: Kurdistan.10.a executed" #Prepare operations ai_chance = { base = 95 } KUR = { country_event = { id = Kurdistan.11 hours = 3 } } set_global_flag = battle_of_kirkuk_phase_1 hidden_effect = { add_state_claim = 164 } } option = { name = Kurdistan.10.b ai_chance = { base = 5 } } } #Iraq prepares operations against Kirkuk country_event = { id = Kurdistan.11 title = Kurdistan.11.t desc = Kurdistan.11.d picture = GFX_kirkuk is_triggered_only = yes option = { name = Kurdistan.11.a log = "[GetDateText]: [This.GetName]: Kurdistan.11.a executed" #Prepare of battle ai_chance = { base = 50 } custom_effect_tooltip = battle_for_kirkuk_tt set_global_flag = KUR_fight_for_kirkuk country_event = { id = Kurdistan.12 days = 7 } } option = { name = Kurdistan.11.b log = "[GetDateText]: [This.GetName]: Kurdistan.11.b executed" #Retreat ai_chance = { base = 50 } set_global_flag = KUR_retreat_from_kirkuk country_event = { id = Kurdistan.12 days = 7 } } } #Battle of Kirkuk HIDDEN country_event = { id = Kurdistan.12 is_triggered_only = yes hidden = yes fire_only_once = yes trigger = { has_global_flag = battle_of_kirkuk_phase_1 } immediate = { log = "[GetDateText]: [This.GetName]: Kurdistan.12 executed" if = { limit = { has_global_flag = KUR_retreat_from_kirkuk } IRQ = { transfer_state = 165 } news_event = KurdistanNews.5 set_global_flag = battle_of_kirkuk_phase_2 IRQ = { country_event = { id = Kurdistan.13 days = 3 } } } if = { limit = { has_global_flag = KUR_fight_for_kirkuk } random_list = { 75 = { IRQ = { transfer_state = 165 transfer_state = 641 } news_event = KurdistanNews.6 set_global_flag = battle_of_kirkuk_phase_2 set_global_flag = IRQ_victory_kirkuk IRQ = { country_event = { id = Kurdistan.13 days = 3 } } } 25 = { news_event = KurdistanNews.7 set_global_flag = battle_of_kirkuk_phase_2 set_global_flag = KUR_victory_kirkuk IRQ = { country_event = { id = Kurdistan.17 days = 3 } } } } } } } #Kirkuk occupied country_event = { id = Kurdistan.13 title = Kurdistan.13.t desc = Kurdistan.13.d picture = GFX_kirkuk is_triggered_only = yes fire_only_once = yes trigger = { tag = IRQ has_global_flag = battle_of_kirkuk_phase_2 NOT = { has_global_flag = KUR_victory_kirkuk } } option = { name = Kurdistan.13.a log = "[GetDateText]: [This.GetName]: Kurdistan.13.a executed" #Demand submission ai_chance = { base = 100 } KUR = { country_event = { id = Kurdistan.14 days = 3 } } } } #Iraq demands submission country_event = { id = Kurdistan.14 title = Kurdistan.14.t desc = Kurdistan.14.d picture = GFX_kurdistan is_triggered_only = yes option = { name = Kurdistan.14.a log = "[GetDateText]: [This.GetName]: Kurdistan.14.a executed" #Submit ai_chance = { base = 20 modifier = { factor = 2 has_global_flag = IRQ_victory_kirkuk } } if = { limit = { has_global_flag = IRQ_victory_kirkuk } custom_effect_tooltip = GAME_OVER_TT } IRQ = { country_event = { id = Kurdistan.15 days = 3 } } } option = { name = Kurdistan.14.b log = "[GetDateText]: [This.GetName]: Kurdistan.14.b executed" #Resist ai_chance = { base = 80 modifier = { factor = 0.5 has_global_flag = IRQ_victory_kirkuk } } IRQ = { country_event = { id = Kurdistan.16 days = 3 } } } } #Kurdistan submits country_event = { id = Kurdistan.15 title = Kurdistan.15.t desc = Kurdistan.15.d picture = GFX_kurdistan is_triggered_only = yes option = { name = Kurdistan.15.a log = "[GetDateText]: [This.GetName]: Kurdistan.15.a executed" ai_chance = { base = 100 } if = { limit = { has_global_flag = IRQ_victory_kirkuk } annex_country = { target = KUR } else = { set_autonomy = { target = KUR autonomy_state = autonomy_autonomous_state } } } hidden_effect = { news_event = { id = KurdistanNews.8 hours = 6 } } hidden_effect = { remove_state_claim = 164 add_state_core = 164 } if = { limit = { has_idea = lacks_international_recognition } swap_ideas = { remove_idea = lacks_international_recognition add_idea = non_state_actor } if = { limit = { is_in_array = { global.Unrecognised_States = THIS } } remove_from_array = { global.Unrecognised_States = THIS } } } } } #Kurdistan doesn't submit country_event = { id = Kurdistan.16 title = Kurdistan.16.t desc = Kurdistan.16.d picture = GFX_kurdistan is_triggered_only = yes option = { name = Kurdistan.16.a log = "[GetDateText]: [This.GetName]: Kurdistan.16.a executed" ai_chance = { base = 100 } set_temp_variable = { wargoal_on = KUR } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { type = annex_everything target = KUR } hidden_effect = { news_event = { id = KurdistanNews.9 hours = 6 } } } } #Kirkuk operation fails country_event = { id = Kurdistan.17 title = Kurdistan.17.t desc = Kurdistan.17.d picture = GFX_kurdistan is_triggered_only = yes fire_only_once = yes trigger = { tag = IRQ has_global_flag = battle_of_kirkuk_phase_2 has_global_flag = KUR_victory_kirkuk } option = { name = Kurdistan.17.a log = "[GetDateText]: [This.GetName]: Kurdistan.17.a executed" #Prepare for War ai_chance = { base = 70 } set_temp_variable = { wargoal_on = KUR } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { type = annex_everything target = KUR } hidden_effect = { news_event = { id = KurdistanNews.10 hours = 6 } } } option = { name = Kurdistan.17.b log = "[GetDateText]: [This.GetName]: Kurdistan.17.b executed" #We can't do anything ai_chance = { base = 30 } hidden_effect = { news_event = { id = KurdistanNews.11 hours = 6 } } hidden_effect = { remove_state_claim = 164 } } } country_event = { # KDP Proposes Re-Unification id = Kurdistan.18 title = Kurdistan.18.t desc = Kurdistan.18.d picture = GFX_kurdistan is_triggered_only = yes option = { # Okay name = Kurdistan.18.a log = "[GetDateText]: [This.GetName]: Kurdistan.18.a executed" KUR = { country_event = Kurdistan.20 set_temp_variable = { add_col_one = 15 } add_coalition_members_effect = yes set_temp_variable = { party_index = 15 } set_temp_variable = { party_popularity_increase = 0.25 } change_relative_party_popularity = yes change_tag_from = ROOT } if = { limit = { country_exists = KUR country_exists = PUK } KUR = { annex_country = { target = PUK transfer_troops = yes } } } ai_chance = { base = 5 modifier = { factor = 1.5 has_opinion = { target = KUR value > 100 } } modifier = { factor = 1.5 has_opinion = { target = KUR value > 150 } } modifier = { factor = 1.5 strength_ratio = { tag = KUR ratio < 0.50 } } } } # No option = { name = Kurdistan.18.b log = "[GetDateText]: [This.GetName]: Kurdistan.18.b executed" KUR = { country_event = { id = Kurdistan.19 days = 2 } } ai_chance = { base = 2 modifier = { add = 20 strength_ratio = { tag = KUR ratio > 1 } is_guaranteed_by = PER } modifier = { add = 20 is_guaranteed_by = PER } } } } country_event = { # PUK Refuses Re-Unification Talks id = Kurdistan.19 title = Kurdistan.19.t desc = Kurdistan.19.d picture = GFX_kurdistan is_triggered_only = yes option = { # Okay name = Kurdistan.19.a log = "[GetDateText]: [This.GetName]: Kurdistan.19.a executed" drop_cosmetic_tag = yes clear_variable = dynamic_flag_variant set_temp_variable = { wargoal_on = PUK } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = PUK type = annex_everything } ai_chance = { base = 5 } } } country_event = { # PUK Agrees To Re-Unification Talks id = Kurdistan.20 title = Kurdistan.20.t desc = Kurdistan.20.d picture = GFX_kurdistan is_triggered_only = yes option = { # Good name = Kurdistan.20.a log = "[GetDateText]: [This.GetName]: Kurdistan.20.a executed" drop_cosmetic_tag = yes clear_variable = dynamic_flag_variant ai_chance = { base = 5 } } } ### News Events About Kurdistan ### #Kurdistan Rejoins Iraq news_event = { id = KurdistanNews.1 title = KurdistanNews.1.t desc = KurdistanNews.1.d picture = GFX_news_fate_of_iraq is_triggered_only = yes major = yes option = { name = KurdistanNews.1.a ai_chance = { base = 100 } } } #Kurdistan Referendum is Planned news_event = { id = KurdistanNews.2 title = KurdistanNews.2.t desc = KurdistanNews.2.d picture = GFX_news_fate_of_iraq is_triggered_only = yes major = yes option = { name = KurdistanNews.2.a trigger = { OR = { tag = IRQ tag = SYR tag = TUR tag = PER } } ai_chance = { base = 100 } } option = { name = KurdistanNews.2.b trigger = { NOT = { OR = { tag = IRQ tag = SYR tag = TUR tag = PER } } } ai_chance = { base = 100 } } } #Kurdistan Referendum Succeeds - Independence news_event = { id = KurdistanNews.3 title = KurdistanNews.3.t desc = KurdistanNews.3.d picture = GFX_news_fate_of_iraq is_triggered_only = yes major = yes option = { name = KurdistanNews.3.a trigger = { OR = { tag = IRQ tag = SYR tag = TUR tag = PER } } ai_chance = { base = 100 } } option = { name = KurdistanNews.3.b trigger = { NOT = { OR = { tag = IRQ tag = SYR tag = TUR tag = PER } } } ai_chance = { base = 100 } } } #Kurdistan Referendum Succeeds - More autonomy news_event = { id = KurdistanNews.4 title = KurdistanNews.4.t desc = KurdistanNews.4.d picture = GFX_news_fate_of_iraq is_triggered_only = yes major = yes option = { name = KurdistanNews.4.a trigger = { OR = { tag = IRQ tag = SYR tag = TUR tag = PER } } ai_chance = { base = 100 } } option = { name = KurdistanNews.4.b trigger = { NOT = { OR = { tag = IRQ tag = SYR tag = TUR tag = PER } } } ai_chance = { base = 100 } } } #Iraq captures Kirkuk - no fighting news_event = { id = KurdistanNews.5 title = KurdistanNews.5.t desc = KurdistanNews.5.d picture = GFX_news_battle_of_kirkuk is_triggered_only = yes major = yes option = { name = KurdistanNews.5.a log = "[GetDateText]: [This.GetName]: KurdistanNews.5.a executed" ai_chance = { base = 100 } effect_tooltip = { IRQ = { transfer_state = 165 } } } } #Battle of Kirkuk - Iraqi victory news_event = { id = KurdistanNews.6 title = KurdistanNews.6.t desc = KurdistanNews.6.d picture = GFX_news_battle_of_kirkuk is_triggered_only = yes major = yes option = { name = KurdistanNews.6.a log = "[GetDateText]: [This.GetName]: KurdistanNews.6.a executed" ai_chance = { base = 100 } effect_tooltip = { IRQ = { transfer_state = 165 } } if = { limit = { tag = KUR } add_stability = -0.10 add_popularity = { ideology = neutrality popularity = -0.10 } } set_global_flag = IRQ_victory_kirkuk } } #Battle of Kirkuk - Kurdish victory news_event = { id = KurdistanNews.7 title = KurdistanNews.7.t desc = KurdistanNews.7.d picture = GFX_news_battle_of_kirkuk is_triggered_only = yes major = yes option = { name = KurdistanNews.7.a ai_chance = { base = 100 } } } #Kurdistan folds after Kirkuk news_event = { id = KurdistanNews.8 title = KurdistanNews.8.t desc = KurdistanNews.8.d picture = GFX_news_fate_of_iraq is_triggered_only = yes major = yes option = { name = KurdistanNews.8.a ai_chance = { base = 100 } } } #Kurdistan doesn't fold after Kirkuk news_event = { id = KurdistanNews.9 title = KurdistanNews.9.t desc = KurdistanNews.9.d picture = GFX_news_fate_of_iraq is_triggered_only = yes major = yes option = { name = KurdistanNews.9.a ai_chance = { base = 100 } } } #Iraq resumes hostilities with Kurdistan news_event = { id = KurdistanNews.10 title = KurdistanNews.10.t desc = KurdistanNews.10.d picture = GFX_news_fate_of_iraq is_triggered_only = yes major = yes option = { name = KurdistanNews.10.a ai_chance = { base = 100 } } } #Iraq abandons unification news_event = { id = KurdistanNews.11 title = KurdistanNews.11.t desc = KurdistanNews.11.d picture = GFX_news_fate_of_iraq is_triggered_only = yes major = yes option = { name = KurdistanNews.11.a ai_chance = { base = 100 } } } #Peshmerga Unification news_event = { id = KurdistanNews.12 title = KurdistanNews.12.t desc = KurdistanNews.12.d picture = GFX_event_news_KUR_peshmerga_unification is_triggered_only = yes major = yes option = { name = KurdistanNews.12.a trigger = { OR = { tag = IRQ tag = SYR tag = TUR tag = PER } } ai_chance = { base = 100 } } option = { name = KurdistanNews.12.b trigger = { NOT = { OR = { tag = IRQ tag = SYR tag = TUR tag = PER } } } ai_chance = { base = 100 } } }