UKR_add_political_tension = { add_to_variable = { UKR_political_tension = tension_change } custom_effect_tooltip = UKR_political_tension_tt clamp_variable = { var = UKR_political_tension min = 0 max = 100 } } UKR_setup_euromaidan_severity = { log = "[GetDateText]: [Root.GetName]: Effect UKR_setup_euromaidan_severity" if = { limit = { NOT = { has_country_flag = UKR_euromaidan_severity_setup } } if = { limit = { has_country_flag = UKR_seuar_suppressed } set_temp_variable = { tension_change = 20 } UKR_add_political_tension = yes } if = { limit = { has_country_flag = UKR_seuar_congress_only } set_temp_variable = { tension_change = 5 } UKR_add_political_tension = yes } if = { limit = { has_country_flag = UKR_crimea_referendum_suppressed } set_temp_variable = { tension_change = 15 } UKR_add_political_tension = yes } if = { limit = { has_country_flag = UKR_seuar_autonomy_declared } set_temp_variable = { tension_change = -15 } UKR_add_political_tension = yes } if = { limit = { has_country_flag = UKR_seuar_reintegrated } set_temp_variable = { tension_change = -20 } UKR_add_political_tension = yes } if = { limit = { has_country_flag = UKR_crimea_2004_restrained } set_temp_variable = { tension_change = -15 } UKR_add_political_tension = yes } if = { limit = { has_country_flag = UKR_crimea_2004_departed } set_temp_variable = { tension_change = 20 } UKR_add_political_tension = yes } if = { limit = { has_country_flag = UKR_crimea_2004_release_failed } set_temp_variable = { tension_change = 5 } UKR_add_political_tension = yes } if = { limit = { has_country_flag = UKR_seuar_defeated } set_temp_variable = { tension_change = 10 } UKR_add_political_tension = yes } set_country_flag = UKR_euromaidan_severity_setup } clr_country_flag = UKR_euromaidan_mild clr_country_flag = UKR_euromaidan_severe if = { limit = { check_variable = { UKR_political_tension < 40 } is_historical_focus_on = no } set_country_flag = UKR_euromaidan_mild } else_if = { limit = { check_variable = { UKR_political_tension > 69 } } set_country_flag = UKR_euromaidan_severe } } UKR_start_euromaidan = { log = "[GetDateText]: [Root.GetName]: Effect UKR_start_euromaidan" if = { limit = { tag = UKR date > 2013.10.31 NOT = { has_country_flag = ukr_revoult_bilo } } UKR_setup_euromaidan_severity = yes if = { limit = { has_country_flag = UKR_euromaidan_severe } add_stability = -0.05 add_war_support = 0.05 } else_if = { limit = { has_country_flag = UKR_euromaidan_mild } add_stability = 0.02 } set_country_flag = ukr_revoult_bilo if = { limit = { OR = { UKR_is_pro_east = yes AND = { is_ai = yes has_global_flag = UKR_YANUK_PATH } } } country_event = { id = ukraine_maidan_west.1 days = 10 } } else = { country_event = { id = ukraine_maidan_east.1 days = 10 } } } } UKR_start_republic_wave = { log = "[GetDateText]: [Root.GetName]: Effect UKR_start_republic_wave" if = { limit = { tag = UKR country_exists = UKR date > 2013.12.31 NOT = { has_country_flag = UKR_republic_wave_started } } clr_country_flag = UKR_republic_wave_deferred set_country_flag = UKR_republic_wave_started set_country_flag = UKR_republic_wave_active country_event = { id = ukraine_revolution.40 days = 1 } } else_if = { limit = { tag = UKR NOT = { has_country_flag = UKR_republic_wave_started } } set_country_flag = UKR_republic_wave_deferred } } UKR_finish_republic_wave = { clr_country_flag = UKR_republic_wave_active set_country_flag = UKR_republic_wave_complete if = { limit = { NOT = { has_country_flag = UKR_provisional_flavor_wave_queued } } set_country_flag = UKR_provisional_flavor_wave_queued country_event = { id = ukraine_revolution.51 days = 1 } } } UKR_queue_provisional_crimea_flavor = { if = { limit = { NOT = { has_country_flag = UKR_provisional_flavor_crimea_queued } } set_country_flag = UKR_provisional_flavor_crimea_queued country_event = { id = ukraine_revolution.53 days = 1 } } } UKR_queue_provisional_novorossiya_flavor = { if = { limit = { NOT = { has_country_flag = UKR_provisional_flavor_novorossiya_queued } } set_country_flag = UKR_provisional_flavor_novorossiya_queued country_event = { id = ukraine_revolution.54 days = 1 } } } UKR_prepare_DPR_wave = { if = { limit = { OR = { NOT = { country_exists = DPR } DPR = { UKR_novorossiya_participant_eligible = yes } } } 693 = { add_core_of = DPR } 1030 = { add_core_of = DPR } if = { limit = { NOT = { country_exists = DPR } OR = { owns_state = 693 owns_state = 1030 } } release = DPR } if = { limit = { country_exists = DPR } DPR = { set_country_flag = UKR_subject_agree if = { limit = { NOT = { has_country_flag = UKR_provisional_flavor_first_republic_queued } } set_country_flag = UKR_provisional_flavor_first_republic_queued country_event = { id = ukraine_revolution.52 days = 1 } } if = { limit = { NOT = { has_idea = UKR_republic_ukr } } add_ideas = UKR_republic_ukr } if = { limit = { UKR = { owns_state = 693 } } transfer_state = 693 } if = { limit = { UKR = { owns_state = 1030 } } transfer_state = 1030 } if = { limit = { NOT = { has_country_flag = UKR_republic_army_initialized } } DPR_maidan_create_army = yes set_country_flag = UKR_republic_army_initialized } if = { limit = { is_ai = yes } give_AI_templates = yes } } if = { limit = { DPR = { UKR_novorossiya_participant_eligible = yes } } set_autonomy = { target = DPR autonomy_state = autonomy_republic_ukr } } } } } UKR_prepare_LPR_wave = { if = { limit = { OR = { NOT = { country_exists = LPR } LPR = { UKR_novorossiya_participant_eligible = yes } } } 1075 = { add_core_of = LPR } 1076 = { add_core_of = LPR } if = { limit = { NOT = { country_exists = LPR } OR = { owns_state = 1075 owns_state = 1076 } } release = LPR } if = { limit = { country_exists = LPR } LPR = { set_country_flag = UKR_subject_agree if = { limit = { NOT = { has_idea = UKR_republic_ukr } } add_ideas = UKR_republic_ukr } if = { limit = { UKR = { owns_state = 1075 } } transfer_state = 1075 } if = { limit = { UKR = { owns_state = 1076 } } transfer_state = 1076 } if = { limit = { NOT = { has_country_flag = UKR_republic_army_initialized } } LPR_maidan_create_army = yes set_country_flag = UKR_republic_army_initialized } if = { limit = { is_ai = yes } give_AI_templates = yes } } if = { limit = { LPR = { UKR_novorossiya_participant_eligible = yes } } set_autonomy = { target = LPR autonomy_state = autonomy_republic_ukr } } } } } UKR_prepare_DRP_wave = { if = { limit = { NOT = { has_country_flag = UKR_kolomoisky_dnipro_autonomy } OR = { NOT = { country_exists = DRP } DRP = { UKR_novorossiya_participant_eligible = yes } } } 1087 = { add_core_of = DRP } if = { limit = { NOT = { country_exists = DRP } owns_state = 1087 } release = DRP } if = { limit = { country_exists = DRP } DRP = { set_country_flag = UKR_subject_agree set_country_flag = UKR_provisional_republic_focus_setup if = { limit = { NOT = { has_focus_tree = ukr_provisional_republic_focus } } load_focus_tree = { tree = ukr_provisional_republic_focus keep_completed = yes } } if = { limit = { NOT = { has_idea = UKR_republic_ukr } } add_ideas = UKR_republic_ukr } if = { limit = { UKR = { owns_state = 1087 } } transfer_state = 1087 } if = { limit = { NOT = { has_country_flag = UKR_republic_army_initialized } } DRP_maidan_create_army = yes set_country_flag = UKR_republic_army_initialized } if = { limit = { is_ai = yes } give_AI_templates = yes } } if = { limit = { DRP = { UKR_novorossiya_participant_eligible = yes } } set_autonomy = { target = DRP autonomy_state = autonomy_republic_ukr } } } } } UKR_prepare_OPR_wave = { if = { limit = { OR = { NOT = { country_exists = OPR } OPR = { UKR_novorossiya_participant_eligible = yes } } } 695 = { add_core_of = OPR } if = { limit = { NOT = { country_exists = OPR } owns_state = 695 } release = OPR } if = { limit = { country_exists = OPR } OPR = { set_country_flag = UKR_subject_agree set_country_flag = UKR_provisional_republic_focus_setup if = { limit = { NOT = { has_focus_tree = ukr_provisional_republic_focus } } load_focus_tree = { tree = ukr_provisional_republic_focus keep_completed = yes } } if = { limit = { NOT = { has_idea = UKR_republic_ukr } } add_ideas = UKR_republic_ukr } if = { limit = { UKR = { owns_state = 695 } } transfer_state = 695 } if = { limit = { NOT = { has_country_flag = UKR_republic_army_initialized } } OPR_maidan_create_army = yes set_country_flag = UKR_republic_army_initialized } if = { limit = { is_ai = yes } give_AI_templates = yes } } if = { limit = { OPR = { UKR_novorossiya_participant_eligible = yes } } set_autonomy = { target = OPR autonomy_state = autonomy_republic_ukr } } } } } UKR_form_novorossiya = { log = "[GetDateText]: [Root.GetName]: Effect UKR_form_novorossiya" if = { limit = { UKR_novorossiya_formation_ready = yes } clr_country_flag = UKR_novorossiya_include_dpr clr_country_flag = UKR_novorossiya_include_lpr clr_country_flag = UKR_novorossiya_include_drp clr_country_flag = UKR_novorossiya_include_opr clr_country_flag = UKR_novorossiya_include_693 clr_country_flag = UKR_novorossiya_include_1030 clr_country_flag = UKR_novorossiya_include_1075 clr_country_flag = UKR_novorossiya_include_1076 clr_country_flag = UKR_novorossiya_include_696 clr_country_flag = UKR_novorossiya_include_694 clr_country_flag = UKR_novorossiya_include_1085 clr_country_flag = UKR_novorossiya_include_1086 clr_country_flag = UKR_novorossiya_include_695 clr_country_flag = UKR_novorossiya_include_1087 clr_country_flag = UKR_novorossiya_include_1088 if = { limit = { DPR = { OR = { owns_state = 693 owns_state = 1030 } } } set_country_flag = UKR_novorossiya_include_dpr } if = { limit = { LPR = { OR = { owns_state = 1075 owns_state = 1076 } } } set_country_flag = UKR_novorossiya_include_lpr } if = { limit = { NOT = { has_country_flag = UKR_kolomoisky_dnipro_autonomy } DRP = { owns_state = 1087 } } set_country_flag = UKR_novorossiya_include_drp } if = { limit = { OPR = { owns_state = 695 } } set_country_flag = UKR_novorossiya_include_opr } if = { limit = { OR = { DPR = { owns_state = 693 } AND = { has_country_flag = UKR_republic_council_donetsk owns_state = 693 } } } set_country_flag = UKR_novorossiya_include_693 } if = { limit = { OR = { DPR = { owns_state = 1030 } AND = { has_country_flag = UKR_republic_council_donetsk owns_state = 1030 } } } set_country_flag = UKR_novorossiya_include_1030 } if = { limit = { OR = { LPR = { owns_state = 1075 } AND = { has_country_flag = UKR_republic_council_luhansk owns_state = 1075 } } } set_country_flag = UKR_novorossiya_include_1075 } if = { limit = { OR = { LPR = { owns_state = 1076 } AND = { has_country_flag = UKR_republic_council_luhansk owns_state = 1076 } } } set_country_flag = UKR_novorossiya_include_1076 } if = { limit = { OR = { DRP = { owns_state = 696 } AND = { has_country_flag = UKR_republic_council_kharkiv owns_state = 696 } } } set_country_flag = UKR_novorossiya_include_696 } if = { limit = { OR = { DRP = { owns_state = 694 } AND = { has_country_flag = UKR_republic_council_zaporizhzhia owns_state = 694 } } } set_country_flag = UKR_novorossiya_include_694 } if = { limit = { OR = { DRP = { owns_state = 1085 } AND = { has_country_flag = UKR_republic_council_south owns_state = 1085 } } } set_country_flag = UKR_novorossiya_include_1085 } if = { limit = { OR = { DRP = { owns_state = 1086 } AND = { has_country_flag = UKR_republic_council_south owns_state = 1086 } } } set_country_flag = UKR_novorossiya_include_1086 } if = { limit = { OR = { OPR = { owns_state = 695 } AND = { has_country_flag = UKR_republic_council_odessa owns_state = 695 } } } set_country_flag = UKR_novorossiya_include_695 } if = { limit = { NOT = { has_country_flag = UKR_kolomoisky_dnipro_autonomy } OR = { DRP = { owns_state = 1087 } AND = { has_country_flag = UKR_republic_council_dnipro owns_state = 1087 } } } set_country_flag = UKR_novorossiya_include_1087 } if = { limit = { has_country_flag = UKR_republic_council_sumy owns_state = 1088 } set_country_flag = UKR_novorossiya_include_1088 } set_country_flag = UKR_novorossiya_consolidating if = { limit = { has_country_flag = UKR_novorossiya_include_dpr } annex_country = { target = DPR transfer_troops = yes } } if = { limit = { has_country_flag = UKR_novorossiya_include_lpr } annex_country = { target = LPR transfer_troops = yes } } if = { limit = { has_country_flag = UKR_novorossiya_include_drp } annex_country = { target = DRP transfer_troops = yes } } if = { limit = { has_country_flag = UKR_novorossiya_include_opr } annex_country = { target = OPR transfer_troops = yes } } if = { limit = { has_country_flag = UKR_novorossiya_include_693 } 693 = { add_core_of = NOV } } if = { limit = { has_country_flag = UKR_novorossiya_include_1030 } 1030 = { add_core_of = NOV } } if = { limit = { has_country_flag = UKR_novorossiya_include_1075 } 1075 = { add_core_of = NOV } } if = { limit = { has_country_flag = UKR_novorossiya_include_1076 } 1076 = { add_core_of = NOV } } if = { limit = { has_country_flag = UKR_novorossiya_include_696 } 696 = { add_core_of = NOV } } if = { limit = { has_country_flag = UKR_novorossiya_include_694 } 694 = { add_core_of = NOV } } if = { limit = { has_country_flag = UKR_novorossiya_include_1085 } 1085 = { add_core_of = NOV } } if = { limit = { has_country_flag = UKR_novorossiya_include_1086 } 1086 = { add_core_of = NOV } } if = { limit = { has_country_flag = UKR_novorossiya_include_695 } 695 = { add_core_of = NOV } } if = { limit = { has_country_flag = UKR_novorossiya_include_1087 } 1087 = { add_core_of = NOV } } if = { limit = { has_country_flag = UKR_novorossiya_include_1088 } 1088 = { add_core_of = NOV } } if = { limit = { NOT = { country_exists = NOV } OR = { has_country_flag = UKR_novorossiya_include_693 has_country_flag = UKR_novorossiya_include_1030 has_country_flag = UKR_novorossiya_include_1075 has_country_flag = UKR_novorossiya_include_1076 has_country_flag = UKR_novorossiya_include_696 has_country_flag = UKR_novorossiya_include_694 has_country_flag = UKR_novorossiya_include_1085 has_country_flag = UKR_novorossiya_include_1086 has_country_flag = UKR_novorossiya_include_695 has_country_flag = UKR_novorossiya_include_1087 has_country_flag = UKR_novorossiya_include_1088 } } release = NOV } if = { limit = { country_exists = NOV NOV = { OR = { owns_state = 693 owns_state = 1030 } OR = { owns_state = 1075 owns_state = 1076 } } } NOV = { set_country_flag = UKR_subject_agree if = { limit = { NOT = { has_idea = UKR_republic_ukr } } add_ideas = UKR_republic_ukr } if = { limit = { is_ai = yes } give_AI_templates = yes } } if = { limit = { NOT = { has_country_flag = UKR_novorossiya_include_693 } } 693 = { add_claim_by = NOV } } if = { limit = { NOT = { has_country_flag = UKR_novorossiya_include_1030 } } 1030 = { add_claim_by = NOV } } if = { limit = { NOT = { has_country_flag = UKR_novorossiya_include_1075 } } 1075 = { add_claim_by = NOV } } if = { limit = { NOT = { has_country_flag = UKR_novorossiya_include_1076 } } 1076 = { add_claim_by = NOV } } if = { limit = { NOT = { has_country_flag = UKR_novorossiya_include_696 } } 696 = { add_claim_by = NOV } } if = { limit = { NOT = { has_country_flag = UKR_novorossiya_include_694 } } 694 = { add_claim_by = NOV } } if = { limit = { NOT = { has_country_flag = UKR_novorossiya_include_1085 } } 1085 = { add_claim_by = NOV } } if = { limit = { NOT = { has_country_flag = UKR_novorossiya_include_1086 } } 1086 = { add_claim_by = NOV } } if = { limit = { NOT = { has_country_flag = UKR_novorossiya_include_695 } } 695 = { add_claim_by = NOV } } if = { limit = { NOT = { has_country_flag = UKR_novorossiya_include_1087 } } 1087 = { add_claim_by = NOV } } if = { limit = { NOT = { has_country_flag = UKR_novorossiya_include_1088 } } 1088 = { add_claim_by = NOV } } NOV = { NOV_shared_setup = yes } set_country_flag = UKR_novorossiya_formed if = { limit = { NOV = { owns_state = 694 emerging_anarchist_communism_are_in_power = yes NOT = { has_country_flag = NOV_free_territory_offered } } } NOV = { set_country_flag = NOV_free_territory_offered hidden_effect = { country_event = { id = ukraine_revolution.55 days = 3 } } } } } clr_country_flag = UKR_novorossiya_consolidating } } UKR_accept_novorossiya = { log = "[GetDateText]: [Root.GetName]: Effect UKR_accept_novorossiya" if = { limit = { country_exists = NOV NOV = { UKR_novorossiya_participant_eligible = yes OR = { owns_state = 693 owns_state = 1030 } OR = { owns_state = 1075 owns_state = 1076 } } } NOV = { set_country_flag = UKR_subject_agree if = { limit = { NOT = { has_idea = UKR_republic_ukr } } add_ideas = UKR_republic_ukr } } set_autonomy = { target = NOV autonomy_state = autonomy_novorossiya_ukr } set_country_flag = UKR_novorossiya_subject set_temp_variable = { tension_change = -10 } UKR_add_political_tension = yes } } UKR_end_seuar_struggle = { if = { limit = { has_power_balance = { id = UKR_seuar_balance } } remove_power_balance = { id = UKR_seuar_balance } } remove_ideas = UKR_seuar_autonomy_movement clr_country_flag = UKR_seuar_struggle_active clr_country_flag = UKR_seuar_resolution_scheduled } UKR_remove_seuar_cores = { if = { limit = { NOT = { country_exists = SEU } } 693 = { remove_core_of = SEU remove_claim_by = SEU } 1030 = { remove_core_of = SEU remove_claim_by = SEU } 1075 = { remove_core_of = SEU remove_claim_by = SEU } 1076 = { remove_core_of = SEU remove_claim_by = SEU } 696 = { remove_core_of = SEU remove_claim_by = SEU } 694 = { remove_core_of = SEU remove_claim_by = SEU } 1087 = { remove_core_of = SEU remove_claim_by = SEU } 1085 = { remove_core_of = SEU remove_claim_by = SEU } 1086 = { remove_core_of = SEU remove_claim_by = SEU } 695 = { remove_core_of = SEU remove_claim_by = SEU } } } UKR_cleanup_seu_rework = { if = { limit = { NOT = { country_exists = SEU } } UKR_remove_seuar_cores = yes UKR = { set_country_flag = UKR_seuar_cores_removed if = { limit = { OR = { has_country_flag = UKR_seuar_border_war has_country_flag = UKR_seuar_capitulated } } set_country_flag = UKR_seuar_defeated } clr_country_flag = UKR_seuar_rise clr_country_flag = UKR_seuar_autonomy_requested clr_country_flag = UKR_seuar_struggle_active clr_country_flag = UKR_seuar_resolution_scheduled clr_country_flag = UKR_seuar_force_used clr_country_flag = UKR_seuar_border_war clr_country_flag = UKR_seuar_ceasefire_offered clr_country_flag = UKR_used_seuar_specops clr_country_flag = UKR_seuar_subject_seen clr_country_flag = UKR_seuar_war_seen clr_country_flag = UKR_seuar_capitulated } } } UKR_cleanup_dpr_rework = { if = { limit = { NOT = { country_exists = DPR } NOT = { has_country_flag = UKR_novorossiya_consolidating } } 693 = { remove_core_of = DPR remove_claim_by = DPR } 1030 = { remove_core_of = DPR remove_claim_by = DPR } 1075 = { remove_core_of = DPR remove_claim_by = DPR } 1076 = { remove_core_of = DPR remove_claim_by = DPR } UKR = { set_country_flag = UKR_dpr_rework_cleanup_done clr_country_flag = UKR_republic_wave_donetsk_done clr_country_flag = UKR_republic_council_donetsk clr_country_flag = UKR_republic_donetsk_emerged clr_country_flag = UKR_novorossiya_include_dpr clr_country_flag = UKR_novorossiya_include_693 clr_country_flag = UKR_novorossiya_include_1030 clr_country_flag = UKR_dpr_subject_seen clr_country_flag = UKR_dpr_war_seen clr_country_flag = UKR_dpr_capitulated } } } UKR_cleanup_lpr_rework = { if = { limit = { NOT = { country_exists = LPR } NOT = { has_country_flag = UKR_novorossiya_consolidating } } 1075 = { remove_core_of = LPR remove_claim_by = LPR } 1076 = { remove_core_of = LPR remove_claim_by = LPR } UKR = { set_country_flag = UKR_lpr_rework_cleanup_done clr_country_flag = UKR_republic_wave_luhansk_done clr_country_flag = UKR_republic_council_luhansk clr_country_flag = UKR_republic_luhansk_emerged clr_country_flag = UKR_novorossiya_include_lpr clr_country_flag = UKR_novorossiya_include_1075 clr_country_flag = UKR_novorossiya_include_1076 clr_country_flag = UKR_lpr_subject_seen clr_country_flag = UKR_lpr_war_seen clr_country_flag = UKR_lpr_capitulated } } } UKR_cleanup_drp_rework = { if = { limit = { NOT = { country_exists = DRP } NOT = { has_country_flag = UKR_novorossiya_consolidating } } 1087 = { remove_core_of = DRP remove_claim_by = DRP } UKR = { set_country_flag = UKR_drp_rework_cleanup_done clr_country_flag = UKR_republic_wave_dnipro_done clr_country_flag = UKR_republic_council_dnipro clr_country_flag = UKR_republic_dnipro_emerged clr_country_flag = UKR_novorossiya_include_drp clr_country_flag = UKR_novorossiya_include_1087 clr_country_flag = UKR_drp_subject_seen clr_country_flag = UKR_drp_war_seen clr_country_flag = UKR_drp_capitulated clr_country_flag = UKR_kolomoisky_dnipro_autonomy } } } UKR_cleanup_opr_rework = { if = { limit = { NOT = { country_exists = OPR } NOT = { has_country_flag = UKR_novorossiya_consolidating } } 695 = { remove_core_of = OPR remove_claim_by = OPR } 333 = { remove_core_of = OPR remove_claim_by = OPR } UKR = { set_country_flag = UKR_opr_rework_cleanup_done clr_country_flag = UKR_republic_wave_odessa_done clr_country_flag = UKR_republic_council_odessa clr_country_flag = UKR_republic_odessa_emerged clr_country_flag = UKR_novorossiya_include_opr clr_country_flag = UKR_novorossiya_include_695 clr_country_flag = UKR_opr_subject_seen clr_country_flag = UKR_opr_war_seen clr_country_flag = UKR_opr_capitulated } } } UKR_cleanup_crm_rework = { if = { limit = { NOT = { country_exists = CRM } } 669 = { remove_core_of = CRM remove_claim_by = CRM } 1112 = { remove_core_of = CRM remove_claim_by = CRM } 1085 = { remove_core_of = CRM remove_claim_by = CRM } 694 = { remove_core_of = CRM remove_claim_by = CRM } UKR = { set_country_flag = UKR_crm_rework_cleanup_done clr_country_flag = UKR_republic_wave_crimea_done clr_country_flag = UKR_republic_council_crimea clr_country_flag = UKR_crimea_2014_chain_active clr_country_flag = UKR_crm_subject_seen clr_country_flag = UKR_crm_war_seen clr_country_flag = UKR_crm_capitulated } } } UKR_cleanup_nov_rework = { if = { limit = { NOT = { country_exists = NOV } } 693 = { remove_core_of = NOV remove_claim_by = NOV } 1030 = { remove_core_of = NOV remove_claim_by = NOV } 1075 = { remove_core_of = NOV remove_claim_by = NOV } 1076 = { remove_core_of = NOV remove_claim_by = NOV } 696 = { remove_core_of = NOV remove_claim_by = NOV } 694 = { remove_core_of = NOV remove_claim_by = NOV } 1085 = { remove_core_of = NOV remove_claim_by = NOV } 1086 = { remove_core_of = NOV remove_claim_by = NOV } 695 = { remove_core_of = NOV remove_claim_by = NOV } 333 = { remove_core_of = NOV remove_claim_by = NOV } 1087 = { remove_core_of = NOV remove_claim_by = NOV } 1088 = { remove_core_of = NOV remove_claim_by = NOV } UKR = { set_country_flag = UKR_nov_rework_cleanup_done clr_country_flag = UKR_novorossiya_subject clr_country_flag = UKR_novorossiya_include_dpr clr_country_flag = UKR_novorossiya_include_lpr clr_country_flag = UKR_novorossiya_include_drp clr_country_flag = UKR_novorossiya_include_opr clr_country_flag = UKR_novorossiya_include_693 clr_country_flag = UKR_novorossiya_include_1030 clr_country_flag = UKR_novorossiya_include_1075 clr_country_flag = UKR_novorossiya_include_1076 clr_country_flag = UKR_novorossiya_include_696 clr_country_flag = UKR_novorossiya_include_694 clr_country_flag = UKR_novorossiya_include_1085 clr_country_flag = UKR_novorossiya_include_1086 clr_country_flag = UKR_novorossiya_include_695 clr_country_flag = UKR_novorossiya_include_1087 clr_country_flag = UKR_novorossiya_include_1088 clr_country_flag = UKR_nov_subject_seen clr_country_flag = UKR_nov_war_seen clr_country_flag = UKR_nov_capitulated } } } UKR_rework_monthly_cleanup = { # a re-created republic re-arms its cleanup latch so a second death gets cleaned too if = { limit = { country_exists = SEU } clr_country_flag = UKR_seuar_cores_removed } if = { limit = { country_exists = DPR } clr_country_flag = UKR_dpr_rework_cleanup_done } if = { limit = { country_exists = LPR } clr_country_flag = UKR_lpr_rework_cleanup_done } if = { limit = { country_exists = DRP } clr_country_flag = UKR_drp_rework_cleanup_done } if = { limit = { country_exists = OPR } clr_country_flag = UKR_opr_rework_cleanup_done } if = { limit = { country_exists = CRM } clr_country_flag = UKR_crm_rework_cleanup_done } if = { limit = { country_exists = NOV } clr_country_flag = UKR_nov_rework_cleanup_done } if = { limit = { NOT = { country_exists = SEU } NOT = { has_country_flag = UKR_seuar_cores_removed } OR = { has_country_flag = UKR_seuar_rise has_country_flag = UKR_seuar_autonomy_requested has_country_flag = UKR_seuar_struggle_active has_country_flag = UKR_seuar_border_war has_country_flag = UKR_seuar_subject_seen has_country_flag = UKR_seuar_war_seen has_country_flag = UKR_seuar_capitulated has_country_flag = UKR_seuar_autonomy_declared has_country_flag = UKR_seuar_reintegrated has_country_flag = UKR_seuar_legacy } } UKR_cleanup_seu_rework = yes } if = { limit = { NOT = { country_exists = DPR } NOT = { has_country_flag = UKR_dpr_rework_cleanup_done } OR = { has_country_flag = UKR_republic_wave_donetsk_done has_country_flag = UKR_republic_council_donetsk has_country_flag = UKR_republic_donetsk_emerged has_country_flag = UKR_dpr_subject_seen has_country_flag = UKR_dpr_war_seen has_country_flag = UKR_dpr_capitulated } } UKR_cleanup_dpr_rework = yes } if = { limit = { NOT = { country_exists = LPR } NOT = { has_country_flag = UKR_lpr_rework_cleanup_done } OR = { has_country_flag = UKR_republic_wave_luhansk_done has_country_flag = UKR_republic_council_luhansk has_country_flag = UKR_republic_luhansk_emerged has_country_flag = UKR_lpr_subject_seen has_country_flag = UKR_lpr_war_seen has_country_flag = UKR_lpr_capitulated } } UKR_cleanup_lpr_rework = yes } if = { limit = { NOT = { country_exists = DRP } NOT = { has_country_flag = UKR_drp_rework_cleanup_done } OR = { has_country_flag = UKR_republic_wave_dnipro_done has_country_flag = UKR_republic_council_dnipro has_country_flag = UKR_republic_dnipro_emerged has_country_flag = UKR_drp_subject_seen has_country_flag = UKR_drp_war_seen has_country_flag = UKR_drp_capitulated } } UKR_cleanup_drp_rework = yes } if = { limit = { NOT = { country_exists = OPR } NOT = { has_country_flag = UKR_opr_rework_cleanup_done } OR = { has_country_flag = UKR_republic_wave_odessa_done has_country_flag = UKR_republic_council_odessa has_country_flag = UKR_republic_odessa_emerged has_country_flag = UKR_opr_subject_seen has_country_flag = UKR_opr_war_seen has_country_flag = UKR_opr_capitulated } } UKR_cleanup_opr_rework = yes } if = { limit = { NOT = { country_exists = CRM } NOT = { has_country_flag = UKR_crm_rework_cleanup_done } OR = { has_country_flag = UKR_republic_wave_crimea_done has_country_flag = UKR_republic_council_crimea has_country_flag = UKR_crimea_2014_chain_active has_country_flag = UKR_crm_subject_seen has_country_flag = UKR_crm_war_seen has_country_flag = UKR_crm_capitulated has_country_flag = UKR_crimea_2004_restrained has_country_flag = UKR_crimea_2004_legacy has_country_flag = UKR_crimea_2004_protectorate has_country_flag = UKR_crimea_2004_departed has_country_flag = UKR_crimea_2004_annexed } } UKR_cleanup_crm_rework = yes } if = { limit = { NOT = { country_exists = NOV } NOT = { has_country_flag = UKR_nov_rework_cleanup_done } OR = { has_country_flag = UKR_novorossiya_formed has_country_flag = UKR_novorossiya_subject has_country_flag = UKR_nov_subject_seen has_country_flag = UKR_nov_war_seen has_country_flag = UKR_nov_capitulated } } UKR_cleanup_nov_rework = yes } } UKR_record_rework_war = { if = { limit = { OR = { AND = { ROOT = { original_tag = UKR } FROM = { original_tag = SEU } } AND = { ROOT = { original_tag = SEU } FROM = { original_tag = UKR } } } } UKR = { set_country_flag = UKR_seuar_war_seen } } if = { limit = { OR = { AND = { ROOT = { original_tag = UKR } FROM = { original_tag = DPR } } AND = { ROOT = { original_tag = DPR } FROM = { original_tag = UKR } } } } UKR = { set_country_flag = UKR_dpr_war_seen } } if = { limit = { OR = { AND = { ROOT = { original_tag = UKR } FROM = { original_tag = LPR } } AND = { ROOT = { original_tag = LPR } FROM = { original_tag = UKR } } } } UKR = { set_country_flag = UKR_lpr_war_seen } } if = { limit = { OR = { AND = { ROOT = { original_tag = UKR } FROM = { original_tag = DRP } } AND = { ROOT = { original_tag = DRP } FROM = { original_tag = UKR } } } } UKR = { set_country_flag = UKR_drp_war_seen } } if = { limit = { OR = { AND = { ROOT = { original_tag = UKR } FROM = { original_tag = OPR } } AND = { ROOT = { original_tag = OPR } FROM = { original_tag = UKR } } } } UKR = { set_country_flag = UKR_opr_war_seen } } if = { limit = { OR = { AND = { ROOT = { original_tag = UKR } FROM = { original_tag = CRM } } AND = { ROOT = { original_tag = CRM } FROM = { original_tag = UKR } } } } UKR = { set_country_flag = UKR_crm_war_seen } } if = { limit = { OR = { AND = { ROOT = { original_tag = UKR } FROM = { original_tag = NOV } } AND = { ROOT = { original_tag = NOV } FROM = { original_tag = UKR } } } } UKR = { set_country_flag = UKR_nov_war_seen } } } UKR_record_rework_capitulation = { if = { limit = { original_tag = SEU } set_country_flag = UKR_seuar_capitulated if = { limit = { FROM = { original_tag = UKR } } FROM = { set_country_flag = UKR_seuar_capitulated } } } if = { limit = { original_tag = DPR } set_country_flag = UKR_dpr_capitulated if = { limit = { FROM = { original_tag = UKR } } FROM = { set_country_flag = UKR_dpr_capitulated } } } if = { limit = { original_tag = LPR } set_country_flag = UKR_lpr_capitulated if = { limit = { FROM = { original_tag = UKR } } FROM = { set_country_flag = UKR_lpr_capitulated } } } if = { limit = { original_tag = DRP } set_country_flag = UKR_drp_capitulated if = { limit = { FROM = { original_tag = UKR } } FROM = { set_country_flag = UKR_drp_capitulated } } } if = { limit = { original_tag = OPR } set_country_flag = UKR_opr_capitulated if = { limit = { FROM = { original_tag = UKR } } FROM = { set_country_flag = UKR_opr_capitulated } } } if = { limit = { original_tag = CRM } set_country_flag = UKR_crm_capitulated if = { limit = { FROM = { original_tag = UKR } } FROM = { set_country_flag = UKR_crm_capitulated } } } if = { limit = { original_tag = NOV } set_country_flag = UKR_nov_capitulated if = { limit = { FROM = { original_tag = UKR } } FROM = { set_country_flag = UKR_nov_capitulated } } } } UKR_register_rework_puppet = { if = { limit = { original_tag = SEU FROM = { original_tag = UKR } } set_country_flag = UKR_subject_agree if = { limit = { NOT = { has_idea = UKR_republic_ukr } } add_ideas = UKR_republic_ukr } FROM = { set_country_flag = UKR_seuar_subject_seen set_autonomy = { target = ROOT autonomy_state = autonomy_republic_ukr } } } if = { limit = { original_tag = DPR FROM = { original_tag = UKR } } set_country_flag = UKR_subject_agree if = { limit = { NOT = { has_idea = UKR_republic_ukr } } add_ideas = UKR_republic_ukr } FROM = { set_country_flag = UKR_dpr_subject_seen set_autonomy = { target = ROOT autonomy_state = autonomy_republic_ukr } } } if = { limit = { original_tag = LPR FROM = { original_tag = UKR } } set_country_flag = UKR_subject_agree if = { limit = { NOT = { has_idea = UKR_republic_ukr } } add_ideas = UKR_republic_ukr } FROM = { set_country_flag = UKR_lpr_subject_seen set_autonomy = { target = ROOT autonomy_state = autonomy_republic_ukr } } } if = { limit = { original_tag = DRP FROM = { original_tag = UKR } } set_country_flag = UKR_subject_agree if = { limit = { NOT = { has_idea = UKR_republic_ukr } } add_ideas = UKR_republic_ukr } FROM = { set_country_flag = UKR_drp_subject_seen set_autonomy = { target = ROOT autonomy_state = autonomy_republic_ukr } } } if = { limit = { original_tag = OPR FROM = { original_tag = UKR } } set_country_flag = UKR_subject_agree if = { limit = { NOT = { has_idea = UKR_republic_ukr } } add_ideas = UKR_republic_ukr } FROM = { set_country_flag = UKR_opr_subject_seen set_autonomy = { target = ROOT autonomy_state = autonomy_republic_ukr } } } if = { limit = { original_tag = CRM FROM = { original_tag = UKR } } set_country_flag = UKR_subject_agree if = { limit = { NOT = { has_idea = UKR_republic_ukr } } add_ideas = UKR_republic_ukr } FROM = { set_country_flag = UKR_crm_subject_seen set_autonomy = { target = ROOT autonomy_state = autonomy_republic_ukr } } } if = { limit = { original_tag = NOV FROM = { original_tag = UKR } } set_country_flag = UKR_subject_agree if = { limit = { NOT = { has_idea = UKR_republic_ukr } } add_ideas = UKR_republic_ukr } FROM = { set_country_flag = UKR_nov_subject_seen set_autonomy = { target = ROOT autonomy_state = autonomy_novorossiya_ukr } } } } UKR_ensure_kazachya_brigada_template = { if = { limit = { NOT = { has_template = "Kazachya Brigada" } } division_template = { name = "Kazachya Brigada" regiments = { Arm_Inf_Bat = { x = 0 y = 0 } Arm_Inf_Bat = { x = 0 y = 1 } Arm_Inf_Bat = { x = 0 y = 2 } SP_Arty_Bat = { x = 0 y = 3 } armor_Bat = { x = 1 y = 0 } } support = { H_Engi_Comp = { x = 0 y = 0 } } priority = 2 } } } UKR_regional_republic_templates = { division_template = { name = "Batalyon Dobrovolchev" regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } L_Inf_Bat = { x = 0 y = 3 } } priority = 0 } division_template = { name = "Brigada Dobrovolchev" regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } } support = { Arty_Battery = { x = 0 y = 0 } } priority = 0 } division_template = { name = "Pekhotnaya Brigada" regiments = { Mot_Inf_Bat = { x = 0 y = 0 } Mot_Inf_Bat = { x = 0 y = 1 } Mot_Inf_Bat = { x = 0 y = 2 } } support = { Arty_Battery = { x = 0 y = 0 } L_Engi_Comp = { x = 0 y = 1 } } } division_template = { name = "Motorizovannaya Brigada" regiments = { Mech_Inf_Bat = { x = 0 y = 0 } Mech_Inf_Bat = { x = 0 y = 1 } Mech_Inf_Bat = { x = 0 y = 2 } } support = { SP_Arty_Battery = { x = 0 y = 0 } L_Engi_Comp = { x = 0 y = 1 } } } division_template = { name = "Batalyon Spetsnaza" regiments = { Mech_Inf_Bat = { x = 0 y = 0 } Mech_Inf_Bat = { x = 0 y = 1 } Mech_Inf_Bat = { x = 0 y = 2 } } support = { armor_Comp = { x = 0 y = 0 } } priority = 2 } division_template = { name = "Mekhanizirovannaya Brigada" regiments = { Arm_Inf_Bat = { x = 0 y = 0 } Arm_Inf_Bat = { x = 0 y = 1 } Arm_Inf_Bat = { x = 0 y = 2 } } support = { SP_Arty_Battery = { x = 0 y = 0 } L_Engi_Comp = { x = 0 y = 1 } } } UKR_ensure_kazachya_brigada_template = yes division_template = { name = "Tankovyi Batalyon" regiments = { armor_Bat = { x = 0 y = 0 } armor_Bat = { x = 0 y = 1 } } support = { armor_Recce_Comp = { x = 0 y = 0 } } } } DRP_maidan_create_army = { UKR_regional_republic_templates = yes division_template = { name = "Dnipro Volunteer Battalion" regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } } support = { Arty_Battery = { x = 0 y = 0 } } } set_equipment_fraction = 0.25 random_owned_controlled_state = { create_unit = { division = "name = \"Dnipro Volunteer Battalion\" division_template = \"Dnipro Volunteer Battalion\" start_experience_factor = 0.1" owner = DRP } } } OPR_maidan_create_army = { UKR_regional_republic_templates = yes division_template = { name = "Bryhada Morskoyi Pikhoty" division_names_group = UKR_MARINE_BRIGADE regiments = { Arm_Marine_Bat = { x = 0 y = 2 } Mech_Marine_Bat = { x = 0 y = 0 } Mech_Marine_Bat = { x = 0 y = 1 } Mot_Marine_Bat = { x = 0 y = 3 } Mot_Marine_Bat = { x = 0 y = 4 } } support = { H_Engi_Comp = { x = 0 y = 0 } } } division_template = { name = "Odesa Volunteer Battalion" regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } } support = { Arty_Battery = { x = 0 y = 0 } } } set_equipment_fraction = 0.25 random_owned_controlled_state = { create_unit = { division = "name = \"Odesa Volunteer Battalion\" division_template = \"Odesa Volunteer Battalion\" start_experience_factor = 0.1" owner = OPR } } } NOV_shared_setup = { set_country_flag = UKR_provisional_republic_focus_setup if = { limit = { NOT = { has_focus_tree = ukr_provisional_republic_focus } } load_focus_tree = { tree = ukr_provisional_republic_focus keep_completed = yes } } if = { limit = { NOT = { has_country_flag = NOV_wave_army_initialized } any_owned_state = { controller = { tag = NOV } } } UKR_regional_republic_templates = yes division_template = { name = "Novorossiyan Volunteer Brigade" regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } } support = { Arty_Battery = { x = 0 y = 0 } } } set_equipment_fraction = 0.25 random_owned_controlled_state = { create_unit = { division = "name = \"Novorossiyan Volunteer Brigade\" division_template = \"Novorossiyan Volunteer Brigade\" start_experience_factor = 0.1" owner = NOV } } set_country_flag = NOV_wave_army_initialized } } SEU_maidan_create_army = { division_template = { name = "SEU Volunteer Brigade" division_names_group = SEU_INF_BDE regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } } support = { Arty_Battery = { x = 0 y = 0 } } priority = 1 } set_equipment_fraction = 0.25 693 = { create_unit = { division = "name = \"SEU Volunteer Brigade\" division_template = \"SEU Volunteer Brigade\" start_experience_factor = 0.1" prioritize_location = 6474 owner = SEU } } } ukrane_choose_ai = { if = { limit = { has_global_flag = UKR_VINTRENKO_PATH } set_temp_variable = { UKR_target_party = 6 } set_temp_variable = { UKR_target_popularity_increase = 0.10 } UKR_shift_to_party = yes } if = { limit = { has_global_flag = UKR_YANUK_PATH } set_temp_variable = { UKR_target_party = 6 } set_temp_variable = { UKR_target_popularity_increase = 0.35 } UKR_shift_to_party = yes } if = { limit = { has_global_flag = UKR_COMMUNISM_PATH } set_temp_variable = { UKR_target_party = 4 } set_temp_variable = { UKR_target_popularity_increase = 0.10 } UKR_shift_to_party = yes } if = { limit = { has_global_flag = UKR_SOCIALISM_PATH } set_temp_variable = { UKR_target_party = 18 } set_temp_variable = { UKR_target_popularity_increase = 0.35 } UKR_shift_to_party = yes } if = { limit = { has_global_flag = UKR_YUSHENKO_PATH } set_temp_variable = { UKR_target_party = 16 } set_temp_variable = { UKR_target_popularity_increase = 0.35 } UKR_shift_to_party = yes } if = { limit = { has_global_flag = UKR_DEMOCRATIC_PATH } set_temp_variable = { UKR_target_party = 2 } set_temp_variable = { UKR_target_popularity_increase = 0.35 } UKR_shift_to_party = yes } if = { limit = { has_global_flag = UKR_NATIONALISTS_PATH } set_temp_variable = { UKR_target_party = 21 } set_temp_variable = { UKR_target_popularity_increase = 0.35 } UKR_shift_to_party = yes } } UKR_annex_subject = { # call as TAG = { UKR_annex_subject = yes }; PREV = the annexing country (UKR) PREV = { add_political_power = UKR_annex_pp_cost set_temp_variable = { treasury_change = UKR_annex_treasury_cost } modify_treasury_effect = yes } every_core_state = { add_core_of = UKR } PREV = { annex_country = { target = THIS transfer_troops = yes } } hidden_effect = { set_temp_variable = { UKR_annex_gained_treasury = treasury } set_temp_variable = { UKR_annex_gained_debt = debt } set_temp_variable = { UKR_annex_gained_int_investments = int_investments } PREV = { add_to_variable = { treasury = UKR_annex_gained_treasury } add_to_variable = { debt = UKR_annex_gained_debt } add_to_variable = { int_investments = UKR_annex_gained_int_investments } } } } ukraine_subjects_annex = { if = { limit = { DPR = { is_ai = yes has_autonomy_state = autonomy_republic_ukr is_subject_of = UKR influence_higher_40 = yes } country_exists = DPR } set_temp_variable = { party_popularity_increase = -0.13 } set_temp_variable = { temp_outlook_increase = -0.13 } change_relative_party_popularity = yes set_temp_variable = { UKR_annex_pp_cost = -300 } set_temp_variable = { UKR_annex_treasury_cost = -12 } DPR = { UKR_annex_subject = yes } } if = { limit = { LPR = { is_ai = yes has_autonomy_state = autonomy_republic_ukr is_subject_of = UKR influence_higher_40 = yes } country_exists = LPR } set_temp_variable = { party_popularity_increase = -0.13 } set_temp_variable = { temp_outlook_increase = -0.13 } change_relative_party_popularity = yes set_temp_variable = { UKR_annex_pp_cost = -300 } set_temp_variable = { UKR_annex_treasury_cost = -12 } LPR = { UKR_annex_subject = yes } } if = { limit = { CRM = { is_ai = yes has_autonomy_state = autonomy_republic_ukr is_subject_of = UKR influence_higher_40 = yes } country_exists = CRM } set_temp_variable = { party_popularity_increase = -0.13 } set_temp_variable = { temp_outlook_increase = -0.13 } change_relative_party_popularity = yes set_temp_variable = { UKR_annex_pp_cost = -300 } set_temp_variable = { UKR_annex_treasury_cost = -12 } CRM = { UKR_annex_subject = yes } } if = { limit = { DRP = { is_ai = yes has_autonomy_state = autonomy_republic_ukr is_subject_of = UKR influence_higher_40 = yes } country_exists = DRP } set_temp_variable = { party_popularity_increase = -0.13 } set_temp_variable = { temp_outlook_increase = -0.13 } change_relative_party_popularity = yes set_temp_variable = { UKR_annex_pp_cost = -300 } set_temp_variable = { UKR_annex_treasury_cost = -12 } DRP = { UKR_annex_subject = yes } } if = { limit = { OPR = { is_ai = yes has_autonomy_state = autonomy_republic_ukr is_subject_of = UKR influence_higher_40 = yes } country_exists = OPR } set_temp_variable = { party_popularity_increase = -0.13 } set_temp_variable = { temp_outlook_increase = -0.13 } change_relative_party_popularity = yes set_temp_variable = { UKR_annex_pp_cost = -300 } set_temp_variable = { UKR_annex_treasury_cost = -12 } OPR = { UKR_annex_subject = yes } } if = { limit = { NOV = { is_ai = yes has_autonomy_state = autonomy_novorossiya_ukr is_subject_of = UKR influence_higher_40 = yes } country_exists = NOV } set_temp_variable = { party_popularity_increase = -0.13 } set_temp_variable = { temp_outlook_increase = -0.13 } change_relative_party_popularity = yes set_temp_variable = { UKR_annex_pp_cost = -300 } set_temp_variable = { UKR_annex_treasury_cost = -12 } NOV = { UKR_annex_subject = yes } } } UKR_spawn_donbass_war = { hidden_effect = { decrease_economic_growth = yes set_country_flag = UKR_donbass_rise SOV = { country_event = { id = russia.16 days = 1 } } if = { limit = { OR = { country_exists = DPR country_exists = LPR country_exists = HPR } } country_event = { id = ukraine_maidan.4 days = 260 } } } news_event = ukraine_news.7 add_ideas = UKR_civil_war DPR = { set_country_flag = donbass_civil_war add_ideas = DPR_civil_war add_ideas = DPR_bivaluta add_ideas = DPR_unproffesional_army add_ideas = DPR_no_government_idea create_country_leader = { name = "Alexander Zakharchenko" picture = "Alexander_Zakharchenko.dds" ideology = Autocracy traits = { emerging_Autocracy career_politician pro_russia cautious } } set_equipment_fraction = 0.25 if = { limit = { UKR = { owns_state = 693 } } DPR = { transfer_state = 693 } } if = { limit = { UKR = { owns_state = 1030 } } DPR = { transfer_state = 1030 } } set_variable = { corporate_tax_rate = UKR.corporate_tax_rate } set_variable = { population_tax_rate = UKR.population_tax_rate } if = { limit = { NOT = { has_country_flag = UKR_republic_army_initialized } } DPR_maidan_create_army = yes set_country_flag = UKR_republic_army_initialized } if = { limit = { is_ai = yes } give_AI_templates = yes } } LPR = { add_ideas = DPR_civil_war if = { limit = { NOT = { has_country_leader = { name = "Igor Plotnitsky" } } } create_country_leader = { name = "Igor Plotnitsky" picture = "Igor_Plotnitsky.dds" ideology = Autocracy traits = { emerging_Autocracy career_politician pro_russia cautious } } } set_equipment_fraction = 0.25 if = { limit = { UKR = { owns_state = 1075 } } LPR = { transfer_state = 1075 add_state_core = 1075 } } if = { limit = { UKR = { owns_state = 1076 } } LPR = { transfer_state = 1076 add_state_core = 1076 } } set_variable = { corporate_tax_rate = UKR.corporate_tax_rate } set_variable = { population_tax_rate = UKR.population_tax_rate } if = { limit = { NOT = { has_country_flag = UKR_republic_army_initialized } } LPR_maidan_create_army = yes set_country_flag = UKR_republic_army_initialized } if = { limit = { is_ai = yes } give_AI_templates = yes } } } UKR_spawn_HPR_war = { HPR = { add_ideas = DPR_civil_war transfer_state = 696 add_state_core = 696 if = { limit = { is_ai = yes } give_AI_templates = yes } } declare_war_on = { target = HPR type = annex_everything } } UKR_spawn_OPR_war = { OPR = { add_ideas = DPR_civil_war transfer_state = 695 add_state_core = 695 if = { limit = { is_ai = yes } give_AI_templates = yes } } declare_war_on = { target = OPR type = annex_everything } } UKR_republic_army_templates = { division_template = { name = "Batalyon Dobrovolchev" regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } L_Inf_Bat = { x = 0 y = 3 } } priority = 0 } division_template = { name = "Brigada Dobrovolchev" regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } } support = { Arty_Battery = { x = 0 y = 0 } } priority = 0 } division_template = { name = "Pekhotnaya Brigada" regiments = { Mot_Inf_Bat = { x = 0 y = 0 } Mot_Inf_Bat = { x = 0 y = 1 } Mot_Inf_Bat = { x = 0 y = 2 } } support = { Arty_Battery = { x = 0 y = 0 } L_Engi_Comp = { x = 0 y = 1 } } } division_template = { name = "Motorizovannaya Brigada" regiments = { Mech_Inf_Bat = { x = 0 y = 0 } Mech_Inf_Bat = { x = 0 y = 1 } Mech_Inf_Bat = { x = 0 y = 2 } } support = { SP_Arty_Battery = { x = 0 y = 0 } L_Engi_Comp = { x = 0 y = 1 } } } division_template = { name = "Batalyon Spetsnaza" regiments = { Mech_Inf_Bat = { x = 0 y = 0 } Mech_Inf_Bat = { x = 0 y = 1 } Mech_Inf_Bat = { x = 0 y = 2 } } support = { armor_Comp = { x = 0 y = 0 } } priority = 2 } division_template = { name = "Mekhanizirovannaya Brigada" regiments = { Arm_Inf_Bat = { x = 0 y = 0 } Arm_Inf_Bat = { x = 0 y = 1 } Arm_Inf_Bat = { x = 0 y = 2 } } support = { SP_Arty_Battery = { x = 0 y = 0 } L_Engi_Comp = { x = 0 y = 1 } } } UKR_ensure_kazachya_brigada_template = yes division_template = { name = "Tankovyi Batalyon" regiments = { armor_Bat = { x = 0 y = 0 } armor_Bat = { x = 0 y = 1 } } support = { armor_Recce_Comp = { x = 0 y = 0 } } } } LPR_maidan_create_army = { UKR_republic_army_templates = yes 1075 = { create_unit = { division = "name = \"Kazachya Natsionalnaya Gvardiya\" division_template = \"Kazachya Brigada\" start_experience_factor = 0.1" prioritize_location = 9461 owner = LPR } create_unit = { division = "name = \"Narodnoe Opolchenie Luganschiny\" division_template = \"Mekhanizirovannaya Brigada\" start_experience_factor = 0.1" prioritize_location = 9461 owner = LPR } } } DPR_maidan_create_army = { UKR_republic_army_templates = yes 693 = { create_unit = { division = "name = \"Balayon 'Sever'\" division_template = \"Batalyon Dobrovolchev\" start_experience_factor = 0.1" prioritize_location = 6474 owner = DPR } create_unit = { division = "name = \"1-y Slavyanskaya Brigada\" division_template = \"Motorizovannaya Brigada\" start_experience_factor = 0.1" prioritize_location = 6474 owner = DPR } create_unit = { division = "name = \"Brigada 'Vostok'\" division_template = \"Pekhotnaya Brigada\" start_experience_factor = 0.1" prioritize_location = 6474 owner = DPR } create_unit = { division = "name = \"Russkaya Pravoslavnaya Armiya\" division_template = \"Brigada Dobrovolchev\" start_experience_factor = 0.1" prioritize_location = 6474 owner = DPR } create_unit = { division = "name = \"Shakhtyorskaya Diviziya\" division_template = \"Brigada Dobrovolchev\" start_experience_factor = 0.1" prioritize_location = 6474 owner = DPR } create_unit = { division = "name = \"Brigada 'Kalmius'\" division_template = \"Batalyon Dobrovolchev\" start_experience_factor = 0.1" prioritize_location = 6474 owner = DPR } create_unit = { division = "name = \"Batalyon 'Voskhod'\" division_template = \"Batalyon Dobrovolchev\" start_experience_factor = 0.1" prioritize_location = 6474 owner = DPR } create_unit = { division = "name = \"Brigada 'Pyatnashka'\" division_template = \"Brigada Dobrovolchev\" start_experience_factor = 0.1" prioritize_location = 6474 owner = DPR } create_unit = { division = "name = \"Mariupolsko-Khinganskyi Morskaya Pekhota\" division_template = \"Pekhotnaya Brigada\" start_experience_factor = 0.1" prioritize_location = 6474 owner = DPR } } } UKR_wve_rivlary_alignment_to_the_east = { if = { limit = { has_idea = UKR_east_strengthened } swap_ideas = { remove_idea = UKR_east_strengthened add_idea = UKR_east_dominant } } else_if = { limit = { has_idea = UKR_west_east_rivalry_balanced } swap_ideas = { remove_idea = UKR_west_east_rivalry_balanced add_idea = UKR_east_strengthened } } else_if = { limit = { has_idea = UKR_west_strengthened } swap_ideas = { remove_idea = UKR_west_strengthened add_idea = UKR_west_east_rivalry_balanced } } else_if = { limit = { has_idea = UKR_west_dominant } swap_ideas = { remove_idea = UKR_west_dominant add_idea = UKR_west_strengthened } } } UKR_wve_rivlary_alignment_to_the_west = { if = { limit = { has_idea = UKR_west_strengthened } swap_ideas = { remove_idea = UKR_west_strengthened add_idea = UKR_west_dominant } } else_if = { limit = { has_idea = UKR_west_east_rivalry_balanced } swap_ideas = { remove_idea = UKR_west_east_rivalry_balanced add_idea = UKR_west_strengthened } } else_if = { limit = { has_idea = UKR_east_strengthened } swap_ideas = { remove_idea = UKR_east_strengthened add_idea = UKR_west_east_rivalry_balanced } } else_if = { limit = { has_idea = UKR_east_dominant } swap_ideas = { remove_idea = UKR_east_dominant add_idea = UKR_east_strengthened } } } UKR_idea_ukraine_infrastructure = { if = { limit = { check_variable = { UKR_roads_level = 5 } } add_to_variable = { UKR_roads_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_economic_reforms_modifier } add_to_variable = { UKR_econ_mod_army_speed_factor = 0.01 tooltip = army_speed_factor_tt } add_to_variable = { UKR_econ_mod_productivity_growth_modifier = 0.05 tooltip = productivity_growth_modifier_tt } add_to_variable = { UKR_econ_mod_repair_speed_infrastructure_factor = 0.05 tooltip = repair_speed_infrastructure_factor_tt } } else_if = { limit = { check_variable = { UKR_roads_level = 4 } } add_to_variable = { UKR_roads_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_economic_reforms_modifier } add_to_variable = { UKR_econ_mod_army_speed_factor = 0.01 tooltip = army_speed_factor_tt } add_to_variable = { UKR_econ_mod_productivity_growth_modifier = 0.05 tooltip = productivity_growth_modifier_tt } add_to_variable = { UKR_econ_mod_repair_speed_infrastructure_factor = 0.1 tooltip = repair_speed_infrastructure_factor_tt } } else_if = { limit = { check_variable = { UKR_roads_level = 3 } } add_to_variable = { UKR_roads_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_economic_reforms_modifier } add_to_variable = { UKR_econ_mod_army_speed_factor = 0.02 tooltip = army_speed_factor_tt } add_to_variable = { UKR_econ_mod_productivity_growth_modifier = 0.05 tooltip = productivity_growth_modifier_tt } } else_if = { limit = { check_variable = { UKR_roads_level = 2 } } add_to_variable = { UKR_roads_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_economic_reforms_modifier } add_to_variable = { UKR_econ_mod_army_speed_factor = 0.01 tooltip = army_speed_factor_tt } add_to_variable = { UKR_econ_mod_productivity_growth_modifier = 0.05 tooltip = productivity_growth_modifier_tt } add_to_variable = { UKR_econ_mod_repair_speed_infrastructure_factor = 0.1 tooltip = repair_speed_infrastructure_factor_tt } } else_if = { limit = { check_variable = { UKR_roads_level = 1 } } add_to_variable = { UKR_roads_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_economic_reforms_modifier } add_to_variable = { UKR_econ_mod_army_speed_factor = 0.05 tooltip = army_speed_factor_tt } add_to_variable = { UKR_econ_mod_productivity_growth_modifier = 0.05 tooltip = productivity_growth_modifier_tt } add_to_variable = { UKR_econ_mod_repair_speed_infrastructure_factor = 0.1 tooltip = repair_speed_infrastructure_factor_tt } } } UKR_idea_ukraine_azov_steel = { if = { limit = { has_idea = UKR_azovsteel1 } swap_ideas = { remove_idea = UKR_azovsteel1 add_idea = UKR_azovsteel2 } } else_if = { limit = { has_idea = UKR_azovsteel } swap_ideas = { remove_idea = UKR_azovsteel add_idea = UKR_azovsteel1 } } } UKR_idea_ukraine_gas = { if = { limit = { has_idea = UKR_russian_gas_cheap } swap_ideas = { remove_idea = UKR_russian_gas_cheap add_idea = UKR_russian_gas_cheaper } } else_if = { limit = { has_idea = UKR_russian_gas } swap_ideas = { remove_idea = UKR_russian_gas add_idea = UKR_russian_gas_cheap } } else_if = { limit = { NOT = { has_idea = UKR_russian_gas } } add_ideas = UKR_russian_gas } } UKR_idea_russia_gas = { if = { limit = { has_idea = UKR_russian_gas_cheap_sov } swap_ideas = { remove_idea = UKR_russian_gas_cheap_sov add_idea = UKR_russian_gas_cheaper_sov } SOV = { set_temp_variable = { SOV_modify_capitalisation_gazprom = 0.150 } SOV_modify_capitalisation_gazprom_support = yes } } else_if = { limit = { has_idea = UKR_russian_gas_sov } swap_ideas = { remove_idea = UKR_russian_gas_sov add_idea = UKR_russian_gas_cheap_sov } SOV = { set_temp_variable = { SOV_modify_capitalisation_gazprom = 0.150 } SOV_modify_capitalisation_gazprom_support = yes } } else_if = { limit = { NOT = { has_idea = UKR_russian_gas_sov } } add_ideas = UKR_russian_gas_sov SOV = { set_temp_variable = { SOV_modify_capitalisation_gazprom = 0.150 } SOV_modify_capitalisation_gazprom_support = yes } } } UKR_idea_ukraine_sbu = { if = { limit = { check_variable = { UKR_sbu_level = 5 } } add_to_variable = { UKR_sbu_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_corruption_cost_factor = -0.05 tooltip = corruption_cost_factor_tt } add_to_variable = { UKR_mil_mod_foreign_subversive_activites = -0.05 tooltip = foreign_subversive_activites_tt } add_to_variable = { UKR_mil_mod_intelligence_agency_defense = 0.05 tooltip = intelligence_agency_defense_tt } add_to_variable = { UKR_mil_mod_police_cost_multiplier_modifier = 0.04 tooltip = police_cost_multiplier_modifier_tt } add_to_variable = { UKR_mil_mod_resistance_damage_to_garrison = -0.1 tooltip = resistance_damage_to_garrison_tt } add_to_variable = { UKR_mil_mod_resistance_growth = -0.1 tooltip = resistance_growth_tt } add_to_variable = { UKR_mil_mod_stability_factor = 0.05 tooltip = stability_factor_tt } } else_if = { limit = { check_variable = { UKR_sbu_level = 4 } } add_to_variable = { UKR_sbu_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_foreign_subversive_activites = -0.05 tooltip = foreign_subversive_activites_tt } add_to_variable = { UKR_mil_mod_police_cost_multiplier_modifier = 0.06 tooltip = police_cost_multiplier_modifier_tt } add_to_variable = { UKR_mil_mod_resistance_damage_to_garrison = -0.15 tooltip = resistance_damage_to_garrison_tt } add_to_variable = { UKR_mil_mod_resistance_growth = -0.05 tooltip = resistance_growth_tt } add_to_variable = { UKR_mil_mod_stability_factor = 0.05 tooltip = stability_factor_tt } } else_if = { limit = { check_variable = { UKR_sbu_level = 3 } } add_to_variable = { UKR_sbu_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_foreign_subversive_activites = -0.05 tooltip = foreign_subversive_activites_tt } add_to_variable = { UKR_mil_mod_intelligence_agency_defense = 0.55 tooltip = intelligence_agency_defense_tt } add_to_variable = { UKR_mil_mod_police_cost_multiplier_modifier = 0.04 tooltip = police_cost_multiplier_modifier_tt } add_to_variable = { UKR_mil_mod_resistance_growth = -0.05 tooltip = resistance_growth_tt } } else_if = { limit = { check_variable = { UKR_sbu_level = 2 } } add_to_variable = { UKR_sbu_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_corruption_cost_factor = -0.1 tooltip = corruption_cost_factor_tt } add_to_variable = { UKR_mil_mod_police_cost_multiplier_modifier = 0.03 tooltip = police_cost_multiplier_modifier_tt } } else_if = { limit = { check_variable = { UKR_sbu_level = 1 } } add_to_variable = { UKR_sbu_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_foreign_subversive_activites = -0.25 tooltip = foreign_subversive_activites_tt } add_to_variable = { UKR_mil_mod_resistance_growth = -0.05 tooltip = resistance_growth_tt } } else_if = { limit = { check_variable = { UKR_sbu_level = 0 } } add_to_variable = { UKR_sbu_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_police_cost_multiplier_modifier = 0.05 tooltip = police_cost_multiplier_modifier_tt } add_to_variable = { UKR_mil_mod_resistance_growth = -0.1 tooltip = resistance_growth_tt } } } UKR_idea_ukraine_eu_assosiated = { if = { limit = { has_idea = UKR_idea_eu_member_associate4 } swap_ideas = { remove_idea = UKR_idea_eu_member_associate4 add_idea = UKR_idea_eu_member_associate5 } } else_if = { limit = { has_idea = UKR_idea_eu_member_associate3 } swap_ideas = { remove_idea = UKR_idea_eu_member_associate3 add_idea = UKR_idea_eu_member_associate4 } } else_if = { limit = { has_idea = UKR_idea_eu_member_associate2 } swap_ideas = { remove_idea = UKR_idea_eu_member_associate2 add_idea = UKR_idea_eu_member_associate3 } } else_if = { limit = { has_idea = UKR_idea_eu_member_associate1 } swap_ideas = { remove_idea = UKR_idea_eu_member_associate1 add_idea = UKR_idea_eu_member_associate2 } } else_if = { limit = { has_idea = UKR_idea_eu_member_associate } swap_ideas = { remove_idea = UKR_idea_eu_member_associate add_idea = UKR_idea_eu_member_associate1 } } else_if = { limit = { NOT = { has_idea = UKR_idea_eu_member_associate } } add_ideas = UKR_idea_eu_member_associate } } UKR_idea_ukraine_agriculture = { if = { limit = { has_idea = UKR_our_agricultrure1 } swap_ideas = { remove_idea = UKR_our_agricultrure1 add_idea = UKR_our_agricultrure2 } } else_if = { limit = { has_idea = UKR_our_agricultrure } swap_ideas = { remove_idea = UKR_our_agricultrure add_idea = UKR_our_agricultrure1 } } else_if = { limit = { NOT = { has_idea = UKR_our_agricultrure } } add_ideas = UKR_our_agricultrure } } UKR_idea_ukraine_nato_doctrine = { if = { limit = { check_variable = { UKR_nato_doctrine_level = 2 } } add_to_variable = { UKR_nato_doctrine_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_army_breakthrough_against_major_factor = -0.04 tooltip = army_breakthrough_against_major_factor_tt } add_to_variable = { UKR_mil_mod_army_morale_factor = 0.04 tooltip = army_morale_factor_tt } add_to_variable = { UKR_mil_mod_max_planning_factor = 0.02 tooltip = max_planning_factor_tt } add_to_variable = { UKR_mil_mod_planning_speed = -0.03 tooltip = planning_speed_tt } add_to_variable = { UKR_mil_mod_terrain_penalty_reduction = 0.03 tooltip = terrain_penalty_reduction_tt } } else_if = { limit = { check_variable = { UKR_nato_doctrine_level = 1 } } add_to_variable = { UKR_nato_doctrine_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_army_breakthrough_against_major_factor = -0.04 tooltip = army_breakthrough_against_major_factor_tt } add_to_variable = { UKR_mil_mod_army_morale_factor = 0.01 tooltip = army_morale_factor_tt } add_to_variable = { UKR_mil_mod_max_planning_factor = 0.03 tooltip = max_planning_factor_tt } add_to_variable = { UKR_mil_mod_planning_speed = -0.02 tooltip = planning_speed_tt } add_to_variable = { UKR_mil_mod_terrain_penalty_reduction = 0.04 tooltip = terrain_penalty_reduction_tt } } else_if = { limit = { check_variable = { UKR_nato_doctrine_level = 0 } } add_to_variable = { UKR_nato_doctrine_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_army_breakthrough_against_major_factor = -0.05 tooltip = army_breakthrough_against_major_factor_tt } add_to_variable = { UKR_mil_mod_army_morale_factor = 0.1 tooltip = army_morale_factor_tt } add_to_variable = { UKR_mil_mod_max_planning_factor = 0.15 tooltip = max_planning_factor_tt } add_to_variable = { UKR_mil_mod_planning_speed = -0.1 tooltip = planning_speed_tt } add_to_variable = { UKR_mil_mod_terrain_penalty_reduction = 0.05 tooltip = terrain_penalty_reduction_tt } } } UKR_idea_ukraine_army_reforms = { if = { limit = { check_variable = { UKR_army_reform_level = 7 } } add_to_variable = { UKR_army_reform_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_army_attack_factor = 0.1 tooltip = army_attack_factor_tt } add_to_variable = { UKR_mil_mod_army_defence_factor = 0.1 tooltip = army_defence_factor_tt } add_to_variable = { UKR_mil_mod_army_personnel_cost_multiplier_modifier = 0.03 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { UKR_mil_mod_dig_in_speed_factor = 0.014 tooltip = dig_in_speed_factor_tt } add_to_variable = { UKR_mil_mod_experience_gain_army_factor = 0.04 tooltip = experience_gain_army_factor_tt } } else_if = { limit = { check_variable = { UKR_army_reform_level = 6 } } add_to_variable = { UKR_army_reform_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_army_attack_factor = 0.04 tooltip = army_attack_factor_tt } add_to_variable = { UKR_mil_mod_army_defence_factor = 0.04 tooltip = army_defence_factor_tt } add_to_variable = { UKR_mil_mod_army_personnel_cost_multiplier_modifier = 0.03 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { UKR_mil_mod_dig_in_speed_factor = 0.016 tooltip = dig_in_speed_factor_tt } add_to_variable = { UKR_mil_mod_experience_gain_army_factor = 0.06 tooltip = experience_gain_army_factor_tt } } else_if = { limit = { check_variable = { UKR_army_reform_level = 5 } } add_to_variable = { UKR_army_reform_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_army_attack_factor = 0.06 tooltip = army_attack_factor_tt } add_to_variable = { UKR_mil_mod_army_defence_factor = 0.06 tooltip = army_defence_factor_tt } add_to_variable = { UKR_mil_mod_army_personnel_cost_multiplier_modifier = 0.03 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { UKR_mil_mod_dig_in_speed_factor = 0.022 tooltip = dig_in_speed_factor_tt } add_to_variable = { UKR_mil_mod_experience_gain_army_factor = 0.1 tooltip = experience_gain_army_factor_tt } } else_if = { limit = { check_variable = { UKR_army_reform_level = 4 } } add_to_variable = { UKR_army_reform_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_army_attack_factor = 0.05 tooltip = army_attack_factor_tt } add_to_variable = { UKR_mil_mod_army_defence_factor = 0.05 tooltip = army_defence_factor_tt } add_to_variable = { UKR_mil_mod_army_personnel_cost_multiplier_modifier = 0.02 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { UKR_mil_mod_dig_in_speed_factor = 0.033 tooltip = dig_in_speed_factor_tt } add_to_variable = { UKR_mil_mod_experience_gain_army_factor = 0.1 tooltip = experience_gain_army_factor_tt } } else_if = { limit = { check_variable = { UKR_army_reform_level = 3 } } add_to_variable = { UKR_army_reform_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_army_attack_factor = 0.1 tooltip = army_attack_factor_tt } add_to_variable = { UKR_mil_mod_army_defence_factor = 0.1 tooltip = army_defence_factor_tt } add_to_variable = { UKR_mil_mod_army_personnel_cost_multiplier_modifier = 0.02 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { UKR_mil_mod_dig_in_speed_factor = 0.05 tooltip = dig_in_speed_factor_tt } add_to_variable = { UKR_mil_mod_experience_gain_army_factor = 0.13 tooltip = experience_gain_army_factor_tt } } else_if = { limit = { check_variable = { UKR_army_reform_level = 2 } } add_to_variable = { UKR_army_reform_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_army_attack_factor = 0.1 tooltip = army_attack_factor_tt } add_to_variable = { UKR_mil_mod_army_defence_factor = 0.1 tooltip = army_defence_factor_tt } add_to_variable = { UKR_mil_mod_army_personnel_cost_multiplier_modifier = 0.03 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { UKR_mil_mod_dig_in_speed_factor = 0.03 tooltip = dig_in_speed_factor_tt } add_to_variable = { UKR_mil_mod_experience_gain_army_factor = 0.1 tooltip = experience_gain_army_factor_tt } } else_if = { limit = { check_variable = { UKR_army_reform_level = 1 } } add_to_variable = { UKR_army_reform_level = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = UKR_military_reforms_modifier } add_to_variable = { UKR_mil_mod_army_attack_factor = 0.1 tooltip = army_attack_factor_tt } add_to_variable = { UKR_mil_mod_army_defence_factor = 0.1 tooltip = army_defence_factor_tt } add_to_variable = { UKR_mil_mod_army_personnel_cost_multiplier_modifier = 0.15 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { UKR_mil_mod_dig_in_speed_factor = 0.05 tooltip = dig_in_speed_factor_tt } add_to_variable = { UKR_mil_mod_experience_gain_army_factor = 0.07 tooltip = experience_gain_army_factor_tt } } } UKR_idea_lands_reforms_minus = { if = { limit = { has_idea = UKR_land_reform_idea2 } swap_ideas = { remove_idea = UKR_land_reform_idea2 add_idea = UKR_land_reform_idea3 } } else_if = { limit = { has_idea = UKR_land_reform_idea1 } swap_ideas = { remove_idea = UKR_land_reform_idea1 add_idea = UKR_land_reform_idea2 } } else_if = { limit = { has_idea = UKR_land_reform_idea } swap_ideas = { remove_idea = UKR_land_reform_idea add_idea = UKR_land_reform_idea1 } } } UKR_idea_lands_reforms_plus = { if = { limit = { has_idea = UKR_land_reform_idea } remove_ideas = UKR_land_reform_idea } else_if = { limit = { has_idea = UKR_land_reform_idea1 } swap_ideas = { remove_idea = UKR_land_reform_idea1 add_idea = UKR_land_reform_idea } } else_if = { limit = { has_idea = UKR_land_reform_idea2 } swap_ideas = { remove_idea = UKR_land_reform_idea2 add_idea = UKR_land_reform_idea1 } } else_if = { limit = { has_idea = UKR_land_reform_idea3 } swap_ideas = { remove_idea = UKR_land_reform_idea3 add_idea = UKR_land_reform_idea2 } } } UKR_idea_pro_ukraine_government_reforms = { if = { limit = { has_idea = UKR_idea_pro_ukraine_reform_7 } swap_ideas = { remove_idea = UKR_idea_pro_ukraine_reform_7 add_idea = UKR_idea_pro_ukraine_reform_8 } } else_if = { limit = { has_idea = UKR_idea_pro_ukraine_reform_6 } swap_ideas = { remove_idea = UKR_idea_pro_ukraine_reform_6 add_idea = UKR_idea_pro_ukraine_reform_7 } } else_if = { limit = { has_idea = UKR_idea_pro_ukraine_reform_5 } swap_ideas = { remove_idea = UKR_idea_pro_ukraine_reform_5 add_idea = UKR_idea_pro_ukraine_reform_6 } } else_if = { limit = { has_idea = UKR_idea_pro_ukraine_reform_4 } swap_ideas = { remove_idea = UKR_idea_pro_ukraine_reform_4 add_idea = UKR_idea_pro_ukraine_reform_5 } } else_if = { limit = { has_idea = UKR_idea_pro_ukraine_reform_3 } swap_ideas = { remove_idea = UKR_idea_pro_ukraine_reform_3 add_idea = UKR_idea_pro_ukraine_reform_4 } } else_if = { limit = { has_idea = UKR_idea_pro_ukraine_reform_2 } swap_ideas = { remove_idea = UKR_idea_pro_ukraine_reform_2 add_idea = UKR_idea_pro_ukraine_reform_3 } } else_if = { limit = { has_idea = UKR_idea_pro_ukraine_reform_1 } swap_ideas = { remove_idea = UKR_idea_pro_ukraine_reform_1 add_idea = UKR_idea_pro_ukraine_reform_2 } } else_if = { limit = { has_idea = UKR_idea_government_in_need } swap_ideas = { remove_idea = UKR_idea_government_in_need add_idea = UKR_idea_pro_ukraine_reform_1 } } } UKR_HUR_battalion_template = { if = { limit = { NOT = { has_template = "HUR Battalion" } } division_template = { name = "HUR Battalion" regiments = { Mech_Inf_Bat = { x = 0 y = 0 } } support = { Arty_Battery = { x = 0 y = 0 } } priority = 2 } } } UKR_HUR_battalions_belarus = { UKR_HUR_battalion_template = yes if = { limit = { UKR = { has_country_flag = HUR_geo_georgian } } UKR = { clr_country_flag = HUR_geo_georgian } 704 = { create_unit = { division = "name = \"The Georgian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 3507 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_kastus } } UKR = { clr_country_flag = HUR_kastus } 704 = { create_unit = { division = "name = \"Kastus Kalinovsky Regiment\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 3507 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_djohar } } UKR = { clr_country_flag = HUR_che_djohar } 704 = { create_unit = { division = "name = \"Battalion Named After Dzhokhar Dudayev\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 3507 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_obon } } UKR = { clr_country_flag = HUR_che_obon } 704 = { create_unit = { division = "name = \"Battalion of the Ministry of Defense of Ichkeria\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 3507 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_belarus_corpus } } UKR = { clr_country_flag = HUR_belarus_corpus } 704 = { create_unit = { division = "name = \"The Belarussian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 3507 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_caucas_drg } } UKR = { clr_country_flag = HUR_caucas_drg } 704 = { create_unit = { division = "name = \"DRG United Caucasus\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 3507 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_staya } } UKR = { clr_country_flag = HUR_che_staya } 704 = { create_unit = { division = "name = \"34th Assault Battalion Staya\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 3507 owner = ROOT } } } } UKR_HUR_attack_belarus = { hidden_effect = { create_dynamic_country = { original_tag = BLR copy_tag = BLR transfer_state = 704 set_popularities = { democratic = 10 neutrality = 0 fascism = 0 communism = 0 nationalist = 90 } inherit_technology = BLR set_temp_variable = { rul_party_temp = 22 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_multiplier = 1.5 } scale_party_popularity = yes retire_country_leader = yes declare_war_on = { target = BLR type = civil_war } add_civil_war_target = BLR add_ideas = UKR_hur_battalions country_event = ukraine_hur.1 } } } UKR_HUR_battalions_poland = { UKR_HUR_battalion_template = yes if = { limit = { UKR = { has_country_flag = HUR_geo_georgian } } UKR = { clr_country_flag = HUR_geo_georgian } 628 = { create_unit = { division = "name = \"The Georgian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 585 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_kastus } } UKR = { clr_country_flag = HUR_kastus } 628 = { create_unit = { division = "name = \"Kastus Kalinovsky Regiment\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 585 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_djohar } } UKR = { clr_country_flag = HUR_che_djohar } 628 = { create_unit = { division = "name = \"Battalion Named After Dzhokhar Dudayev\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 585 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_obon } } UKR = { clr_country_flag = HUR_che_obon } 628 = { create_unit = { division = "name = \"Battalion of the Ministry of Defense of Ichkeria\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 585 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_belarus_corpus } } UKR = { clr_country_flag = HUR_belarus_corpus } 628 = { create_unit = { division = "name = \"The Belarussian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 585 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_caucas_drg } } UKR = { clr_country_flag = HUR_caucas_drg } 628 = { create_unit = { division = "name = \"DRG United Caucasus\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 585 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_staya } } UKR = { clr_country_flag = HUR_che_staya } 628 = { create_unit = { division = "name = \"34th Assault Battalion Staya\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 585 owner = ROOT } } } } UKR_HUR_attack_pol = { hidden_effect = { create_dynamic_country = { original_tag = POL copy_tag = POL transfer_state = 628 set_popularities = { democratic = 10 neutrality = 0 fascism = 0 communism = 0 nationalist = 90 } inherit_technology = POL set_temp_variable = { rul_party_temp = 22 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_multiplier = 1.5 } scale_party_popularity = yes retire_country_leader = yes declare_war_on = { target = POL type = civil_war } add_civil_war_target = POL add_ideas = UKR_hur_battalions country_event = ukraine_hur.3 } } } UKR_HUR_battalions_kuban = { UKR_HUR_battalion_template = yes if = { limit = { UKR = { has_country_flag = HUR_geo_georgian } } UKR = { clr_country_flag = HUR_geo_georgian } 668 = { create_unit = { division = "name = \"The Georgian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_kastus } } UKR = { clr_country_flag = HUR_kastus } 668 = { create_unit = { division = "name = \"Kastus Kalinovsky Regiment\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_djohar } } UKR = { clr_country_flag = HUR_che_djohar } 668 = { create_unit = { division = "name = \"Battalion Named After Dzhokhar Dudayev\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_obon } } UKR = { clr_country_flag = HUR_che_obon } 668 = { create_unit = { division = "name = \"Battalion of the Ministry of Defense of Ichkeria\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_belarus_corpus } } UKR = { clr_country_flag = HUR_belarus_corpus } 668 = { create_unit = { division = "name = \"The Belarussian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_caucas_drg } } UKR = { clr_country_flag = HUR_caucas_drg } 668 = { create_unit = { division = "name = \"DRG United Caucasus\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_staya } } UKR = { clr_country_flag = HUR_che_staya } 668 = { create_unit = { division = "name = \"34th Assault Battalion Staya\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_free_rus } } UKR = { clr_country_flag = HUR_free_rus } 668 = { create_unit = { division = "name = \"Free Russia Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_rdk } } UKR = { clr_country_flag = HUR_rdk } 668 = { create_unit = { division = "name = \"The Russian Volunteer Corps\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_dagestan } } UKR = { clr_country_flag = HUR_dagestan } 668 = { create_unit = { division = "name = \"Imam Shamil Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_karelia } } UKR = { clr_country_flag = HUR_karelia } 668 = { create_unit = { division = "name = \"Karelian National Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_siberia } } UKR = { clr_country_flag = HUR_siberia } 668 = { create_unit = { division = "name = \"Sibir Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } } UKR_HUR_attack_kuban = { hidden_effect = { KUB = { add_ideas = UKR_hur_battalions if = { limit = { NOT = { check_variable = { ruling_party = 21 } } } set_temp_variable = { rul_party_temp = 21 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } transfer_state = 668 add_state_core = 668 country_event = ukraine_hur.4 } } } UKR_HUR_battalions_crimea = { UKR_HUR_battalion_template = yes if = { limit = { UKR = { has_country_flag = HUR_geo_georgian } } UKR = { clr_country_flag = HUR_geo_georgian } 669 = { create_unit = { division = "name = \"The Georgian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 11649 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_kastus } } UKR = { clr_country_flag = HUR_kastus } 669 = { create_unit = { division = "name = \"Kastus Kalinovsky Regiment\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 11649 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_djohar } } UKR = { clr_country_flag = HUR_che_djohar } 669 = { create_unit = { division = "name = \"Battalion Named After Dzhokhar Dudayev\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 11649 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_obon } } UKR = { clr_country_flag = HUR_che_obon } 669 = { create_unit = { division = "name = \"Battalion of the Ministry of Defense of Ichkeria\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 11649 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_belarus_corpus } } UKR = { clr_country_flag = HUR_belarus_corpus } 669 = { create_unit = { division = "name = \"The Belarussian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 11649 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_caucas_drg } } UKR = { clr_country_flag = HUR_caucas_drg } 669 = { create_unit = { division = "name = \"DRG United Caucasus\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 11649 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_staya } } UKR = { clr_country_flag = HUR_che_staya } 669 = { create_unit = { division = "name = \"34th Assault Battalion Staya\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 11649 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_free_rus } } UKR = { clr_country_flag = HUR_free_rus } 669 = { create_unit = { division = "name = \"Free Russia Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 11649 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_rdk } } UKR = { clr_country_flag = HUR_rdk } 669 = { create_unit = { division = "name = \"The Russian Volunteer Corps\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 11649 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_dagestan } } UKR = { clr_country_flag = HUR_dagestan } 669 = { create_unit = { division = "name = \"Imam Shamil Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 11649 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_karelia } } UKR = { clr_country_flag = HUR_karelia } 669 = { create_unit = { division = "name = \"Karelian National Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 11649 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_siberia } } UKR = { clr_country_flag = HUR_siberia } 669 = { create_unit = { division = "name = \"Sibir Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 11649 owner = ROOT } } } } UKR_HUR_attack_crimea = { hidden_effect = { CRM = { add_ideas = UKR_hur_battalions transfer_state = 669 add_state_core = 669 country_event = ukraine_hur.5 } } } UKR_HUR_battalions_chechnya = { UKR_HUR_battalion_template = yes if = { limit = { UKR = { has_country_flag = HUR_geo_georgian } } UKR = { clr_country_flag = HUR_geo_georgian } 672 = { create_unit = { division = "name = \"The Georgian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 666 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_kastus } } UKR = { clr_country_flag = HUR_kastus } 672 = { create_unit = { division = "name = \"Kastus Kalinovsky Regiment\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 666 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_djohar } } UKR = { clr_country_flag = HUR_che_djohar } 672 = { create_unit = { division = "name = \"Battalion Named After Dzhokhar Dudayev\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 666 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_obon } } UKR = { clr_country_flag = HUR_che_obon } 672 = { create_unit = { division = "name = \"Battalion of the Ministry of Defense of Ichkeria\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 666 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_belarus_corpus } } UKR = { clr_country_flag = HUR_belarus_corpus } 672 = { create_unit = { division = "name = \"The Belarussian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 666 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_caucas_drg } } UKR = { clr_country_flag = HUR_caucas_drg } 672 = { create_unit = { division = "name = \"DRG United Caucasus\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 666 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_staya } } UKR = { clr_country_flag = HUR_che_staya } 672 = { create_unit = { division = "name = \"34th Assault Battalion Staya\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 666 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_free_rus } } UKR = { clr_country_flag = HUR_free_rus } 672 = { create_unit = { division = "name = \"Free Russia Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 666 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_rdk } } UKR = { clr_country_flag = HUR_rdk } 672 = { create_unit = { division = "name = \"The Russian Volunteer Corps\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 666 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_dagestan } } UKR = { clr_country_flag = HUR_dagestan } 672 = { create_unit = { division = "name = \"Imam Shamil Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 666 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_karelia } } UKR = { clr_country_flag = HUR_karelia } 672 = { create_unit = { division = "name = \"Karelian National Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 666 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_siberia } } UKR = { clr_country_flag = HUR_siberia } 672 = { create_unit = { division = "name = \"Sibir Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 666 owner = ROOT } } } } UKR_HUR_attack_chechnya = { hidden_effect = { CHE = { add_ideas = UKR_hur_battalions transfer_state = 672 add_state_core = 672 country_event = ukraine_hur.6 } } } UKR_HUR_battalions_dagestan = { UKR_HUR_battalion_template = yes if = { limit = { UKR = { has_country_flag = HUR_geo_georgian } } UKR = { clr_country_flag = HUR_geo_georgian } 671 = { create_unit = { division = "name = \"The Georgian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 9645 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_kastus } } UKR = { clr_country_flag = HUR_kastus } 671 = { create_unit = { division = "name = \"Kastus Kalinovsky Regiment\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 9645 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_djohar } } UKR = { clr_country_flag = HUR_che_djohar } 671 = { create_unit = { division = "name = \"Battalion Named After Dzhokhar Dudayev\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 9645 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_obon } } UKR = { clr_country_flag = HUR_che_obon } 671 = { create_unit = { division = "name = \"Battalion of the Ministry of Defense of Ichkeria\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 9645 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_belarus_corpus } } UKR = { clr_country_flag = HUR_belarus_corpus } 671 = { create_unit = { division = "name = \"The Belarussian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 9645 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_caucas_drg } } UKR = { clr_country_flag = HUR_caucas_drg } 671 = { create_unit = { division = "name = \"DRG United Caucasus\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 9645 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_staya } } UKR = { clr_country_flag = HUR_che_staya } 671 = { create_unit = { division = "name = \"34th Assault Battalion Staya\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 9645 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_free_rus } } UKR = { clr_country_flag = HUR_free_rus } 671 = { create_unit = { division = "name = \"Free Russia Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 9645 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_rdk } } UKR = { clr_country_flag = HUR_rdk } 671 = { create_unit = { division = "name = \"The Russian Volunteer Corps\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 9645 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_dagestan } } UKR = { clr_country_flag = HUR_dagestan } 671 = { create_unit = { division = "name = \"Imam Shamil Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 9645 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_karelia } } UKR = { clr_country_flag = HUR_karelia } 671 = { create_unit = { division = "name = \"Karelian National Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 9645 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_siberia } } UKR = { clr_country_flag = HUR_siberia } 671 = { create_unit = { division = "name = \"Sibir Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 9645 owner = ROOT } } } } UKR_HUR_attack_dagestan = { hidden_effect = { DAG = { add_ideas = UKR_hur_battalions transfer_state = 671 add_state_core = 671 country_event = ukraine_hur.7 } } } UKR_HUR_battalions_silesia = { UKR_HUR_battalion_template = yes if = { limit = { UKR = { has_country_flag = HUR_rushenie } } UKR = { clr_country_flag = HUR_rushenie } 115 = { create_unit = { division = "name = \"The Battalion Pospolite Ruszenie\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6464 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_hetmanat } } UKR = { clr_country_flag = HUR_hetmanat } 115 = { create_unit = { division = "name = \"The Battalion of the Polish Hetmanate\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6464 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_free_pol } } UKR = { clr_country_flag = HUR_free_pol } 115 = { create_unit = { division = "name = \"The Freedom of Poland Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6464 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_krakov } } UKR = { clr_country_flag = HUR_krakov } 115 = { create_unit = { division = "name = \"The Free Krakow Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6464 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_rokossovski } } UKR = { clr_country_flag = HUR_rokossovski } 115 = { create_unit = { division = "name = \"The Rokossovsky Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6464 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_pomerania } } UKR = { clr_country_flag = HUR_pomerania } 115 = { create_unit = { division = "name = \"The Free Pomerania Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6464 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_prussia } } UKR = { clr_country_flag = HUR_prussia } 115 = { create_unit = { division = "name = \"The Free Prussia Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6464 owner = ROOT } } } } UKR_HUR_attack_silesia = { hidden_effect = { SIL = { add_ideas = UKR_hur_battalions transfer_state = 115 add_state_core = 115 transfer_state = 626 add_state_core = 626 country_event = ukraine_hur.12 } } } UKR_HUR_battalions_kashubia = { UKR_HUR_battalion_template = yes if = { limit = { UKR = { has_country_flag = HUR_rushenie } } UKR = { clr_country_flag = HUR_rushenie } 113 = { create_unit = { division = "name = \"The Battalion Pospolite Ruszenie\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 362 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_hetmanat } } UKR = { clr_country_flag = HUR_hetmanat } 113 = { create_unit = { division = "name = \"The Battalion of the Polish Hetmanate\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 362 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_free_pol } } UKR = { clr_country_flag = HUR_free_pol } 113 = { create_unit = { division = "name = \"The Freedom of Poland Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 362 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_krakov } } UKR = { clr_country_flag = HUR_krakov } 113 = { create_unit = { division = "name = \"The Free Krakow Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 362 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_rokossovski } } UKR = { clr_country_flag = HUR_rokossovski } 113 = { create_unit = { division = "name = \"The Rokossovsky Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 362 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_pomerania } } UKR = { clr_country_flag = HUR_pomerania } 113 = { create_unit = { division = "name = \"The Free Pomerania Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 362 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_prussia } } UKR = { clr_country_flag = HUR_prussia } 113 = { create_unit = { division = "name = \"The Free Prussia Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 362 owner = ROOT } } } } UKR_HUR_attack_kashubia = { hidden_effect = { KSH = { add_ideas = UKR_hur_battalions transfer_state = 113 add_state_core = 113 country_event = ukraine_hur.13 } } } UKR_HUR_battalions_vladivostok = { UKR_HUR_battalion_template = yes if = { limit = { UKR = { has_country_flag = HUR_geo_georgian } } UKR = { clr_country_flag = HUR_geo_georgian } 692 = { create_unit = { division = "name = \"The Georgian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 957 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_kastus } } UKR = { clr_country_flag = HUR_kastus } 692 = { create_unit = { division = "name = \"Kastus Kalinovsky Regiment\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 957 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_djohar } } UKR = { clr_country_flag = HUR_che_djohar } 692 = { create_unit = { division = "name = \"Battalion Named After Dzhokhar Dudayev\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 957 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_obon } } UKR = { clr_country_flag = HUR_che_obon } 692 = { create_unit = { division = "name = \"Battalion of the Ministry of Defense of Ichkeria\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 957 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_belarus_corpus } } UKR = { clr_country_flag = HUR_belarus_corpus } 692 = { create_unit = { division = "name = \"The Belarussian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 957 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_caucas_drg } } UKR = { clr_country_flag = HUR_caucas_drg } 692 = { create_unit = { division = "name = \"DRG United Caucasus\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 957 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_staya } } UKR = { clr_country_flag = HUR_che_staya } 692 = { create_unit = { division = "name = \"34th Assault Battalion Staya\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 957 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_free_rus } } UKR = { clr_country_flag = HUR_free_rus } 692 = { create_unit = { division = "name = \"Free Russia Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 957 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_rdk } } UKR = { clr_country_flag = HUR_rdk } 692 = { create_unit = { division = "name = \"The Russian Volunteer Corps\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 957 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_dagestan } } UKR = { clr_country_flag = HUR_dagestan } 692 = { create_unit = { division = "name = \"Imam Shamil Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 957 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_karelia } } UKR = { clr_country_flag = HUR_karelia } 692 = { create_unit = { division = "name = \"Karelian National Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 957 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_siberia } } UKR = { clr_country_flag = HUR_siberia } 692 = { create_unit = { division = "name = \"Sibir Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 957 owner = ROOT } } } } UKR_HUR_attack_vladivostok = { hidden_effect = { FAR = { add_ideas = UKR_hur_battalions transfer_state = 1069 add_state_core = 1069 transfer_state = 687 add_state_core = 687 transfer_state = 692 add_state_core = 692 transfer_state = 1068 add_state_core = 1068 country_event = ukraine_hur.11 } } } UKR_HUR_battalions_belgorod = { UKR_HUR_battalion_template = yes if = { limit = { UKR = { has_country_flag = HUR_geo_georgian } } UKR = { clr_country_flag = HUR_geo_georgian } 1172 = { create_unit = { division = "name = \"The Georgian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 534 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_kastus } } UKR = { clr_country_flag = HUR_kastus } 1172 = { create_unit = { division = "name = \"Kastus Kalinovsky Regiment\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 534 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_djohar } } UKR = { clr_country_flag = HUR_che_djohar } 1172 = { create_unit = { division = "name = \"Battalion Named After Dzhokhar Dudayev\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 534 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_obon } } UKR = { clr_country_flag = HUR_che_obon } 1172 = { create_unit = { division = "name = \"Battalion of the Ministry of Defense of Ichkeria\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 534 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_belarus_corpus } } UKR = { clr_country_flag = HUR_belarus_corpus } 1172 = { create_unit = { division = "name = \"The Belarussian Legion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 534 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_caucas_drg } } UKR = { clr_country_flag = HUR_caucas_drg } 1172 = { create_unit = { division = "name = \"DRG United Caucasus\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 534 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_che_staya } } UKR = { clr_country_flag = HUR_che_staya } 1172 = { create_unit = { division = "name = \"34th Assault Battalion Staya\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 534 owner = ROOT } } } } UKR_HUR_attack_belgorod = { hidden_effect = { RUS = { add_ideas = UKR_hur_battalions transfer_state = 1172 add_state_core = 1172 country_event = ukraine_hur.9 } } } UKR_HUR_battalions_cuban = { UKR_HUR_battalion_template = yes if = { limit = { UKR = { has_country_flag = HUR_rus_soc_army } } UKR = { clr_country_flag = HUR_rus_soc_army } 668 = { create_unit = { division = "name = \"Russian Red Army\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_red_tatarstan } } UKR = { clr_country_flag = HUR_red_tatarstan } 668 = { create_unit = { division = "name = \"Red Tatarstan\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_red_bashkiria } } UKR = { clr_country_flag = HUR_red_bashkiria } 668 = { create_unit = { division = "name = \"Red Bashkortostan\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_red_karelia } } UKR = { clr_country_flag = HUR_red_karelia } 668 = { create_unit = { division = "name = \"Red Karelia Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_red_cossaks } } UKR = { clr_country_flag = HUR_red_cossaks } 668 = { create_unit = { division = "name = \"Red Kuban Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6783 owner = ROOT } } } } UKR_HUR_attack_cuban = { hidden_effect = { KUB = { add_ideas = UKR_hur_battalions 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 } transfer_state = 668 add_state_core = 668 country_event = ukraine_hur.8 } } } UKR_HUR_battalions_tatarstan = { UKR_HUR_battalion_template = yes if = { limit = { UKR = { has_country_flag = HUR_rus_soc_army } } UKR = { clr_country_flag = HUR_rus_soc_army } 661 = { create_unit = { division = "name = \"Russian Red Army\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6338 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_red_tatarstan } } UKR = { clr_country_flag = HUR_red_tatarstan } 661 = { create_unit = { division = "name = \"Red Tatarstan\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6338 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_red_bashkiria } } UKR = { clr_country_flag = HUR_red_bashkiria } 661 = { create_unit = { division = "name = \"Red Bashkortostan\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6338 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_red_karelia } } UKR = { clr_country_flag = HUR_red_karelia } 661 = { create_unit = { division = "name = \"Red Karelia Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6338 owner = ROOT } } } if = { limit = { UKR = { has_country_flag = HUR_red_cossaks } } UKR = { clr_country_flag = HUR_red_cossaks } 661 = { create_unit = { division = "name = \"Red Kuban Battalion\" division_template = \"HUR Battalion\" start_experience_factor = 0.1" prioritize_location = 6338 owner = ROOT } } } } UKR_HUR_attack_tatarstan = { hidden_effect = { TAT = { add_ideas = UKR_hur_battalions 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 } transfer_state = 661 add_state_core = 661 country_event = ukraine_hur.10 } } } UKR_kolomoiskyi_rise = { if = { limit = { owns_state = 1087 NOT = { country_exists = DRP } NOT = { has_country_flag = UKR_republic_dnipro_emerged } OR = { has_idea = UKR_kleptocracy02 has_idea = UKR_kleptocracy03 } } country_event = ukraine_kolom.1 } } UKR_idea_kleptocratia_rise = { if = { limit = { has_idea = UKR_kleptocracy02 } swap_ideas = { remove_idea = UKR_kleptocracy02 add_idea = UKR_kleptocracy03 } } else_if = { limit = { has_idea = UKR_kleptocracy01 } swap_ideas = { remove_idea = UKR_kleptocracy01 add_idea = UKR_kleptocracy02 } } else_if = { limit = { has_idea = UKR_kleptocracy } swap_ideas = { remove_idea = UKR_kleptocracy add_idea = UKR_kleptocracy01 } } else_if = { limit = { has_idea = UKR_kleptocracy1 } swap_ideas = { remove_idea = UKR_kleptocracy1 add_idea = UKR_kleptocracy } } else_if = { limit = { has_idea = UKR_kleptocracy2 } swap_ideas = { remove_idea = UKR_kleptocracy2 add_idea = UKR_kleptocracy1 } } else_if = { limit = { has_idea = UKR_kleptocracy3 } swap_ideas = { remove_idea = UKR_kleptocracy3 add_idea = UKR_kleptocracy2 } } } UKR_idea_kleptocratia_down = { if = { limit = { has_idea = UKR_kleptocracy2 } swap_ideas = { remove_idea = UKR_kleptocracy2 add_idea = UKR_kleptocracy3 } } else_if = { limit = { has_idea = UKR_kleptocracy1 } swap_ideas = { remove_idea = UKR_kleptocracy1 add_idea = UKR_kleptocracy2 } } else_if = { limit = { has_idea = UKR_kleptocracy } swap_ideas = { remove_idea = UKR_kleptocracy add_idea = UKR_kleptocracy1 } } else_if = { limit = { has_idea = UKR_kleptocracy01 } swap_ideas = { remove_idea = UKR_kleptocracy01 add_idea = UKR_kleptocracy } } else_if = { limit = { has_idea = UKR_kleptocracy02 } swap_ideas = { remove_idea = UKR_kleptocracy02 add_idea = UKR_kleptocracy01 } } else_if = { limit = { has_idea = UKR_kleptocracy03 } swap_ideas = { remove_idea = UKR_kleptocracy03 add_idea = UKR_kleptocracy02 } } } UKR_idea_nationalists_upa = { if = { limit = { has_idea = UKR_nationalists_upa5 } swap_ideas = { remove_idea = UKR_nationalists_upa5 add_idea = UKR_nationalists_upa6 } } else_if = { limit = { has_idea = UKR_nationalists_upa4 } swap_ideas = { remove_idea = UKR_nationalists_upa4 add_idea = UKR_nationalists_upa5 } } else_if = { limit = { has_idea = UKR_nationalists_upa3 } swap_ideas = { remove_idea = UKR_nationalists_upa3 add_idea = UKR_nationalists_upa4 } } else_if = { limit = { has_idea = UKR_nationalists_upa2 } swap_ideas = { remove_idea = UKR_nationalists_upa2 add_idea = UKR_nationalists_upa3 } } else_if = { limit = { has_idea = UKR_nationalists_upa1 } swap_ideas = { remove_idea = UKR_nationalists_upa1 add_idea = UKR_nationalists_upa2 } } else_if = { limit = { has_idea = UKR_nationalists_upa } swap_ideas = { remove_idea = UKR_nationalists_upa add_idea = UKR_nationalists_upa1 } } } UKR_idea_nationalists_pravosek = { if = { limit = { has_idea = UKR_nationalists_right_sector3 } swap_ideas = { remove_idea = UKR_nationalists_right_sector3 add_idea = UKR_nationalists_right_sector4 } } else_if = { limit = { has_idea = UKR_nationalists_right_sector2 } swap_ideas = { remove_idea = UKR_nationalists_right_sector2 add_idea = UKR_nationalists_right_sector3 } } else_if = { limit = { has_idea = UKR_nationalists_right_sector1 } swap_ideas = { remove_idea = UKR_nationalists_right_sector1 add_idea = UKR_nationalists_right_sector2 } } else_if = { limit = { has_idea = UKR_nationalists_right_sector } swap_ideas = { remove_idea = UKR_nationalists_right_sector add_idea = UKR_nationalists_right_sector1 } } } UKR_idea_nationalists_congress = { if = { limit = { has_idea = UKR_nationalists_congress6 } swap_ideas = { remove_idea = UKR_nationalists_congress6 add_idea = UKR_nationalists_congress7 } } else_if = { limit = { has_idea = UKR_nationalists_congress5 } swap_ideas = { remove_idea = UKR_nationalists_congress5 add_idea = UKR_nationalists_congress6 } } else_if = { limit = { has_idea = UKR_nationalists_congress4 } swap_ideas = { remove_idea = UKR_nationalists_congress4 add_idea = UKR_nationalists_congress5 } } else_if = { limit = { has_idea = UKR_nationalists_congress3 } swap_ideas = { remove_idea = UKR_nationalists_congress3 add_idea = UKR_nationalists_congress4 } } else_if = { limit = { has_idea = UKR_nationalists_congress2 } swap_ideas = { remove_idea = UKR_nationalists_congress2 add_idea = UKR_nationalists_congress3 } } else_if = { limit = { has_idea = UKR_nationalists_congress1 } swap_ideas = { remove_idea = UKR_nationalists_congress1 add_idea = UKR_nationalists_congress2 } } else_if = { limit = { has_idea = UKR_nationalists_congress } swap_ideas = { remove_idea = UKR_nationalists_congress add_idea = UKR_nationalists_congress1 } } } UKR_minsk_control_transfer = { # call as TAG = { UKR_minsk_control_transfer = yes } with UKR_minsk_states pre-populated for_each_loop = { array = PREV.UKR_minsk_states if = { limit = { var:v = { is_fully_controlled_by = PREV } } transfer_state = var:v } } } UKR_minsk_donbas_states = { clear_array = UKR_minsk_states add_to_array = { UKR_minsk_states = 694 } add_to_array = { UKR_minsk_states = 696 } add_to_array = { UKR_minsk_states = 1085 } add_to_array = { UKR_minsk_states = 1087 } add_to_array = { UKR_minsk_states = 1086 } add_to_array = { UKR_minsk_states = 1089 } } ###########MINSK AGREEMENT - DPR########### donetsk_minsk_control = { UKR_minsk_donbas_states = yes DPR = { UKR_minsk_control_transfer = yes } } ###########MINSK AGREEMENT - lPR########### lugansk_minsk_control = { UKR_minsk_donbas_states = yes LPR = { UKR_minsk_control_transfer = yes } } ###########MINSK AGREEMENT - hPR########### kharkiv_minsk_control = { clear_array = UKR_minsk_states add_to_array = { UKR_minsk_states = 1087 } add_to_array = { UKR_minsk_states = 1089 } add_to_array = { UKR_minsk_states = 1088 } HPR = { UKR_minsk_control_transfer = yes } } ###########MINSK AGREEMENT - OPR########### odessa_minsk_control = { if = { limit = { OPR = { 1086 = { is_fully_controlled_by = OPR } } } OPR = { transfer_state = 1086 } } } UKR_setup_revolt_government = { set_popularities = { democratic = 0 neutrality = 0 fascism = 0 communism = 100 nationalist = 0 } start_politics_input = yes set_variable = { party_pop_array^4 = 1 } set_temp_variable = { rul_party_temp = 4 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes recalculate_party = yes retire_country_leader = yes clr_country_flag = dynamic_flag country_event = ukraine_kommi.4 } UKR_integrate_former_soviet_land = { if = { limit = { SOV = { is_subject_of = UKR } country_exists = SOV } set_temp_variable = { UKR_annex_pp_cost = -500 } set_temp_variable = { UKR_annex_treasury_cost = -30 } SOV = { UKR_annex_subject = yes } } if = { limit = { BLR = { is_subject_of = UKR } country_exists = BLR } set_temp_variable = { UKR_annex_pp_cost = -300 } set_temp_variable = { UKR_annex_treasury_cost = -18 } BLR = { UKR_annex_subject = yes } } if = { limit = { EST = { is_subject_of = UKR } country_exists = EST } set_temp_variable = { UKR_annex_pp_cost = -100 } set_temp_variable = { UKR_annex_treasury_cost = -8 } EST = { UKR_annex_subject = yes } } if = { limit = { LAT = { is_subject_of = UKR } country_exists = LAT } set_temp_variable = { UKR_annex_pp_cost = -100 } set_temp_variable = { UKR_annex_treasury_cost = -8 } LAT = { UKR_annex_subject = yes } } if = { limit = { LIT = { is_subject_of = UKR } country_exists = LIT } set_temp_variable = { UKR_annex_pp_cost = -100 } set_temp_variable = { UKR_annex_treasury_cost = -8 } LIT = { UKR_annex_subject = yes } } if = { limit = { KAZ = { is_subject_of = UKR } country_exists = KAZ } set_temp_variable = { UKR_annex_pp_cost = -250 } set_temp_variable = { UKR_annex_treasury_cost = -13 } KAZ = { UKR_annex_subject = yes } } if = { limit = { UZB = { is_subject_of = UKR } country_exists = UZB } set_temp_variable = { UKR_annex_pp_cost = -150 } set_temp_variable = { UKR_annex_treasury_cost = -9 } UZB = { UKR_annex_subject = yes } } if = { limit = { TAJ = { is_subject_of = UKR } country_exists = TAJ } set_temp_variable = { UKR_annex_pp_cost = -150 } set_temp_variable = { UKR_annex_treasury_cost = -9 } TAJ = { UKR_annex_subject = yes } } if = { limit = { TRK = { is_subject_of = UKR } country_exists = TRK } set_temp_variable = { UKR_annex_pp_cost = -150 } set_temp_variable = { UKR_annex_treasury_cost = -9 } TRK = { UKR_annex_subject = yes } } if = { limit = { ARM = { is_subject_of = UKR } country_exists = ARM } set_temp_variable = { UKR_annex_pp_cost = -150 } set_temp_variable = { UKR_annex_treasury_cost = -9 } ARM = { UKR_annex_subject = yes } } if = { limit = { AZE = { is_subject_of = UKR } country_exists = AZE } set_temp_variable = { UKR_annex_pp_cost = -150 } set_temp_variable = { UKR_annex_treasury_cost = -9 } AZE = { UKR_annex_subject = yes } } if = { limit = { GEO = { is_subject_of = UKR } country_exists = GEO } set_temp_variable = { UKR_annex_pp_cost = -150 } set_temp_variable = { UKR_annex_treasury_cost = -9 } GEO = { UKR_annex_subject = yes } } } ###########NAZBOLS REVOULT########### UKR_setup_nazbol_revolt_government = { set_popularities = { democratic = 0 neutrality = 0 fascism = 0 communism = 0 nationalist = 100 } set_temp_variable = { rul_party_temp = 21 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes set_temp_variable = { party_index = 21 } set_temp_variable = { party_popularity_multiplier = 1.5 } scale_party_popularity = yes retire_country_leader = yes clr_country_flag = dynamic_flag country_event = ukraine_nazbol.2 } UKR_nazbols_revoult_belarus = { hidden_effect = { BLR = { country_event = ukraine_nazbol.3 } create_dynamic_country = { original_tag = BLR copy_tag = BLR transfer_state = 704 transfer_state = 1093 inherit_technology = BLR UKR_setup_nazbol_revolt_government = yes declare_war_on = { target = BLR type = civil_war } add_civil_war_target = BLR set_cosmetic_tag = BLR_limonka } } } UKR_nazbols_revoult_poland = { hidden_effect = { POL = { country_event = ukraine_nazbol.3 } create_dynamic_country = { original_tag = POL copy_tag = POL transfer_state = 628 transfer_state = 1098 inherit_technology = POL UKR_setup_nazbol_revolt_government = yes declare_war_on = { target = POL type = civil_war } add_civil_war_target = POL set_cosmetic_tag = Nazbols_POL } } } UKR_nazbols_revoult_serbia = { hidden_effect = { SER = { country_event = ukraine_nazbol.3 } create_dynamic_country = { original_tag = SER copy_tag = SER transfer_state = 130 transfer_state = 998 inherit_technology = SER UKR_setup_nazbol_revolt_government = yes declare_war_on = { target = SER type = civil_war } add_civil_war_target = SER set_cosmetic_tag = Nazbols_SER } } } UKR_nazbols_revoult_bulgaria = { hidden_effect = { BUL = { country_event = ukraine_nazbol.3 } create_dynamic_country = { original_tag = BUL copy_tag = BUL transfer_state = 154 transfer_state = 996 inherit_technology = BUL UKR_setup_nazbol_revolt_government = yes declare_war_on = { target = BUL type = civil_war } add_civil_war_target = BUL set_cosmetic_tag = Nazbols_BUL } } } UKR_nazbols_revoult_czech = { hidden_effect = { CZE = { country_event = ukraine_nazbol.3 } create_dynamic_country = { original_tag = CZE copy_tag = CZE transfer_state = 118 transfer_state = 1018 inherit_technology = CZE UKR_setup_nazbol_revolt_government = yes declare_war_on = { target = CZE type = civil_war } add_civil_war_target = CZE set_cosmetic_tag = Nazbols_CZE } } } UKR_nazbols_revoult_bosnia = { hidden_effect = { BOS = { country_event = ukraine_nazbol.3 } create_dynamic_country = { original_tag = BOS copy_tag = BOS transfer_state = 129 transfer_state = 1053 inherit_technology = BOS UKR_setup_nazbol_revolt_government = yes declare_war_on = { target = BOS type = civil_war } add_civil_war_target = BOS set_cosmetic_tag = Nazbols_BOS } } } UKR_nazbols_revoult_slovakia = { hidden_effect = { SLO = { country_event = ukraine_nazbol.3 } create_dynamic_country = { original_tag = SLO copy_tag = SLO transfer_state = 120 inherit_technology = SLO UKR_setup_nazbol_revolt_government = yes declare_war_on = { target = SLO type = civil_war } add_civil_war_target = SLO set_cosmetic_tag = Nazbols_SLO } } } UKR_nazbols_revoult_croatia = { hidden_effect = { CRO = { country_event = ukraine_nazbol.3 } create_dynamic_country = { original_tag = CRO copy_tag = CRO transfer_state = 126 inherit_technology = CRO UKR_setup_nazbol_revolt_government = yes declare_war_on = { target = CRO type = civil_war } add_civil_war_target = CRO set_cosmetic_tag = Nazbols_CRO } } } UKR_integrate_slavic_land = { if = { limit = { SER = { is_subject_of = UKR } country_exists = SER } set_temp_variable = { UKR_annex_pp_cost = -500 } set_temp_variable = { UKR_annex_treasury_cost = -30 } SER = { UKR_annex_subject = yes } } if = { limit = { BLR = { is_subject_of = UKR } country_exists = BLR } set_temp_variable = { UKR_annex_pp_cost = -300 } set_temp_variable = { UKR_annex_treasury_cost = -18 } BLR = { UKR_annex_subject = yes } } if = { limit = { POL = { is_subject_of = UKR } country_exists = POL } set_temp_variable = { UKR_annex_pp_cost = -100 } set_temp_variable = { UKR_annex_treasury_cost = -8 } POL = { UKR_annex_subject = yes } } if = { limit = { CZE = { is_subject_of = UKR } country_exists = CZE } set_temp_variable = { UKR_annex_pp_cost = -100 } set_temp_variable = { UKR_annex_treasury_cost = -8 } CZE = { UKR_annex_subject = yes } } if = { limit = { SLO = { is_subject_of = UKR } country_exists = SLO } set_temp_variable = { UKR_annex_pp_cost = -100 } set_temp_variable = { UKR_annex_treasury_cost = -8 } SLO = { UKR_annex_subject = yes } } if = { limit = { BUL = { is_subject_of = UKR } country_exists = BUL } set_temp_variable = { UKR_annex_pp_cost = -250 } set_temp_variable = { UKR_annex_treasury_cost = -13 } BUL = { UKR_annex_subject = yes } } if = { limit = { CRO = { is_subject_of = UKR } country_exists = CRO } set_temp_variable = { UKR_annex_pp_cost = -150 } set_temp_variable = { UKR_annex_treasury_cost = -9 } CRO = { UKR_annex_subject = yes } } if = { limit = { BOS = { is_subject_of = UKR } country_exists = BOS } set_temp_variable = { UKR_annex_pp_cost = -150 } set_temp_variable = { UKR_annex_treasury_cost = -9 } BOS = { UKR_annex_subject = yes } } } UKR_apply_verkhovna_election_result = { resize_temp_array = { array = UKR_election_amt value = 0 size = 10 } if = { limit = { check_variable = { UKR_election_side_won = 1 } } set_temp_variable = { UKR_election_amt^0 = 320 } set_temp_variable = { UKR_election_amt^1 = 290 } set_temp_variable = { UKR_election_amt^2 = 230 } set_temp_variable = { UKR_election_amt^3 = 200 } set_temp_variable = { UKR_election_amt^4 = 170 } set_temp_variable = { UKR_election_amt^5 = 100 } set_temp_variable = { UKR_election_amt^6 = 60 } set_temp_variable = { UKR_election_amt^7 = 40 } set_temp_variable = { UKR_election_amt^8 = 30 } set_temp_variable = { UKR_election_amt^9 = 15 } } else = { set_temp_variable = { UKR_election_amt^0 = -30 } set_temp_variable = { UKR_election_amt^1 = -50 } set_temp_variable = { UKR_election_amt^2 = -90 } set_temp_variable = { UKR_election_amt^3 = -110 } set_temp_variable = { UKR_election_amt^4 = -130 } set_temp_variable = { UKR_election_amt^5 = -180 } set_temp_variable = { UKR_election_amt^6 = -240 } set_temp_variable = { UKR_election_amt^7 = -270 } set_temp_variable = { UKR_election_amt^8 = -320 } set_temp_variable = { UKR_election_amt^9 = -380 } } set_temp_variable = { UKR_election_bracket = 0 } set_temp_variable = { UKR_election_bracket_found = 0 } if = { limit = { check_variable = { UKR_verkhovna_support < 50 } } set_temp_variable = { UKR_election_bracket = 0 } set_temp_variable = { UKR_election_bracket_found = 1 } } else_if = { limit = { check_variable = { UKR_verkhovna_support < 100 } } set_temp_variable = { UKR_election_bracket = 1 } set_temp_variable = { UKR_election_bracket_found = 1 } } else_if = { limit = { check_variable = { UKR_verkhovna_support < 150 } } set_temp_variable = { UKR_election_bracket = 2 } set_temp_variable = { UKR_election_bracket_found = 1 } } else_if = { limit = { check_variable = { UKR_verkhovna_support < 200 } } set_temp_variable = { UKR_election_bracket = 3 } set_temp_variable = { UKR_election_bracket_found = 1 } } else_if = { limit = { check_variable = { UKR_verkhovna_support < 250 } } set_temp_variable = { UKR_election_bracket = 4 } set_temp_variable = { UKR_election_bracket_found = 1 } } else_if = { limit = { check_variable = { UKR_verkhovna_support < 300 } } set_temp_variable = { UKR_election_bracket = 5 } set_temp_variable = { UKR_election_bracket_found = 1 } } else_if = { limit = { check_variable = { UKR_verkhovna_support < 350 } } set_temp_variable = { UKR_election_bracket = 6 } set_temp_variable = { UKR_election_bracket_found = 1 } } else_if = { limit = { check_variable = { UKR_verkhovna_support < 400 } } set_temp_variable = { UKR_election_bracket = 7 } set_temp_variable = { UKR_election_bracket_found = 1 } } else_if = { limit = { check_variable = { UKR_verkhovna_support < 410 } } set_temp_variable = { UKR_election_bracket = 8 } set_temp_variable = { UKR_election_bracket_found = 1 } } else_if = { limit = { check_variable = { UKR_verkhovna_support > 409 } } set_temp_variable = { UKR_election_bracket = 9 } set_temp_variable = { UKR_election_bracket_found = 1 } } if = { limit = { check_variable = { UKR_election_bracket_found = 1 } } if = { limit = { check_variable = { UKR_election_side_won = 1 } } custom_effect_tooltip = UKR_win_elections_TT } else = { custom_effect_tooltip = UKR_lose_elections_TT } add_to_variable = { UKR_verkhovna_support = UKR_election_amt^UKR_election_bracket } clamp_variable = { var = UKR_verkhovna_support min = 0 max = 450 } } UKR_update_verkhovna_dirty_variable = yes } UKR_update_verkhovna_dirty_variable = { if = { limit = { check_variable = { UKR_verkhovna_ui_dirty_var < 10000 } } add_to_variable = { UKR_verkhovna_ui_dirty_var = 1 } } else = { set_variable = { UKR_verkhovna_ui_dirty_var = 1 } } } UKR_verkhovna_rada_election_east_victory = { # Victory of the Pro-Russian Bloc in Parliament clr_country_flag = UKR_dissolved_verkhovna set_variable = { UKR_verkhovna_majority_selected = 2 } if = { limit = { UKR_is_pro_east = yes } set_temp_variable = { UKR_election_side_won = 1 } set_variable = { UKR_verkhovna_control_selected = 3 } } else = { set_temp_variable = { UKR_election_side_won = 0 } set_variable = { UKR_verkhovna_control_selected = 2 } } UKR_apply_verkhovna_election_result = yes } UKR_verkhovna_rada_election_west_victory = { # Victory of the Pro-Western Bloc in Parliament clr_country_flag = UKR_dissolved_verkhovna set_variable = { UKR_verkhovna_majority_selected = 3 } if = { limit = { UKR_is_pro_west = yes } set_temp_variable = { UKR_election_side_won = 1 } set_variable = { UKR_verkhovna_control_selected = 3 } } else = { set_temp_variable = { UKR_election_side_won = 0 } set_variable = { UKR_verkhovna_control_selected = 2 } } UKR_apply_verkhovna_election_result = yes } UKR_verkhovna_rada_election_ukrainian_victory = { # Victory of the Pro-Ukrainian Bloc in Parliament clr_country_flag = UKR_dissolved_verkhovna set_variable = { UKR_verkhovna_majority_selected = 1 } if = { limit = { UKR_is_neutral = yes } set_temp_variable = { UKR_election_side_won = 1 } set_variable = { UKR_verkhovna_control_selected = 3 } } else = { set_temp_variable = { UKR_election_side_won = 0 } set_variable = { UKR_verkhovna_control_selected = 2 } } UKR_apply_verkhovna_election_result = yes } UKR_do_math_boi = { # Calculates influence of others on you to determine election winner # Rank weight for influence_array slots 0-6, most influential first for_loop_effect = { start = 0 end = 7 if = { limit = { UKR = { check_variable = { influence_array^v = SOV } } } add_to_variable = { var = UKR_soviet_influence value = { value = 10 subtract = v } } } if = { limit = { UKR = { check_variable = { influence_array^v = USA } } } add_to_variable = { var = UKR_american_influence value = { value = 10 subtract = v } } } } # Neither the US nor Russia holds each of the top 3 slots: national influence gains ground for_loop_effect = { start = 0 end = 3 if = { limit = { NOT = { UKR = { check_variable = { influence_array^v = USA } } } } add_to_variable = { var = UKR_national_influence value = 2 } } if = { limit = { NOT = { UKR = { check_variable = { influence_array^v = SOV } } } } add_to_variable = { var = UKR_national_influence value = 2 } } } } UKR_election_parliament = { # Sets winner based on results from math if = { limit = { check_variable = { UKR_national_influence > UKR_american_influence } check_variable = { UKR_national_influence > UKR_soviet_influence } } country_event = { id = ukraine_parliament.300 days = 5 } } if = { limit = { check_variable = { UKR_american_influence > UKR_national_influence } check_variable = { UKR_american_influence > UKR_soviet_influence } } country_event = { id = ukraine_parliament.200 days = 5 } } if = { limit = { check_variable = { UKR_soviet_influence > UKR_national_influence } check_variable = { UKR_soviet_influence > UKR_american_influence } } country_event = { id = ukraine_parliament.100 days = 5 } } clear_variable = UKR_national_influence clear_variable = UKR_american_influence clear_variable = UKR_soviet_influence } UKR_random_events_ukraine_parliament = { random = { chance = 30 add_to_variable = { UKR_event_counter_1_ukraine_parliament = 1 } } if = { limit = { check_variable = { UKR_event_counter_1_ukraine_parliament > 8 } } set_variable = { UKR_event_counter_1_ukraine_parliament = 0 } random_list = { 15 = { country_event = ukraine_parliament.30 } 15 = { country_event = ukraine_parliament.31 } 10 = { country_event = ukraine_parliament.32 } 10 = { country_event = ukraine_parliament.33 } 10 = { country_event = ukraine_parliament.34 } 10 = { country_event = ukraine_parliament.35 } 10 = { country_event = ukraine_parliament.36 } 10 = { country_event = ukraine_parliament.37 } 10 = { country_event = ukraine_parliament.38 } } } } UKR_parliament_vote_roll = { # rolls the verkhovna vote; sets UKR_vote_roll_result to 1 (event A wins) or 2 (event B wins), 0 if the rada is dissolved set_temp_variable = { UKR_vote_roll_result = 0 } if = { limit = { check_variable = { UKR_verkhovna_support > 149 } check_variable = { UKR_verkhovna_control_selected > 1 } } random_list = { 85 = { set_temp_variable = { UKR_vote_roll_result = 1 } } 15 = { set_temp_variable = { UKR_vote_roll_result = 2 } } } } if = { limit = { check_variable = { UKR_verkhovna_support < 150 } check_variable = { UKR_verkhovna_control_selected > 1 } } custom_effect_tooltip = UKR_our_influence_helps_tt random_list = { 60 = { set_temp_variable = { UKR_vote_roll_result = 1 } } 40 = { set_temp_variable = { UKR_vote_roll_result = 2 } } } } if = { limit = { check_variable = { UKR_verkhovna_support < 150 } check_variable = { UKR_verkhovna_control_selected = 1 } } random_list = { 40 = { set_temp_variable = { UKR_vote_roll_result = 1 } } 60 = { set_temp_variable = { UKR_vote_roll_result = 2 } } } } if = { limit = { check_variable = { UKR_verkhovna_support > 149 } check_variable = { UKR_verkhovna_control_selected = 1 } } random_list = { 60 = { set_temp_variable = { UKR_vote_roll_result = 1 } } 40 = { set_temp_variable = { UKR_vote_roll_result = 2 } } } } } UKR_shift_to_party = { if = { limit = { NOT = { check_variable = { ruling_party = UKR_target_party } } } set_temp_variable = { rul_party_temp = UKR_target_party } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes } set_temp_variable = { party_index = UKR_target_party } set_temp_variable = { party_popularity_increase = UKR_target_popularity_increase } set_temp_variable = { temp_outlook_increase = UKR_target_popularity_increase } change_relative_party_popularity = yes } UKR_change_ukraine_nati = { if = { limit = { has_government = nationalist } random_list = { 30 = { set_temp_variable = { UKR_target_party = 7 } set_temp_variable = { UKR_target_popularity_increase = 0.10 } UKR_shift_to_party = yes } 30 = { set_temp_variable = { UKR_target_party = 4 } set_temp_variable = { UKR_target_popularity_increase = 0.10 } UKR_shift_to_party = yes } 30 = { set_temp_variable = { UKR_target_party = 2 } set_temp_variable = { UKR_target_popularity_increase = 0.10 } UKR_shift_to_party = yes } } } } UKR_financing_commi_effect = { # call as TAG = { UKR_financing_commi_effect = yes }; PREV = UKR PREV = { set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes add_stability = -0.03 } UKR_queue_nato_aid_report = { if = { limit = { is_ai = yes } UKR_clear_nato_aid_report = yes } else = { if = { limit = { NOT = { is_in_array = { UKR_aid_report_donors = ROOT.id } } } add_to_array = { UKR_aid_report_donors = ROOT.id } } if = { limit = { NOT = { has_country_flag = UKR_nato_aid_report_pending } } # timed so a report lost to annexation cannot wedge every future one set_country_flag = { flag = UKR_nato_aid_report_pending days = 31 value = 1 } country_event = { id = ukraine_nato_help.1 days = 30 } } } } UKR_clear_nato_aid_report = { clr_country_flag = UKR_nato_aid_report_pending clear_variable = UKR_aid_report_money clear_variable = UKR_aid_report_infantry clear_variable = UKR_aid_report_cnc clear_variable = UKR_aid_report_lat clear_variable = UKR_aid_report_aa clear_variable = UKR_aid_report_hat clear_variable = UKR_aid_report_artillery clear_variable = UKR_aid_report_util clear_variable = UKR_aid_report_apc clear_variable = UKR_aid_report_ifv clear_variable = UKR_aid_report_spart clear_variable = UKR_aid_report_mbt clear_variable = UKR_aid_report_mbt_aa clear_variable = UKR_aid_report_fighters clear_variable = UKR_aid_report_strike clear_array = UKR_aid_report_donors } UKR_patron_offer_accepted = { # call as ROOT (UKR) = { UKR_patron_offer_accepted = yes }; caller sets percent_change first, FROM = the patron set_temp_variable = { percent_change = percent_change } set_temp_variable = { tag_index = UKR } set_temp_variable = { influence_target = FROM } change_influence_percentage = yes add_opinion_modifier = { target = FROM modifier = recent_actions_positive } reverse_add_opinion_modifier = { target = FROM modifier = recent_actions_positive } } UKR_patron_offer_declined = { # call as ROOT (UKR) = { UKR_patron_offer_declined = yes }; caller sets percent_change first, FROM = the patron set_temp_variable = { percent_change = percent_change } add_opinion_modifier = { target = FROM modifier = recent_actions_negative } reverse_add_opinion_modifier = { target = FROM modifier = recent_actions_negative } set_temp_variable = { tag_index = UKR } set_temp_variable = { influence_target = FROM } change_influence_percentage = yes } # Ukrainian strategic industry. Seven milestones set the route; the closing # milestone resolves it into one of five industrial futures. UKR_strategic_industry_apply_wartime_drone_arsenal = { if = { limit = { UKR_strategic_industry_outcome_settled = no } add_ideas = UKR_strategic_industry_wartime_drone_arsenal } } UKR_strategic_industry_apply_western_integration = { if = { limit = { UKR_strategic_industry_outcome_settled = no } add_timed_idea = { idea = UKR_strategic_industry_western_integrated_defense_industry days = 365 } } } UKR_strategic_industry_apply_independent_distribution = { if = { limit = { UKR_strategic_industry_outcome_settled = no } add_ideas = UKR_strategic_industry_independent_distributed_industry } } UKR_strategic_industry_apply_post_soviet_integration = { if = { limit = { UKR_strategic_industry_outcome_settled = no } add_timed_idea = { idea = UKR_strategic_industry_renewed_post_soviet_integration days = 365 } } } UKR_strategic_industry_apply_chinese_corridor = { if = { limit = { UKR_strategic_industry_outcome_settled = no } add_timed_idea = { idea = UKR_strategic_industry_chinese_capital_corridor 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. UKR_strategic_industry_milestone_2001 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = ukraine_tech.300 days = 78 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = UKR_strategic_industry_state_retained } } UKR_strategic_industry_milestone_2003 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = ukraine_tech.301 days = 243 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = UKR_strategic_industry_eastern_export_dependence } } UKR_strategic_industry_milestone_2008 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = ukraine_tech.302 days = 152 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = UKR_strategic_industry_deepened_russian_ties } } UKR_strategic_industry_milestone_2016 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = ukraine_tech.303 days = 182 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = UKR_strategic_industry_full_severance } } UKR_strategic_industry_milestone_2020 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = ukraine_tech.304 days = 213 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = UKR_strategic_industry_motor_sich_blocked } } UKR_strategic_industry_milestone_2022 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = ukraine_tech.306 days = 57 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = UKR_strategic_industry_dispersed_production } } UKR_strategic_industry_milestone_2024 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = ukraine_tech.307 days = 164 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = UKR_strategic_industry_sovereign_drone_base } } UKR_strategic_industry_milestone_2026 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = ukraine_tech.305 days = 181 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } UKR_strategic_industry_apply_wartime_drone_arsenal = yes } }