add_namespace = dpr add_namespace = lpr # Republic joins Russia, fired on the joining republic itself (DPR/LPR/HPR/OPR) country_event = { id = dpr.4 title = dpr.4.t desc = dpr.4.d picture = GFX_dpr_referendum is_triggered_only = yes option = { name = dpr.4.a log = "[GetDateText]: [This.GetName]: dpr.4.a executed" set_country_flag = SOV_subject_republic set_country_flag = SUB_russ_polit add_ideas = CHE_republic_rf if = { limit = { original_tag = HPR } set_cosmetic_tag = HPR_russia_subject } add_opinion_modifier = { target = SOV modifier = has_expressed_loyalty } reverse_add_opinion_modifier = { target = SOV modifier = has_expressed_loyalty } update_party_name = yes SOV = { set_autonomy = { target = ROOT autonomy_state = autonomy_republic_rf } } custom_effect_tooltip = SOV_subjectsepar_minus_tt hidden_effect = { add_ideas = SUB_small_taxes SOV = { set_temp_variable = { modify_subjectnalogs = 3 } modify_subjectnalogs_support = yes SUB_separatism_minus_subject = yes } } ai_chance = { base = 100 } } option = { name = dpr.4.b ai_chance = { base = 0 } } } country_event = { id = dpr.5 title = dpr.5.t desc = dpr.5.d picture = GFX_treaty is_triggered_only = yes option = { name = dpr.5.a } } country_event = { id = dpr.6 title = dpr.6.t desc = dpr.6.d picture = GFX_politics_cut_taxes is_triggered_only = yes option = { name = dpr.6.a log = "[GetDateText]: [This.GetName]: dpr.6.a executed" set_temp_variable = { corp_change = 35 } modify_corporate_tax_rate_effect = yes set_temp_variable = { pop_change = 35 } modify_population_tax_rate_effect = yes } } country_event = { id = dpr.7 title = dpr.7.t desc = dpr.7.d picture = GFX_treaty is_triggered_only = yes option = { name = dpr.7.a } } #Stakhanov Republic country_event = { id = lpr.2 title = lpr.2.t desc = lpr.2.d is_triggered_only = yes option = { name = lpr.2.a log = "[GetDateText]: [This.GetName]: lpr.2.a executed" hidden_effect = { delete_unit_template_and_units = { division_template = "Kazachya Brigada" disband = yes } create_dynamic_country = { original_tag = LPR copy_tag = LPR transfer_state = 1075 set_province_controller = 6505 set_popularities = { democratic = 0 neutrality = 0 fascism = 0 communism = 0 nationalist = 100 } inherit_technology = LPR start_politics_input = yes set_variable = { party_pop_array^22 = 1 } set_temp_variable = { rul_party_temp = 22 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes recalculate_party = yes retire_country_leader = yes set_cosmetic_tag = LPR_stakhanov clr_country_flag = dynamic_flag create_country_leader = { name = "Pavel Dremov" picture = "gfx/leaders/LPR/Pavel_Dremov.dds" expire = "2045.1.1" ideology = Nat_Autocracy traits = { nationalist_Nat_Autocracy } } delete_unit_template_and_units = { division_template = "National Militia" disband = yes } country_event = lpr.3 declare_war_on = { target = LPR type = puppet_wargoal_focus } } set_province_controller = 9461 set_province_controller = 9446 } } } #Stakhanov Republic country_event = { id = lpr.3 title = lpr.3.t desc = lpr.3.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = lpr.3.a log = "[GetDateText]: [This.GetName]: lpr.3.a executed" declare_war_on = { target = LPR type = puppet_wargoal_focus } declare_war_on = { target = UKR type = puppet_wargoal_focus } declare_war_on = { target = DPR type = puppet_wargoal_focus } } }