add_namespace = kuban add_namespace = kuban_invest add_namespace = kuban_news country_event = { ##Kuban asking for Belarussian investments id = kuban.1 title = kuban.1.t desc = kuban.1.d picture = GFX_generic_tractor_manufacturer is_triggered_only = yes option = { name = kuban.1.a log = "[GetDateText]: [This.GetName]: kuban.1.a executed" ai_chance = { base = 1 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } KUB = { random_owned_controlled_state = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } country_event = { id = kuban.4 days = 1 } } set_temp_variable = { percent_change = 1.5 } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes set_temp_variable = { treasury_change = -7 } modify_treasury_effect = yes } option = { name = kuban.1.b log = "[GetDateText]: [This.GetName]: kuban.1.b executed" KUB = { country_event = { id = kuban.5 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = kuban.4 # BLR Accept title = kuban.4.t desc = kuban.4.d picture = GFX_handshake_black is_triggered_only = yes option = { name = kuban.4.a ai_chance = { base = 5 } } } country_event = { id = kuban.5 # BLR dont accept title = kuban.5.t desc = kuban.5.d picture = GFX_declined_offer_no is_triggered_only = yes option = { name = kuban.5.a ai_chance = { base = 5 } } } #International Investments country_event = { ##Kuban asking for chinese/german investments id = kuban_invest.1 title = kuban_invest.1.t desc = kuban_invest.1.d picture = GFX_chinese_yuan is_triggered_only = yes option = { name = kuban_invest.1.a log = "[GetDateText]: [This.GetName]: kuban_invest.1.a executed" KUB = { random_owned_controlled_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = fossil_powerplant level = 1 instant_build = yes } } country_event = { id = kuban_invest.2 days = 1 } } set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes ai_chance = { base = 1 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } } option = { name = kuban_invest.1.b log = "[GetDateText]: [This.GetName]: kuban_invest.1.b executed" KUB = { country_event = { id = kuban_invest.3 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = kuban_invest.2 # they agreed title = kuban_invest.2.t desc = kuban_invest.2.d picture = GFX_chinese_yuan is_triggered_only = yes option = { name = kuban_invest.2.a ai_chance = { base = 5 } } } country_event = { id = kuban_invest.3 # disagree title = kuban_invest.3.t desc = kuban_invest.3.d picture = GFX_chinese_yuan is_triggered_only = yes option = { name = kuban_invest.3.a ai_chance = { base = 5 } } } #USA Investments country_event = { id = kuban_invest.4 title = kuban_invest.4.t desc = kuban_invest.4.d picture = GFX_united_states_dollar is_triggered_only = yes option = { name = kuban_invest.4.a log = "[GetDateText]: [This.GetName]: kuban_invest.4.a executed" ai_chance = { base = 1 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } KUB = { random_owned_controlled_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } random_owned_controlled_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = offices level = 1 instant_build = yes } } country_event = { id = kuban_invest.5 days = 1 } } set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes } option = { name = kuban_invest.4.b log = "[GetDateText]: [This.GetName]: kuban_invest.4.b executed" KUB = { country_event = { id = kuban_invest.6 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = kuban_invest.5 # they agreed title = kuban_invest.5.t desc = kuban_invest.5.d picture = GFX_united_states_dollar is_triggered_only = yes option = { name = kuban_invest.5.a ai_chance = { base = 5 } } } country_event = { id = kuban_invest.6 #dont accept title = kuban_invest.6.t desc = kuban_invest.6.d picture = GFX_united_states_dollar is_triggered_only = yes option = { name = kuban_invest.6.a ai_chance = { base = 5 } } } #Russian Investments country_event = { id = kuban_invest.7 title = kuban_invest.7.t desc = kuban_invest.7.d picture = GFX_russian_rubles is_triggered_only = yes option = { name = kuban_invest.7.a log = "[GetDateText]: [This.GetName]: kuban_invest.7.a executed" ai_chance = { base = 1 modifier = { factor = 100 KUB = { is_subject_of = SOV } } modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } KUB = { random_owned_controlled_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } random_owned_controlled_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = offices level = 1 instant_build = yes } } country_event = { id = kuban_invest.8 days = 1 } } set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes } option = { name = kuban_invest.7.b log = "[GetDateText]: [This.GetName]: kuban_invest.7.b executed" KUB = { country_event = { id = kuban_invest.9 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = kuban_invest.8 # they agreed title = kuban_invest.8.t desc = kuban_invest.8.d picture = GFX_russian_rubles is_triggered_only = yes option = { name = kuban_invest.8.a ai_chance = { base = 5 } } } country_event = { id = kuban_invest.9 #dont accept title = kuban_invest.9.t desc = kuban_invest.9.d picture = GFX_russian_rubles is_triggered_only = yes option = { name = kuban_invest.9.a ai_chance = { base = 5 } } } #Krasnodar Metro Case country_event = { id = kuban_invest.10 # You build metro title = kuban_invest.10.t desc = kuban_invest.10.d picture = GFX_krasnodar_metro is_triggered_only = yes fire_only_once = yes option = { name = kuban_invest.10.a #build metro log = "[GetDateText]: [This.GetName]: kuban_invest.10.a executed" custom_effect_tooltip = we_will_built_metro_tt 668 = { add_state_modifier = { modifier = { army_speed_factor_for_controller = 0.30 state_productivity_growth_modifier = 0.15 state_production_speed_buildings_factor = 0.05 } } } set_temp_variable = { percent_change = 8 } set_temp_variable = { tag_index = TUR } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes ai_chance = { base = 5 } } option = { name = kuban_invest.10.b #Steal money log = "[GetDateText]: [This.GetName]: kuban_invest.10.b executed" custom_effect_tooltip = steal_turkish_money_tt hidden_effect = { KUB = { set_temp_variable = { treasury_change = 10 } modify_treasury_effect = yes } TUR = { set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes } } TUR = { country_event = { id = kuban_invest.11 days = 1 } } set_temp_variable = { percent_change = -8 } set_temp_variable = { tag_index = TUR } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes ai_chance = { base = 1 } } } country_event = { id = kuban_invest.11 #You stealed Turkish Money, KUBAN WTF??? title = kuban_invest.11.t desc = kuban_invest.11.d picture = GFX_krasnodar_metro is_triggered_only = yes option = { name = kuban_invest.11.a log = "[GetDateText]: [This.GetName]: kuban_invest.11.a executed" add_opinion_modifier = { target = KUB modifier = large_decrease } add_political_power = -100 ai_chance = { base = 5 } } } country_event = { id = kuban_invest.12 #Galitsky Investments title = kuban_invest.12.t desc = kuban_invest.12.d picture = GFX_galitsky_event is_triggered_only = yes option = { name = kuban_invest.12.a log = "[GetDateText]: [This.GetName]: kuban_invest.12.a executed" set_temp_variable = { treasury_change = 10 } modify_treasury_effect = yes ai_chance = { base = 5 } } } country_event = { id = kuban.14 #Kondratiev becames leader of Kuban title = kuban.14.t desc = kuban.14.d is_triggered_only = yes option = { name = kuban.14.a log = "[GetDateText]: [This.GetName]: kuban.14.a executed" set_variable = { ruling_party = 6 } update_government_coalition_strength = yes create_country_leader = { name = "Veniamin Kondratyev" picture = "gfx/leaders/SOV/KUB/kondratiev.dds" ideology = Conservative traits = { emerging_Conservative agricultural_resource_economist technocrat } } ai_chance = { base = 5 } } } country_event = { id = kuban.15 title = kuban.15.t desc = kuban.15.d picture = GFX_adygea_question is_triggered_only = yes option = { name = kuban.15.a log = "[GetDateText]: [This.GetName]: kuban.15.a executed" KUB = { add_opinion_modifier = { target = ROOT modifier = has_expressed_loyalty } reverse_add_opinion_modifier = { target = ROOT modifier = has_expressed_loyalty } transfer_state = 1127 set_temp_variable = { modify_subjectinped = -5 } modify_subjectinped_support = yes set_temp_variable = { modify_subjectavtoritet = 5 } modify_subjectavtoritet_support = yes country_event = { id = kuban.16 days = 1 } } set_temp_variable = { percent_change = 8 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes ai_chance = { base = 5 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } } option = { name = kuban.15.b log = "[GetDateText]: [This.GetName]: kuban.15.b executed" KUB = { country_event = { id = kuban.17 days = 1 } } set_temp_variable = { modify_subjectinped = 20 } modify_subjectinped_support = yes ai_chance = { base = 0.10 } } } country_event = { id = kuban.16 #Russia Agreed title = kuban.16.t desc = kuban.16.d picture = GFX_adygea_question is_triggered_only = yes option = { name = kuban.16.a ai_chance = { base = 5 } } } country_event = { id = kuban.17 #RUSSIA DISAGREE title = kuban.17.t desc = kuban.17.d picture = GFX_adygea_question is_triggered_only = yes option = { name = kuban.17.a ai_chance = { base = 5 } } } #BLACK SEA MECHANIC country_event = { id = kuban.18 #ADYGEA title = kuban.18.t desc = kuban.18.d picture = GFX_adygea_question is_triggered_only = yes option = { name = kuban.18.a log = "[GetDateText]: [This.GetName]: kuban.18.a executed" KUB = { transfer_state = 1127 } set_temp_variable = { percent_change = 8 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes set_temp_variable = { treasury_change = 5 } modify_treasury_effect = yes KUB = { country_event = { id = kuban.19 days = 1 } } ai_chance = { base = 5 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } } option = { name = kuban.18.b log = "[GetDateText]: [This.GetName]: kuban.18.b executed" KUB = { country_event = { id = kuban.20 days = 1 } } ai_chance = { base = 2 } } } country_event = { id = kuban.30 #Karachaevo Cherkessia title = kuban.30.t desc = kuban.30.d picture = GFX_adygea_question is_triggered_only = yes option = { name = kuban.30.a log = "[GetDateText]: [This.GetName]: kuban.30.a executed" KUB = { transfer_state = 1125 } set_temp_variable = { percent_change = 8 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes set_temp_variable = { treasury_change = 5 } modify_treasury_effect = yes KUB = { country_event = { id = kuban.19 days = 1 } } ai_chance = { base = 5 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } } option = { name = kuban.30.b log = "[GetDateText]: [This.GetName]: kuban.30.b executed" KUB = { country_event = { id = kuban.20 days = 1 } } ai_chance = { base = 2 } } } country_event = { id = kuban.21 #Terskay SR title = kuban.21.t desc = kuban.21.d picture = GFX_terskaya_sr_event is_triggered_only = yes option = { name = kuban.21.a log = "[GetDateText]: [This.GetName]: kuban.21.a executed" KUB = { transfer_state = 1126 #Ingushetia transfer_state = 1125 #Karachaevo - Cherkessia transfer_state = 674 #Kabardino Balkaria transfer_state = 673 #North Ossetia transfer_state = 671 #Dagestan } set_temp_variable = { percent_change = 15 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes set_temp_variable = { treasury_change = 20 } modify_treasury_effect = yes KUB = { country_event = { id = kuban.19 days = 1 } } ai_chance = { base = 5 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } } option = { name = kuban.21.b log = "[GetDateText]: [This.GetName]: kuban.21.b executed" KUB = { country_event = { id = kuban.20 days = 1 } } ai_chance = { base = 2 } } } country_event = { id = kuban.22 #CHECHNYA title = kuban.22.t desc = kuban.22.d picture = GFX_free_chechnya is_triggered_only = yes option = { name = kuban.22.a log = "[GetDateText]: [This.GetName]: kuban.22.a executed" KUB = { transfer_state = 672 } #Chechnya set_temp_variable = { percent_change = 10 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes set_temp_variable = { treasury_change = 15 } modify_treasury_effect = yes KUB = { country_event = { id = kuban.19 days = 1 } } ai_chance = { base = 5 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } } option = { name = kuban.22.b log = "[GetDateText]: [This.GetName]: kuban.22.b executed" KUB = { country_event = { id = kuban.20 days = 1 } } ai_chance = { base = 2 } } } country_event = { id = kuban.24 #Stavropol title = kuban.24.t desc = kuban.24.d picture = GFX_stavropol_sr_event is_triggered_only = yes option = { name = kuban.24.a log = "[GetDateText]: [This.GetName]: kuban.24.a executed" KUB = { transfer_state = 670 } #Stavropol set_temp_variable = { percent_change = 10 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes set_temp_variable = { treasury_change = 8 } modify_treasury_effect = yes KUB = { country_event = { id = kuban.19 days = 1 } } ai_chance = { base = 5 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } } option = { name = kuban.24.b log = "[GetDateText]: [This.GetName]: kuban.24.b executed" KUB = { country_event = { id = kuban.20 days = 1 } } ai_chance = { base = 2 } } } country_event = { id = kuban.23 #Rostov on Don title = kuban.23.t desc = kuban.23.d picture = GFX_rostov_on_don_event is_triggered_only = yes option = { name = kuban.23.a log = "[GetDateText]: [This.GetName]: kuban.23.a executed" KUB = { transfer_state = 667 } #Rostov On Don set_temp_variable = { percent_change = 20 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes set_temp_variable = { treasury_change = 20 } modify_treasury_effect = yes KUB = { country_event = { id = kuban.19 days = 1 } } ai_chance = { base = 5 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } } option = { name = kuban.23.b log = "[GetDateText]: [This.GetName]: kuban.23.b executed" KUB = { country_event = { id = kuban.20 days = 1 } } ai_chance = { base = 2 } } } country_event = { id = kuban.19 #Russia Agreed title = kuban.19.t desc = kuban.19.d picture = GFX_SOV_generic is_triggered_only = yes option = { name = kuban.19.a ai_chance = { base = 5 } } } country_event = { id = kuban.20 #RUSSIA DISAGREE title = kuban.20.t desc = kuban.20.d picture = GFX_SOV_generic is_triggered_only = yes option = { name = kuban.20.a ai_chance = { base = 5 } } } country_event = { id = kuban.27 title = kuban.27.t desc = kuban.27.d picture = GFX_annex_crimea is_triggered_only = yes option = { name = kuban.27.a log = "[GetDateText]: [This.GetName]: kuban.27.a executed" ai_chance = { base = 1 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } KUB = { add_equipment_to_stockpile = { type = medium_tank_amphibious_chassis_1 amount = 150 producer = SOV } add_equipment_to_stockpile = { type = medium_tank_chassis_1 amount = 100 producer = SOV } add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 6000 producer = SOV } country_event = { id = kuban.28 days = 1 } } set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes set_temp_variable = { treasury_change = 10 } modify_treasury_effect = yes } option = { name = kuban.27.b log = "[GetDateText]: [This.GetName]: kuban.27.b executed" KUB = { country_event = { id = kuban.29 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = kuban.28 # they agreed title = kuban.28.t desc = kuban.28.d picture = GFX_annex_crimea is_triggered_only = yes option = { name = kuban.28.a log = "[GetDateText]: [This.GetName]: kuban.28.a executed" set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes ai_chance = { base = 5 } } } country_event = { id = kuban.29 #dont accept title = kuban.29.t desc = kuban.29.d picture = GFX_annex_crimea is_triggered_only = yes option = { name = kuban.29.a ai_chance = { base = 5 } } } country_event = { ##Kuban asking for Belarussian investments id = kuban.33 title = kuban.33.t desc = kuban.33.d picture = GFX_generic_tractor_manufacturer is_triggered_only = yes option = { name = kuban.33.a log = "[GetDateText]: [This.GetName]: kuban.33.a executed" ai_chance = { base = 1 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } KUB = { random_owned_controlled_state = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } country_event = { id = kuban.31 days = 1 } } set_temp_variable = { percent_change = 7 } set_temp_variable = { tag_index = UKR } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes set_temp_variable = { modify_subjectinped = 10 } modify_subjectinped_support = yes set_temp_variable = { treasury_change = -7 } modify_treasury_effect = yes } option = { name = kuban.33.b log = "[GetDateText]: [This.GetName]: kuban.33.b executed" KUB = { country_event = { id = kuban.32 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = kuban.31 # UKR Accept title = kuban.31.t desc = kuban.31.d picture = GFX_handshake_black is_triggered_only = yes option = { name = kuban.31.a ai_chance = { base = 5 } } } country_event = { id = kuban.32 # BLR dont accept title = kuban.32.t desc = kuban.32.d picture = GFX_declined_offer_no is_triggered_only = yes option = { name = kuban.32.a ai_chance = { base = 5 } } } country_event = { id = kuban.34 title = kuban.34.t desc = kuban.34.d picture = GFX_USA_generic is_triggered_only = yes option = { name = kuban.34.a log = "[GetDateText]: [This.GetName]: kuban.34.a executed" ai_chance = { base = 1 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } KUB = { add_equipment_to_stockpile = { type = medium_tank_amphibious_chassis_1 amount = 150 producer = USA } add_equipment_to_stockpile = { type = medium_tank_chassis_1 amount = 100 producer = USA } add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 6000 producer = USA } country_event = { id = kuban.35 days = 1 } } set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = KUB } change_influence_percentage = yes set_temp_variable = { treasury_change = 10 } modify_treasury_effect = yes } option = { name = kuban.34.b log = "[GetDateText]: [This.GetName]: kuban.34.b executed" KUB = { country_event = { id = kuban.36 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = kuban.35 # they agreed title = kuban.35.t desc = kuban.35.d picture = GFX_USA_generic is_triggered_only = yes option = { name = kuban.35.a log = "[GetDateText]: [This.GetName]: kuban.35.a executed" set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes ai_chance = { base = 5 } } } country_event = { id = kuban.36 #dont accept title = kuban.36.t desc = kuban.36.d picture = GFX_USA_generic is_triggered_only = yes option = { name = kuban.36.a ai_chance = { base = 5 } } } country_event = { id = kuban.37 title = kuban.37.t desc = kuban.37.d picture = GFX_subject_kuban is_triggered_only = yes option = { name = kuban.37.a log = "[GetDateText]: [This.GetName]: kuban.37.a executed" ai_chance = { base = 5 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } UKR = { set_autonomy = { target = KUB autonomy_state = autonomy_republic_ukr } } KUB = { country_event = { id = kuban.38 days = 1 } } } option = { name = kuban.37.b log = "[GetDateText]: [This.GetName]: kuban.37.b executed" KUB = { country_event = { id = kuban.39 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = kuban.38 # they agreed title = kuban.38.t desc = kuban.38.d picture = GFX_subject_kuban is_triggered_only = yes option = { name = kuban.38.a log = "[GetDateText]: [This.GetName]: kuban.38.a executed" custom_effect_tooltip = escalation_with_rus_tt hidden_effect = { SOV = { country_event = { id = kuban.42 days = 1 } } set_cosmetic_tag = KUB_kuban_ukr clr_country_flag = dynamic_flag } ai_chance = { base = 5 } } } country_event = { id = kuban.39 #dont accept title = kuban.39.t desc = kuban.39.d picture = GFX_subject_kuban is_triggered_only = yes option = { name = kuban.39.a ai_chance = { base = 5 } } } country_event = { id = kuban.40 title = kuban.40.t desc = kuban.40.d picture = GFX_subject_kuban is_triggered_only = yes option = { name = kuban.40.a log = "[GetDateText]: [This.GetName]: kuban.40.a executed" KUB = { give_military_access = UKR country_event = { id = kuban.41 days = 1 } } ai_chance = { base = 5 modifier = { factor = 0.90 has_opinion = { target = KUB value < 10 } } modifier = { factor = 0.80 has_opinion = { target = KUB value < -10 } } modifier = { factor = 0.65 has_opinion = { target = KUB value < -30 } } modifier = { factor = 0.40 has_opinion = { target = KUB value < -60 } } modifier = { factor = 0.30 has_opinion = { target = KUB value < -80 } } modifier = { factor = 0.10 has_opinion = { target = KUB value < -90 } } modifier = { factor = 0 has_opinion = { target = KUB value < -100 } } } } option = { name = kuban.40.b log = "[GetDateText]: [This.GetName]: kuban.40.b executed" KUB = { country_event = { id = kuban.39 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = kuban.41 # they agreed title = kuban.41.t desc = kuban.41.d picture = GFX_treaty is_triggered_only = yes option = { name = kuban.41.a ai_chance = { base = 5 } } } country_event = { id = kuban.42 title = kuban.42.t desc = kuban.42.d picture = GFX_treaty is_triggered_only = yes #NEED PICTURE option = { name = kuban.42.a log = "[GetDateText]: [This.GetName]: kuban.42.a executed" custom_effect_tooltip = kuban_rus_invasion_tt hidden_effect = { set_temp_variable = { wargoal_on = KUB } set_temp_variable = { wargoal_type = 1 } add_threat_from_wargoal_effect = yes create_wargoal = { target = KUB type = liberate_wargoal } news_event = { hours = 6 id = kuban_news.1 } } ai_chance = { base = 5 } } option = { name = kuban.42.b log = "[GetDateText]: [This.GetName]: kuban.42.b executed" custom_effect_tooltip = kuban_rus_civil_war_tt hidden_effect = { KUB = { start_civil_war = { ideology = communism keep_political_leader = yes keep_political_party_members = yes size = 0.35 } } set_temp_variable = { treasury_change = 5 } modify_treasury_effect = yes } ai_chance = { base = 2 } } option = { name = kuban.42.c ai_chance = { base = 1 } } } #Referndum of South Russia country_event = { id = kuban.43 title = kuban.43.t desc = kuban.43.d picture = GFX_election_day is_triggered_only = yes option = { name = kuban.43.a log = "[GetDateText]: [This.GetName]: kuban.43.a executed" KUB = { transfer_state = 667 } 667 = { add_core_of = KUB } KUB = { transfer_state = 670 } 670 = { add_core_of = KUB } KUB = { transfer_state = 1127 } 1127 = { add_core_of = KUB } KUB = { transfer_state = 1107 } 1107 = { add_core_of = KUB } KUB = { transfer_state = 666 } 666 = { add_core_of = KUB } KUB = { transfer_state = 665 } 665 = { add_core_of = KUB } KUB = { country_event = { id = kuban.45 days = 1 } } ai_chance = { base = 1 modifier = { factor = 3 has_opinion = { target = KUB value > 30 } } modifier = { factor = 2 has_opinion = { target = KUB value > 60 } } modifier = { factor = 2 has_opinion = { target = KUB value > 90 } } modifier = { factor = 15 is_subject_of = KUB } } } option = { name = kuban.43.b log = "[GetDateText]: [This.GetName]: kuban.43.b executed" KUB = { country_event = { id = kuban.47 days = 1 } } ai_chance = { base = 20 } } } #Donbass Referendum country_event = { id = kuban.44 title = kuban.44.t desc = kuban.44.d picture = GFX_election_day is_triggered_only = yes option = { name = kuban.44.a log = "[GetDateText]: [This.GetName]: kuban.44.a executed" KUB = { transfer_state = 693 } 693 = { add_core_of = KUB } KUB = { transfer_state = 1030 } 1030 = { add_core_of = KUB } KUB = { transfer_state = 1075 } 1075 = { add_core_of = KUB } KUB = { transfer_state = 1076 } 1076 = { add_core_of = KUB } KUB = { country_event = { id = kuban.46 days = 1 } } ai_chance = { base = 1 modifier = { factor = 3 has_opinion = { target = KUB value > 30 } } modifier = { factor = 2 has_opinion = { target = KUB value > 60 } } modifier = { factor = 2 has_opinion = { target = KUB value > 90 } } modifier = { factor = 15 is_subject_of = KUB } } } option = { name = kuban.44.b log = "[GetDateText]: [This.GetName]: kuban.44.b executed" KUB = { country_event = { id = kuban.47 days = 1 } } ai_chance = { base = 20 } } } #Yes to south russia country_event = { id = kuban.45 title = kuban.45.t desc = kuban.45.d picture = GFX_election_day is_triggered_only = yes option = { name = kuban.45.a } } #Yes to donbass country_event = { id = kuban.46 title = kuban.46.t desc = kuban.46.d picture = GFX_election_day is_triggered_only = yes #NEED PICTURE option = { name = kuban.46.a } } #our referndums denied country_event = { id = kuban.47 title = kuban.47.t desc = kuban.47.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = kuban.47.a } } country_event = { id = kuban.48 title = kuban.48.t desc = kuban.48.d picture = GFX_NATO_picture is_triggered_only = yes fire_only_once = yes option = { name = kuban.48.a log = "[GetDateText]: [This.GetName]: kuban.48.a executed" ai_chance = { base = 55 } KUB = { country_event = { id = kuban.49 days = 1 } } } option = { name = kuban.48.b ai_chance = { base = 45 } } } country_event = { id = kuban.49 title = kuban.49.t desc = kuban.49.d picture = GFX_NATO_picture is_triggered_only = yes fire_only_once = yes option = { name = kuban.49.a log = "[GetDateText]: [This.GetName]: kuban.49.a executed" ai_chance = { base = 55 } if = { limit = { has_idea = CSTO_member } CSTO_leave = yes } if = { limit = { is_in_faction = yes } leave_faction = yes } set_country_flag = has_joined_NATO_by_event NATO_join = yes } } news_event = { id = kuban_news.1 title = kuban_news.1.t desc = kuban_news.1.d picture = GFX_news_generic_soldiers is_triggered_only = yes major = yes #NEED PICTURE option = { name = kuban_news.1.o1 } }