ARC_fall_rot_decisions = {
	RUS_send_volunteers= {
		icon = GFX_decision_generic_form_nation
		days_re_enable = 10
		fixed_random_seed = no

		visible = {
			NOT = {
				has_country_flag = joined_ARC
				event_target:RUS_closest_unifier = {
					OR = {
						is_in_faction_with = GER
						AND = {
							has_government = national_socialism
							OR = {
								tag = KOM
								tag = PRM
							}
						}
					}
				}
			}
		}

		available = {
			has_war = no
			NOT = {
				has_country_flag = RUS_fortifying
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision RUS_send_volunteers"
			set_country_flag = RUS_anti_goering_volunteers
			set_temp_variable = { target = event_target:RUS_closest_unifier }
			TNO_increase_volunteer_cap_10 = yes
		}
		ai_will_do = {
			factor = 15
			modifier = {
				add = 8
				event_target:RUS_closest_unifier = {
					same_government_type_as_ROOT = yes
				}
			}
			modifier = {
				add = 15
				is_neighbor_of = event_target:RUS_closest_unifier
			}
			modifier = {
				add = -5
				event_target:RUS_closest_unifier = {
					has_government = national_socialism
				}
				NOT = {
					has_government = national_socialism
				}
			}
			modifier = {
				add = -7
				NOT = {
					has_event_target = RUS_western_unifier
				}
			}
		}
	}
	RUS_fortify_the_country = {
		cost = 30
		icon = GFX_decision_generic_form_nation
		fire_only_once = no
		days_remove = 15

		visible = {
			NOT = {
				OR = {
					has_country_flag = joined_ARC
					is_central_russian_nation = yes
					has_idea = GGR_anti_goering_5
				}
			}
		}

		available = {
			has_war = no
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision RUS_fortify_the_country"
			custom_effect_tooltip = ARC_fortifying_the_country_tooltip
			set_country_flag = RUS_fortifying
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision RUS_fortify_the_country_removed"
			clr_country_flag = RUS_fortifying
			GGR_anti_goering_upgrade = yes
		}
		ai_will_do = {
			factor = 15
			modifier = {
				add = 10
				is_kazakh_nation = yes
			}
		}
	}
	RUS_join_the_all_russian_congress = {
		cost = 30
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes

		visible = {
			has_global_flag = RUS_all_russian_congress
			NOT = {
				OR = {
					has_country_flag = joined_ARC
					AND = {
						has_government = national_socialism
						OR = {
							tag = KOM
							tag = PRM
						}
					}
				}
			}
		}

		available = {
			NOT = {
				has_country_flag = RUS_fortifying
			}
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision RUS_join_the_all_russian_congress"
			ARC = {
				country_event = { id = ARC.8 days = 1 }
			}
		}
		ai_will_do = {
			factor = 8
			modifier = {
				add = 15
				event_target:RUS_western_unifier = {
					OR = {
						same_government_type_as_ROOT = yes
						has_capitulated = yes
					}
				}
			}
			modifier = {
				factor = 4
				has_war_with = GER
			}
			modifier = {
				add = 15
				any_neighbor_country = {
					is_neighbor_of = GER
				}
			}
			modifier = {
				add = -5
				event_target:RUS_western_unifier = {
					has_government = national_socialism
				}
				NOT = {
					has_government = national_socialism
				}
			}
			modifier = {
				add = -5
				NOT = {
					has_event_target = RUS_western_unifier
				}
			}
		}
	}

	ARC_leader_increase_partisan_support = {
		icon = GFX_decision_generic_civil_support
		cost = 25
		days_re_enable = 25

		visible = {
			has_war_with = GER
			has_country_flag = ARC_leader
		}


		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision ARC_leader_increase_partisan_support"
			GER = {
				custom_effect_tooltip = ARC_anger_russians_medium
				add_to_variable = { GGR_russian_population_anger = 0.05 }
			}
		}
		ai_will_do = {
			factor = 15
		}
	}
	ARC_leader_invest_in_the_partisans = {
		icon = GFX_decision_generic_civil_support
		cost = 25
		days_re_enable = 35

		visible = {
			has_war_with = GER
			has_country_flag = ARC_leader
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision ARC_leader_increase_partisan_support"
			GER = {
				custom_effect_tooltip = ARC_anger_russians_major
				add_to_variable = { GGR_russian_population_anger = 0.08 }
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -3000
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment
				amount = -300
			}
		}
		ai_will_do = {
			factor = 5
			modifier = {
				add = 5
				has_equipment = {
					infantry_equipment > 8000
				}
			}
			modifier = {
				add = 5
				has_equipment = {
					anti_tank_equipment > 800
				}
			}
		}
	}
	ARC_leader_blow_up_factory = {
		icon = GFX_decision_generic_ignite_civil_war
		cost = 30
		days_re_enable = 30

		visible = {
			has_country_flag = ARC_leader
			has_war_with = GER
			has_country_flag = joined_ARC
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision ARC_leader_blow_up_factory"
			GER = {
				custom_effect_tooltip = ARC_calm_russians_minor
				subtract_from_variable = { GGR_russian_population_anger = 0.2 }
				set_temp_variable = { pus_temp = -5 }
				econ_pus_change = yes
			}
		}
		ai_will_do = {
			factor = 10
			modifier = {
				add = -5
				check_variable = { GER.GGR_russian_population_anger < 0.1 }
			}
			modifier = {
				add = 5
				check_variable = { GER.GGR_russian_population_anger > 0.2 }
			}
		}
	}
	ANC_pull_back_partisans = {
		icon = GFX_decision_generic_ignite_civil_war
		cost = 40
		days_re_enable = 50

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision ANC_pull_back_partisans"
			custom_effect_tooltip = ARC_recall_partisans_tooltip
            GER = {
			    custom_effect_tooltip = ARC_calm_russians_medium
			    subtract_from_variable = { GGR_russian_population_anger = 0.05 }
            }
			add_manpower = 25000
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 1500
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment
				amount = 100
			}
		}
		ai_will_do = {
			factor = 5
			modifier = {
				add = -5
				check_variable = { GER.GGR_russian_population_anger < 0.2 }
			}
			modifier = {
				add = 10
				surrender_progress > 0.5
			}

		}
	}
}



RUS_reunification_category = {
	GGR_OMS_kill_germany = {
		icon = GFX_decision_red_skull
		available = {
			always = yes
		}
		activation = {
			always = no
		}
    	days_mission_timeout = 28
		is_good = yes
    	war_with_on_timeout = GER
		priority = -20

		selectable_mission = yes

		complete_effect = {
			custom_effect_tooltip = GGR_prepare_defenses
			add_ideas = GGR_anti_goering_3
			set_country_flag = anti_goering_preparation
		}

		ai_will_do = {
			factor = 10
		}

		timeout_effect = {
			declare_war_on = {
				target = GER
				type = annex_everything
			}
			declare_war_on = {
				target = MCW
				type = annex_everything
			}
			if = {
				limit = {
					FIN = { is_in_faction_with = GER }
				}
				declare_war_on = {
					target = FIN
					type = annex_everything
				}
			}
			else = {
				declare_war_on = {
					target = SCN
					type = annex_everything
				}
			}
			hidden_effect = {
				if = {
					limit = {
						is_ai = yes
					}
					add_timed_idea = {
						idea = GGR_OMS_go_go_go
						days = 7
					}
				}
				GER = {
					complete_national_focus = GGR_across_the_east_and_far_away
				}
			}
		}
	}
}