###########CAPITALISAION COMPANIES########### ###########CAPITALISAION COMPANIES - GAZPROM########### SOV_modify_capitalisation_gazprom_support = { add_to_variable = { SOV_capitalisation_gazprom = SOV_modify_capitalisation_gazprom } custom_effect_tooltip = SOV_capitalisation_gazprom_tt clamp_variable = { var = SOV_capitalisation_gazprom min = 0.100 max = 8000 } } ###########CAPITALISAION COMPANIES - GAZPROM CALCULATION EFFECT########### SOV_capitalisation_gazprom_calculate = { set_temp_variable = { SOV_cap_prev = SOV_capitalisation_gazprom } set_temp_variable = { SOV_modify_capitalisation_gazprom = 0 } ###########GAZPROM CALCULATION - GAS STREAMS########### if = { limit = { GER = { has_idea = SOV_nord_stream_idea } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.035 } } if = { limit = { GER = { has_idea = SOV_nord_stream2_idea } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.035 } } if = { limit = { TUR = { has_idea = SOV_blue_stream_idea } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.035 } } if = { limit = { TUR = { has_idea = SOV_turkey_stream_idea } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.035 } } if = { limit = { NKO = { has_idea = SOV_korean_stream_idea } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.035 } } ##########GAZPROM CALCULATION - OIL PROVINCE########### ##########OIL PROVINCE - RUSSIAN PROVINCE########### if = { limit = { owns_state = 668 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.011 } } if = { limit = { owns_state = 1140 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.006 } } if = { limit = { owns_state = 1107 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.005 } } if = { limit = { owns_state = 1133 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.006 } } if = { limit = { owns_state = 666 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.019 } } if = { limit = { owns_state = 665 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.010 } } if = { limit = { owns_state = 677 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.046 } } if = { limit = { owns_state = 678 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.108 } if = { limit = { has_completed_focus = SOV_economic_slavneft } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.001 } } if = { limit = { has_completed_focus = SOV_economic_gas_with_sibur } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.002 } } if = { limit = { has_completed_focus = SOV_economic_oil_khmao } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.003 } } } if = { limit = { owns_state = 679 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.103 } if = { limit = { has_completed_focus = SOV_economic_oil_nenets } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.003 } } if = { limit = { has_completed_focus = SOV_economic_arctic_gas } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.006 } } if = { limit = { has_completed_focus = SOV_economic_zapolyarnoe } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.003 } } } if = { limit = { owns_state = 683 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.012 } if = { limit = { has_completed_focus = SOV_economic_oil_nenets } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.003 } } if = { limit = { has_completed_focus = SOV_economic_arctic_gas } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.006 } } } if = { limit = { owns_state = 685 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.003 } } if = { limit = { owns_state = 688 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.004 } } if = { limit = { owns_state = 691 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.008 } if = { limit = { has_completed_focus = SOV_economic_nat_gas_sakhalin } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.002 } } } if = { limit = { owns_state = 671 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.001 } } if = { limit = { owns_state = 658 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.017 } } if = { limit = { owns_state = 1130 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.017 } } if = { limit = { owns_state = 1131 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.017 } } if = { limit = { owns_state = 1132 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.017 } } if = { limit = { owns_state = 663 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.015 } } if = { limit = { owns_state = 661 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.016 } } if = { limit = { owns_state = 1118 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.017 } } if = { limit = { owns_state = 664 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.014 } } if = { limit = { owns_state = 643 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.005 } } if = { limit = { owns_state = 648 has_completed_focus = SOV_economic_arctic_gas } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.012 } } if = { limit = { owns_state = 643 has_completed_focus = SOV_economic_arctic_gas } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.003 } } ##########OIL PROVINCE - FOREIGN PROVINCE########### if = { limit = { OR = { owns_state = 709 ARM = { owns_state = 709 } } ARM = { has_completed_focus = ARM_economy_gazprom } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.002 } } if = { limit = { owns_state = 718 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.037 } } if = { limit = { owns_state = 717 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.018 } } if = { limit = { owns_state = 728 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.017 } } if = { limit = { owns_state = 729 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.007 } } if = { limit = { owns_state = 727 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.005 } } if = { limit = { owns_state = 713 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.050 } } if = { limit = { owns_state = 400 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.033 } } if = { limit = { owns_state = 1146 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.011 } } if = { limit = { owns_state = 978 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.013 } } if = { limit = { owns_state = 592 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.035 } } if = { limit = { owns_state = 596 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.026 } } if = { limit = { owns_state = 597 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.008 } } if = { limit = { owns_state = 554 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.006 } } if = { limit = { owns_state = 556 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.013 } } if = { limit = { owns_state = 544 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.039 } } if = { limit = { owns_state = 537 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.050 } } if = { limit = { owns_state = 562 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.028 } } if = { limit = { owns_state = 583 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.032 } } if = { limit = { owns_state = 578 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.047 } } if = { limit = { owns_state = 555 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.032 } } if = { limit = { owns_state = 1086 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.014 } } if = { limit = { owns_state = 700 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.006 } } if = { limit = { owns_state = 1247 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.006 } } if = { limit = { owns_state = 1111 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.006 } } if = { limit = { owns_state = 697 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.004 } } if = { limit = { owns_state = 30 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.032 } } if = { limit = { owns_state = 31 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.017 } } ##########GAZPROM CALCULATION - OTHER FACTORS########### if = { limit = { OR = { has_idea = depression has_idea = recession has_idea = stagnation } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = -0.700 } } if = { limit = { OR = { has_idea = fast_growth has_idea = economic_boom } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.200 } } if = { limit = { has_idea = md_closed_economy } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = -0.400 } } if = { limit = { OR = { has_idea = consumption_economy has_idea = semi_consumption_economy has_idea = mixed_economy } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.100 } } if = { limit = { OR = { has_idea = export_economy has_idea = globalized_trade_economy } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.250 } } if = { limit = { OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = -0.500 } } if = { limit = { OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = -0.300 } } if = { limit = { OR = { has_idea = corruption_level_04 has_idea = corruption_level_03 has_idea = corruption_level_02 } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.050 } } if = { limit = { has_idea = corruption_level_01 } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = 0.250 } } if = { limit = { has_war = yes } if = { limit = { has_completed_focus = SOV_economic_mosbirja } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = -0.650 } } else = { add_to_temp_variable = { SOV_modify_capitalisation_gazprom = -0.400 } } } if = { limit = { has_country_flag = SOV_western_sanctions NOT = { has_completed_focus = SOV_back_to_growth } } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = -0.950 } } if = { limit = { neutrality_neutral_oligarch_are_in_power = yes } add_to_temp_variable = { SOV_modify_capitalisation_gazprom = -0.750 } } SOV_modify_capitalisation_gazprom_support = yes set_variable = { SOV_cap_delta_gazprom = SOV_capitalisation_gazprom } subtract_from_variable = { SOV_cap_delta_gazprom = SOV_cap_prev } } ###########CAPITALISAION COMPANIES - SBERBANK########### SOV_modify_capitalisation_sberbank_support = { add_to_variable = { SOV_capitalisation_sberbank = SOV_modify_capitalisation_sberbank } custom_effect_tooltip = SOV_capitalisation_sberbank_tt clamp_variable = { var = SOV_capitalisation_sberbank min = 0.100 max = 8000 } } ###########CAPITALISAION COMPANIES - SBERBANK CALCULATION EFFECT########### SOV_capitalisation_sberbank_calculate = { set_temp_variable = { SOV_cap_prev = SOV_capitalisation_sberbank } set_temp_variable = { SOV_modify_capitalisation_sberbank = 0 } if = { limit = { OR = { has_idea = depression has_idea = recession has_idea = stagnation } } add_to_temp_variable = { SOV_modify_capitalisation_sberbank = -0.120 } } if = { limit = { OR = { has_idea = fast_growth has_idea = economic_boom } } add_to_temp_variable = { SOV_modify_capitalisation_sberbank = 0.180 } } if = { limit = { OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } add_to_temp_variable = { SOV_modify_capitalisation_sberbank = -0.170 } } if = { limit = { OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } add_to_temp_variable = { SOV_modify_capitalisation_sberbank = -0.110 } } if = { limit = { OR = { has_idea = corruption_level_04 has_idea = corruption_level_03 has_idea = corruption_level_02 } } add_to_temp_variable = { SOV_modify_capitalisation_sberbank = 0.100 } } if = { limit = { has_idea = corruption_level_01 } add_to_temp_variable = { SOV_modify_capitalisation_sberbank = 0.200 } } if = { limit = { has_war = yes } if = { limit = { has_completed_focus = SOV_economic_mosbirja } add_to_temp_variable = { SOV_modify_capitalisation_sberbank = -0.230 } } else = { add_to_temp_variable = { SOV_modify_capitalisation_sberbank = -0.150 } } } if = { limit = { has_war = no } if = { limit = { has_completed_focus = SOV_economic_mosbirja } add_to_temp_variable = { SOV_modify_capitalisation_sberbank = 0.120 } } else = { add_to_temp_variable = { SOV_modify_capitalisation_sberbank = 0.070 } } } if = { limit = { neutrality_neutral_oligarch_are_in_power = yes } add_to_temp_variable = { SOV_modify_capitalisation_sberbank = -0.290 } } if = { limit = { has_country_flag = SOV_western_sanctions NOT = { has_completed_focus = SOV_back_to_growth } } add_to_temp_variable = { SOV_modify_capitalisation_sberbank = -0.140 } } SOV_modify_capitalisation_sberbank_support = yes set_variable = { SOV_cap_delta_sberbank = SOV_capitalisation_sberbank } subtract_from_variable = { SOV_cap_delta_sberbank = SOV_cap_prev } } ###########CAPITALISAION COMPANIES - ROSNEFT########### SOV_modify_capitalisation_rosneft_support = { add_to_variable = { SOV_capitalisation_rosneft = SOV_modify_capitalisation_rosneft } custom_effect_tooltip = SOV_capitalisation_rosneft_tt clamp_variable = { var = SOV_capitalisation_rosneft min = 0.100 max = 8000 } } ###########CAPITALISAION COMPANIES - ROSNEFT CALCULATION EFFECT########### SOV_capitalisation_rosneft_calculate = { set_temp_variable = { SOV_cap_prev = SOV_capitalisation_rosneft } set_temp_variable = { SOV_modify_capitalisation_rosneft = 0 } ##########ROSNEFT CALCULATION - OIL PROVINCE########### if = { limit = { owns_state = 668 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.05 } } if = { limit = { owns_state = 1140 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.003 } } if = { limit = { owns_state = 1107 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.002 } } if = { limit = { owns_state = 1133 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.003 } } if = { limit = { owns_state = 666 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.09 } } if = { limit = { owns_state = 665 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.005 } } if = { limit = { owns_state = 677 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.023 } } if = { limit = { owns_state = 678 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.054 } if = { limit = { has_completed_focus = SOV_economic_slavneft } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.001 } } } if = { limit = { owns_state = 679 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.051 } if = { limit = { has_completed_focus = SOV_economic_buy_itera } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.001 } } } if = { limit = { owns_state = 683 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.06 } } if = { limit = { owns_state = 685 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.001 } if = { limit = { has_completed_focus = SOV_economic_buy_itera } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.001 } } } if = { limit = { owns_state = 688 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.002 } } if = { limit = { owns_state = 691 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.004 } } if = { limit = { owns_state = 671 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.001 } } if = { limit = { owns_state = 658 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.08 } } if = { limit = { owns_state = 1130 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.09 } } if = { limit = { owns_state = 1131 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.08 } } if = { limit = { owns_state = 1132 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.08 } } if = { limit = { owns_state = 663 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.07 } } if = { limit = { owns_state = 661 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.08 } } if = { limit = { owns_state = 1118 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.08 } } if = { limit = { owns_state = 664 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.07 } } ##########OIL PROVINCE - FOREIGN PROVINCE########### if = { limit = { owns_state = 718 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.017 } } if = { limit = { owns_state = 717 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.09 } } if = { limit = { owns_state = 728 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.08 } } if = { limit = { owns_state = 729 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.003 } } if = { limit = { owns_state = 727 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.002 } } if = { limit = { owns_state = 713 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.025 } } if = { limit = { owns_state = 400 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.016 } } if = { limit = { owns_state = 1146 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.06 } } if = { limit = { owns_state = 978 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.06 } } if = { limit = { owns_state = 592 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.017 } } if = { limit = { owns_state = 596 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.013 } } if = { limit = { owns_state = 597 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.004 } } if = { limit = { owns_state = 554 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.003 } } if = { limit = { owns_state = 556 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.006 } } if = { limit = { owns_state = 544 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.018 } } if = { limit = { owns_state = 537 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.025 } } if = { limit = { owns_state = 562 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.014 } } if = { limit = { owns_state = 583 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.016 } } if = { limit = { owns_state = 578 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.023 } } if = { limit = { owns_state = 555 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.016 } } if = { limit = { owns_state = 1086 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.007 } } if = { limit = { owns_state = 700 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.003 } } if = { limit = { owns_state = 1247 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.003 } } if = { limit = { owns_state = 1111 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.003 } } if = { limit = { owns_state = 697 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.002 } } if = { limit = { owns_state = 30 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.016 } } if = { limit = { owns_state = 31 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.007 } } ##########ROSNEFT CALCULATION - OTHER FACTORS########### if = { limit = { OR = { has_idea = depression has_idea = recession has_idea = stagnation } } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = -0.350 } } if = { limit = { OR = { has_idea = fast_growth has_idea = economic_boom } } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.100 } } if = { limit = { has_idea = md_closed_economy } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = -0.200 } } if = { limit = { OR = { has_idea = consumption_economy has_idea = semi_consumption_economy has_idea = mixed_economy } } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.050 } } if = { limit = { OR = { has_idea = export_economy has_idea = globalized_trade_economy } } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.135 } } if = { limit = { OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = -0.250 } } if = { limit = { OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = -0.150 } } if = { limit = { OR = { has_idea = corruption_level_04 has_idea = corruption_level_03 has_idea = corruption_level_02 } } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.025 } } if = { limit = { has_idea = corruption_level_01 } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = 0.120 } } if = { limit = { has_war = yes } if = { limit = { has_completed_focus = SOV_economic_mosbirja } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = -0.325 } } else = { add_to_temp_variable = { SOV_modify_capitalisation_rosneft = -0.200 } } } if = { limit = { has_country_flag = SOV_western_sanctions NOT = { has_completed_focus = SOV_back_to_growth } } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = -0.460 } } if = { limit = { neutrality_neutral_oligarch_are_in_power = yes } add_to_temp_variable = { SOV_modify_capitalisation_rosneft = -0.375 } } SOV_modify_capitalisation_rosneft_support = yes set_variable = { SOV_cap_delta_rosneft = SOV_capitalisation_rosneft } subtract_from_variable = { SOV_cap_delta_rosneft = SOV_cap_prev } } ###########CAPITALISAION COMPANIES - MTS########### SOV_modify_capitalisation_mts_support = { add_to_variable = { SOV_capitalisation_mts = SOV_modify_capitalisation_mts } custom_effect_tooltip = SOV_capitalisation_mts_tt clamp_variable = { var = SOV_capitalisation_mts min = 0.100 max = 8000 } } ###########CAPITALISAION COMPANIES - MTS CALCULATION EFFECT########### SOV_capitalisation_mts_calculate = { set_temp_variable = { SOV_cap_prev = SOV_capitalisation_mts } set_temp_variable = { SOV_modify_capitalisation_mts = 0 } if = { limit = { OR = { has_idea = depression has_idea = recession has_idea = stagnation } } add_to_temp_variable = { SOV_modify_capitalisation_mts = -0.050 } } if = { limit = { OR = { has_idea = fast_growth has_idea = economic_boom } } add_to_temp_variable = { SOV_modify_capitalisation_mts = 0.075 } } if = { limit = { OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } add_to_temp_variable = { SOV_modify_capitalisation_mts = -0.045 } } if = { limit = { OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } add_to_temp_variable = { SOV_modify_capitalisation_mts = -0.025 } } if = { limit = { OR = { has_idea = corruption_level_04 has_idea = corruption_level_03 has_idea = corruption_level_02 } } add_to_temp_variable = { SOV_modify_capitalisation_mts = 0.015 } } if = { limit = { has_idea = corruption_level_01 } add_to_temp_variable = { SOV_modify_capitalisation_mts = 0.030 } } if = { limit = { internet_station > 43 } add_to_temp_variable = { SOV_modify_capitalisation_mts = 0.035 } } if = { limit = { OR = { owns_state = 709 ARM = { owns_state = 709 } } ARM = { has_completed_focus = ARM_economy_mts } } add_to_temp_variable = { SOV_modify_capitalisation_mts = 0.001 } } if = { limit = { has_war = yes } if = { limit = { has_completed_focus = SOV_economic_mosbirja } add_to_temp_variable = { SOV_modify_capitalisation_mts = -0.125 } } else = { add_to_temp_variable = { SOV_modify_capitalisation_mts = -0.090 } } } if = { limit = { neutrality_neutral_oligarch_are_in_power = yes } add_to_temp_variable = { SOV_modify_capitalisation_mts = -0.180 } } SOV_modify_capitalisation_mts_support = yes set_variable = { SOV_cap_delta_mts = SOV_capitalisation_mts } subtract_from_variable = { SOV_cap_delta_mts = SOV_cap_prev } } ###########CAPITALISAION COMPANIES - VTB########### SOV_modify_capitalisation_vtb_support = { add_to_variable = { SOV_capitalisation_vtb = SOV_modify_capitalisation_vtb } custom_effect_tooltip = SOV_capitalisation_vtb_tt clamp_variable = { var = SOV_capitalisation_vtb min = 0.100 max = 8000 } } ###########CAPITALISAION COMPANIES - VTB CALCULATION EFFECT########### SOV_capitalisation_vtb_calculate = { set_temp_variable = { SOV_cap_prev = SOV_capitalisation_vtb } set_temp_variable = { SOV_modify_capitalisation_vtb = 0 } if = { limit = { OR = { owns_state = 709 ARM = { owns_state = 709 } } ARM = { has_completed_focus = ARM_economy_vtb } } add_to_temp_variable = { SOV_modify_capitalisation_vtb = 0.010 } } if = { limit = { OR = { has_idea = depression has_idea = recession has_idea = stagnation } } add_to_temp_variable = { SOV_modify_capitalisation_vtb = -0.020 } } if = { limit = { OR = { has_idea = fast_growth has_idea = economic_boom } } add_to_temp_variable = { SOV_modify_capitalisation_vtb = 0.070 } } if = { limit = { OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } add_to_temp_variable = { SOV_modify_capitalisation_vtb = -0.095 } } if = { limit = { OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } add_to_temp_variable = { SOV_modify_capitalisation_vtb = -0.075 } } if = { limit = { OR = { has_idea = corruption_level_04 has_idea = corruption_level_03 has_idea = corruption_level_02 } } add_to_temp_variable = { SOV_modify_capitalisation_vtb = 0.055 } } if = { limit = { has_idea = corruption_level_01 } add_to_temp_variable = { SOV_modify_capitalisation_vtb = 0.095 } } if = { limit = { has_war = yes } if = { limit = { has_completed_focus = SOV_economic_mosbirja } add_to_temp_variable = { SOV_modify_capitalisation_vtb = -0.105 } } else = { add_to_temp_variable = { SOV_modify_capitalisation_vtb = -0.075 } } } if = { limit = { has_war = no } if = { limit = { has_completed_focus = SOV_economic_mosbirja } add_to_temp_variable = { SOV_modify_capitalisation_vtb = 0.55 } } else = { add_to_temp_variable = { SOV_modify_capitalisation_vtb = 0.035 } } } if = { limit = { neutrality_neutral_oligarch_are_in_power = yes } add_to_temp_variable = { SOV_modify_capitalisation_vtb = -0.110 } } if = { limit = { has_country_flag = SOV_western_sanctions NOT = { has_completed_focus = SOV_back_to_growth } } if = { limit = { has_completed_focus = SOV_economic_mosbirja } add_to_temp_variable = { SOV_modify_capitalisation_vtb = -0.125 } } else = { add_to_temp_variable = { SOV_modify_capitalisation_vtb = -0.085 } } } SOV_modify_capitalisation_vtb_support = yes set_variable = { SOV_cap_delta_vtb = SOV_capitalisation_vtb } subtract_from_variable = { SOV_cap_delta_vtb = SOV_cap_prev } } ###########CAPITALISAION COMPANIES - ALROSA########### SOV_modify_capitalisation_alrosa_support = { add_to_variable = { SOV_capitalisation_alrosa = SOV_modify_capitalisation_alrosa } custom_effect_tooltip = SOV_capitalisation_alrosa_tt clamp_variable = { var = SOV_capitalisation_alrosa min = 0.100 max = 8000 } } ###########CAPITALISAION COMPANIES - ALROSA CALCULATION EFFECT########### SOV_capitalisation_alrosa_calculate = { set_temp_variable = { SOV_cap_prev = SOV_capitalisation_alrosa } set_temp_variable = { SOV_modify_capitalisation_alrosa = 0 } if = { limit = { OR = { has_idea = depression has_idea = recession has_idea = stagnation } } add_to_temp_variable = { SOV_modify_capitalisation_alrosa = -0.250 } } if = { limit = { OR = { has_idea = fast_growth has_idea = economic_boom } } add_to_temp_variable = { SOV_modify_capitalisation_alrosa = 0.120 } } if = { limit = { OR = { has_idea = semi_consumption_economy has_idea = rentier_state has_idea = mixed_economy } } add_to_temp_variable = { SOV_modify_capitalisation_alrosa = -0.350 } } if = { limit = { has_idea = globalized_trade_economy } add_to_temp_variable = { SOV_modify_capitalisation_alrosa = 0.250 } } if = { limit = { OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } add_to_temp_variable = { SOV_modify_capitalisation_alrosa = -0.150 } } if = { limit = { OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } add_to_temp_variable = { SOV_modify_capitalisation_alrosa = -0.110 } } if = { limit = { OR = { has_idea = corruption_level_04 has_idea = corruption_level_03 has_idea = corruption_level_02 } } add_to_temp_variable = { SOV_modify_capitalisation_alrosa = 0.095 } } if = { limit = { has_idea = corruption_level_01 } add_to_temp_variable = { SOV_modify_capitalisation_alrosa = 0.190 } } if = { limit = { has_war = no } if = { limit = { has_completed_focus = SOV_economic_mosbirja } add_to_temp_variable = { SOV_modify_capitalisation_alrosa = 0.135 } } else = { add_to_temp_variable = { SOV_modify_capitalisation_alrosa = 0.075 } } } if = { limit = { has_war = yes } if = { limit = { has_completed_focus = SOV_economic_mosbirja } add_to_temp_variable = { SOV_modify_capitalisation_alrosa = -0.175 } } else = { add_to_temp_variable = { SOV_modify_capitalisation_alrosa = -0.130 } } } if = { limit = { OR = { owns_state = 709 ARM = { owns_state = 709 } } ARM = { has_completed_focus = ARM_economy_alrosa } } add_to_temp_variable = { SOV_modify_capitalisation_alrosa = 0.003 } } if = { limit = { neutrality_neutral_oligarch_are_in_power = yes } add_to_temp_variable = { SOV_modify_capitalisation_alrosa = -0.275 } } if = { limit = { has_country_flag = SOV_western_sanctions NOT = { has_completed_focus = SOV_back_to_growth } } add_to_temp_variable = { SOV_modify_capitalisation_alrosa = -0.175 } } SOV_modify_capitalisation_alrosa_support = yes set_variable = { SOV_cap_delta_alrosa = SOV_capitalisation_alrosa } subtract_from_variable = { SOV_cap_delta_alrosa = SOV_cap_prev } } ###########Union of Sovereighn States Vote########### SOV_modify_republickill_support = { add_to_variable = { SOV_republickill = SOV_modify_republickill } clamp_variable = { var = SOV_republickill min = 0 max = 30 } } SOV_modify_economic_support = { if = { limit = { check_variable = { SOV_economic < 30 } } add_to_variable = { SOV_economic = SOV_modify_economic } custom_effect_tooltip = SOV_economic_tt clamp_variable = { var = SOV_economic min = 0 max = 30 } } } ###########CAPITALISAION COMPANIES - MODIFIER RECALCULATION########### # Rebuilt from zero every month rather than nudged, so a missed or doubled tick cannot drift. # Stacks on top of SOV_economy_modifier, which carries the flat focus- and decision-granted half. SOV_recalculate_capitalisation_modifier = { set_variable = { SOV_cap_corporate_tax_income_multiplier_modifier = 0 } set_variable = { SOV_cap_gdp_from_resource_sector_modifier = 0 } set_variable = { SOV_cap_oil_export_multiplier_modifier = 0 } set_variable = { SOV_cap_chromium_export_multiplier_modifier = 0 } set_variable = { SOV_cap_production_speed_internet_station_factor = 0 } set_variable = { SOV_cap_economic_cycles_cost_factor = 0 } set_variable = { SOV_cap_research_speed_factor = 0 } set_variable = { SOV_cap_education_cost_multiplier_modifier = 0 } set_variable = { SOV_cap_ramp_gazprom = 0 } set_variable = { SOV_cap_ramp_rosneft = 0 } set_variable = { SOV_cap_ramp_sberbank = 0 } set_variable = { SOV_cap_ramp_mts = 0 } set_variable = { SOV_cap_ramp_vtb = 0 } set_variable = { SOV_cap_ramp_alrosa = 0 } #Gazprom if = { limit = { has_completed_focus = SOV_economic_reform_gazprom } set_temp_variable = { SOV_cap_ramp = SOV_capitalisation_gazprom } subtract_from_temp_variable = { SOV_cap_ramp = 3 } divide_temp_variable = { SOV_cap_ramp = 22 } clamp_temp_variable = { var = SOV_cap_ramp min = 0 max = 1 } set_variable = { SOV_cap_ramp_gazprom = SOV_cap_ramp } set_temp_variable = { SOV_cap_step = SOV_cap_ramp } multiply_temp_variable = { SOV_cap_step = 0.03 } add_to_variable = { SOV_cap_gdp_from_resource_sector_modifier = SOV_cap_step } add_to_variable = { SOV_cap_oil_export_multiplier_modifier = SOV_cap_step } add_to_variable = { SOV_cap_corporate_tax_income_multiplier_modifier = SOV_cap_step } } #Rosneft if = { limit = { has_completed_focus = SOV_economic_use_yukos } set_temp_variable = { SOV_cap_ramp = SOV_capitalisation_rosneft } subtract_from_temp_variable = { SOV_cap_ramp = 3 } divide_temp_variable = { SOV_cap_ramp = 22 } clamp_temp_variable = { var = SOV_cap_ramp min = 0 max = 1 } set_variable = { SOV_cap_ramp_rosneft = SOV_cap_ramp } set_temp_variable = { SOV_cap_step = SOV_cap_ramp } multiply_temp_variable = { SOV_cap_step = 0.02 } add_to_variable = { SOV_cap_gdp_from_resource_sector_modifier = SOV_cap_step } set_temp_variable = { SOV_cap_step = SOV_cap_ramp } multiply_temp_variable = { SOV_cap_step = 0.04 } add_to_variable = { SOV_cap_oil_export_multiplier_modifier = SOV_cap_step } set_temp_variable = { SOV_cap_step = SOV_cap_ramp } multiply_temp_variable = { SOV_cap_step = 0.03 } add_to_variable = { SOV_cap_corporate_tax_income_multiplier_modifier = SOV_cap_step } } #MTS if = { limit = { has_completed_focus = SOV_economic_mts } set_temp_variable = { SOV_cap_ramp = SOV_capitalisation_mts } subtract_from_temp_variable = { SOV_cap_ramp = 3 } divide_temp_variable = { SOV_cap_ramp = 22 } clamp_temp_variable = { var = SOV_cap_ramp min = 0 max = 1 } set_variable = { SOV_cap_ramp_mts = SOV_cap_ramp } set_temp_variable = { SOV_cap_step = SOV_cap_ramp } multiply_temp_variable = { SOV_cap_step = 0.03 } add_to_variable = { SOV_cap_corporate_tax_income_multiplier_modifier = SOV_cap_step } add_to_variable = { SOV_cap_production_speed_internet_station_factor = SOV_cap_step } } #VTB - the ramp only opens once the bank has floated if = { limit = { check_variable = { SOV_vtb_stage > 0 } } set_temp_variable = { SOV_cap_ramp = SOV_capitalisation_vtb } subtract_from_temp_variable = { SOV_cap_ramp = 3 } divide_temp_variable = { SOV_cap_ramp = 22 } clamp_temp_variable = { var = SOV_cap_ramp min = 0 max = 1 } set_variable = { SOV_cap_ramp_vtb = SOV_cap_ramp } set_temp_variable = { SOV_cap_step = SOV_cap_ramp } multiply_temp_variable = { SOV_cap_step = 0.03 } add_to_variable = { SOV_cap_corporate_tax_income_multiplier_modifier = SOV_cap_step } set_temp_variable = { SOV_cap_step = SOV_cap_ramp } multiply_temp_variable = { SOV_cap_step = -0.03 } add_to_variable = { SOV_cap_economic_cycles_cost_factor = SOV_cap_step } } #Sberbank if = { limit = { has_completed_focus = SOV_economic_destiny_sber } set_temp_variable = { SOV_cap_ramp = SOV_capitalisation_sberbank } subtract_from_temp_variable = { SOV_cap_ramp = 3 } divide_temp_variable = { SOV_cap_ramp = 22 } clamp_temp_variable = { var = SOV_cap_ramp min = 0 max = 1 } set_variable = { SOV_cap_ramp_sberbank = SOV_cap_ramp } set_temp_variable = { SOV_cap_step = SOV_cap_ramp } multiply_temp_variable = { SOV_cap_step = 0.03 } add_to_variable = { SOV_cap_research_speed_factor = SOV_cap_step } add_to_variable = { SOV_cap_corporate_tax_income_multiplier_modifier = SOV_cap_step } set_temp_variable = { SOV_cap_step = SOV_cap_ramp } multiply_temp_variable = { SOV_cap_step = 0.05 } add_to_variable = { SOV_cap_education_cost_multiplier_modifier = SOV_cap_step } set_temp_variable = { SOV_cap_step = SOV_cap_ramp } multiply_temp_variable = { SOV_cap_step = -0.03 } add_to_variable = { SOV_cap_economic_cycles_cost_factor = SOV_cap_step } } #ALROSA - diamonds only started paying once the mines were consolidated, hence the later floor if = { limit = { has_completed_focus = SOV_economic_alrosa } set_temp_variable = { SOV_cap_ramp = SOV_capitalisation_alrosa } subtract_from_temp_variable = { SOV_cap_ramp = 10 } divide_temp_variable = { SOV_cap_ramp = 15 } clamp_temp_variable = { var = SOV_cap_ramp min = 0 max = 1 } set_variable = { SOV_cap_ramp_alrosa = SOV_cap_ramp } set_temp_variable = { SOV_cap_step = SOV_cap_ramp } multiply_temp_variable = { SOV_cap_step = 0.02 } add_to_variable = { SOV_cap_chromium_export_multiplier_modifier = SOV_cap_step } add_to_variable = { SOV_cap_corporate_tax_income_multiplier_modifier = SOV_cap_step } } } SOV_asteroids_farming_script = { if = { limit = { check_variable = { SOV_asteroids_level < 7 } } add_to_variable = { SOV_asteroids_level = 1 } if = { limit = { check_variable = { SOV_asteroids_level = 1 } } random_owned_state = { add_resource = { type = chromium amount = 5 } } } else_if = { limit = { check_variable = { SOV_asteroids_level = 2 } } random_owned_state = { add_resource = { type = aluminium amount = 5 } } } else_if = { limit = { check_variable = { SOV_asteroids_level = 3 } } random_owned_state = { add_resource = { type = tungsten amount = 5 } } } else = { random_owned_state = { add_resource = { type = steel amount = 1 } add_resource = { type = chromium amount = 1 } add_resource = { type = aluminium amount = 1 } add_resource = { type = tungsten amount = 1 } } } set_temp_variable = { treasury_change = -9 } modify_treasury_effect = yes } } SOV_economy_own_cars_script = { if = { limit = { has_idea = SOV_our_cars_idea6 } swap_ideas = { remove_idea = SOV_our_cars_idea6 add_idea = SOV_our_cars_idea7 } } else_if = { limit = { has_idea = SOV_our_cars_idea5 } swap_ideas = { remove_idea = SOV_our_cars_idea5 add_idea = SOV_our_cars_idea6 } } else_if = { limit = { has_idea = SOV_our_cars_idea4 } swap_ideas = { remove_idea = SOV_our_cars_idea4 add_idea = SOV_our_cars_idea5 } } else_if = { limit = { has_idea = SOV_our_cars_idea3 } swap_ideas = { remove_idea = SOV_our_cars_idea3 add_idea = SOV_our_cars_idea4 } } else_if = { limit = { has_idea = SOV_our_cars_idea2 } swap_ideas = { remove_idea = SOV_our_cars_idea2 add_idea = SOV_our_cars_idea3 } } else_if = { limit = { has_idea = SOV_our_cars_idea1 } swap_ideas = { remove_idea = SOV_our_cars_idea1 add_idea = SOV_our_cars_idea2 } } else_if = { limit = { has_idea = SOV_our_cars_idea } swap_ideas = { remove_idea = SOV_our_cars_idea add_idea = SOV_our_cars_idea1 } } } SOV_aviation_script = { if = { limit = { has_idea = SOV_russian_airforce_idea_3 } swap_ideas = { remove_idea = SOV_russian_airforce_idea_3 add_idea = SOV_russian_airforce_idea_4 } } else_if = { limit = { has_idea = SOV_russian_airforce_idea_2 } swap_ideas = { remove_idea = SOV_russian_airforce_idea_2 add_idea = SOV_russian_airforce_idea_3 } } else_if = { limit = { has_idea = SOV_russian_airforce_idea_1 } swap_ideas = { remove_idea = SOV_russian_airforce_idea_1 add_idea = SOV_russian_airforce_idea_2 } } } SOV_economy_cars_western_lose_script = { if = { limit = { has_idea = SOV_foreign_cars_idea } uncomplete_national_focus = { focus = SOV_economic_invite_investors } } if = { limit = { has_idea = SOV_foreign_cars_idea1 } 652 = { if = { limit = { industrial_complex > 1 } remove_building = { type = industrial_complex level = 2 } } } uncomplete_national_focus = { focus = SOV_economic_invite_investors } uncomplete_national_focus = { focus = SOV_economic_cars_usa } uncomplete_national_focus = { focus = SOV_economic_cars_europe } } if = { limit = { has_idea = SOV_foreign_cars_idea2 } 652 = { if = { limit = { industrial_complex > 1 } remove_building = { type = industrial_complex level = 2 } } } uncomplete_national_focus = { focus = SOV_economic_invite_investors } uncomplete_national_focus = { focus = SOV_economic_cars_usa } uncomplete_national_focus = { focus = SOV_economic_cars_europe } } if = { limit = { has_idea = SOV_foreign_cars_idea3 } 644 = { if = { limit = { industrial_complex > 1 } remove_building = { type = industrial_complex level = 2 } } } 652 = { if = { limit = { industrial_complex > 1 } remove_building = { type = industrial_complex level = 2 } } } uncomplete_national_focus = { focus = SOV_economic_invite_investors } uncomplete_national_focus = { focus = SOV_economic_cars_usa } uncomplete_national_focus = { focus = SOV_economic_cars_europe } uncomplete_national_focus = { focus = SOV_economic_reno_nissan_autovaz } } if = { limit = { has_idea = SOV_foreign_cars_idea4 } uncomplete_national_focus = { focus = SOV_economic_invite_investors } uncomplete_national_focus = { focus = SOV_economic_cars_usa } uncomplete_national_focus = { focus = SOV_economic_cars_europe } uncomplete_national_focus = { focus = SOV_economic_reno_nissan_autovaz } uncomplete_national_focus = { focus = SOV_economic_cars_west_market } 644 = { if = { limit = { industrial_complex > 0 } remove_building = { type = industrial_complex level = 1 } } if = { limit = { industrial_complex > 1 } remove_building = { type = industrial_complex level = 2 } } } 652 = { if = { limit = { industrial_complex > 1 } remove_building = { type = industrial_complex level = 2 } } } } if = { limit = { has_idea = SOV_foreign_cars_idea5 } uncomplete_national_focus = { focus = SOV_economic_invite_investors } uncomplete_national_focus = { focus = SOV_economic_cars_usa } uncomplete_national_focus = { focus = SOV_economic_cars_europe } uncomplete_national_focus = { focus = SOV_economic_reno_nissan_autovaz } uncomplete_national_focus = { focus = SOV_economic_cars_west_market } uncomplete_national_focus = { focus = SOV_economic_cars_japan_market } 644 = { if = { limit = { industrial_complex > 0 } remove_building = { type = industrial_complex level = 1 } } if = { limit = { industrial_complex > 1 } remove_building = { type = industrial_complex level = 2 } } } 652 = { if = { limit = { industrial_complex > 1 } remove_building = { type = industrial_complex level = 2 } } } } if = { limit = { has_idea = SOV_foreign_cars_idea6 } uncomplete_national_focus = { focus = SOV_economic_invite_investors } uncomplete_national_focus = { focus = SOV_economic_cars_usa } uncomplete_national_focus = { focus = SOV_economic_cars_europe } uncomplete_national_focus = { focus = SOV_economic_reno_nissan_autovaz } uncomplete_national_focus = { focus = SOV_economic_cars_west_market } uncomplete_national_focus = { focus = SOV_economic_cars_japan_market } uncomplete_national_focus = { focus = SOV_economic_cars_moskvich } 644 = { if = { limit = { industrial_complex > 0 } remove_building = { type = industrial_complex level = 1 } } if = { limit = { industrial_complex > 1 } remove_building = { type = industrial_complex level = 2 } } } 652 = { if = { limit = { industrial_complex > 1 } remove_building = { type = industrial_complex level = 2 } } } } if = { limit = { has_idea = SOV_foreign_cars_idea7 } uncomplete_national_focus = { focus = SOV_economic_invite_investors } uncomplete_national_focus = { focus = SOV_economic_cars_usa } uncomplete_national_focus = { focus = SOV_economic_cars_europe } uncomplete_national_focus = { focus = SOV_economic_reno_nissan_autovaz } uncomplete_national_focus = { focus = SOV_economic_cars_west_market } uncomplete_national_focus = { focus = SOV_economic_cars_japan_market } uncomplete_national_focus = { focus = SOV_economic_cars_moskvich } 644 = { if = { limit = { industrial_complex > 2 } remove_building = { type = industrial_complex level = 3 } } } 652 = { if = { limit = { industrial_complex > 1 } remove_building = { type = industrial_complex level = 2 } } } } } SOV_economy_cars_script = { if = { limit = { has_idea = SOV_foreign_cars_idea2 } swap_ideas = { remove_idea = SOV_foreign_cars_idea2 add_idea = SOV_foreign_cars_idea3 } } else_if = { limit = { has_idea = SOV_foreign_cars_idea1 } swap_ideas = { remove_idea = SOV_foreign_cars_idea1 add_idea = SOV_foreign_cars_idea2 } } else_if = { limit = { has_idea = SOV_foreign_cars_idea } swap_ideas = { remove_idea = SOV_foreign_cars_idea add_idea = SOV_foreign_cars_idea1 } } } SOV_economic_growth_script = { if = { limit = { has_idea = SOV_broken_economy_idea_3 } remove_ideas = SOV_broken_economy_idea_3 increase_economic_growth = yes add_political_power = -350 } else_if = { limit = { has_idea = SOV_broken_economy_idea_2 } swap_ideas = { remove_idea = SOV_broken_economy_idea_2 add_idea = SOV_broken_economy_idea_3 } increase_economic_growth = yes add_political_power = -250 } else_if = { limit = { has_idea = SOV_broken_economy_idea_1 } swap_ideas = { remove_idea = SOV_broken_economy_idea_1 add_idea = SOV_broken_economy_idea_2 } increase_economic_growth = yes add_political_power = -250 } } ###########REFERENDUM OF INDEPENDENCE(LIBERAL RUSSIA)########### russian_referendum_federation = { if = { limit = { NOT = { country_exists = BSH } } release = BSH BSH = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = BRY } } release = BRY BRY = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = CHE } } release = CHE CHE = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = KLM } } release = KLM KLM = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = DAG } } release = DAG DAG = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = TUV } } release = TUV TUV = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = YAK } } release = YAK YAK = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = KOM } } release = KOM KOM = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = ALT } } release = ALT ALT = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = KHS } } release = KHS KHS = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = KAE } } release = KAE KAE = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = CKK } } release = CKK CKK = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = KHM } } release = KHM KHM = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = YAM } } release = YAM YAM = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = NEE } } release = NEE NEE = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = TAT } } release = TAT TAT = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = KBK } } release = KBK KBK = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = KCC } } release = KCC KCC = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = ADY } } release = ADY ADY = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = SOO } } release = SOO SOO = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = ING } } release = ING ING = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = CHU } } release = CHU CHU = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = MEL } } release = MEL MEL = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = MOV } } release = MOV MOV = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } if = { limit = { NOT = { country_exists = UDM } } release = UDM UDM = { set_country_flag = SUB_subject_rebellion_flag country_event = sov_other.32 } } } ###########ATTACK LEAVING SUBJECTS(LIBERAL RUSSIA)########### russian_subject_attack = { if = { limit = { NOT = { BSH = { is_subject_of = SOV } } country_exists = BSH } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = BSH } } } if = { limit = { NOT = { CHE = { is_subject_of = SOV } } country_exists = CHE } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = CHE } } } if = { limit = { NOT = { BRY = { is_subject_of = SOV } } country_exists = BRY } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = BRY } } } if = { limit = { NOT = { KLM = { is_subject_of = SOV } } country_exists = KLM } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = KLM } } } if = { limit = { NOT = { DAG = { is_subject_of = SOV } } country_exists = DAG } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = DAG } } } if = { limit = { NOT = { TUV = { is_subject_of = SOV } } country_exists = TUV } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = TUV } } } if = { limit = { NOT = { YAK = { is_subject_of = SOV } } country_exists = YAK } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = YAK } } } if = { limit = { NOT = { KOM = { is_subject_of = SOV } } country_exists = KOM } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = KOM } } } if = { limit = { NOT = { ALT = { is_subject_of = SOV } } country_exists = ALT } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = ALT } } } if = { limit = { NOT = { KHS = { is_subject_of = SOV } } country_exists = KHS } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = KHS } } } if = { limit = { NOT = { KAE = { is_subject_of = SOV } } country_exists = KAE } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = KAE } } } if = { limit = { NOT = { CKK = { is_subject_of = SOV } } country_exists = CKK } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = CKK } } } if = { limit = { NOT = { KHM = { is_subject_of = SOV } } country_exists = KHM } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = KHM } } } if = { limit = { NOT = { YAM = { is_subject_of = SOV } } country_exists = YAM } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = YAM } } } if = { limit = { NOT = { NEE = { is_subject_of = SOV } } country_exists = NEE } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = NEE } } } if = { limit = { NOT = { TAT = { is_subject_of = SOV } } country_exists = TAT } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = TAT } } } if = { limit = { NOT = { KBK = { is_subject_of = SOV } } country_exists = KBK } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = KBK } } } if = { limit = { NOT = { CHU = { is_subject_of = SOV } } country_exists = CHU } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = CHU } } } if = { limit = { NOT = { MEL = { is_subject_of = SOV } } country_exists = MEL } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = MEL } } } if = { limit = { NOT = { MOV = { is_subject_of = SOV } } country_exists = MOV } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = MOV } } } if = { limit = { NOT = { UDM = { is_subject_of = SOV } } country_exists = UDM } hidden_effect = { create_wargoal = { type = puppet_wargoal_focus target = UDM } } } } ###########DELETE NATIONAL REPUBLICS########### ###########DELETE NATIONAL REPUBLICS - TATARSTAN########### russian_tatarstan_annex = { if = { limit = { OR = { AND = { country_exists = TAT TAT = { is_subject_of = SOV } } SOV = { owns_state = 661 } } TAT = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { TAT.subjectinped < 55 } } } add_political_power = -150 add_stability = -0.02 set_temp_variable = { party_popularity_increase = -0.04 } set_temp_variable = { temp_outlook_increase = -0.04 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = TAT transfer_troops = yes } add_to_variable = { treasury = TAT.treasury } add_to_variable = { debt = TAT.debt } add_to_variable = { int_investments = TAT.int_investments } } TAT = { every_core_state = { remove_core_of = TAT } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { TAT = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { TAT.subjectinped > 55 } } NOT = { country_exists = TAT } } if = { limit = { country_exists = TAT TAT = { is_subject_of = SOV } } TAT = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = TAT autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 661 } } release = TAT } TAT = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - BASHKORTOSTAN########### russian_bashkortostan_annex = { if = { limit = { OR = { AND = { country_exists = BSH BSH = { is_subject_of = SOV } } SOV = { owns_state = 664 } } BSH = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { BSH.subjectinped < 55 } } } add_political_power = -150 add_stability = -0.02 set_temp_variable = { party_popularity_increase = -0.03 } set_temp_variable = { temp_outlook_increase = -0.03 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = BSH transfer_troops = yes } add_to_variable = { treasury = BSH.treasury } add_to_variable = { debt = BSH.debt } add_to_variable = { int_investments = BSH.int_investments } } BSH = { every_core_state = { remove_core_of = BSH } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { BSH = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { BSH.subjectinped > 55 } } NOT = { country_exists = BSH } } if = { limit = { country_exists = BSH BSH = { is_subject_of = SOV } } BSH = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = BSH autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 664 } } release = BSH } BSH = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - CHECHNYA########### russian_chechnya_annex = { if = { limit = { OR = { AND = { country_exists = CHE CHE = { is_subject_of = SOV } } SOV = { owns_state = 672 } } CHE = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { CHE.subjectinped < 55 } } } add_political_power = -120 add_stability = -0.03 set_temp_variable = { party_popularity_increase = -0.03 } set_temp_variable = { temp_outlook_increase = -0.03 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = CHE transfer_troops = yes } add_to_variable = { treasury = CHE.treasury } add_to_variable = { debt = CHE.debt } add_to_variable = { int_investments = CHE.int_investments } } CHE = { every_core_state = { remove_core_of = CHE } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { CHE = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { CHE.subjectinped > 55 } } NOT = { country_exists = CHE } } if = { limit = { country_exists = CHE CHE = { is_subject_of = SOV } } CHE = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = CHE autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 672 } } release = CHE } CHE = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - DAGESTAN########### russian_dagestan_annex = { if = { limit = { OR = { AND = { country_exists = DAG DAG = { is_subject_of = SOV } } SOV = { owns_state = 671 } } DAG = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { DAG.subjectinped < 55 } } } add_political_power = -90 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = DAG transfer_troops = yes } add_to_variable = { treasury = DAG.treasury } add_to_variable = { debt = DAG.debt } add_to_variable = { int_investments = DAG.int_investments } } DAG = { every_core_state = { remove_core_of = DAG } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { DAG = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { DAG.subjectinped > 55 } } NOT = { country_exists = DAG } } if = { limit = { country_exists = DAG DAG = { is_subject_of = SOV } } DAG = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = DAG autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 671 } } release = DAG } DAG = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - ADYGEA########### russian_adygea_annex = { if = { limit = { OR = { AND = { country_exists = ADY ADY = { is_subject_of = SOV } } SOV = { owns_state = 1127 } } ADY = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { ADY.subjectinped < 55 } } } add_political_power = -90 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = ADY transfer_troops = yes } add_to_variable = { treasury = ADY.treasury } add_to_variable = { debt = ADY.debt } add_to_variable = { int_investments = ADY.int_investments } } ADY = { every_core_state = { remove_core_of = ADY } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { ADY = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { ADY.subjectinped > 55 } } NOT = { country_exists = ADY } } if = { limit = { country_exists = ADY ADY = { is_subject_of = SOV } } ADY = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = ADY autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 1127 } } release = ADY } ADY = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - KARACHAEVO CHERKESSIA########### russian_karachaevo_annex = { if = { limit = { OR = { AND = { country_exists = KCC KCC = { is_subject_of = SOV } } SOV = { owns_state = 1125 } } KCC = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KCC.subjectinped < 55 } } } add_political_power = -90 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.01 } set_temp_variable = { temp_outlook_increase = -0.01 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = KCC transfer_troops = yes } add_to_variable = { treasury = KCC.treasury } add_to_variable = { debt = KCC.debt } add_to_variable = { int_investments = KCC.int_investments } } KCC = { every_core_state = { remove_core_of = KCC } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { KCC = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KCC.subjectinped > 55 } } NOT = { country_exists = KCC } } if = { limit = { country_exists = KCC KCC = { is_subject_of = SOV } } KCC = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = KCC autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 1125 } } release = KCC } KCC = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - YAKUTIA########### russian_yakutia_annex = { if = { limit = { OR = { AND = { country_exists = YAK YAK = { is_subject_of = SOV } } SOV = { owns_state = 688 } } YAK = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { YAK.subjectinped < 55 } } } add_political_power = -120 add_stability = -0.02 set_temp_variable = { party_popularity_increase = -0.03 } set_temp_variable = { temp_outlook_increase = -0.03 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = YAK transfer_troops = yes } add_to_variable = { treasury = YAK.treasury } add_to_variable = { debt = YAK.debt } add_to_variable = { int_investments = YAK.int_investments } } YAK = { every_core_state = { remove_core_of = YAK } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { YAK = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { YAK.subjectinped > 55 } } NOT = { country_exists = YAK } } if = { limit = { country_exists = YAK YAK = { is_subject_of = SOV } } YAK = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = YAK autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 688 } } release = YAK } YAK = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - TUVA########### russian_tuva_annex = { if = { limit = { OR = { AND = { country_exists = TUV TUV = { is_subject_of = SOV } } SOV = { owns_state = 1011 } } TUV = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { TUV.subjectinped < 55 } } } add_political_power = -90 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.01 } set_temp_variable = { temp_outlook_increase = -0.01 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = TUV transfer_troops = yes } add_to_variable = { treasury = TUV.treasury } add_to_variable = { debt = TUV.debt } add_to_variable = { int_investments = TUV.int_investments } } TUV = { every_core_state = { remove_core_of = TUV } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { TUV = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { TUV.subjectinped > 55 } } NOT = { country_exists = TUV } } if = { limit = { country_exists = TUV TUV = { is_subject_of = SOV } } TUV = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = TUV autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 1011 } } release = TUV } TUV = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - BURYATIA########### russian_buryatia_annex = { if = { limit = { OR = { AND = { country_exists = BRY BRY = { is_subject_of = SOV } } SOV = { owns_state = 686 } } BRY = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { BRY.subjectinped < 55 } } } add_political_power = -150 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = BRY transfer_troops = yes } add_to_variable = { treasury = BRY.treasury } add_to_variable = { debt = BRY.debt } add_to_variable = { int_investments = BRY.int_investments } } BRY = { every_core_state = { remove_core_of = BRY } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { BRY = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { BRY.subjectinped > 55 } } NOT = { country_exists = BRY } } if = { limit = { country_exists = BRY BRY = { is_subject_of = SOV } } BRY = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = BRY autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 686 } } release = BRY } BRY = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - KARELIA########### russian_karelia_annex = { if = { limit = { OR = { AND = { country_exists = KAE KAE = { is_subject_of = SOV } } SOV = { owns_state = 1128 } } KAE = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KAE.subjectinped < 55 } } } add_political_power = -90 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.01 } set_temp_variable = { temp_outlook_increase = -0.01 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = KAE transfer_troops = yes } add_to_variable = { treasury = KAE.treasury } add_to_variable = { debt = KAE.debt } add_to_variable = { int_investments = KAE.int_investments } } KAE = { every_core_state = { remove_core_of = KAE } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { KAE = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KAE.subjectinped > 55 } } NOT = { country_exists = KAE } } if = { limit = { country_exists = KAE KAE = { is_subject_of = SOV } } KAE = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = KAE autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 1128 } } release = KAE } KAE = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - KOMI########### russian_komi_annex = { if = { limit = { OR = { AND = { country_exists = KOM KOM = { is_subject_of = SOV } } SOV = { owns_state = 648 } } KOM = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KOM.subjectinped < 55 } } } add_political_power = -90 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.01 } set_temp_variable = { temp_outlook_increase = -0.01 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = KOM transfer_troops = yes } add_to_variable = { treasury = KOM.treasury } add_to_variable = { debt = KOM.debt } add_to_variable = { int_investments = KOM.int_investments } } KOM = { every_core_state = { remove_core_of = KOM } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { KOM = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KOM.subjectinped > 45 } } NOT = { country_exists = KOM } } if = { limit = { country_exists = KOM KOM = { is_subject_of = SOV } } KOM = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = KOM autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 648 } } release = KOM } KOM = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - KALMIKYA########### russian_kalmikiya_annex = { if = { limit = { OR = { AND = { country_exists = KLM KLM = { is_subject_of = SOV } } SOV = { owns_state = 1107 } } KLM = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KLM.subjectinped < 55 } } } add_political_power = -110 add_stability = -0.02 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = KLM transfer_troops = yes } add_to_variable = { treasury = KLM.treasury } add_to_variable = { debt = KLM.debt } add_to_variable = { int_investments = KLM.int_investments } } KLM = { every_core_state = { remove_core_of = KLM } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { KLM = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KLM.subjectinped > 55 } } NOT = { country_exists = KLM } } if = { limit = { country_exists = KLM KLM = { is_subject_of = SOV } } KLM = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = KLM autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 1107 } } release = KLM } KLM = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - ALTAI########### russian_altai_annex = { if = { limit = { OR = { AND = { country_exists = ALT ALT = { is_subject_of = SOV } } SOV = { owns_state = 684 } } ALT = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { ALT.subjectinped < 55 } } } add_political_power = -90 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.01 } set_temp_variable = { temp_outlook_increase = -0.01 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = ALT transfer_troops = yes } add_to_variable = { treasury = ALT.treasury } add_to_variable = { debt = ALT.debt } add_to_variable = { int_investments = ALT.int_investments } } ALT = { every_core_state = { remove_core_of = ALT } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { ALT = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { ALT.subjectinped > 55 } } NOT = { country_exists = ALT } } if = { limit = { country_exists = ALT ALT = { is_subject_of = SOV } } ALT = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = ALT autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 684 } } release = ALT } ALT = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - YAMAL########### russian_yamal_annex = { if = { limit = { OR = { AND = { country_exists = YAM YAM = { is_subject_of = SOV } } SOV = { owns_state = 679 } } YAM = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { YAM.subjectinped < 55 } } } add_political_power = -110 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = YAM transfer_troops = yes } add_to_variable = { treasury = YAM.treasury } add_to_variable = { debt = YAM.debt } add_to_variable = { int_investments = YAM.int_investments } } YAM = { every_core_state = { remove_core_of = YAM } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { YAM = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { YAM.subjectinped > 55 } } NOT = { country_exists = YAM } } if = { limit = { country_exists = YAM YAM = { is_subject_of = SOV } } YAM = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = YAM autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 679 } } release = YAM } YAM = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - NENETS########### russian_nenets_annex = { if = { limit = { OR = { AND = { country_exists = NEE NEE = { is_subject_of = SOV } } SOV = { owns_state = 683 } } NEE = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { NEE.subjectinped < 55 } } } add_political_power = -120 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = NEE transfer_troops = yes } add_to_variable = { treasury = NEE.treasury } add_to_variable = { debt = NEE.debt } add_to_variable = { int_investments = NEE.int_investments } } NEE = { every_core_state = { remove_core_of = NEE } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { NEE = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { NEE.subjectinped > 55 } } NOT = { country_exists = NEE } } if = { limit = { country_exists = NEE NEE = { is_subject_of = SOV } } NEE = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = NEE autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 683 } } release = NEE } NEE = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - CHUKOTKA########### russian_chukotka_annex = { if = { limit = { OR = { AND = { country_exists = CKK CKK = { is_subject_of = SOV } } SOV = { owns_state = 689 } } CKK = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { CKK.subjectinped < 55 } } } add_political_power = -35 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.01 } set_temp_variable = { temp_outlook_increase = -0.01 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = CKK transfer_troops = yes } add_to_variable = { treasury = CKK.treasury } add_to_variable = { debt = CKK.debt } add_to_variable = { int_investments = CKK.int_investments } } CKK = { every_core_state = { remove_core_of = CKK } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { CKK = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { CKK.subjectinped > 55 } } NOT = { country_exists = CKK } } if = { limit = { country_exists = CKK CKK = { is_subject_of = SOV } } CKK = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = CKK autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 689 } } release = CKK } CKK = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - KHAKASSIA########### russian_khakassia_annex = { if = { limit = { OR = { AND = { country_exists = KHS KHS = { is_subject_of = SOV } } SOV = { owns_state = 1065 } } KHS = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KHS.subjectinped < 55 } } } add_political_power = -35 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = KHS transfer_troops = yes } add_to_variable = { treasury = KHS.treasury } add_to_variable = { debt = KHS.debt } add_to_variable = { int_investments = KHS.int_investments } } KHS = { every_core_state = { remove_core_of = KHS } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { KHS = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KHS.subjectinped > 55 } } NOT = { country_exists = KHS } } if = { limit = { country_exists = KHS KHS = { is_subject_of = SOV } } KHS = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = KHS autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 1065 } } release = KHS } KHS = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS -YUGRA########### russian_yugra_annex = { if = { limit = { OR = { AND = { country_exists = KHM KHM = { is_subject_of = SOV } } SOV = { owns_state = 678 } } KHM = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KHM.subjectinped < 55 } } } add_political_power = -100 add_stability = -0.02 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = KHM transfer_troops = yes } add_to_variable = { treasury = KHM.treasury } add_to_variable = { debt = KHM.debt } add_to_variable = { int_investments = KHM.int_investments } } KHM = { every_core_state = { remove_core_of = KHM } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { KHM = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KHM.subjectinped > 55 } } NOT = { country_exists = KHM } } if = { limit = { country_exists = KHM KHM = { is_subject_of = SOV } } KHM = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = KHM autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 678 } } release = KHM } KHM = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - INGUSHETIA########### russian_ingushetia_annex = { if = { limit = { OR = { AND = { country_exists = ING ING = { is_subject_of = SOV } } SOV = { owns_state = 1126 } } ING = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { ING.subjectinped < 55 } } } add_political_power = -35 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = ING transfer_troops = yes } add_to_variable = { treasury = ING.treasury } add_to_variable = { debt = ING.debt } add_to_variable = { int_investments = ING.int_investments } } ING = { every_core_state = { remove_core_of = ING } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { ING = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { ING.subjectinped > 55 } } NOT = { country_exists = ING } } if = { limit = { country_exists = ING ING = { is_subject_of = SOV } } ING = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = ING autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 1126 } } release = ING } ING = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - KABARDINO-BALKARIA########### russian_kabardino_annex = { if = { limit = { OR = { AND = { country_exists = KBK KBK = { is_subject_of = SOV } } SOV = { owns_state = 674 } } KBK = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KBK.subjectinped < 55 } } } add_political_power = -35 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.01 } set_temp_variable = { temp_outlook_increase = -0.01 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = KBK transfer_troops = yes } add_to_variable = { treasury = KBK.treasury } add_to_variable = { debt = KBK.debt } add_to_variable = { int_investments = KBK.int_investments } } KBK = { every_core_state = { remove_core_of = KBK } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { KBK = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { KBK.subjectinped > 55 } } NOT = { country_exists = KBK } } if = { limit = { country_exists = KBK KBK = { is_subject_of = SOV } } KBK = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = KBK autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 674 } } release = KBK } KBK = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - CHUVASHIA########### russian_chuvashia_annex = { if = { limit = { OR = { AND = { country_exists = CHU CHU = { is_subject_of = SOV } } SOV = { owns_state = 1135 } } CHU = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { CHU.subjectinped < 55 } } } add_political_power = -90 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = CHU transfer_troops = yes } add_to_variable = { treasury = CHU.treasury } add_to_variable = { debt = CHU.debt } add_to_variable = { int_investments = CHU.int_investments } } CHU = { every_core_state = { remove_core_of = CHU } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { CHU = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { CHU.subjectinped > 55 } } NOT = { country_exists = CHU } } if = { limit = { country_exists = CHU CHU = { is_subject_of = SOV } } country_event = subject_rus.126 CHU = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = CHU autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 1135 } } release = CHU } CHU = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - MARI EL########### russian_mari_annex = { if = { limit = { OR = { AND = { country_exists = MEL MEL = { is_subject_of = SOV } } SOV = { owns_state = 1134 } } MEL = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { MEL.subjectinped < 55 } } } add_political_power = -90 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = MEL transfer_troops = yes } add_to_variable = { treasury = MEL.treasury } add_to_variable = { debt = MEL.debt } add_to_variable = { int_investments = MEL.int_investments } } MEL = { every_core_state = { remove_core_of = MEL } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { MEL = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { MEL.subjectinped > 55 } } NOT = { country_exists = MEL } } if = { limit = { country_exists = MEL MEL = { is_subject_of = SOV } } MEL = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = MEL autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 1134 } } release = MEL } MEL = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - MORDOVIA########### russian_mordovia_annex = { if = { limit = { OR = { AND = { country_exists = MOV MOV = { is_subject_of = SOV } } SOV = { owns_state = 1132 } } MOV = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { MOV.subjectinped < 55 } } } add_political_power = -90 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = MOV transfer_troops = yes } add_to_variable = { treasury = MOV.treasury } add_to_variable = { debt = MOV.debt } add_to_variable = { int_investments = MOV.int_investments } } MOV = { every_core_state = { remove_core_of = MOV } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { MOV = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { MOV.subjectinped > 55 } } NOT = { country_exists = MOV } } if = { limit = { country_exists = MOV MOV = { is_subject_of = SOV } } MOV = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = MOV autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 1132 } } release = MOV } MOV = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########DELETE NATIONAL REPUBLICS - UDMURTIA########### russian_udmurtia_annex = { if = { limit = { OR = { AND = { country_exists = UDM UDM = { is_subject_of = SOV } } SOV = { owns_state = 1133 } } UDM = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { UDM.subjectinped < 55 } } } add_political_power = -90 add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes hidden_effect = { annex_country = { target = UDM transfer_troops = yes } add_to_variable = { treasury = UDM.treasury } add_to_variable = { debt = UDM.debt } add_to_variable = { int_investments = UDM.int_investments } } UDM = { every_core_state = { remove_core_of = UDM } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } else_if = { limit = { UDM = { SOV_subject_not_rebelling_or_destroyed = yes check_variable = { UDM.subjectinped > 55 } } NOT = { country_exists = UDM } } if = { limit = { country_exists = UDM UDM = { is_subject_of = SOV } } UDM = { country_event = subject_rus.126 } SOV = { set_autonomy = { target = UDM autonomy_state = autonomy_free } } } else_if = { limit = { SOV = { owns_state = 1132 } } release = UDM } UDM = { country_event = subject_rus.126 set_temp_variable = { modify_subjectinped = -25 } modify_subjectinped_support = yes set_country_flag = SUB_subject_rebellion_flag } } } ###########CREATED GOVERNORATES(JIRIK)########### SOV_russian_governorates_created = { if = { limit = { BLR = { influence_higher_50 = yes is_subject_of = SOV NOT = { BLR = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = BLR } add_political_power = -200 set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes BLR = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = GOV_BLR clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = BLR autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { CRM = { influence_higher_50 = yes is_subject_of = SOV NOT = { CRM = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = CRM } add_political_power = -200 set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes CRM = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = GOV_CRM clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = CRM autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { NOV = { influence_higher_50 = yes is_subject_of = SOV NOT = { NOV = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = NOV } add_political_power = -400 set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes NOV = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = GOV_NOV clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = NOV autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { LAT = { influence_higher_50 = yes is_subject_of = SOV NOT = { LAT = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = LAT } add_political_power = -200 set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes LAT = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = GOV_LAT clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = LAT autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { AZE = { influence_higher_50 = yes is_subject_of = SOV NOT = { AZE = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = AZE } add_political_power = -200 set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes AZE = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = GOV_AZE clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = AZE autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { LIT = { influence_higher_50 = yes is_subject_of = SOV NOT = { LIT = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = LIT } add_political_power = -200 set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes LIT = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = GOV_LIT clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = LIT autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { EST = { influence_higher_50 = yes is_subject_of = SOV NOT = { EST = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = EST } add_political_power = -200 set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes EST = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = GOV_EST clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = EST autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { GEO = { influence_higher_50 = yes is_subject_of = SOV NOT = { GEO = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = GEO } add_political_power = -200 set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes GEO = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = GOV_GEO clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = GEO autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { TAJ = { influence_higher_50 = yes is_subject_of = SOV NOT = { TAJ = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = TAJ } add_political_power = -150 TAJ = { set_country_flag = SOV_subject_governorate SOV = { country_event = sov_nationalists.50 set_autonomy = { target = TAJ autonomy_state = autonomy_governorate_rf } } set_cosmetic_tag = GOV_TRK clr_country_flag = dynamic_flag hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { KAZ = { influence_higher_50 = yes is_subject_of = SOV NOT = { KAZ = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = KAZ } add_political_power = -150 KAZ = { set_country_flag = SOV_subject_governorate SOV = { country_event = sov_nationalists.50 set_autonomy = { target = KAZ autonomy_state = autonomy_governorate_rf } } set_cosmetic_tag = GOV_TRK clr_country_flag = dynamic_flag hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { TRK = { influence_higher_50 = yes is_subject_of = SOV NOT = { TRK = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = TRK } add_political_power = -150 TRK = { set_country_flag = SOV_subject_governorate SOV = { country_event = sov_nationalists.50 set_autonomy = { target = TRK autonomy_state = autonomy_governorate_rf } } set_cosmetic_tag = GOV_TRK clr_country_flag = dynamic_flag hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { UZB = { influence_higher_50 = yes is_subject_of = SOV NOT = { UZB = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = UZB } add_political_power = -150 UZB = { set_country_flag = SOV_subject_governorate SOV = { country_event = sov_nationalists.50 set_autonomy = { target = UZB autonomy_state = autonomy_governorate_rf } } set_cosmetic_tag = GOV_TRK clr_country_flag = dynamic_flag hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { KYR = { influence_higher_50 = yes is_subject_of = SOV NOT = { KYR = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = KYR } add_political_power = -150 KYR = { set_country_flag = SOV_subject_governorate SOV = { country_event = sov_nationalists.50 set_autonomy = { target = KYR autonomy_state = autonomy_governorate_rf } } set_cosmetic_tag = GOV_TRK clr_country_flag = dynamic_flag hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { FIN = { influence_higher_50 = yes is_subject_of = SOV NOT = { FIN = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = FIN } add_political_power = -250 FIN = { set_country_flag = SOV_subject_governorate SOV = { country_event = sov_nationalists.50 set_autonomy = { target = FIN autonomy_state = autonomy_governorate_rf } } set_cosmetic_tag = GOV_FIN clr_country_flag = dynamic_flag hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { POL = { influence_higher_50 = yes is_subject_of = SOV NOT = { POL = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = POL } add_political_power = -250 POL = { set_country_flag = SOV_subject_governorate SOV = { country_event = sov_nationalists.50 set_autonomy = { target = POL autonomy_state = autonomy_governorate_rf } } set_cosmetic_tag = GOV_POL clr_country_flag = dynamic_flag hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes if = { limit = { NOT = { has_country_flag = poland_governorate_revoult } } set_country_flag = poland_governorate_revoult POL = { country_event = sov_nationalists.39 } } } } } if = { limit = { UKR = { influence_higher_50 = yes is_subject_of = SOV NOT = { UKR = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = UKR } add_political_power = -250 UKR = { set_country_flag = SOV_subject_governorate SOV = { country_event = sov_nationalists.50 set_autonomy = { target = UKR autonomy_state = autonomy_governorate_rf } } set_cosmetic_tag = GOV_MLR clr_country_flag = dynamic_flag hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { ARM = { influence_higher_50 = yes is_subject_of = SOV NOT = { ARM = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = ARM } add_political_power = -250 ARM = { set_country_flag = SOV_subject_governorate SOV = { country_event = sov_nationalists.50 set_autonomy = { target = ARM autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { LEB = { influence_higher_50 = yes is_subject_of = SOV NOT = { LEB = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = LEB } add_political_power = -150 LEB = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = GOV_LEB clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = LEB autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { ISR = { influence_higher_50 = yes is_subject_of = SOV NOT = { ISR = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = ISR } add_political_power = -150 ISR = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = GOV_ISR clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = ISR autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { SYR = { influence_higher_50 = yes is_subject_of = SOV NOT = { SYR = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = SYR } add_political_power = -150 SYR = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = GOV_SYR clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = SYR autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { EGY = { influence_higher_50 = yes is_subject_of = SOV NOT = { EGY = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = EGY } add_political_power = -250 EGY = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = GOV_EGY clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = EGY autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { MON = { influence_higher_50 = yes is_subject_of = SOV NOT = { MON = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = MON } add_political_power = -250 MON = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = GOV_MON clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = MON autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } if = { limit = { CZE = { influence_higher_50 = yes is_subject_of = SOV NOT = { CZE = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = CZE } add_political_power = -250 CZE = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = CZE_imperka set_variable = { dynamic_flag_variant = 8 } clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = CZE autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes if = { limit = { NOT = { has_country_flag = czechs_governorate_revoult } } set_country_flag = czechs_governorate_revoult CZE = { country_event = sov_nationalists.40 } } } } } if = { limit = { SLO = { influence_higher_50 = yes is_subject_of = SOV NOT = { SLO = { has_autonomy_state = autonomy_governorate_rf } } } country_exists = SLO } add_political_power = -250 SLO = { set_country_flag = SOV_subject_governorate set_cosmetic_tag = SLO_imperka set_variable = { dynamic_flag_variant = 8 } clr_country_flag = dynamic_flag SOV = { country_event = sov_nationalists.50 set_autonomy = { target = SLO autonomy_state = autonomy_governorate_rf } } hidden_effect = { set_temp_variable = { percent_change = -15 } change_influence_percentage = yes } } } } ###########ANNEX GOVERNORATES(JIRIK)########### SOV_russian_governorates_annex = { if = { limit = { ASK = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } ASK = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { UZB = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } UZB = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { KAZ = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } KAZ = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { TAJ = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } TAJ = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { TRK = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } TRK = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { KYR = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } KYR = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { EST = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } EST = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { LAT = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } LAT = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { LIT = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } LIT = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { BLR = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } BLR = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { UKR = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } UKR = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { NOV = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } NOV = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { CRM = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } CRM = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { ARM = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } ARM = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { AZE = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } AZE = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { NKR = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } NKR = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { SYR = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } SYR = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { ISR = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } ISR = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { EGY = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } EGY = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { LEB = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } LEB = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { GEO = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } GEO = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { MON = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } MON = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { FIN = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } FIN = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { POL = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } POL = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { CZE = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } CZE = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } if = { limit = { SLO = { influence_higher_50 = yes has_autonomy_state = autonomy_governorate_rf } } SLO = { add_timed_idea = { idea = SOV_idea_governorate days = 100 } } add_political_power = -150 } } ###########DESTROY POVOLJIE REPUBLICS(JIRIK)########### SOV_russian_republics_destroy_povoljie = { if = { limit = { OR = { UDM = { is_subject_of = SOV } SOV = { owns_state = 1133 } } NOT = { UDM = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_udmurtia_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { MOV = { is_subject_of = SOV } SOV = { owns_state = 1132 } } NOT = { MOV = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_mordovia_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { MEL = { is_subject_of = SOV } SOV = { owns_state = 1134 } } NOT = { MEL = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_mari_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { CHU = { is_subject_of = SOV } SOV = { owns_state = 1134 } } NOT = { CHU = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_chuvashia_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { BSH = { is_subject_of = SOV } SOV = { owns_state = 664 } } NOT = { BSH = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_bashkortostan_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { TAT = { is_subject_of = SOV } SOV = { owns_state = 661 } } NOT = { TAT = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_tatarstan_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } } ###########DESTROY CAUCAS REPUBLICS(JIRIK)########### SOV_russian_republics_destroy_caucas = { if = { limit = { OR = { KBK = { is_subject_of = SOV } SOV = { owns_state = 674 } } NOT = { KBK = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_kabardino_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { ING = { is_subject_of = SOV } SOV = { owns_state = 1126 } } NOT = { ING = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_ingushetia_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { KCC = { is_subject_of = SOV } SOV = { owns_state = 1125 } } NOT = { KCC = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_karachaevo_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { ADY = { is_subject_of = SOV } SOV = { owns_state = 1127 } } NOT = { ADY = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_adygea_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { DAG = { is_subject_of = SOV } SOV = { owns_state = 671 } } NOT = { DAG = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_dagestan_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { CHE = { is_subject_of = SOV } SOV = { owns_state = 672 } } NOT = { CHE = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_chechnya_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } } ###########DESTROY URAL AND SIBERIA REPUBLICS(JIRIK)########### SOV_russian_republics_destroy_siberia = { if = { limit = { OR = { KHM = { is_subject_of = SOV } SOV = { owns_state = 678 } } NOT = { KHM = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_yugra_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { KHS = { is_subject_of = SOV } SOV = { owns_state = 1065 } } NOT = { KHS = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_khakassia_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { CKK = { is_subject_of = SOV } SOV = { owns_state = 689 } } NOT = { CKK = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_chukotka_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { NEE = { is_subject_of = SOV } SOV = { owns_state = 683 } } NOT = { NEE = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_nenets_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { YAM = { is_subject_of = SOV } SOV = { owns_state = 679 } } NOT = { YAM = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_yamal_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { ALT = { is_subject_of = SOV } SOV = { owns_state = 684 } } NOT = { ALT = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_altai_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { KOM = { is_subject_of = SOV } SOV = { owns_state = 648 } } NOT = { KOM = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_komi_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { BRY = { is_subject_of = SOV } SOV = { owns_state = 686 } } NOT = { BRY = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_buryatia_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { TUV = { is_subject_of = SOV } SOV = { owns_state = 1011 } } NOT = { TUV = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_tuva_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { YAK = { is_subject_of = SOV } SOV = { owns_state = 688 } } NOT = { YAK = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_yakutia_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } } ###########DESTROY OTHER REPUBLICS(JIRIK)########### SOV_russian_republics_destroy_other = { if = { limit = { OR = { KLM = { is_subject_of = SOV } SOV = { owns_state = 1107 } } NOT = { KLM = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_kalmikiya_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } if = { limit = { OR = { KAE = { is_subject_of = SOV } SOV = { owns_state = 1128 } } NOT = { KAE = { has_country_flag = SUB_subject_rebellion_flag has_country_flag = SUB_subject_destroy_flag } } } russian_karelia_annex = yes hidden_effect = { set_temp_variable = { SOV_modify_republickill = 1 } SOV_modify_republickill_support = yes } } } ###########GUARANTEE SUBJECTS(LIBERAL RUSSIA)########### russian_subject_guarantee = { if = { limit = { NOT = { BSH = { is_subject_of = SOV } } country_exists = BSH } hidden_effect = { give_guarantee = BSH } } if = { limit = { NOT = { CHE = { is_subject_of = SOV } } country_exists = CHE } hidden_effect = { give_guarantee = CHE } } if = { limit = { NOT = { BRY = { is_subject_of = SOV } } country_exists = BRY } hidden_effect = { give_guarantee = BRY } } if = { limit = { NOT = { KLM = { is_subject_of = SOV } } country_exists = KLM } hidden_effect = { give_guarantee = KLM } } if = { limit = { NOT = { DAG = { is_subject_of = SOV } } country_exists = DAG } hidden_effect = { give_guarantee = DAG } } if = { limit = { NOT = { TUV = { is_subject_of = SOV } } country_exists = TUV } hidden_effect = { give_guarantee = TUV } } if = { limit = { NOT = { YAK = { is_subject_of = SOV } } country_exists = YAK } hidden_effect = { give_guarantee = YAK } } if = { limit = { NOT = { KOM = { is_subject_of = SOV } } country_exists = KOM } hidden_effect = { give_guarantee = KOM } } if = { limit = { NOT = { ALT = { is_subject_of = SOV } } country_exists = ALT } hidden_effect = { give_guarantee = ALT } } if = { limit = { NOT = { KHS = { is_subject_of = SOV } } country_exists = KHS } hidden_effect = { give_guarantee = KHS } } if = { limit = { NOT = { KAE = { is_subject_of = SOV } } country_exists = KAE } hidden_effect = { give_guarantee = KAE } } if = { limit = { NOT = { CKK = { is_subject_of = SOV } } country_exists = CKK } hidden_effect = { give_guarantee = CKK } } if = { limit = { NOT = { KHM = { is_subject_of = SOV } } country_exists = KHM } hidden_effect = { give_guarantee = KHM } } if = { limit = { NOT = { YAM = { is_subject_of = SOV } } country_exists = YAM } hidden_effect = { give_guarantee = YAM } } if = { limit = { NOT = { NEE = { is_subject_of = SOV } } country_exists = NEE } hidden_effect = { give_guarantee = NEE } } if = { limit = { NOT = { TAT = { is_subject_of = SOV } } country_exists = TAT } hidden_effect = { give_guarantee = TAT } } if = { limit = { NOT = { KBK = { is_subject_of = SOV } } country_exists = KBK } hidden_effect = { give_guarantee = KBK } } if = { limit = { NOT = { CHU = { is_subject_of = SOV } } country_exists = CHU } hidden_effect = { give_guarantee = CHU } } if = { limit = { NOT = { MEL = { is_subject_of = SOV } } country_exists = MEL } hidden_effect = { give_guarantee = MEL } } if = { limit = { NOT = { MOV = { is_subject_of = SOV } } country_exists = MOV } hidden_effect = { give_guarantee = MOV } } if = { limit = { NOT = { UDM = { is_subject_of = SOV } } country_exists = UDM } hidden_effect = { give_guarantee = UDM } } } ###########REMOVE NATIONAL CORES(LIBERAL RUSSIA)########### russian_remove_national_core = { if = { limit = { owns_state = 664 } hidden_effect = { BSH = { every_core_state = { remove_core_of = BSH } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 672 } hidden_effect = { CHE = { every_core_state = { remove_core_of = CHE } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 1107 } hidden_effect = { KLM = { every_core_state = { remove_core_of = KLM } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 671 } hidden_effect = { DAG = { every_core_state = { remove_core_of = DAG } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 1011 } hidden_effect = { TUV = { every_core_state = { remove_core_of = TUV } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { OR = { owns_state = 686 owns_state = 1070 } } hidden_effect = { BRY = { every_core_state = { remove_core_of = BRY } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 688 } hidden_effect = { YAK = { every_core_state = { remove_core_of = YAK } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 648 } hidden_effect = { KOM = { every_core_state = { remove_core_of = KOM } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 684 } hidden_effect = { ALT = { every_core_state = { remove_core_of = ALT } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 1065 } hidden_effect = { KHS = { every_core_state = { remove_core_of = KHS } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 643 owns_state = 1128 } hidden_effect = { KAE = { every_core_state = { remove_core_of = KAE } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 689 } hidden_effect = { CKK = { every_core_state = { remove_core_of = CKK } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 678 } hidden_effect = { KHM = { every_core_state = { remove_core_of = KHM } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 679 } hidden_effect = { YAM = { every_core_state = { remove_core_of = YAM } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 683 } hidden_effect = { NEE = { every_core_state = { remove_core_of = NEE } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 661 } hidden_effect = { TAT = { every_core_state = { remove_core_of = TAT } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 674 } hidden_effect = { KBK = { every_core_state = { remove_core_of = KBK } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 1125 } hidden_effect = { KCC = { every_core_state = { remove_core_of = KCC } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } if = { limit = { owns_state = 1126 } hidden_effect = { ING = { every_core_state = { remove_core_of = ING } set_country_flag = SUB_subject_rebellion_flag set_country_flag = SUB_subject_destroy_flag } } } } ###########NEW RUSSIAN REPUBLICS: URAL, DON, GORSKA, SIBERIA, FAR EAST(LIBERAL RUSSIA)########### russian_new_states = { if = { limit = { OR = { owns_state = 671 owns_state = 672 owns_state = 673 owns_state = 674 owns_state = 1125 owns_state = 1126 } } hidden_effect = { GOR = { set_country_flag = SOV_subject_state if = { limit = { country_exists = CHE CHE = { SUB_is_rf_lesser_subject = yes } } annex_country = { target = CHE transfer_troops = yes } GOR = { add_to_variable = { treasury = CHE.treasury } add_to_variable = { debt = CHE.debt } add_to_variable = { int_investments = CHE.int_investments } } } if = { limit = { country_exists = DAG DAG = { SUB_is_rf_lesser_subject = yes } } annex_country = { target = DAG transfer_troops = yes } GOR = { add_to_variable = { treasury = DAG.treasury } add_to_variable = { debt = DAG.debt } add_to_variable = { int_investments = DAG.int_investments } } } if = { limit = { country_exists = ING ING = { SUB_is_rf_lesser_subject = yes } } annex_country = { target = ING transfer_troops = yes } GOR = { add_to_variable = { treasury = ING.treasury } add_to_variable = { debt = ING.debt } add_to_variable = { int_investments = ING.int_investments } } } if = { limit = { country_exists = KBK KBK = { SUB_is_rf_lesser_subject = yes } } annex_country = { target = KBK transfer_troops = yes } GOR = { add_to_variable = { treasury = KBK.treasury } add_to_variable = { debt = KBK.debt } add_to_variable = { int_investments = KBK.int_investments } } } if = { limit = { country_exists = KCC KCC = { SUB_is_rf_lesser_subject = yes } } annex_country = { target = KCC transfer_troops = yes } GOR = { add_to_variable = { treasury = KCC.treasury } add_to_variable = { debt = KCC.debt } add_to_variable = { int_investments = KCC.int_investments } } } if = { limit = { SOV = { owns_state = 671 } } hidden_effect = { GOR = { transfer_state = 671 add_state_core = 671 } } } if = { limit = { SOV = { owns_state = 672 } } hidden_effect = { GOR = { transfer_state = 672 add_state_core = 672 } } } if = { limit = { SOV = { owns_state = 673 } } hidden_effect = { GOR = { transfer_state = 673 add_state_core = 673 } } } if = { limit = { SOV = { owns_state = 674 } } hidden_effect = { GOR = { transfer_state = 674 add_state_core = 674 } } } if = { limit = { SOV = { owns_state = 1125 } } hidden_effect = { GOR = { transfer_state = 1125 add_state_core = 1125 } } } if = { limit = { SOV = { owns_state = 1126 } } hidden_effect = { GOR = { transfer_state = 1126 add_state_core = 1126 } } } add_ideas = CHE_republic_rf add_ideas = SUB_small_taxes SOV = { set_temp_variable = { modify_subjectnalogs = 1.5 } modify_subjectnalogs_support = yes } } set_autonomy = { target = GOR autonomy_state = autonomy_state_rf } } } if = { limit = { OR = { owns_state = 668 owns_state = 1127 owns_state = 1140 } } hidden_effect = { KUB = { set_country_flag = SOV_subject_state if = { limit = { SOV = { owns_state = 668 } } hidden_effect = { KUB = { transfer_state = 668 add_state_core = 668 } } } if = { limit = { SOV = { owns_state = 1127 } } hidden_effect = { KUB = { transfer_state = 1127 add_state_core = 1127 } } } if = { limit = { SOV = { owns_state = 1140 } } hidden_effect = { KUB = { transfer_state = 1140 add_state_core = 1140 } } } add_ideas = CHE_republic_rf add_ideas = SUB_small_taxes SOV = { set_temp_variable = { modify_subjectnalogs = 1.5 } modify_subjectnalogs_support = yes } } set_autonomy = { target = KUB autonomy_state = autonomy_state_rf } } } if = { limit = { OR = { owns_state = 675 owns_state = 676 owns_state = 1071 owns_state = 1118 } } hidden_effect = { URA = { set_country_flag = SOV_subject_state set_country_flag = SUB_russ_polit if = { limit = { SOV = { owns_state = 676 } } hidden_effect = { URA = { transfer_state = 676 add_state_core = 676 } } } if = { limit = { SOV = { owns_state = 1071 } } hidden_effect = { URA = { transfer_state = 1071 add_state_core = 1071 } } } if = { limit = { SOV = { owns_state = 675 } } hidden_effect = { URA = { transfer_state = 675 add_state_core = 675 } } } if = { limit = { SOV = { owns_state = 1118 } } hidden_effect = { URA = { transfer_state = 1118 add_state_core = 1118 } } } add_ideas = CHE_republic_rf add_ideas = SUB_small_taxes SOV = { set_temp_variable = { modify_subjectnalogs = 1.5 } modify_subjectnalogs_support = yes } } set_autonomy = { target = URA autonomy_state = autonomy_state_rf } } } if = { limit = { owns_any_state_of = { 689 687 692 691 1069 1070 690 1068 1168 } } hidden_effect = { FAR = { set_country_flag = SOV_subject_state if = { limit = { SOV = { owns_state = 687 } } hidden_effect = { FAR = { transfer_state = 687 add_state_core = 687 } } } if = { limit = { SOV = { owns_state = 691 } } hidden_effect = { FAR = { transfer_state = 691 add_state_core = 691 } } } if = { limit = { SOV = { owns_state = 692 } } hidden_effect = { FAR = { transfer_state = 692 add_state_core = 692 } } } if = { limit = { SOV = { owns_state = 1069 } } hidden_effect = { FAR = { transfer_state = 1069 add_state_core = 1069 } } } if = { limit = { SOV = { owns_state = 1070 } } hidden_effect = { FAR = { transfer_state = 1070 add_state_core = 1070 } } } if = { limit = { SOV = { owns_state = 690 } } hidden_effect = { FAR = { transfer_state = 690 add_state_core = 690 } } } if = { limit = { SOV = { owns_state = 1068 } } hidden_effect = { FAR = { transfer_state = 1068 add_state_core = 1068 } } } if = { limit = { SOV = { owns_state = 1168 } } hidden_effect = { FAR = { transfer_state = 1168 add_state_core = 1168 } } } add_ideas = CHE_republic_rf add_ideas = SUB_small_taxes SOV = { set_temp_variable = { modify_subjectnalogs = 1.5 } modify_subjectnalogs_support = yes } } set_autonomy = { target = FAR autonomy_state = autonomy_state_rf } } } if = { limit = { owns_any_state_of = { 688 686 685 1011 } } hidden_effect = { SIB = { set_country_flag = SOV_subject_state if = { limit = { SOV = { owns_state = 688 } } hidden_effect = { SIB = { transfer_state = 688 add_state_core = 688 } } } if = { limit = { SOV = { owns_state = 686 } } hidden_effect = { SIB = { transfer_state = 686 add_state_core = 686 } } } if = { limit = { SOV = { owns_state = 685 } } hidden_effect = { SIB = { transfer_state = 685 add_state_core = 685 } } } if = { limit = { SOV = { owns_state = 1011 } } hidden_effect = { SIB = { transfer_state = 1011 add_state_core = 1011 } } } if = { limit = { country_exists = BRY BRY = { SUB_is_rf_lesser_subject = yes } } annex_country = { target = BRY transfer_troops = yes } SIB = { add_to_variable = { treasury = BRY.treasury } add_to_variable = { debt = BRY.debt } add_to_variable = { int_investments = BRY.int_investments } } } if = { limit = { country_exists = TUV TUV = { SUB_is_rf_lesser_subject = yes } } annex_country = { target = TUV transfer_troops = yes } SIB = { add_to_variable = { treasury = TUV.treasury } add_to_variable = { debt = TUV.debt } add_to_variable = { int_investments = TUV.int_investments } } } add_ideas = CHE_republic_rf add_ideas = SUB_small_taxes SOV = { set_temp_variable = { modify_subjectnalogs = 1.5 } modify_subjectnalogs_support = yes } } set_autonomy = { target = SIB autonomy_state = autonomy_state_rf } } } if = { limit = { owns_any_state_of = { 1075 1076 1085 1086 1087 696 695 694 693 1030 } } hidden_effect = { NOV = { set_country_flag = SOV_subject_state if = { limit = { country_exists = DPR DPR = { SUB_is_rf_lesser_subject = yes } } annex_country = { target = DPR transfer_troops = yes } NOV = { add_to_variable = { treasury = DPR.treasury } add_to_variable = { debt = DPR.debt } add_to_variable = { int_investments = DPR.int_investments } } } if = { limit = { country_exists = LPR LPR = { SUB_is_rf_lesser_subject = yes } } annex_country = { target = LPR transfer_troops = yes } NOV = { add_to_variable = { treasury = LPR.treasury } add_to_variable = { debt = LPR.debt } add_to_variable = { int_investments = LPR.int_investments } } } if = { limit = { country_exists = HPR HPR = { SUB_is_rf_lesser_subject = yes } } annex_country = { target = HPR transfer_troops = yes } NOV = { add_to_variable = { treasury = HPR.treasury } add_to_variable = { debt = HPR.debt } add_to_variable = { int_investments = HPR.int_investments } } } if = { limit = { country_exists = OPR OPR = { SUB_is_rf_lesser_subject = yes } } annex_country = { target = OPR transfer_troops = yes } NOV = { add_to_variable = { treasury = OPR.treasury } add_to_variable = { debt = OPR.debt } add_to_variable = { int_investments = OPR.int_investments } } } if = { limit = { SOV = { owns_state = 1075 } } hidden_effect = { NOV = { transfer_state = 1075 add_state_core = 1075 } } } if = { limit = { SOV = { owns_state = 1076 } } hidden_effect = { NOV = { transfer_state = 1076 add_state_core = 1076 } } } if = { limit = { SOV = { owns_state = 1085 } } hidden_effect = { NOV = { transfer_state = 1085 add_state_core = 1085 } } } if = { limit = { SOV = { owns_state = 1086 } } hidden_effect = { NOV = { transfer_state = 1086 add_state_core = 1086 } } } if = { limit = { SOV = { owns_state = 1087 } } hidden_effect = { NOV = { transfer_state = 1087 add_state_core = 1087 } } } if = { limit = { SOV = { owns_state = 696 } } hidden_effect = { NOV = { transfer_state = 696 add_state_core = 696 } } } if = { limit = { SOV = { owns_state = 695 } } hidden_effect = { NOV = { transfer_state = 695 add_state_core = 695 } } } if = { limit = { SOV = { owns_state = 694 } } hidden_effect = { NOV = { transfer_state = 694 add_state_core = 694 } } } if = { limit = { SOV = { owns_state = 1030 } } hidden_effect = { NOV = { transfer_state = 1030 add_state_core = 1030 } } } if = { limit = { SOV = { owns_state = 693 } } hidden_effect = { NOV = { transfer_state = 693 add_state_core = 693 } } } } set_autonomy = { target = NOV autonomy_state = autonomy_state_rf } } } } ###########INFLUENCE ON POST SOVIET COUNTRIES(LIBERAL RUSSIA)########### russian_influence_post_soviet = { custom_effect_tooltip = SOV_postsovok_TT hidden_effect = { if = { limit = { country_exists = KAZ } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = KAZ } change_influence_percentage = yes } if = { limit = { country_exists = UZB } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = UZB } change_influence_percentage = yes } if = { limit = { country_exists = TAJ } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = TAJ } change_influence_percentage = yes } if = { limit = { country_exists = KYR } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = KYR } change_influence_percentage = yes } if = { limit = { country_exists = TRK } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = TRK } change_influence_percentage = yes } if = { limit = { country_exists = UKR } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = UKR } change_influence_percentage = yes } if = { limit = { country_exists = BLR } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = BLR } change_influence_percentage = yes } if = { limit = { country_exists = MLV } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = MLV } change_influence_percentage = yes } if = { limit = { country_exists = PMR } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = PMR } change_influence_percentage = yes } if = { limit = { country_exists = AZE } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = AZE } change_influence_percentage = yes } if = { limit = { country_exists = ARM } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = ARM } change_influence_percentage = yes } if = { limit = { country_exists = NKR } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = NKR } change_influence_percentage = yes } if = { limit = { country_exists = GEO } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = GEO } change_influence_percentage = yes } if = { limit = { country_exists = ABK } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = ABK } change_influence_percentage = yes } if = { limit = { country_exists = SOO } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = SOO } change_influence_percentage = yes } if = { limit = { country_exists = LAT } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = LAT } change_influence_percentage = yes } if = { limit = { country_exists = LIT } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = LIT } change_influence_percentage = yes } if = { limit = { country_exists = EST } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = EST } change_influence_percentage = yes } } } ###########INFLUENCE ON POST SUBJECT OF RUSSIA COUNTRIES(LIBERAL RUSSIA)########### russian_influence_post_federation = { custom_effect_tooltip = SOV_postfederation_TT hidden_effect = { if = { limit = { country_exists = BSH } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = BSH } change_influence_percentage = yes } if = { limit = { country_exists = BRY } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = BRY } change_influence_percentage = yes } if = { limit = { country_exists = CHE } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = CHE } change_influence_percentage = yes } if = { limit = { country_exists = KLM } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = KLM } change_influence_percentage = yes } if = { limit = { country_exists = DAG } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = DAG } change_influence_percentage = yes } if = { limit = { country_exists = TUV } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = TUV } change_influence_percentage = yes } if = { limit = { country_exists = YAK } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = YAK } change_influence_percentage = yes } if = { limit = { country_exists = KOM } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = KOM } change_influence_percentage = yes } if = { limit = { country_exists = ALT } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = ALT } change_influence_percentage = yes } if = { limit = { country_exists = KHS } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = KHS } change_influence_percentage = yes } if = { limit = { country_exists = KAE } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = KAE } change_influence_percentage = yes } if = { limit = { country_exists = CKK } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = CKK } change_influence_percentage = yes } if = { limit = { country_exists = KHM } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = KHM } change_influence_percentage = yes } if = { limit = { country_exists = YAM } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = YAM } change_influence_percentage = yes } if = { limit = { country_exists = NEE } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = NEE } change_influence_percentage = yes } if = { limit = { country_exists = TAT } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = TAT } change_influence_percentage = yes } if = { limit = { country_exists = KBK } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = KBK } change_influence_percentage = yes } if = { limit = { country_exists = CRM } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = CRM } change_influence_percentage = yes } if = { limit = { country_exists = ING } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = ING } change_influence_percentage = yes } if = { limit = { country_exists = ADY } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = ADY } change_influence_percentage = yes } } } ###########INVITE TO INDEPENDENT ALLIANCE SUBJECTS OF RUSSIA(LIBERAL RUSSIA)########### SOV_russian_democratic_invite_subjects_to_alliance = { if = { limit = { country_exists = BSH BSH = { is_subject = no } } BSH = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = BRY BRY = { is_subject = no } } BRY = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = CHE BRY = { is_subject = no } } CHE = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = KLM KLM = { is_subject = no } } KLM = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = DAG DAG = { is_subject = no } } DAG = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = TUV TUV = { is_subject = no } } TUV = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = YAK YAK = { is_subject = no } } YAK = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = KOM KOM = { is_subject = no } } KOM = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = ALT ALT = { is_subject = no } } ALT = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = KHS KHS = { is_subject = no } } KHS = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = KAE KAE = { is_subject = no } } KAE = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = CKK CKK = { is_subject = no } } CKK = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = KHM KHM = { is_subject = no } } KHM = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = YAM YAM = { is_subject = no } } YAM = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = NEE NEE = { is_subject = no } } NEE = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = TAT TAT = { is_subject = no } } TAT = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = KBK KBK = { is_subject = no } } KBK = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = CRM CRM = { is_subject = no } } CRM = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = ING ING = { is_subject = no } } ING = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } if = { limit = { country_exists = ADY ADY = { is_subject = no } } ADY = { if = { limit = { NOT = { is_in_faction = yes } } country_event = { id = sov_liberals.4 days = 1 } } } } } ###########ADDED TO INDEPENDENT ALLIANCE(LIBERAL RUSSIA)########### SOV_russian_democratic_added_members_to_alliance = { if = { limit = { is_in_faction = yes } leave_faction = yes } create_faction_from_template = faction_template_fia_alliance every_country = { limit = { has_country_flag = SOV_accepted_alliance OR = { original_tag = SOV original_tag = EST original_tag = LAT original_tag = LIT original_tag = BLR original_tag = UKR original_tag = NOV original_tag = MLV original_tag = PMR original_tag = GEO original_tag = ABK original_tag = SOO original_tag = AZE original_tag = ARM original_tag = NKR original_tag = KAZ original_tag = UZB original_tag = TRK original_tag = TAJ original_tag = KYR } } SOV = { add_to_faction = PREV } } } ###########INVITE TO CIS FORMER MEMBERS(LIBERAL RUSSIA)########### SOV_russia_inivte_to_cis_former_member = { if = { limit = { country_exists = AZE AZE = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } AZE = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = BLR BLR = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } BLR = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = ARM ARM = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } ARM = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = GEO GEO = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } GEO = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = KAZ KAZ = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } KAZ = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = TRK TRK = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } TRK = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = TAJ TAJ = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } TAJ = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = KYR KYR = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } KYR = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = UZB UZB = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } UZB = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = UKR UKR = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } UKR = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = MLV MLV = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } MLV = { country_event = { id = sov_liberals.11 days = 1 } } } } ###########INVITE TO CIS NEW MEMBERS(LIBERAL RUSSIA)########### SOV_russia_inivte_to_cis_new_member = { if = { limit = { country_exists = LAT LAT = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } LAT = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = LIT LIT = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } LIT = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = EST EST = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } EST = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = PMR PMR = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } PMR = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = ABK ABK = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } ABK = { country_event = { id = sov_liberals.11 days = 1 } } } if = { limit = { country_exists = SOO SOO = { is_subject = no NOT = { OR = { has_idea = CIS_member_state_idea is_in_faction = yes } } } } SOO = { country_event = { id = sov_liberals.11 days = 1 } } } } ###########INVITE CIS MEMBER CREATE UNITE FORCES(LIBERAL RUSSIA)########### SOV_russia_create_unite_cis_forces = { if = { limit = { country_exists = AZE AZE = { has_autonomy_state = autonomy_state_cis } } AZE = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = ARM ARM = { has_autonomy_state = autonomy_state_cis } } ARM = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = GEO GEO = { has_autonomy_state = autonomy_state_cis } } GEO = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = SOO SOO = { has_autonomy_state = autonomy_state_cis } } SOO = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = ABK ABK = { has_autonomy_state = autonomy_state_cis } } ABK = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = BLR BLR = { has_autonomy_state = autonomy_state_cis } } BLR = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = MLV MLV = { has_autonomy_state = autonomy_state_cis } } MLV = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = PMR PMR = { has_autonomy_state = autonomy_state_cis } } PMR = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = TRK TRK = { has_autonomy_state = autonomy_state_cis } } TRK = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = TAJ TAJ = { has_autonomy_state = autonomy_state_cis } } TAJ = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = KYR KYR = { has_autonomy_state = autonomy_state_cis } } KYR = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = KAZ KAZ = { has_autonomy_state = autonomy_state_cis } } KAZ = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = UZB UZB = { has_autonomy_state = autonomy_state_cis } } UZB = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = EST EST = { has_autonomy_state = autonomy_state_cis } } EST = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = LAT LAT = { has_autonomy_state = autonomy_state_cis } } LAT = { country_event = { id = sov_liberals.17 days = 1 } } } if = { limit = { country_exists = LIT LIT = { has_autonomy_state = autonomy_state_cis } } LIT = { country_event = { id = sov_liberals.17 days = 1 } } } } ###########INVEST IF FAR EAST(LIBERAL RUSSIA)########### SOV_russia_invest_far_east = { if = { limit = { owns_state = 687 } 687 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes } if = { limit = { owns_state = 688 } 688 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes } if = { limit = { owns_state = 689 } 689 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes } } ###########INVITE CIS MEMBER CREATE UNITE STATE(LIBERAL RUSSIA)########### SOV_russia_create_unite_cis_state = { if = { limit = { country_exists = AZE AZE = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } AZE = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = ARM ARM = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } ARM = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = GEO GEO = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } GEO = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = SOO SOO = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } SOO = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = ABK ABK = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } ABK = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = BLR BLR = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } BLR = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = MLV MLV = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } MLV = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = PMR PMR = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } PMR = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = TRK TRK = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } TRK = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = TAJ TAJ = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } TAJ = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = KYR KYR = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } KYR = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = KAZ KAZ = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } KAZ = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = UZB UZB = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } UZB = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = LIT LIT = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } LIT = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = LAT LAT = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } LAT = { country_event = { id = sov_liberals.14 days = 1 } } } if = { limit = { country_exists = EST EST = { has_idea = CIS_member_state_idea is_subject = no NOT = { is_in_faction = yes } } } EST = { country_event = { id = sov_liberals.14 days = 1 } } } } ###########MALOROSSIYA REVOULT########### #USE ONLY IN SOME PLACES russia_leave_every_faction = { custom_effect_tooltip = russia_leave_every_faction_tt hidden_effect = { if = { limit = { has_idea = CSTO_member } dismantle_faction = yes CSTO_leave = yes } else_if = { limit = { has_idea = S0V_russian_sphere_idea } dismantle_faction = yes remove_ideas = { S0V_russian_sphere_idea } } } } ###########FBK CHECK ILLEGAL MIGRATION########### fbk_illegal_migration = { add_stability = 0.09 add_popularity = { ideology = neutrality popularity = -0.04 } add_popularity = { ideology = communism popularity = -0.02 } add_popularity = { ideology = nationalist popularity = -0.03 } add_popularity = { ideology = democratic popularity = 0.05 } add_stability = 0.02 add_timed_idea = { idea = SOV_Combating_illegal_migration_idea days = 1815 } increase_policing_budget = yes set_temp_variable = { temp_opinion = 5 } change_intelligence_community_opinion = yes KAZ = { add_opinion_modifier = { target = SOV modifier = recent_actions_negative } } UZB = { add_opinion_modifier = { target = SOV modifier = recent_actions_negative } } TAJ = { add_opinion_modifier = { target = SOV modifier = recent_actions_negative } } KYR = { add_opinion_modifier = { target = SOV modifier = recent_actions_negative } } TRK = { add_opinion_modifier = { target = SOV modifier = recent_actions_negative } } AZE = { add_opinion_modifier = { target = SOV modifier = recent_actions_negative } } ARM = { add_opinion_modifier = { target = SOV modifier = recent_actions_negative } } GEO = { add_opinion_modifier = { target = SOV modifier = recent_actions_negative } } } ###########RUSSIAN EMPIRE - ARTSAKH REVOULT########### rus_empire_gover_change_nkr = { if = { limit = { AZE = { owns_state = 710 } } NKR = { transfer_state = 710 } } if = { limit = { AZE = { owns_state = 1036 } } NKR = { transfer_state = 1036 } } if = { limit = { AZE = { owns_state = 1037 } } NKR = { transfer_state = 1037 } } NKR = { set_country_flag = SOV_subject_governorate add_stability = -0.06 set_temp_variable = { percent_change = 15 } set_temp_variable = { influence_target = NKR } change_influence_percentage = yes set_cosmetic_tag = GOV_NKR clr_country_flag = dynamic_flag declare_war_on = { target = AZE type = annex_everything } country_event = sov_nationalists.52 SOV = { country_event = sov_nationalists.50 set_autonomy = { target = NKR autonomy_state = autonomy_governorate_rf end_wars = no end_civil_wars = no } } } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } ###########RUSSIAN EMPIRE - FINLAND GOVERNMENT CHANGE########### rus_empire_gover_change_fin = { FIN = { if = { limit = { has_idea = NATO_member } NATO_leave = yes } if = { limit = { NOT = { has_idea = NATO_member } } leave_faction = yes } set_country_flag = SOV_subject_governorate add_stability = -0.06 set_temp_variable = { percent_change = 10 } set_temp_variable = { influence_target = FIN } change_influence_percentage = yes set_cosmetic_tag = GOV_FIN clr_country_flag = dynamic_flag country_event = sov_nationalists.52 } set_autonomy = { target = FIN autonomy_state = autonomy_governorate_rf end_wars = no end_civil_wars = no } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } ###########RUSSIAN EMPIRE - POLAND GOVERNMENT CHANGE########### rus_empire_gover_change_pol = { POL = { if = { limit = { has_idea = NATO_member } NATO_leave = yes } if = { limit = { NOT = { has_idea = NATO_member } } leave_faction = yes } set_country_flag = SOV_subject_governorate add_stability = -0.06 set_temp_variable = { percent_change = 10 } set_temp_variable = { influence_target = POL } change_influence_percentage = yes set_cosmetic_tag = GOV_POL clr_country_flag = dynamic_flag country_event = sov_nationalists.52 SOV = { set_autonomy = { target = POL autonomy_state = autonomy_governorate_rf end_wars = no end_civil_wars = no } } } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } ###########RUSSIAN EMPIRE - ARMENIA GOVERNMENT CHANGE########### rus_empire_gover_change_arm = { ARM = { if = { limit = { has_idea = NATO_member } NATO_leave = yes } if = { limit = { NOT = { has_idea = NATO_member } } leave_faction = yes } set_country_flag = SOV_subject_governorate add_stability = -0.06 set_temp_variable = { percent_change = 10 } set_temp_variable = { influence_target = ARM } change_influence_percentage = yes country_event = sov_nationalists.52 } set_autonomy = { target = ARM autonomy_state = autonomy_governorate_rf end_wars = no end_civil_wars = no } set_temp_variable = { treasury_change = -12 } modify_treasury_effect = yes hidden_effect = { ARM = { if = { limit = { NOT = { check_variable = { ruling_party = 23 } } } set_temp_variable = { rul_party_temp = 23 } change_ruling_party_effect = yes } set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.15 } set_temp_variable = { temp_outlook_increase = 0.15 } change_relative_party_popularity = yes } } } ###########RUSSIAN EMPIRE - GERMANY GOVERNMENT CHANGE########### rus_empire_gover_change_ger = { hidden_effect = { GER = { if = { limit = { has_idea = NATO_member } NATO_leave = yes } if = { limit = { NOT = { has_idea = NATO_member } } leave_faction = yes } add_stability = -0.02 SOV = { puppet = GER } if = { limit = { NOT = { check_variable = { ruling_party = 23 } } } set_temp_variable = { rul_party_temp = 23 } if = { limit = { has_elections = no } set_temp_variable = { disable_elections = 1 } } change_ruling_party_effect = yes } set_temp_variable = { party_index = 3 } set_temp_variable = { party_popularity_increase = 0.35 } set_temp_variable = { temp_outlook_increase = 0.35 } change_relative_party_popularity = yes retire_country_leader = yes create_country_leader = { name = "Heinrich Prinz Reuss" picture = "Genrih_13.dds" ideology = Monarchist traits = { nationalist_Monarchist elder } } start_civil_war = { ideology = democratic size = 0.6 capital = 1080 states = { 37 38 39 966 967 1080 40 41 42 } set_popularities = { democratic = 100 neutrality = 0 fascism = 0 communism = 0 nationalist = 0 } set_temp_variable = { rul_party_temp = 2 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_multiplier = 0.5 } scale_party_popularity = yes } country_event = sov_nationalists.52 } set_temp_variable = { percent_change = 15 } set_temp_variable = { influence_target = GER } change_influence_percentage = yes } } ###########RUSSIAN EMPIRE - MONGOLIA GOVERNMENT CHANGE########### rus_empire_gover_change_mon = { MON = { if = { limit = { has_idea = NATO_member } NATO_leave = yes } if = { limit = { NOT = { has_idea = NATO_member } } leave_faction = yes } set_country_flag = SOV_subject_governorate add_stability = -0.06 set_temp_variable = { percent_change = 10 } set_temp_variable = { influence_target = MON } change_influence_percentage = yes set_cosmetic_tag = GOV_MON clr_country_flag = dynamic_flag country_event = sov_nationalists.52 } set_autonomy = { target = MON autonomy_state = autonomy_governorate_rf end_wars = no end_civil_wars = no } set_temp_variable = { treasury_change = -12 } modify_treasury_effect = yes } ###########RUSSIAN EMPIRE - CZECHIA GOVERNMENT CHANGE########### rus_empire_gover_change_cze = { CZE = { if = { limit = { has_idea = NATO_member } NATO_leave = yes } if = { limit = { NOT = { has_idea = NATO_member } } leave_faction = yes } set_country_flag = SOV_subject_governorate add_stability = -0.06 set_temp_variable = { percent_change = 10 } set_temp_variable = { influence_target = CZE } change_influence_percentage = yes set_cosmetic_tag = GOV_CZE clr_country_flag = dynamic_flag country_event = sov_nationalists.52 SOV = { set_autonomy = { target = CZE autonomy_state = autonomy_governorate_rf end_wars = no end_civil_wars = no } } } set_temp_variable = { treasury_change = -12 } modify_treasury_effect = yes } ###########RUSSIAN EMPIRE - SLOVAKIA GOVERNMENT CHANGE########### rus_empire_gover_change_slo = { SLO = { if = { limit = { has_idea = NATO_member } NATO_leave = yes } if = { limit = { NOT = { has_idea = NATO_member } } leave_faction = yes } set_country_flag = SOV_subject_governorate add_stability = -0.06 set_temp_variable = { percent_change = 10 } set_temp_variable = { influence_target = SLO } change_influence_percentage = yes set_cosmetic_tag = GOV_SLO clr_country_flag = dynamic_flag country_event = sov_nationalists.52 } set_autonomy = { target = SLO autonomy_state = autonomy_governorate_rf end_wars = no end_civil_wars = no } set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes } ###########JIRINOVSKIY - CREATE NOVOROSSIYA########### jirik_ukraine_novorossia = { hidden_effect = { UKR = { set_country_flag = ukr_revoult_bilo } NOV = { set_country_flag = SOV_subject_governorate SOV = { country_event = sov_nationalists.50 set_autonomy = { target = NOV autonomy_state = autonomy_governorate_rf end_wars = no end_civil_wars = no } } if = { limit = { UKR = { owns_state = 694 } } NOV = { add_state_core = 694 transfer_state = 694 } add_political_power = -35 } if = { limit = { UKR = { owns_state = 1030 } } NOV = { add_state_core = 1030 transfer_state = 1030 } add_political_power = -35 } if = { limit = { has_completed_focus = SOV_gru_spetznaz UKR = { owns_state = 695 } } NOV = { add_state_core = 695 transfer_state = 695 } add_political_power = -35 } if = { limit = { has_completed_focus = SOV_gru_spetznaz UKR = { owns_state = 693 } } NOV = { add_state_core = 693 transfer_state = 693 } add_political_power = -35 } if = { limit = { has_completed_focus = SOV_gru_spetznaz UKR = { owns_state = 696 } } NOV = { add_state_core = 696 transfer_state = 696 } add_political_power = -35 } if = { limit = { has_completed_focus = SOV_svr UKR = { owns_state = 1076 } } NOV = { add_state_core = 1076 transfer_state = 1076 } add_political_power = -35 } if = { limit = { has_completed_focus = SOV_gru_spetznaz UKR = { owns_state = 1075 } } NOV = { add_state_core = 1075 transfer_state = 1075 } add_political_power = -35 } if = { limit = { has_completed_focus = SOV_svr UKR = { owns_state = 1085 } } NOV = { add_state_core = 1085 transfer_state = 1085 } add_political_power = -35 } if = { limit = { has_completed_focus = SOV_gru_spetznaz UKR = { owns_state = 1086 } } NOV = { add_state_core = 1086 transfer_state = 1086 } add_political_power = -35 } if = { limit = { has_completed_focus = SOV_svr UKR = { owns_state = 1087 } } NOV = { add_state_core = 1087 transfer_state = 1087 } add_political_power = -35 } hidden_effect = { set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = party_pop_array^21 } change_relative_party_popularity = yes set_temp_variable = { rul_party_temp = 23 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } set_cosmetic_tag = GOV_NOV clr_country_flag = dynamic_flag NOV_shared_setup = yes } } } ###########JIRINOVSKIY - CREATE CRIMEA########### jirik_ukraine_crimea = { hidden_effect = { CRM = { set_country_flag = SOV_subject_governorate if = { limit = { UKR = { owns_state = 669 } } CRM = { add_state_core = 669 transfer_state = 669 } } else_if = { limit = { UKR = { owns_state = 1112 } } CRM = { add_state_core = 1112 transfer_state = 1112 } } SOV = { country_event = sov_nationalists.50 add_political_power = -150 set_autonomy = { target = CRM autonomy_state = autonomy_governorate_rf end_wars = no end_civil_wars = no } } hidden_effect = { set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = party_pop_array^21 } change_relative_party_popularity = yes set_temp_variable = { rul_party_temp = 23 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } } } } ###########JIRINOVSKIY - KAZAKS IN KAZAKHSTAN REVOULT########### jirik_kazak_kazah = { hidden_effect = { if = { limit = { KAZ = { owns_state = 718 } } SOV = { add_state_core = 718 set_province_controller = 13008 } if = { limit = { original_tag = SOV NOT = { has_country_flag = SUB_kazaks_brigade_added } } division_template = { name = "Cossack Regiment" regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } } } set_country_flag = SUB_kazaks_brigade_added } 718 = { create_unit = { division = "name = \"Ural Cossack Battalion\" division_template = \"Cossack Regiment\" start_experience_factor = 0.1" prioritize_location = 13008 owner = SOV } } } if = { limit = { KAZ = { owns_state = 719 } } SOV = { add_state_core = 719 set_province_controller = 12427 } if = { limit = { original_tag = SOV NOT = { has_country_flag = SUB_kazaks_brigade_added } } division_template = { name = "Cossack Regiment" regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } } } set_country_flag = SUB_kazaks_brigade_added } 719 = { create_unit = { division = "name = \"Semirechensk Cossack Battalion\" division_template = \"Cossack Regiment\" start_experience_factor = 0.1" prioritize_location = 12427 owner = SOV } } } if = { limit = { KAZ = { owns_state = 715 } } SOV = { add_state_core = 715 set_province_controller = 7708 } if = { limit = { original_tag = SOV NOT = { has_country_flag = SUB_kazaks_brigade_added } } division_template = { name = "Cossack Regiment" regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } } } set_country_flag = SUB_kazaks_brigade_added } 715 = { create_unit = { division = "name = \"Siberian Cossack Battalion\" division_template = \"Cossack Regiment\" start_experience_factor = 0.1" prioritize_location = 7708 owner = SOV } } } } } ###########RUSSIAN AI - BOOST POPULATIRY########### ai_russian_popularity_assistant = { if = { limit = { SOV = { is_ai = yes nationalist_right_wing_populists_are_in_power = yes } } add_popularity = { ideology = nationalist popularity = 0.15 } add_to_variable = { party_pop_array^20 = 0.15 } recalculate_party = yes } else_if = { limit = { SOV = { is_ai = yes emerging_communist_state_are_in_power = yes } } add_popularity = { ideology = communism popularity = 0.15 } add_to_variable = { party_pop_array^4 = 0.15 } recalculate_party = yes } else_if = { limit = { SOV = { is_ai = yes emerging_reactionaries_are_in_power = yes } } add_popularity = { ideology = communism popularity = 0.15 } add_to_variable = { party_pop_array^6 = 0.15 } recalculate_party = yes } else_if = { limit = { SOV = { is_ai = yes nationalist_fascist_are_in_power = yes } } add_popularity = { ideology = nationalist popularity = 0.15 } add_to_variable = { party_pop_array^21 = 0.15 } recalculate_party = yes } } ###########SPECIAL FORCES MOBILIZES########### ###########MOBILIZE ROSGUARD########### SOV_ensure_storm_z_template = { if = { limit = { NOT = { has_template = "Battalion of Prisoners" } } division_template = { name = "Battalion of Prisoners" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 1 y = 0 } } priority = 2 } } } SOV_rosguard_mobilise_effect = { custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_intelligence_modifier } subtract_from_variable = { SOV_intel_fascism_drift = -0.01 tooltip = fascism_drift_tt } subtract_from_variable = { SOV_intel_war_support_factor = 0.01 tooltip = war_support_factor_tt } newline = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_landforce_modifier } subtract_from_variable = { SOV_land_army_core_defence_factor = 0.03 tooltip = army_core_defence_factor_tt } add_command_power = -65 hidden_effect = { add_ideas = SOV_rosguard_troops_mobilize_idea if = { limit = { NOT = { has_template = "Rosgvardia" } } division_template = { name = "Rosgvardia" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } Militia_Bat = { x = 1 y = 0 } Militia_Bat = { x = 1 y = 1 } Militia_Bat = { x = 1 y = 2 } Arty_Bat = { x = 2 y = 0 } Arty_Bat = { x = 2 y = 1 } Arty_Bat = { x = 2 y = 2 } } support = { Mot_Recce_Comp = { x = 0 y = 0 } L_Engi_Comp = { x = 0 y = 1 } } } } if = { limit = { NOT = { has_template = "Rosgvardia Tank Brigade" } } division_template = { name = "Rosgvardia Tank Brigade" is_locked = yes regiments = { armor_Bat = { x = 0 y = 0 } armor_Bat = { x = 0 y = 1 } Militia_Bat = { x = 1 y = 0 } Militia_Bat = { x = 1 y = 1 } Militia_Bat = { x = 1 y = 2 } Militia_Bat = { x = 1 y = 3 } Arty_Bat = { x = 2 y = 0 } Arty_Bat = { x = 2 y = 1 } Arty_Bat = { x = 2 y = 2 } } support = { Mot_Recce_Comp = { x = 0 y = 0 } L_Engi_Comp = { x = 0 y = 1 } } } } } if = { limit = { owns_state = 669 NOT = { has_completed_focus = SOV_rosguard_tank } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 669 } create_unit = { division = "name = \"116rd Separate Operational Brigade\" division_template = \"Rosgvardia\" start_experience_factor = 0.9" owner = SOV } } } else_if = { limit = { owns_state = 669 has_completed_focus = SOV_rosguard_tank } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 669 } create_unit = { division = "name = \"116rd Separate Operational Brigade\" division_template = \"Rosgvardia Tank Brigade\" start_experience_factor = 0.9" owner = SOV } } } if = { limit = { owns_state = 671 NOT = { has_completed_focus = SOV_rosguard_tank } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 671 } create_unit = { division = "name = \"102rd Separate Operational Brigade\" division_template = \"Rosgvardia\" start_experience_factor = 0.9" owner = SOV } } } else_if = { limit = { owns_state = 671 has_completed_focus = SOV_rosguard_tank } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 671 } create_unit = { division = "name = \"102rd Separate Operational Brigade\" division_template = \"Rosgvardia Tank Brigade\" start_experience_factor = 0.9" owner = SOV } } } if = { limit = { owns_state = 644 NOT = { has_completed_focus = SOV_rosguard_tank } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 644 } create_unit = { division = "name = \"33rd Separate Operational Brigade\" division_template = \"Rosgvardia\" start_experience_factor = 0.9" owner = SOV } } } else_if = { limit = { owns_state = 644 has_completed_focus = SOV_rosguard_tank } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 644 } create_unit = { division = "name = \"33rd Separate Operational Brigade\" division_template = \"Rosgvardia Tank Brigade\" start_experience_factor = 0.9" owner = SOV } } } if = { limit = { owns_state = 667 NOT = { has_completed_focus = SOV_rosguard_tank } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 667 } create_unit = { division = "name = \"50th Separate Operational Brigade\" division_template = \"Rosgvardia\" start_experience_factor = 0.9" owner = SOV } } } else_if = { limit = { owns_state = 667 has_completed_focus = SOV_rosguard_tank } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 667 } create_unit = { division = "name = \"50th Separate Operational Brigade\" division_template = \"Rosgvardia Tank Brigade\" start_experience_factor = 0.9" owner = SOV } } } if = { limit = { owns_state = 652 NOT = { has_completed_focus = SOV_rosguard_tank } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 652 } create_unit = { division = "name = \"21st Separate Operational Brigade\" division_template = \"Rosgvardia\" start_experience_factor = 0.9" owner = SOV } } } else_if = { limit = { owns_state = 652 has_completed_focus = SOV_rosguard_tank } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 652 } create_unit = { division = "name = \"21st Separate Operational Brigade\" division_template = \"Rosgvardia Tank Brigade\" start_experience_factor = 0.9" owner = SOV } } } if = { limit = { owns_state = 665 NOT = { has_completed_focus = SOV_rosguard_tank } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 665 } create_unit = { division = "name = \"22nd Separate Operational Brigade\" division_template = \"Rosgvardia\" start_experience_factor = 0.9" owner = SOV } } } else_if = { limit = { owns_state = 665 has_completed_focus = SOV_rosguard_tank } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 665 } create_unit = { division = "name = \"22nd Separate Operational Brigade\" division_template = \"Rosgvardia Tank Brigade\" start_experience_factor = 0.9" owner = SOV } } } } ###########MOBILIZE OMON########### SOV_omon_mobilise_effect = { add_command_power = -25 custom_effect_tooltip = SOV_mobilize_OMON_tt custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_intelligence_modifier } if = { limit = { has_completed_focus = SOV_rosguard_occup } subtract_from_variable = { SOV_intel_root_out_resistance_effectiveness_factor = 0.10 tooltip = root_out_resistance_effectiveness_factor_tt } subtract_from_variable = { SOV_intel_foreign_subversive_activites = -0.10 tooltip = foreign_subversive_activites_tt } subtract_from_variable = { SOV_intel_foreign_influence_defense_modifier = 0.06 tooltip = foreign_influence_defense_modifier_tt } } else = { subtract_from_variable = { SOV_intel_root_out_resistance_effectiveness_factor = 0.05 tooltip = root_out_resistance_effectiveness_factor_tt } subtract_from_variable = { SOV_intel_foreign_subversive_activites = -0.05 tooltip = foreign_subversive_activites_tt } subtract_from_variable = { SOV_intel_foreign_influence_defense_modifier = 0.03 tooltip = foreign_influence_defense_modifier_tt } } hidden_effect = { add_ideas = SOV_omon_mobilize_idea division_template = { name = "OMON" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 1 y = 0 } } support = { Mot_Recce_Comp = { x = 0 y = 0 } L_Engi_Comp = { x = 0 y = 1 } } priority = 2 } if = { limit = { 1189 = { is_fully_controlled_by = ROOT } } 1189 = { create_unit = { division = "name = \"OMON Zubr\" division_template = \"OMON\" start_experience_factor = 0.9" prioritize_location = 401 owner = SOV } } } else = { random_owned_controlled_state = { create_unit = { division = "name = \"OMON Zubr\" division_template = \"OMON\" start_experience_factor = 0.9" owner = SOV } } } if = { limit = { 644 = { is_fully_controlled_by = ROOT } } 644 = { create_unit = { division = "name = \"OMON Bastion\" division_template = \"OMON\" start_experience_factor = 0.9" prioritize_location = 3151 owner = SOV } } } else = { random_owned_controlled_state = { create_unit = { division = "name = \"OMON Bastion\" division_template = \"OMON\" start_experience_factor = 0.9" owner = SOV } } } if = { limit = { 676 = { is_fully_controlled_by = ROOT } } 676 = { create_unit = { division = "name = \"OMON Malachit\" division_template = \"OMON\" start_experience_factor = 0.9" prioritize_location = 1821 owner = SOV } } } else = { random_owned_controlled_state = { create_unit = { division = "name = \"OMON Malachit\" division_template = \"OMON\" start_experience_factor = 0.9" owner = SOV } } } } } ###########MOBILIZE SOBR########### SOV_sobr_mobilise_effect = { add_command_power = -25 custom_effect_tooltip = SOV_mobilize_SOBR_tt custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_intelligence_modifier } if = { limit = { has_completed_focus = SOV_rosguard_occup } add_to_variable = { SOV_intel_corruption_cost_factor = 0.02 tooltip = corruption_cost_factor_tt } add_to_variable = { SOV_intel_stability_factor = -0.02 tooltip = stability_factor_tt } add_to_variable = { SOV_intel_foreign_influence_defense_modifier = -0.03 tooltip = foreign_influence_defense_modifier_tt } } else = { add_to_variable = { SOV_intel_corruption_cost_factor = 0.01 tooltip = corruption_cost_factor_tt } add_to_variable = { SOV_intel_stability_factor = -0.01 tooltip = stability_factor_tt } add_to_variable = { SOV_intel_foreign_influence_defense_modifier = -0.01 tooltip = foreign_influence_defense_modifier_tt } } hidden_effect = { add_ideas = SOV_sobr_mobilize_idea division_template = { name = "SOBR" is_locked = yes regiments = { Militia_Bat = { x = 0 y = 0 } } priority = 2 } if = { limit = { 1189 = { is_fully_controlled_by = ROOT } } 1189 = { create_unit = { division = "name = \"SOBR Bulat\" division_template = \"SOBR\" start_experience_factor = 0.9" prioritize_location = 401 owner = SOV } } } else = { random_owned_controlled_state = { create_unit = { division = "name = \"SOBR Bulat\" division_template = \"SOBR\" start_experience_factor = 0.9" owner = SOV } } } if = { limit = { 644 = { is_fully_controlled_by = ROOT } } 644 = { create_unit = { division = "name = \"SOBR Granit\" division_template = \"SOBR\" start_experience_factor = 0.9" prioritize_location = 3151 owner = SOV } } } else = { random_owned_controlled_state = { create_unit = { division = "name = \"SOBR Granit\" division_template = \"SOBR\" start_experience_factor = 0.9" owner = SOV } } } if = { limit = { 642 = { is_fully_controlled_by = ROOT } } 642 = { create_unit = { division = "name = \"SOBR Viking\" division_template = \"SOBR\" start_experience_factor = 0.9" prioritize_location = 395 owner = SOV } } } else = { random_owned_controlled_state = { create_unit = { division = "name = \"SOBR Viking\" division_template = \"SOBR\" start_experience_factor = 0.9" owner = SOV } } } if = { limit = { 1174 = { is_fully_controlled_by = ROOT } } 1174 = { create_unit = { division = "name = \"SOBR Partizan\" division_template = \"SOBR\" start_experience_factor = 0.9" prioritize_location = 3335 owner = SOV } } } else = { random_owned_controlled_state = { create_unit = { division = "name = \"SOBR Partizan\" division_template = \"SOBR\" start_experience_factor = 0.9" owner = SOV } } } if = { limit = { 660 = { is_fully_controlled_by = ROOT } } 660 = { create_unit = { division = "name = \"SOBR Rubin\" division_template = \"SOBR\" start_experience_factor = 0.9" prioritize_location = 11375 owner = SOV } } } else = { random_owned_controlled_state = { create_unit = { division = "name = \"SOBR Rubin\" division_template = \"SOBR\" start_experience_factor = 0.9" owner = SOV } } } if = { limit = { 654 = { is_fully_controlled_by = ROOT } } 654 = { create_unit = { division = "name = \"SOBR Sigma\" division_template = \"SOBR\" start_experience_factor = 0.9" prioritize_location = 306 owner = SOV } } } else = { random_owned_controlled_state = { create_unit = { division = "name = \"SOBR Sigma\" division_template = \"SOBR\" start_experience_factor = 0.9" owner = SOV } } } } } ###########ANTI SEPARATISM IN OTHER########### SOV_anti_separatism_in_other = { ###########SEPARATISM KUBAN########### if = { limit = { KUB = { SUB_is_active_rf_lesser_subject = yes } check_variable = { KUB.subjectinped > 15 } } hidden_effect = { add_political_power = -35 KUB = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 KUB = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 KUB = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM KARELIA########### if = { limit = { KAE = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 1128 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { KAE.subjectinped > 15 } } hidden_effect = { add_political_power = -35 KAE = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 KAE = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 KAE = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM KALMIKYA########### if = { limit = { KLM = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 1107 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { KLM.subjectinped > 15 } } hidden_effect = { add_political_power = -35 KLM = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 KLM = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 KLM = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM URAL########### if = { limit = { URA = { SUB_is_active_rf_lesser_subject = yes } check_variable = { URA.subjectinped > 15 } } hidden_effect = { add_political_power = -35 URA = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 URA = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 URA = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } } ###########ANTI SEPARATISM IN VOLGA########### SOV_anti_separatism_in_volga = { ###########SEPARATISM TATARSTAN########### if = { limit = { TAT = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 661 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { TAT.subjectinped > 15 } } hidden_effect = { add_political_power = -35 TAT = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 TAT = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 TAT = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM BASHKORTOSTAN########### if = { limit = { BSH = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 664 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { BSH.subjectinped > 15 } } hidden_effect = { add_political_power = -35 BSH = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 BSH = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 BSH = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM MARI EL########### if = { limit = { MEL = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 1134 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { MEL.subjectinped > 15 } } hidden_effect = { add_political_power = -35 MEL = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 MEL = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 MEL = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM MORDOVIA########### if = { limit = { MOV = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 1132 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { MOV.subjectinped > 15 } } hidden_effect = { add_political_power = -35 MOV = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 MOV = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 MOV = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM UDMURTIA########### if = { limit = { UDM = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 1133 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { UDM.subjectinped > 15 } } hidden_effect = { add_political_power = -35 UDM = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 UDM = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 UDM = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM CHUVASHIA########### if = { limit = { CHU = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 1135 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { CHU.subjectinped > 15 } } hidden_effect = { add_political_power = -35 CHU = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 CHU = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 CHU = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } } ###########ANTI SEPARATISM IN SIBERIA########### SOV_anti_separatism_in_siberia = { ###########SEPARATISM KOMI########### if = { limit = { KOM = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 648 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { KOM.subjectinped > 15 } } hidden_effect = { add_political_power = -35 KOM = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 KOM = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 KOM = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM NENETS########### if = { limit = { NEE = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 683 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { NEE.subjectinped > 15 } } hidden_effect = { add_political_power = -35 NEE = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 NEE = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 NEE = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM TUVA########### if = { limit = { TUV = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 1011 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { TUV.subjectinped > 15 } } hidden_effect = { add_political_power = -35 TUV = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 TUV = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 TUV = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM YAMAL########### if = { limit = { YAM = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 679 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { YAM.subjectinped > 15 } } hidden_effect = { add_political_power = -35 YAM = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 YAM = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 YAM = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM YUGRA########### if = { limit = { KHM = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 678 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { KHM.subjectinped > 15 } } hidden_effect = { add_political_power = -35 KHM = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 KHM = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 KHM = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM KHAKASSIA########### if = { limit = { KHS = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 1065 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { KHS.subjectinped > 15 } } hidden_effect = { add_political_power = -35 KHS = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 KHS = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 KHS = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM BURYATIA########### if = { limit = { BRY = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 686 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { BRY.subjectinped > 15 } } hidden_effect = { add_political_power = -35 BRY = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 BRY = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 BRY = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM YAKUTIA########### if = { limit = { YAK = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 688 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { YAK.subjectinped > 15 } } hidden_effect = { add_political_power = -35 YAK = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 YAK = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 YAK = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM ALTAI########### if = { limit = { ALT = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 684 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { ALT.subjectinped > 15 } } hidden_effect = { add_political_power = -35 ALT = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 ALT = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 ALT = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } } ###########ANTI SEPARATISM IN CAUCAS########### SOV_anti_separatism_in_caucas = { ###########SEPARATISM CHECHNYA########### if = { limit = { CHE = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 672 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { CHE.subjectinped > 15 } } hidden_effect = { add_political_power = -35 CHE = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 CHE = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 CHE = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM INGUSHETIA########### if = { limit = { ING = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 1126 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { ING.subjectinped > 15 } } hidden_effect = { add_political_power = -35 ING = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 ING = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 ING = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM KABARDINO-BALKARIA########### if = { limit = { KBK = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 674 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { KBK.subjectinped > 15 } } hidden_effect = { add_political_power = -35 KBK = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 KBK = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 KBK = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM KARACHAEVO-CHERKESSIYA########### if = { limit = { KCC = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 1125 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { KCC.subjectinped > 15 } } hidden_effect = { add_political_power = -35 KCC = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 KCC = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 KCC = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM ADYGEA########### if = { limit = { ADY = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 1127 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { ADY.subjectinped > 15 } } hidden_effect = { add_political_power = -35 ADY = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 ADY = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 ADY = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } ###########SEPARATISM DAGESTAN########### if = { limit = { DAG = { NOT = { has_country_flag = SUB_subject_rebellion_flag } OR = { SOV = { owns_state = 671 } has_autonomy_state = autonomy_republic_rf has_autonomy_state = autonomy_kray_rf has_autonomy_state = autonomy_oblast_rf has_autonomy_state = autonomy_okrug_rf } } check_variable = { DAG.subjectinped > 15 } } hidden_effect = { add_political_power = -35 DAG = { set_temp_variable = { modify_subjectinped = -4 } modify_subjectinped_support = yes } if = { limit = { has_completed_focus = SOV_inner_army } add_political_power = -35 DAG = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } if = { limit = { has_completed_focus = SOV_FSB_expansion } add_political_power = -35 DAG = { set_temp_variable = { modify_subjectinped = -8 } modify_subjectinped_support = yes } } } } } ###########GREAT RUSSIAN DEMOCRATIC REFERENDUM########### SOV_great_democratic_referedum_effect = { hidden_effect = { if = { limit = { OR = { has_idea = russian_legacy_empire has_idea = russian_legacy_empire1 has_idea = russian_legacy_empire2 has_idea = russian_legacy_empire3 } OR = { has_idea = SOV_idea_presidential_republic has_idea = SOV_idea_semi_presidential_republic } } complete_national_focus = SOV_russia_good } else_if = { limit = { OR = { has_idea = russian_legacy_empire has_idea = russian_legacy_empire1 has_idea = russian_legacy_empire2 has_idea = russian_legacy_empire3 } has_idea = SOV_idea_parliamentary_republic } random_list = { 50 = { complete_national_focus = SOV_russia_good } 50 = { complete_national_focus = SOV_referendum_start } } } else_if = { limit = { OR = { has_idea = russian_legacy has_idea = russian_legacy_democratic has_idea = russian_legacy_democratic1 } has_idea = SOV_idea_presidential_republic } complete_national_focus = SOV_russia_good } else_if = { limit = { OR = { has_idea = russian_legacy has_idea = russian_legacy_democratic has_idea = russian_legacy_democratic1 } has_idea = SOV_idea_semi_presidential_republic } random_list = { 50 = { complete_national_focus = SOV_russia_good } 50 = { complete_national_focus = SOV_referendum_start } } } else_if = { limit = { OR = { has_idea = russian_legacy has_idea = russian_legacy_democratic has_idea = russian_legacy_democratic1 } has_idea = SOV_idea_parliamentary_republic } complete_national_focus = SOV_referendum_start } else_if = { limit = { OR = { has_idea = russian_legacy_democratic2 has_idea = russian_legacy_democratic3 } has_idea = SOV_idea_parliamentary_republic } complete_national_focus = SOV_usr } else_if = { limit = { OR = { has_idea = russian_legacy_democratic2 has_idea = russian_legacy_democratic3 } has_idea = SOV_idea_semi_presidential_republic } random_list = { 50 = { complete_national_focus = SOV_usr } 50 = { complete_national_focus = SOV_referendum_start } } } else_if = { limit = { OR = { has_idea = russian_legacy_democratic2 has_idea = russian_legacy_democratic3 } has_idea = SOV_idea_presidential_republic } random_list = { 45 = { complete_national_focus = SOV_usr } 45 = { complete_national_focus = SOV_referendum_start } 10 = { complete_national_focus = SOV_russia_good } } } } } ###########ANNEX SOVIET REPUBLICS########### SOV_soviet_republic_annex = { if = { limit = { country_exists = BLR BLR = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes } BLR = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = BLR transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { UKR = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = UKR } UKR = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = UKR transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { MLV = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = MLV } MLV = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = MLV transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { PMR = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = PMR } PMR = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = PMR transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { AZE = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = AZE } AZE = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = AZE transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { ARM = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = ARM } ARM = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = ARM transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { GEO = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = GEO } GEO = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = GEO transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { ABK = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = ABK } ABK = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = ABK transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { SOO = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = SOO } SOO = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = SOO transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { KAZ = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = KAZ } KAZ = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = KAZ transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { KYR = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = KYR } KYR = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = KYR transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { TAJ = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = TAJ } TAJ = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = TAJ transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { UZB = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = UZB } UZB = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = UZB transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { TRK = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = TRK } TRK = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = TRK transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { EST = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = EST } EST = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = EST transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { LAT = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = LAT } LAT = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = LAT transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { LIT = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = LIT } LIT = { every_owned_state = { add_core_of = SOV } } add_political_power = -250 annex_country = { target = LIT transfer_troops = yes } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } if = { limit = { NKR = { is_subject_of = SOV influence_higher_50 = yes emerging_communist_state_are_in_power = yes } has_completed_focus = SOV_coup_major_post_soviet_countries emerging_communist_state_are_in_power = yes country_exists = NKR } NKR = { every_owned_state = { add_core_of = SOV } } add_political_power = -100 annex_country = { target = NKR transfer_troops = yes } set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes } } ###########WARSAW PACT SHARED EFFECTS########### # Called in target country scope by influence decisions. # Boosts communist party popularity. warsaw_pact_boost_communism_effect = { set_temp_variable = { percent_change = 3 } set_temp_variable = { influence_target = THIS.id } change_influence_percentage = yes set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.06 } set_temp_variable = { temp_outlook_increase = 0.06 } change_relative_party_popularity = yes } warsaw_pact_commies_arm_influence_bonus_effect = { set_temp_variable = { treasury_change = -18 } modify_treasury_effect = yes var:nation_to_influence = { set_temp_variable = { percent_change = 6 } change_influence_percentage = yes set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.12 } set_temp_variable = { temp_outlook_increase = 0.12 } change_relative_party_popularity = yes } if = { limit = { ARM = { has_autonomy_state = autonomy_union_state has_country_flag = USR_special_services } } custom_effect_tooltip = USR_bonus_special_services_arm_tt var:nation_to_influence = { set_temp_variable = { percent_change = 0.5 } change_influence_percentage = yes 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 } set_temp_variable = { percent_change = 1 } set_temp_variable = { tag_index = ARM } set_temp_variable = { influence_target = SOV } change_influence_percentage = yes } } # Called from SOV scope after: # 1. Target country saved: = { save_event_target_as = warsaw_target } # 2. Temp variable set: set_temp_variable = { influence_target = } # # Handles: civil war, influence boost, NATO/faction leave, stability hit, # party change to communism, popularity boost, reintegrate flag, # sov_warsaw_pact.6 event, remove Major_Non_NATO_Ally, leave EU. # # Does NOT: add faction_warsaw_pact_idea, fire news events, set autonomy, or pay treasury. # Caller handles those as needed. warsaw_pact_perevorot_core_effect = { event_target:warsaw_target = { start_civil_war = { ideology = democratic size = 0.7 } set_temp_variable = { percent_change = 4 } change_influence_percentage = yes if = { limit = { has_idea = NATO_member } NATO_leave = yes } else = { leave_faction = yes } add_stability = -0.06 if = { limit = { NOT = { check_variable = { ruling_party = 4 } } } set_temp_variable = { rul_party_temp = 4 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.45 } set_temp_variable = { temp_outlook_increase = 0.45 } change_relative_party_popularity = yes country_event = sov_warsaw_pact.6 if = { limit = { has_idea = Major_Non_NATO_Ally } remove_ideas = Major_Non_NATO_Ally } if = { limit = { has_idea = EU_member } leaving_EU = yes } } } # Called from SOV scope after warsaw_pact_perevorot_core_effect. # Requires event_target:warsaw_target to be set. # Flags the target for deferred puppet creation; on_civil_war_end (99_SOV_on_actions.txt) # fires set_autonomy + news event sov_warsaw_pact.4 + country event sov_warsaw_pact.5 # once the communist side wins the civil war. This lets SOV send volunteers normally # during the civil war instead of being locked out by an early puppet relationship. warsaw_pact_perevorot_finish_effect = { event_target:warsaw_target = { set_country_flag = SOV_warsaw_pact_pending_puppet set_variable = { SOV_warsaw_pact_overlord_id = ROOT.id } } set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes } SOV_government_change = { if = { limit = { original_tag = SOV } # Drop nationalist cosmetic tags if nationalists no longer in power if = { limit = { OR = { has_cosmetic_tag = SOV_AUTH_S_nationalist has_cosmetic_tag = SOV_romanov_empire has_cosmetic_tag = SOV_ahistorical_flag_neutrality has_cosmetic_tag = SOV_USSR_AUTH_S_nationalist has_cosmetic_tag = SOV_REB_democratic } nationalist_right_wing_populists_are_in_power = no nationalist_fascist_are_in_power = no nationalist_military_junta_are_in_power = no nationalist_monarchists_are_in_power = no } drop_cosmetic_tag = yes clear_variable = dynamic_flag_variant } # Drop communist/USSR cosmetic tags if communists/reactionaries no longer in power if = { limit = { OR = { has_cosmetic_tag = SOV_AUTH_S_communism has_cosmetic_tag = SOV_USSR_AUTH_S has_cosmetic_tag = SOV_soviet_empire has_cosmetic_tag = SOV_commie_grudinka } emerging_communist_state_are_in_power = no emerging_anarchist_communism_are_in_power = no emerging_reactionaries_are_in_power = no } drop_cosmetic_tag = yes clear_variable = dynamic_flag_variant } # Drop hyper empire tag if no longer applicable if = { limit = { has_cosmetic_tag = SOV_hyper_empire nationalist_fascist_are_in_power = no } drop_cosmetic_tag = yes clear_variable = dynamic_flag_variant } SOV_update_political_modifiers = yes } } # Attaches only the political modifiers the current government still qualifies for. The backing # variables live on the country and survive detachment, so a path's accumulated bonuses return # intact if its ideology comes back. SOV_update_political_modifiers = { if = { limit = { has_dynamic_modifier = { modifier = SOV_revived_politburo_modifier } } remove_dynamic_modifier = { modifier = SOV_revived_politburo_modifier } } if = { limit = { has_dynamic_modifier = { modifier = SOV_500_days_modifier } } remove_dynamic_modifier = { modifier = SOV_500_days_modifier } } if = { limit = { has_dynamic_modifier = { modifier = SOV_russian_oligarchs_modifier } } remove_dynamic_modifier = { modifier = SOV_russian_oligarchs_modifier } } if = { limit = { has_dynamic_modifier = { modifier = SOV_navalny_inner_modifier } } remove_dynamic_modifier = { modifier = SOV_navalny_inner_modifier } } if = { limit = { has_dynamic_modifier = { modifier = SOV_koba_politic_modifier } } remove_dynamic_modifier = { modifier = SOV_koba_politic_modifier } } if = { limit = { has_dynamic_modifier = { modifier = SOV_putin_politic_modifier } } remove_dynamic_modifier = { modifier = SOV_putin_politic_modifier } } if = { limit = { has_dynamic_modifier = { modifier = SOV_just_inner_modifier } } remove_dynamic_modifier = { modifier = SOV_just_inner_modifier } } if = { limit = { has_completed_focus = SOV_zyuganov OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } } add_dynamic_modifier = { modifier = SOV_revived_politburo_modifier } } if = { limit = { has_completed_focus = SOV_capitalism_in_500_days has_country_flag = SOV_500_days_in_progress OR = { western_liberals_are_in_power = yes western_conservatism_are_in_power = yes western_social_democrats_are_in_power = yes } } add_dynamic_modifier = { modifier = SOV_500_days_modifier } } if = { limit = { has_country_flag = SOV_oligarch_takeover neutrality_neutral_oligarch_are_in_power = yes } add_dynamic_modifier = { modifier = SOV_russian_oligarchs_modifier } } if = { limit = { OR = { has_completed_focus = SOV_navalny has_completed_focus = SOV_nemtsov has_completed_focus = SOV_yavlinskiy } OR = { western_liberals_are_in_power = yes western_conservatism_are_in_power = yes western_social_democrats_are_in_power = yes } } add_dynamic_modifier = { modifier = SOV_navalny_inner_modifier } } if = { limit = { has_completed_focus = SOV_kob_party_start OR = { nationalist_military_junta_are_in_power = yes has_country_leader = { name = "Constantine Petrov" ruling_only = yes } } } add_dynamic_modifier = { modifier = SOV_koba_politic_modifier } } if = { limit = { has_completed_focus = SOV_putin NOT = { has_completed_focus = SOV_unlimited_samoderzhaviye } NOT = { has_completed_focus = SOV_crush_putinism } NOT = { has_country_flag = SOV_oligarch_takeover } OR = { emerging_reactionaries_are_in_power = yes neutrality_neutral_oligarch_are_in_power = yes } } add_dynamic_modifier = { modifier = SOV_putin_politic_modifier } } if = { limit = { has_completed_focus = SOV_a_just_russia OR = { emerging_anarchist_communism_are_in_power = yes western_social_democrats_are_in_power = yes emerging_autocracy_are_in_power = yes } } add_dynamic_modifier = { modifier = SOV_just_inner_modifier } } } SOV_apply_western_sanctions = { custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_western_sanctions_modifier } add_to_variable = { SOV_sanctions_roi = -0.04 tooltip = return_on_investment_modifier_tt } add_to_variable = { SOV_sanctions_invest_cost = 0.10 tooltip = receiving_investment_cost_modifier_tt } add_to_variable = { SOV_sanctions_office_tax_gain = -0.04 tooltip = office_park_income_tax_modifier_tt } add_to_variable = { SOV_sanctions_construction_speed = -0.04 tooltip = production_speed_buildings_factor_tt } add_to_variable = { SOV_sanctions_opinion_gain = -0.02 tooltip = opinion_gain_monthly_same_ideology_factor_tt } add_to_variable = { SOV_sanctions_research_speed = -0.02 tooltip = research_speed_factor_tt } add_to_variable = { SOV_sanctions_tax_cost = 0.02 tooltip = consumer_goods_factor_tt } } # Russian computing sovereignty. Five milestones set the route; the closing # milestone resolves it into one of four computing futures. SOV_computing_sovereignty_apply_sovereign_stack = { if = { limit = { SOV_computing_sovereignty_outcome_settled = no } add_ideas = SOV_computing_sovereignty_sovereign_computing_stack } } SOV_computing_sovereignty_apply_chinese_substitution = { if = { limit = { SOV_computing_sovereignty_outcome_settled = no } add_timed_idea = { idea = SOV_computing_sovereignty_chinese_substitution days = 365 } } } SOV_computing_sovereignty_apply_parallel_imports = { if = { limit = { SOV_computing_sovereignty_outcome_settled = no } add_timed_idea = { idea = SOV_computing_sovereignty_parallel_import_economy days = 365 } } } SOV_computing_sovereignty_apply_mature_nodes = { if = { limit = { SOV_computing_sovereignty_outcome_settled = no } add_timed_idea = { idea = SOV_computing_sovereignty_mature_node_specialization days = 365 } } } # One entry point per milestone, called from the yearly pulse. Full presents the # choice; Outcomes Only applies the historical persistent route silently without # the live event's one-time costs or rewards. SOV_computing_sovereignty_milestone_2001 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = sov_economic.300 days = 151 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = SOV_cs_elbrus_domestic_bet } } SOV_computing_sovereignty_milestone_2006 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = sov_economic.301 days = 114 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = SOV_cs_angstrem_t_pursued } } SOV_computing_sovereignty_milestone_2014 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = sov_economic.302 days = 212 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = SOV_cs_import_substitution } } SOV_computing_sovereignty_milestone_2022 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = sov_economic.303 days = 59 } country_event = { id = sov_economic.304 days = 273 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = SOV_cs_embargo_absorbed set_country_flag = SOV_cs_foundry_loss_accepted } } SOV_computing_sovereignty_milestone_2025 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = sov_economic.305 days = 151 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } SOV_computing_sovereignty_apply_mature_nodes = yes } }