###Created by Lord Bogdanoff PMR_eastern_europe_operations = { PMR_romania_operation = { available = { has_capitulated = no } visible = { tag = PMR country_exists = ROM check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 days_remove = 26 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_romania_operation" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_romania_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.150 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -350 } modify_kolbasna_support = yes } } PMR_serbia_operation = { available = { has_capitulated = no } visible = { tag = PMR country_exists = SER check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 days_remove = 27 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_serbia_operation" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_serbia_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.150 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -350 } modify_kolbasna_support = yes } } PMR_bulgaria_operation = { available = { has_capitulated = no } visible = { tag = PMR country_exists = BUL check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 days_remove = 28 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_bulgaria_operation" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_bulgaria_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.150 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -350 } modify_kolbasna_support = yes } } PMR_montenegro_operation = { available = { has_capitulated = no } visible = { tag = PMR check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 days_remove = 29 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_montenegro_operation" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_montenegro_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.150 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -350 } modify_kolbasna_support = yes } } PMR_bosnia_operation = { available = { has_capitulated = no } visible = { tag = PMR country_exists = BOS check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 days_remove = 35 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_bosnia_operation" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_bosnia_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.150 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -350 } modify_kolbasna_support = yes } } PMR_croatia_operation = { available = { has_capitulated = no } visible = { tag = PMR country_exists = CRO check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 days_remove = 34 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_croatia_operation" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_croatia_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.150 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -350 } modify_kolbasna_support = yes } } PMR_greece_operation = { available = { has_capitulated = no } visible = { tag = PMR country_exists = GRE check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 days_remove = 33 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_greece_operation" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_greece_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.150 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -350 } modify_kolbasna_support = yes } } PMR_macedonia_operation = { available = { has_capitulated = no } visible = { tag = PMR check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 days_remove = 32 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_macedonia_operation" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_macedonia_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.150 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -350 } modify_kolbasna_support = yes } } PMR_albania_operation = { available = { has_capitulated = no } visible = { tag = PMR country_exists = ALB check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 days_remove = 31 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_albania_operation" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_albania_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.150 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -350 } modify_kolbasna_support = yes } } PMR_russia_operation = { available = { has_capitulated = no } visible = { tag = PMR country_exists = SOV check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 50 } custom_cost_text = command_power_more_than_50 days_remove = 47 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_russia_operation" add_command_power = -50 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_russia_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.350 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -700 } modify_kolbasna_support = yes } } PMR_france_operation = { available = { has_capitulated = no } visible = { tag = PMR country_exists = FRA check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 50 } custom_cost_text = command_power_more_than_50 days_remove = 45 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_france_operation" add_command_power = -50 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_france_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.350 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -700 } modify_kolbasna_support = yes } } PMR_luxemburg_operation = { available = { has_capitulated = no } visible = { tag = PMR country_exists = LUX check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 50 } custom_cost_text = command_power_more_than_50 days_remove = 46 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_luxemburg_operation" add_command_power = -50 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_luxemburg_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.350 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -700 } modify_kolbasna_support = yes } } PMR_belgium_operation = { available = { has_capitulated = no } visible = { tag = PMR country_exists = BEL check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 50 } custom_cost_text = command_power_more_than_50 days_remove = 44 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_belgium_operation" add_command_power = -50 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_belgium_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.350 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -700 } modify_kolbasna_support = yes } } PMR_netherlands_operation = { available = { has_capitulated = no } visible = { tag = PMR country_exists = HOL check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 50 } custom_cost_text = command_power_more_than_50 days_remove = 43 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_netherlands_operation" add_command_power = -50 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_netherlands_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.350 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -700 } modify_kolbasna_support = yes } } PMR_germany_operation = { available = { has_capitulated = no } visible = { tag = PMR country_exists = GER check_variable = { PMR.kolbasna > 700 } has_completed_focus = PMR_sell_weapon } ai_will_do = { base = 80 } icon = GFX_decision_pmr_cobasna_button custom_cost_trigger = { command_power > 50 } custom_cost_text = command_power_more_than_50 days_remove = 42 days_re_enable = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_germany_operation" add_command_power = -50 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_germany_operation: [From.GetName]" set_temp_variable = { treasury_change = 0.350 } modify_treasury_effect = yes set_temp_variable = { modify_kolbasna = -700 } modify_kolbasna_support = yes } } PMR_use_kobasna = { cost = 150 allowed = { OR = { original_tag = UKR original_tag = SOV } } visible = { ROOT = { owns_state = 149 } check_variable = { PMR.kolbasna > 700 } } ai_will_do = { base = 355 } icon = GFX_decision_pmr_cobasna_button days_remove = 45 days_re_enable = 0 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_use_kobasna" hidden_effect = { if = { limit = { check_variable = { PMR.kolbasna > 40000 } check_variable = { PMR.kolbasna < 80000 } } PMR = { set_temp_variable = { modify_kolbasna = -70000 } modify_kolbasna_support = yes } add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 50000 producer = PMR } } else_if = { limit = { check_variable = { PMR.kolbasna > 20000 } check_variable = { PMR.kolbasna < 40000 } } PMR = { set_temp_variable = { modify_kolbasna = -30000 } modify_kolbasna_support = yes } add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 30000 producer = PMR } } else_if = { limit = { check_variable = { PMR.kolbasna > 5000 } check_variable = { PMR.kolbasna < 20000 } } PMR = { set_temp_variable = { modify_kolbasna = -20000 } modify_kolbasna_support = yes } add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 10000 producer = PMR } } else_if = { limit = { check_variable = { PMR.kolbasna > 700 } check_variable = { PMR.kolbasna < 4900 } } PMR = { set_temp_variable = { modify_kolbasna = -4000 } modify_kolbasna_support = yes } add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 3000 producer = PMR } } } } } } PMR_russia_moldovian_way = { PMR_russia_refendum = { fire_only_once = no visible = { SOV = { is_subject = no NOT = { OR = { western_liberals_are_in_power = yes western_conservatism_are_in_power = yes western_social_democrats_are_in_power = yes } } } is_subject = no has_completed_focus = PMR_referendums NOT = { has_war_with = SOV } country_exists = SOV } icon = GFX_decision_pmr_sov_button days_remove = 30 days_re_enable = 720 cost = 100 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_russia_refendum" SOV = { country_event = transnistria.16 } } ai_will_do = { base = 355 modifier = { has_global_flag = PMR_HISTORICAL_FOCUS_PATH add = 355 } modifier = { has_global_flag = PMR_COMMUNIST_FOCUS_PATH add = 355 } modifier = { has_global_flag = PMR_REPUBLICAN_FOCUS_PATH add = 355 } modifier = { factor = 0 is_historical_focus_on = yes } } } PMR_annex_gagauzia = { fire_only_once = no visible = { country_exists = GGZ GGZ = { is_subject_of = PMR } has_war = no } icon = GFX_decision_puppetdown_button days_remove = 30 days_re_enable = 360 cost = 100 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_annex_gagauzia" annex_country = { target = GGZ transfer_troops = yes } GGZ = { every_core_state = { add_core_of = PMR } } hidden_effect = { add_to_variable = { treasury = GGZ.treasury } add_to_variable = { debt = GGZ.debt } add_to_variable = { int_investments = GGZ.int_investments } } } ai_will_do = { base = 355 modifier = { has_global_flag = PMR_HISTORICAL_FOCUS_PATH add = 355 } modifier = { has_global_flag = PMR_COMMUNIST_FOCUS_PATH add = 355 } modifier = { has_global_flag = PMR_REPUBLICAN_FOCUS_PATH add = 355 } } } PMR_annex_odessa = { fire_only_once = no visible = { country_exists = OPR OPR = { is_subject_of = PMR } has_war = no } icon = GFX_decision_puppetdown_button days_remove = 30 days_re_enable = 360 cost = 100 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_annex_odessa" OPR = { every_core_state = { add_core_of = PMR } } annex_country = { target = OPR transfer_troops = yes } hidden_effect = { add_to_variable = { treasury = OPR.treasury } add_to_variable = { debt = OPR.debt } add_to_variable = { int_investments = OPR.int_investments } } } ai_will_do = { base = 355 modifier = { has_global_flag = PMR_HISTORICAL_FOCUS_PATH add = 355 } modifier = { has_global_flag = PMR_COMMUNIST_FOCUS_PATH add = 355 } modifier = { has_global_flag = PMR_REPUBLICAN_FOCUS_PATH add = 355 } } } PMR_moldova_refendum = { fire_only_once = no visible = { MLV = { is_subject = no } is_subject = no has_completed_focus = PMR_federation NOT = { has_war_with = MLV } country_exists = MLV } icon = GFX_decision_pmr_mlv_button days_remove = 30 days_re_enable = 720 cost = 100 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_moldova_refendum" MLV = { country_event = transnistria.17 } } ai_will_do = { base = 355 modifier = { has_global_flag = PMR_DEMOCRATIC_FOCUS_PATH add = 355 } } } } PMR_kazaks_prepare = { PMR_kazak_kamensk = { custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 visible = { NOT = { has_completed_focus = PMR_kazaks } } ai_will_do = { base = 355 } fire_only_once = yes icon = GFX_decision_kazaki_button days_remove = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_kazak_kamensk" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_kazak_kamensk" set_country_flag = kazak1 } } PMR_kazak_ryibninsk = { custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 visible = { NOT = { has_completed_focus = PMR_kazaks } } ai_will_do = { base = 355 } fire_only_once = yes icon = GFX_decision_kazaki_button days_remove = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_kazak_ryibninsk" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_kazak_ryibninsk" set_country_flag = kazak2 } } PMR_kazak_dubossar = { custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 visible = { NOT = { has_completed_focus = PMR_kazaks } } ai_will_do = { base = 355 } fire_only_once = yes icon = GFX_decision_kazaki_button days_remove = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_kazak_dubossar" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_kazak_dubossar" set_country_flag = kazak3 } } PMR_kazak_slobodze = { custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 visible = { NOT = { has_completed_focus = PMR_kazaks } } ai_will_do = { base = 355 } fire_only_once = yes icon = GFX_decision_kazaki_button days_remove = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_kazak_slobodze" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_kazak_slobodze" set_country_flag = kazak4 } } PMR_kazak_benderi = { custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 visible = { NOT = { has_completed_focus = PMR_kazaks } } ai_will_do = { base = 355 } fire_only_once = yes icon = GFX_decision_kazaki_button days_remove = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_kazak_benderi" add_command_power = -20 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove PMR_kazak_benderi" set_country_flag = kazak5 } } } ###########ECONOMIC DECISIONS########### PMR_economy_category = { #INTEGRATE GERMAN INVESTMENTS PMR_buy_german_investments = { icon = GFX_decision_bancru_ask_button days_remove = 75 visible = { has_country_flag = PMR_ger_invest } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_buy_german_investments" one_random_industrial_complex = yes } ai_will_do = { base = 0 } } #INTEGRATE AUSTRIAN INVESTMENTS PMR_buy_austrian_investments = { icon = GFX_decision_bancru_ask_button days_remove = 75 visible = { has_country_flag = PMR_aus_invest } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_buy_austrian_investments" one_random_industrial_complex = yes } ai_will_do = { base = 0 } } #INTEGRATE RUSSIAN INVESTMENTS PMR_buy_russian_investments = { icon = GFX_decision_bancru_ask_button days_remove = 75 visible = { has_country_flag = PMR_sov_invest } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_buy_russian_investments" one_random_industrial_complex = yes } ai_will_do = { base = 0 } } #INTEGRATE UKRAINIAN INVESTMENTS PMR_buy_ukraininan_investments = { icon = GFX_decision_bancru_ask_button days_remove = 75 visible = { has_country_flag = PMR_ukr_invest } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_buy_ukraininan_investments" add_resource = { type = steel amount = 2 state = 149 } set_temp_variable = { treasury_change = -0.2 } modify_treasury_effect = yes } ai_will_do = { base = 0 } } #INTEGRATE ROMANIAN INVESTMENTS PMR_buy_romanian_investments = { icon = GFX_decision_bancru_ask_button days_remove = 75 visible = { has_country_flag = PMR_rom_invest } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_buy_romanian_investments" add_resource = { type = steel amount = 1 state = 149 } set_temp_variable = { treasury_change = -0.1 } modify_treasury_effect = yes } ai_will_do = { base = 0 } } #INTEGRATE ITALIAN INVESTMENTS PMR_buy_italian_investments = { icon = GFX_decision_bancru_ask_button days_remove = 75 visible = { has_country_flag = PMR_ita_invest } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_buy_italian_investments" one_random_agriculture_district = yes } ai_will_do = { base = 0 } } #INTEGRATE HUNGARIAN INVESTMENTS PMR_buy_hungarian_investments = { icon = GFX_decision_bancru_ask_button days_remove = 75 visible = { has_country_flag = PMR_hun_invest } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_buy_hungarian_investments" one_random_industrial_complex = yes } ai_will_do = { base = 0 } } } ###########MVD DECISIONS########### PMR_mvd_category = { #SHERIFF DEAD PMR_destroy_sheriff = { icon = GFX_decision_sheriff_button days_remove = 150 available = { OR = { has_idea = corruption_level_02 has_idea = corruption_level_01 } } visible = { check_variable = { PMR_sheriff_level = 7 } NOT = { OR = { has_country_flag = PMR_sheriff_finish neutrality_neutral_oligarch_are_in_power = yes } } } cost = 150 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_destroy_sheriff" if = { limit = { has_dynamic_modifier = { modifier = PMR_sheriff_modifier } } remove_dynamic_modifier = { modifier = PMR_sheriff_modifier } } set_country_flag = PMR_sheriff_finish } ai_will_do = { base = 0 } } } PMR_ai_path_category = { PMR_rally_the_autocrats = { icon = generic_decision cost = 25 days_re_enable = 30 visible = { PMR_ai_autocrat_trunk_path = yes } available = { has_civil_war = no check_variable = { party_pop_array^7 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_rally_the_autocrats" set_temp_variable = { party_index = 7 } set_temp_variable = { party_popularity_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } PMR_rally_the_liberals = { icon = generic_decision cost = 25 days_re_enable = 30 visible = { has_global_flag = PMR_DEMOCRATIC_FOCUS_PATH } available = { has_civil_war = no check_variable = { party_pop_array^2 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_rally_the_liberals" set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } PMR_liberals_take_the_country = { icon = generic_decision cost = 150 days_re_enable = 180 visible = { has_global_flag = PMR_DEMOCRATIC_FOCUS_PATH } available = { has_civil_war = no western_liberals_are_in_power = no check_variable = { party_pop_array^2 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_liberals_take_the_country" set_temp_variable = { rul_party_temp = 2 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } PMR_rally_the_republicans = { icon = generic_decision cost = 25 days_re_enable = 30 visible = { has_global_flag = PMR_REPUBLICAN_FOCUS_PATH } available = { has_civil_war = no check_variable = { party_pop_array^5 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_rally_the_republicans" set_temp_variable = { party_index = 5 } set_temp_variable = { party_popularity_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } PMR_republicans_take_the_country = { icon = generic_decision cost = 150 days_re_enable = 180 visible = { has_global_flag = PMR_REPUBLICAN_FOCUS_PATH } available = { has_civil_war = no emerging_anarchist_communism_are_in_power = no check_variable = { party_pop_array^5 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_republicans_take_the_country" set_temp_variable = { rul_party_temp = 5 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } PMR_rally_the_communists = { icon = generic_decision cost = 25 days_re_enable = 30 visible = { has_global_flag = PMR_COMMUNIST_FOCUS_PATH } available = { has_civil_war = no check_variable = { party_pop_array^4 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_rally_the_communists" set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } PMR_communists_take_the_country = { icon = generic_decision cost = 150 days_re_enable = 180 visible = { has_global_flag = PMR_COMMUNIST_FOCUS_PATH } available = { has_civil_war = no emerging_communist_state_are_in_power = no check_variable = { party_pop_array^4 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_communists_take_the_country" set_temp_variable = { rul_party_temp = 4 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } PMR_rally_the_monarchists = { icon = generic_decision cost = 25 days_re_enable = 30 visible = { has_global_flag = PMR_MONARCHIST_FOCUS_PATH } available = { has_civil_war = no check_variable = { party_pop_array^23 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_rally_the_monarchists" set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } PMR_monarchists_take_the_country = { icon = generic_decision cost = 150 days_re_enable = 180 visible = { has_global_flag = PMR_MONARCHIST_FOCUS_PATH } available = { has_civil_war = no nationalist_monarchists_are_in_power = no check_variable = { party_pop_array^23 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_monarchists_take_the_country" set_temp_variable = { rul_party_temp = 23 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } PMR_rally_the_officers = { icon = generic_decision cost = 25 days_re_enable = 30 visible = { has_global_flag = PMR_MILITARY_JUNTA_FOCUS_PATH } available = { has_civil_war = no NOT = { has_country_flag = ded_lebed } check_variable = { party_pop_array^22 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_rally_the_officers" set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } PMR_officers_take_the_country = { icon = generic_decision cost = 150 days_re_enable = 180 visible = { has_global_flag = PMR_MILITARY_JUNTA_FOCUS_PATH } available = { has_civil_war = no NOT = { has_country_flag = ded_lebed } nationalist_military_junta_are_in_power = no check_variable = { party_pop_array^22 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision PMR_officers_take_the_country" set_temp_variable = { rul_party_temp = 22 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } }