add_namespace = ARC #All-Russian Congress events

#####################################
#### ALL-RUSSIAN CONGRESS EVENTS ####
#####################################
country_event = { # Volunteers arrive from other warlords
	id = ARC.1
	title = ARC.1.t
	desc = ARC.1.desc
	picture = GFX_report_event_RUS_double_headed_eagle

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.1"}

	option = {
		name = ARC.1.a
	}
}

country_event = { # Propose an all russian congress
	id = ARC.2
	title = ARC.2.t
	desc = ARC.2.desc
	picture = GFX_report_event_RUS_double_headed_eagle

	is_triggered_only = yes

	immediate = {
		log = "[GetDateText]: [Root.GetName]: event ARC.2"
	}

	option = { # Yes
		name = ARC.2.a
		every_country = {
			limit = {
				OR = {
					is_russian_nation = yes
				}
				NOT = {
					OR = {
						is_in_faction_with = GER
						AND = {
							tag = KOM
							has_government = national_socialism
						}
						tag = PRM
						tag = DRL
						original_tag = ROOT
						is_in_faction_with = GER
					}
				}
			}
			country_event = { id = ARC.4 days = 1 }
		}
		hidden_effect = {
			every_country = {
				limit = {
					OR = {
						is_russian_nation = yes
					}
					NOT = {
						has_country_flag = RUS_anti_goering_volunteers
					}
				}
				country_event = { id = ARC.5 days = 3 }
			}
		}
		ai_chance = {
			base = 75
			modifier = {
				factor = 0
				OR = {
					AND = {
						tag = KOM
						has_government = national_socialism
					}
					tag = PRM
					tag = DRL
					has_game_rule = {
						rule = GGR_ARC_creation
						option = GGR_ARC_NOT_TO_CREATE
					}
				}
			}
		}
	}
	option = { # No
		name = ARC.2.b
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				has_game_rule = {
					rule = GGR_ARC_creation
					option = GGR_ARC_CREATE
				}
			}
		}
	}
}

country_event = { # The Germans blitzed western russia really fast, propose all russian congress?
	id = ARC.3
	title = ARC.3.t
	desc = ARC.3.desc
	picture = GFX_report_event_RUS_double_headed_eagle

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.3"}

	option = { # Yes
		name = ARC.3.a
		every_country = {
			limit = {
				has_country_flag = RUS_anti_goering_volunteers
				OR = {
					is_west_siberian_nation = yes
				}
				NOT = {
					OR = {
						is_in_faction_with = GER
						AND = {
							tag = KOM
							has_government = national_socialism
						}
						tag = PRM
						tag = DRL
						original_tag = ROOT
						is_in_faction_with = GER
					}
				}
			}
			country_event = { id = ARC.4 days = 1 }
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					AND = {
						tag = KOM
						has_government = national_socialism
					}
					tag = PRM
					tag = DRL
				}
			}
		}
	}
	option = { # No
		name = ARC.3.b
		ai_chance = {
			base = 1
		}
	}
}

country_event = { # Invitation to the All Russian Congress
	id = ARC.4
	title = ARC.4.t
	desc = ARC.4.desc
	picture = GFX_report_event_RUS_letter

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.4"}
	trigger = {
	}

	option = { # Accept
		name = ARC.4.a
		ai_chance = {
			factor = 25
			modifier = {
				add = 5
				FROM = {
					same_government_type_as_ROOT = yes
				}
			}
		}
		set_country_flag = joined_ARC
		add_ideas = ARC_member
		FROM = {
			country_event = { id = ARC.5 days = 1 }
			country_event = { id = ARC.6 days = 3 }
		}
	}
	option = { # Decline
		name = ARC.4.b
		ai_chance = {
			factor = 0
		}
	}
}

country_event = { # X agrees to join
	id = ARC.5
	title = ARC.5.t
	desc = ARC.5.desc
	picture = GFX_report_event_RUS_letter

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.5"}

	option = {
		name = ARC.5.a
	}
}

country_event = { # The ARC forms
	id = ARC.6
	title = ARC.6.t
	desc = ARC.6.desc
	picture = GFX_report_event_RUS_partisan
	trigger = {
		NOT = {
			is_in_faction_with = GER
		}
	}

	is_triggered_only = yes
	fire_only_once = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.6"}

	option = {
		name = ARC.6.a
		ARC = {
			create_faction = all_russian_congress
			add_ideas = ARC_member
		}
		hidden_effect = {
			stop_russian_warlords_wars = yes
			set_global_flag = RUS_all_russian_congress
			set_country_flag = joined_ARC
			set_country_flag = ARC_leader
			save_global_event_target_as = ARC_leader
			every_country = {
				limit = {
					has_country_flag = joined_ARC
				}
				hidden_effect = {
					country_event = { id = ARC.30 days = 10 }
				}
				if = {
					limit = {
						NOT = { ARC = { is_in_faction_with = PREV } }
					}
					leave_faction = yes
					remove_faction_status = yes
				}
				ARC = {
					add_to_faction = PREV
				}
				add_ideas = ARC_member
			}
			every_country = {
				limit = {
					OR = {
						can_form_far_east = yes
						is_far_eastern_nation = yes
					}
				}
				add_ideas = GGR_FAR_EAST_SURRENDER
			}
		
			if = {
				limit = {
					has_game_rule = {
						rule = GGR_ARC_victory
						option = GGR_ARC_VICTORY
					}
				}
				every_country = {
					limit = {
						has_country_flag = joined_ARC
					}
					add_ideas = {
						GGR_ARC_increased_defense
					}
				}
			}
			GER = {
				if = {
					limit = {
						has_war = yes
					}
					country_event = { id = goering.rot.13 days = 5 }
				}
			}
			every_country = {
				news_event = { id = WORLD.568 days = 2 }
			}
		}
		set_variable = { global.ARC_unity = 0 }
	}
}

country_event = { # ARC forming hidden event
	id = ARC.7
	title = ARC.7.t
	desc = ARC.7.desc

	fire_only_once = yes
	is_triggered_only = yes
	hidden = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.7"}

	option = {
		name = ARC.7.a
		if = {
			limit = { # Player gets priority of leadership
				any_country = {
					is_russian_nation = yes
					exists = yes
					is_ai = no
					NOT = { is_in_faction_with = GER }
					NOT = {
						AND = {
							tag = KOM
							has_government = national_socialism
						}
						tag = PRM
						tag = DRL
					}
				}
			}
			random_country = {
				limit = {
					OR = {
						is_russian_nation = yes
					}
					is_ai = no
					exists = yes
					NOT = { is_in_faction_with = GER }
					NOT = {
						AND = {
							tag = KOM
							has_government = national_socialism
						}
						tag = PRM
						tag = DRL
					}
				}
				country_event = { id = ARC.2 }
			}
		}
		else = {
			random_country = {
				limit = {
					OR = {
						is_russian_nation = yes
					}
					NOT = {
						AND = {
							tag = KOM
							has_government = national_socialism
						}
						tag = PRM
						tag = DRL
					}
					exists = yes
					NOT = { is_in_faction_with = GER }
				}
				country_event = { id = ARC.2 }
			}
		}
	}
}

country_event = { # Someone wants to join
	id = ARC.8
	title = ARC.8.t
	desc = ARC.8.desc
	picture = GFX_report_event_RUS_letter

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.8"}

	option = { # yes
		name = ARC.8.a
		ai_chance = { factor = 3 }
		ARC = { add_to_faction = FROM }
		FROM = {
			set_country_flag = joined_ARC
			country_event = { id = ARC.10 days = 1 }
		}
	}
	option = { # No
		name = ARC.8.b
		FROM = {
			country_event = { id = ARC.9 days = 1 }
		}
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				FROM = {
					same_government_type_as_ROOT = yes
				}
			}
		}
	}
}

country_event = { # The ARC leader accepts us
	id = ARC.10
	title = ARC.10.t
	desc = ARC.10.desc
	picture = GFX_report_event_RUS_letter

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.10"}

	option = {
		name = ARC.10.a
	}
}

country_event = { # The ARC leader declines
	id = ARC.9
	title = ARC.9.t
	desc = ARC.9.desc
	picture = GFX_report_event_RUS_letter

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.9"}

	option = {
		name = ARC.9.a
	}
}

country_event = { # We are now the ARC leader
	id = ARC.11
	title = ARC.11.t
	desc = ARC.11.desc
	picture = GFX_report_event_RUS_partisan

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.11"}

	option = {
		name = ARC.11.a
		custom_effect_tooltip = USA_more_decisions_tt
		set_country_flag = ARC_leader
		save_global_event_target_as = ARC_leader
	}
}

country_event = { # The ideal worker
	id = ARC.12
	title = ARC.12.t
	desc = ARC.12.desc
	picture = GFX_report_event_soviet_propoganda

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.12"}

	option = { # work with the congress
		name = ARC.12.a
		ai_chance = { factor = 1.5 }
		every_country = {
			limit = { has_country_flag = joined_ARC }
			add_war_support = 0.05
		}
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
	}
	option = { # do it on your own
		name = ARC.12.b
		ai_chance = {
			factor = 2
			modifier = {
				add = -1
				check_variable = { global.ARC_unity < -3 }
			}
		}
		every_country = {
			limit = { has_country_flag = joined_ARC }
			add_popularity = {
				ideology = communist
				popularity = 0.05
			}
		}
		add_war_support = 0.1
		add_stability = 0.05
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
	}
}

country_event = { # Wartime industrial expansion
	id = ARC.13
	title = ARC.13.t
	desc = ARC.13.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.13"}

	option = { # Work with the congress
		name = ARC.13.a
		ai_chance = { factor = 1.5 }
		every_country = {
			limit = { has_country_flag = joined_ARC }
			set_temp_variable = { pus_temp = 1} 
			econ_pus_change = yes 
		}
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
	}
	option = { # Do not work with the congress
		name = ARC.13.b
		ai_chance = {
			factor = 2
			modifier = {
				add = -1
				check_variable = { global.ARC_unity < -3 }
			}
		}
		set_temp_variable = { pus_temp = 3}
		econ_pus_change = yes
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
	}
}

country_event = { # Our place in the congress
	id = ARC.14
	title = ARC.14.t
	desc = ARC.14.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.14"}

	option = { # We will accept our place
		name = ARC.14.a
		ai_chance = { factor = 1.5 }
		add_ideas = ARC_focus_on_industry
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
	}
	option = { # To hell with them we need men!
		name = ARC.14.b
		ai_chance = {
			factor = 2
			modifier = {
				add = -1
				check_variable = { global.ARC_unity < -3 }
			}
		}
		add_ideas = ARC_rapid_army_expansion
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
	}
}

country_event = { # Convincing the people
	id = ARC.15
	title = ARC.15.t
	desc = ARC.15.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.15"}

	option = {
		name = ARC.15.a
		trigger = {
			has_political_power > 49
		}
		add_political_power = -50
		add_to_variable = { convincing_points = 1 }
	}
	option = {
		name = ARC.16.a
		add_political_power = 25
	}
}

country_event = { # Convincing the Generals
	id = ARC.16
	title = ARC.16.t
	desc = ARC.16.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.16"}

	option = {
		name = ARC.16.a
		trigger = {
			has_political_power > 49
		}
		add_political_power = -50
		add_to_variable = { convincing_points = 1 }
	}
	option = {
		name = ARC.16.a
		add_political_power = 25
	}
}

country_event = { # Convincing the government
	id = ARC.17
	title = ARC.17.t
	desc = ARC.17.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.17"}

	option = {
		name = ARC.17.a
		trigger = {
			has_political_power > 79
		}
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				check_variable = { convincing_points = 0 }
			}
		}
		add_political_power = -80
		add_to_variable = { convincing_points = 1 }
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
		hidden_effect = {
			if = {
				limit = { check_variable = { convincing_points > 1 } }
				country_event = { id = ARC.18 days = 1 }
			}
			else = {
				country_event = { id = ARC.19 days = 1 }
			}
		}
	}
	option = {
		name = ARC.17.b
		add_political_power = 50
		add_stability = 0.05
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
		hidden_effect = {
			if = {
				limit = { check_variable = { convincing_points > 1 } }
				country_event = { id = ARC.18 days = 1 }
			}
			else = {
				country_event = { id = ARC.19 days = 1 }
			}
		}
	}
}

country_event = { # Convincing succeeded
	id = ARC.18
	title = ARC.18.t
	desc = ARC.18.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.18"}

	option = {
		name = ARC.18.a
		set_country_flag = ARC_supported
	}
}

country_event = { # Convincing Failed
	id = ARC.19
	title = ARC.19.t
	desc = ARC.19.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.19"}

	option = {
		name = ARC.19.a
		set_country_flag = ARC_not_supported
	}
}

country_event = { # Streamlining the congress
	id = ARC.20
	title = ARC.20.t
	desc = ARC.20.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.20"}

	option = { # in favor of unity
		name = ARC.20.a
		ai_chance = { factor = 1.5 }
		every_country = {
			limit = { has_country_flag = joined_ARC }
			add_stability = 0.07
		}
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
	}
	option = { # in favor of democracy
		name = ARC.20.b
		ai_chance = {
			factor = 2
			modifier = {
				add = -1
				check_variable = { global.ARC_unity < -3 }
			}
		}
		add_stability = 0.1
		add_war_support = 0.05
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
	}
}

country_event = { # The issue of spies
	id = ARC.21
	title = ARC.21.t
	desc = ARC.21.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.21"}

	option = { # clean out collab spies
		name = ARC.21.a
		ai_chance = { factor = 1.5 }
		every_country = {
			limit = { has_country_flag = joined_ARC }
			add_tech_bonus = {
				bonus = 0.5
				uses = 1
				category = encryption_tech
			}
		}
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
	}
	option = { # clean out spies from the other warlords
		name = ARC.21.b
		ai_chance = {
			factor = 2
			modifier = {
				add = -1
				check_variable = { global.ARC_unity < -3 }
			}
		}
		add_tech_bonus = {
			bonus = 1
			uses = 1
			category = encryption_tech
		}
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
	}
}

country_event = { # Other warlord demand men
	id = ARC.22
	title = ARC.22.t
	desc = ARC.22.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.22"}

	option = { # we comply
		name = ARC.22.a
		ai_chance = {
			factor = 1
			modifier = {
				add = 5
				FROM = {
					same_government_type_as_ROOT = yes
				}
			}
		}
		FROM = {
			add_manpower = 15000
		}
		add_manpower = -15000
	}
	option = { # no
		name = ARC.22.b
		ai_chance = { factor = 3 }
	}
}

country_event = { # Do we actually set an example
	id = ARC.23
	title = ARC.23.t
	desc = ARC.23.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.23"}

	option = { # Yes
		name = ARC.23.a
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_idea = tno_conscription_service_by_requirement
					has_idea = tno_conscription_all_adults_serve
					has_idea = tno_conscription_scraping_the_barrel
				}
			}
		}
		tno_conscription_worsen = yes
		every_country = {
			limit = {
				has_country_flag = joined_ARC
				NOT = {
					original_tag = ROOT
				}
			}
			country_event = { id = ARC.24 days = 1 }
		}
	}
	option = { # Nah
		name = ARC.23.b
		every_country = {
			limit = {
				has_country_flag = joined_ARC
				NOT = {
					original_tag = ROOT
				}
			}
			country_event = { id = ARC.24 days = 1 }
		}
	}
}

country_event = { # The nationalists once again demand we do more
	id = ARC.24
	title = ARC.24.t
	desc = ARC.24.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.24"}

	option = { # We will
		name = ARC.24.a
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				has_authoritarian_government = yes
			}
		}
		trigger = {
			FROM = {
				OR = {
					has_idea = tno_conscription_service_by_requirement
					has_idea = tno_conscription_all_adults_serve
					has_idea = tno_conscription_scraping_the_barrel
				}
			}
		}
		tno_conscription_worsen = yes
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
	}
	option = { # Nah
		name = ARC.24.b
		ai_chance = { factor = 3 }
	}
	option = { # Stop working with those bastards
		name = ARC.24.c
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				has_democratic_government = yes
			}
		}
		trigger = {
			FROM = {
				NOT = {
					OR = {
						has_idea = tno_conscription_service_by_requirement
						has_idea = tno_conscription_all_adults_serve
						has_idea = tno_conscription_scraping_the_barrel
					}
				}
			}
		}
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
		FROM = {
			add_war_support = -0.05
		}
	}
}

country_event = { # Do we actually set an example
	id = ARC.25
	title = ARC.25.t
	desc = ARC.25.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.25"}

	option = { # Yes
		name = ARC.25.a
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_idea = tno_conscription_scraping_the_barrel
					has_idea = tno_conscription_all_adults_serve
					has_idea = tno_conscription_service_by_requirement
				}
			}
		}
		tno_conscription_worsen = yes
		TNO_improve_conscription_policy_effectiveness_med = yes
		every_country = {
			limit = {
				has_country_flag = joined_ARC
				NOT = {
					original_tag = ROOT
				}
			}
			country_event = { id = ARC.26 days = 1 }
		}
	}
	option = { # Nah
		name = ARC.25.b
		every_country = {
			limit = {
				has_country_flag = joined_ARC
				NOT = {
					original_tag = ROOT
				}
			}
			country_event = { id = ARC.26 days = 1 }
		}
	}
}

country_event = { # The nationalists once again demand we do more
	id = ARC.26
	title = ARC.26.t
	desc = ARC.26.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.26"}

	option = { # We will
		name = ARC.26.a
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				has_authoritarian_government = yes
			}
		}
		trigger = {
			FROM = {
				OR = {
					has_idea = tno_conscription_scraping_the_barrel
					has_idea = tno_conscription_all_adults_serve
					has_idea = tno_conscription_service_by_requirement
				}
			}
		}
		tno_max_workhours_worsen = yes
		TNO_improve_max_workhours_policy_effectiveness_high = yes
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
	}
	option = { # Nah
		name = ARC.26.b
		ai_chance = { factor = 3 }
	}
	option = { # Stockpile equipment just in case
		name = ARC.26.c
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				has_democratic_government = yes
			}
		}
		
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 3500
		}
	}
}

country_event = { # The problem of equipment
	id = ARC.27
	title = ARC.27.t
	desc = ARC.27.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.27"}

	option = { # work with the congress
		name = ARC.27.a
		ai_chance = { factor = 1.5 }
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
		every_country = {
			limit = { has_country_flag = joined_ARC }
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 1500
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment
				amount = 100
			}
		}
	}
	option = { # dont work with the congress
		name = ARC.27.b
		ai_chance = {
			factor = 2
			modifier = {
				add = -1
				check_variable = { global.ARC_unity < -3 }
			}
		}
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 3000
		}
		add_equipment_to_stockpile = {
			type = anti_tank_equipment
			amount = 200
		}
		add_equipment_to_stockpile = {
			type = artillery_equipment
			amount = 120
		}
	}
}

country_event = { # The problem of labor
	id = ARC.28
	title = ARC.28.t
	desc = ARC.28.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.28"}

	option = { # work with the congress
		name = ARC.28.a
		ai_chance = { factor = 1.5 }
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
		custom_effect_tooltip = ARC_increase_industrial_expertise
		hidden_effect = {
			every_country = {
				limit = { has_country_flag = joined_ARC }
				add_to_variable = { industrial_expertise_counter = 60 }
			}
		}
	}
	option = { # dont work with the congress
		name = ARC.28.b
		ai_chance = {
			factor = 2
			modifier = {
				add = -1
				check_variable = { global.ARC_unity < -3 }
			}
		}
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
		add_to_variable = { industrial_expertise_counter = 100 }
		TNO_improve_industrial_expertise_med = yes #coded with a script
	}
}

country_event = { # Improving the ARC recruitment
	id = ARC.29
	title = ARC.29.t
	desc = ARC.29.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.29"}

	option = { # Use fair methods
		name = ARC.29.a
		ai_chance = { factor = 1.5 }
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
		every_country = {
			limit = { has_country_flag = joined_ARC }
			add_manpower = 5000
		}
	}
	option = { # Pull volunteers to our faction
		name = ARC.29.b
		ai_chance = {
			factor = 2
			modifier = {
				add = -1
				check_variable = { global.ARC_unity < -3 }
			}
		}
		add_manpower = 12000
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
	}
}

country_event = { # Switch to the ARC tree?
	id = ARC.30
	title = ARC.30.t
	desc = ARC.30.desc
	picture = GFX_report_event_black_legion

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.30"}

	option = { # yes
		name = ARC.30.a
		if = {
			limit = { has_socialist_government = yes }
			load_focus_tree = {
				tree = ARC_socialist
				keep_completed = yes
			}
		}
		if = {
			limit = { has_elected_government = yes }
			load_focus_tree = {
				tree = ARC_democratic
				keep_completed = yes
			}
		}
		if = {
			limit = { has_authoritarian_government = yes }
			load_focus_tree = {
				tree = ARC_nationalist
				keep_completed = yes
			}
		}
	}
	option = { # no
		name = ARC.30.b
		ai_chance = { factor = 0 }
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
	}
}

country_event = { # Brawl between soldiers
	id = ARC.31
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.31"}
	title = ARC.31.t
	desc = ARC.31.desc
	#picture = 

	is_triggered_only = yes

	option = { # Yes
		name = ARC.31.a
		ai_chance = { factor = 1 }
		add_manpower = -22
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
	}
}

country_event = { # Bombing during congress assembly
	id = ARC.32
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.32"}
	title = ARC.32.t
	desc = ARC.32.desc
	#picture = 

	is_triggered_only = yes

	option = { #
		name = ARC.32.a
		ai_chance = { factor = 1 }
		capital_scope = {
			damage_building = {
				type = infastructure
				damage = 1
			}
		}
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
	}
}

country_event = { # Politician speaks out in favor of ARC
	id = ARC.33
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.33"}
	title = ARC.33.t
	desc = ARC.33.desc
	#picture = 

	is_triggered_only = yes

	option = { #
		name = ARC.33.a
		ai_chance = { factor = 1 }
		add_political_power = 25
		custom_effect_tooltip = ARC_unity_decrease
		add_to_variable = { global.ARC_unity = 1 }
	}
}

country_event = { # The ARC collapses during war time
	id = ARC.34
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.34"}
	title = ARC.34.t
	desc = ARC.34.desc
	#picture =

	is_triggered_only = yes

	option = { # Damn
		name = ARC.34.a
		trigger = {
			NOT = {
				has_country_flag = ARC_leader
			}
		}
		leave_faction = yes
		clr_country_flag = joined_ARC
		ai_chance = { factor = 1 }
	}
	option = { # Damn
		name = ARC.34.a
		ai_chance = { factor = 1 }
		trigger = {
			has_country_flag = ARC_leader
		}
		dismantle_faction = yes
		hidden_effect = {
			every_country = {
				limit = {
					has_idea = GGR_FAR_EAST_SURRENDER
				}
				remove_ideas = GGR_FAR_EAST_SURRENDER
			}
			every_country = {
				news_event = { id = WORLD.569 days = 3 }
			}
		}
		clr_global_flag = RUS_all_russian_congress
		clr_country_flag = joined_ARC
		clr_country_flag = ARC_leader
		clear_global_event_target = ARC_leader
	}
}

country_event = { # The ARC collapses post war time
	id = ARC.36
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.36"}
	title = ARC.36.t
	desc = ARC.36.desc
	#picture =

	is_triggered_only = yes

	option = { # Damn
		name = ARC.36.a
		trigger = {
			NOT = {
				has_country_flag = ARC_leader
			}
		}
		ai_chance = { factor = 1 }
		clr_country_flag = ARC_leader
	}
	option = { # Damn
		name = ARC.36.a
		ai_chance = { factor = 1 }
		trigger = {
			has_country_flag = ARC_leader
		}
		dismantle_faction = yes
		clr_global_flag = RUS_all_russian_congress
		clr_country_flag = joined_ARC
		clr_country_flag = ARC_leader
		clear_global_event_target = ARC_leader
	}
}

country_event = { # ARC exists check event
	id = ARC.38
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.38"}
	title = ARC.38.t
	desc = ARC.38.desc
	#picture =

	is_triggered_only = yes
	hidden = yes

	option = { #
		name = ARC.38.a
		if = {
			limit = {
				has_country_flag = joined_ARC
			}
			country_event = { id = ARC.39 }
		}
	}
}

country_event = { # Opening speech of the ARC
	id = ARC.39
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.39"}
	title = ARC.39.t
	desc = ARC.39.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { # Equality
		name = ARC.39.a
		ai_chance = { factor = 3 }
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.40 days = 1 }
		}
	}
	option = { # Unity
		name = ARC.39.b
		ai_chance = { factor = 1 }
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.41 days = 1 }
		}
	}
}

country_event = { # Opening speech on equality between nations
	id = ARC.40
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.40"}
	title = ARC.40.t
	desc = ARC.40.desc
	#picture =

	is_triggered_only = yes

	option = { # Whatever
		name = ARC.40.a
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				event_target:RUS_western_unifier = {
					original_tag = ROOT
				}
			}
		}
		if = {
			limit = { has_country_flag = ARC_leader }
			country_event = { id = ARC.53 days = 1 }
		}
	}
	option = { # Raise the issue of votes
		name = ARC.40.b
		ai_chance = { factor = 1 }
		trigger = {
			event_target:RUS_western_unifier = {
				original_tag = ROOT
				NOT = {
					has_country_flag = ARC_leader
				}
			}
		}
		event_target:ARC_leader = {
			country_event = { id = ARC.42 days = 1 }
			country_event = { id = ARC.54 days = 3 }
		}
	}
}

country_event = { # Opening speech focuses on unity
	id = ARC.41
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.41"}
	title = ARC.41.t
	desc = ARC.41.desc
	#picture =

	is_triggered_only = yes

	option = { # He is right
		name = ARC.41.a
		ai_chance = {
			factor = 1
			modifier = {
				add = 3
				event_target:ARC_leader = {
					same_government_type_as_ROOT = yes
				}
			}
		}
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
	}
	option = { # Whatever
		name = ARC.41.b
		ai_chance = { factor = 2 }
	}
	option = { # He is wrong
		name = ARC.41.c
		ai_chance = { factor = 2 }
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
	}
}

country_event = { # The issue of votes is raised
	id = ARC.42
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.42"}
	title = ARC.42.t
	desc = ARC.42.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { # Ignore it
		name = ARC.42.a
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				check_variable = { global.ARC_unity < -3 }
			}
		}
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
		country_event = { id = ARC.53 days = 1 }
	}
	option = { # let them take the stage
		name = ARC.42.a
		ai_chance = { factor = 1 }
		event_target:RUS_western_unifier = {
			country_event = { id = ARC.43 }
		}
	}
}

country_event = { # What will we talk about in our speech
	id = ARC.43
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.43"}
	title = ARC.43.t
	desc = ARC.43.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { # All should be represented equally through voting
		name = ARC.43.a
		ai_chance = {
			factor = 1
			modifier = {
				add = 1
				has_democratic_government = yes
			}
		}
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.44 days = 1 }
		}
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
	}
	option = { # Demand votes based around population
		name = ARC.43.b
		ai_chance = {
			factor = 3
			modifier = {
				add = -2.5
				NOT = {
					event_target:RUS_western_unifier = {
						original_tag = ROOT
					}
				}
			}
		}
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.45 }
		}
	}
	option = { # approach the far east unifier
		name = ARC.43.c
		trigger = {
			has_event_target = RUS_far_east_unifier
			NOT = {
				has_global_flag = ARC_spoils_issue_done
				event_target:RUS_far_east_unifier = {
					original_tag = ROOT
				}
			}
		}
		ai_chance = {
			factor = 1
			modifier = {
				add = 3
				event_target:RUS_far_east_unifier = {
					same_government_type_as_ROOT = yes
				}
			}
		}
		event_target:RUS_far_east_unifier = {
			country_event = { id = ARC.51 days = 1 }
		}
	}
}

country_event = { # speeches about equal representation
	id = ARC.44
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.44"}
	title = ARC.44.t
	desc = ARC.44.desc
	#picture =

	is_triggered_only = yes

	option = { # Unexpected
		name = ARC.44.a
		ai_chance = { factor = 1 }
		if = {
			limit = { has_country_flag = ARC_leader }
			country_event = { id = ARC.53 days = 1 }
		}
		set_global_flag = ARC_voting_issue_done
	}
}

country_event = { # Western unifier calls for votes based on population
	id = ARC.45
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.45"}
	title = ARC.45.t
	desc = ARC.45.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { # We await the choice of the leader
		name = ARC.45.a
		ai_chance = { factor = 1 }
		trigger = {
			NOT = {
				has_country_flag = ARC_leader
			}
		}
	}
	option = { # Ignore them
		name = ARC.45.b
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				check_variable = { global.ARC_unity < -3 }
			}
		}
		trigger = {
			has_country_flag = ARC_leader
			NOT = {
				event_target:RUS_western_unifier = {
					original_tag = ROOT
				}
			}
		}
		event_target:RUS_western_unifier = {
			country_event = { id = ARC.46 }
		}
		country_event = { id = ARC.53 days = 1 }
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
	}
	option = { # Let the vote take place
		name = ARC.45.c
		ai_chance = { factor = 2 }
		trigger = {
			has_country_flag = ARC_leader
		}
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.47 days = 1 }
		}
		hidden_effect = {
			country_event = { id = ARC.48 days = 3 }
		}
	}
}

country_event = { # Our voting issue is ignored
	id = ARC.46
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.46"}
	title = ARC.46.t
	desc = ARC.46.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { #
		name = ARC.46.a
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				check_variable = { global.ARC_unity < -3 }
			}
		}
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
	}
}

country_event = { # Vote on voting
	id = ARC.47
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.47"}
	title = ARC.47.t
	desc = ARC.47.desc
	#picture =

	is_triggered_only = yes

	option = { # We vote in favor
		name = ARC.47.a
		ai_chance = {
			factor = 1
			modifier = {
				add = 3
				event_target:RUS_western_unifier = {
					same_government_type_as_ROOT = yes
				}
			}
		}
		custom_effect_tooltip = ARC_voting_tooltip
		add_to_variable = { global.ARC_yes_votes = ARC_personal_votes }
		clr_country_flag = ARC_far_east_deal_declined
	}
	option = { # We vote against
		name = ARC.47.b
		ai_chance = {
			factor = 4
			modifier = {
				factor = 0
				event_target:RUS_western_unifier = {
					original_tag = ROOT
					NOT = {
						has_country_flag = ARC_leader
					}
				}
			}
			modifier = {
				factor = 3
				has_country_flag = ARC_far_east_deal_declined
			}
		}
		custom_effect_tooltip = ARC_voting_tooltip
		add_to_variable = { global.ARC_no_votes = ARC_personal_votes }
		clr_country_flag = ARC_far_east_deal_declined
	}
	option = { # Abstain
		ai_chance = { factor = 1 }
		name = ARC.47.c
		clr_country_flag = ARC_far_east_deal_declined
	}
}

country_event = { # Counting the votes
	id = ARC.48
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.48"}
	title = ARC.48.t
	desc = ARC.48.desc
	#picture =

	is_triggered_only = yes
	hidden = yes

	option = { #
		name = ARC.48.a
		ai_chance = { factor = 1 }
		if = {
			limit = { check_variable = { global.ARC_yes_votes > global.ARC_no_votes } }
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.49 }
			}
			ARC_succes_post_vote_effects = yes
		}
		else = {
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.50 }
			}
			ARC_failure_post_vote_effects = yes
		}
		set_global_flag = ARC_voting_issue_done
	}
}

country_event = { # The vote succeeds
	id = ARC.49
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.49"}
	title = ARC.49.t
	desc = ARC.49.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { #
		name = ARC.49.a
		ai_chance = { factor = 1 }
		event_target:RUS_western_unifier = {
			set_variable = { ARC_personal_votes = 3 }
		}
	}
}

country_event = { # The vote fails
	id = ARC.50
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.50"}
	title = ARC.50.t
	desc = ARC.50.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { #
		name = ARC.50.a
		ai_chance = { factor = 1 }
	}
}

country_event = { # West russia gives us a deal
	id = ARC.51
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.51"}
	title = ARC.51.t
	desc = ARC.51.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { # Accept
		name = ARC.51.a
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				event_target:RUS_western_unifier = {
					same_government_type_as_ROOT = yes
				}
			}
			modifier = {
				factor = 0
				NOT = {
					event_target:RUS_western_unifier = {
						original_tag = FROM
					}
				}
			}
		}
		set_country_flag = ARC_far_east_deal_accepted
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.52 days = 1 }
		}
		set_global_flag = ARC_voting_issue_done
	}
	option = { # decline
		name = ARC.51.b
		ai_chance = { factor = 5 }
		set_country_flag = ARC_far_east_deal_declined
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.45 days = 1 }
		}
	}
}

country_event = { # Unnanounced speech about the spoils of war
	id = ARC.52
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.52"}
	title = ARC.52.t
	desc = ARC.52.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { #
		name = ARC.52.a
		trigger = {
			NOT = {
				has_country_flag = ARC_leader
			}
		}
		ai_chance = { factor = 1 }
	}
	option = { # Shut it down
		name = ARC.52.a
		trigger = {
			has_country_flag = ARC_leader
		}
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				check_variable = { global.ARC_unity < -3 }
			}
		}
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
		country_event = { id = ARC.53 days = 1 }
	}
	option = { # Let it pass
		name = ARC.52.a
		trigger = {
			has_country_flag = ARC_leader
		}
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				check_variable = { global.ARC_unity < -3 }
			}
		}
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
		add_to_variable = { ARC_issues_cleared = 1 }
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.62 days = 1 }
		}
	}
}

country_event = { # The next issue post voting issue, sort of
	id = ARC.53
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.53"}
	title = ARC.53.t
	desc = ARC.53.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes
	immediate = {
		hidden_effect = {
			add_to_variable = { ARC_issues_cleared = 1 }
		}
	}
	option = { # Generals
		name = ARC.53.a
		trigger = {
			NOT = { check_variable = { ARC_issues_cleared = 3 } }
			NOT = { has_global_flag = ARC_generals_issue_done }
			check_variable = { global.ARC_unity > -3 }
		}
		ai_chance = { factor = 2 }
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.54 days = 1 }
		}
	}
	option = { # spoils
		name = ARC.53.b
		trigger = {
			NOT = { check_variable = { ARC_issues_cleared = 3 } }
			NOT = { has_global_flag = ARC_spoils_issue_done }
			check_variable = { global.ARC_unity > -3 }
		}
		ai_chance = { factor = 2 }
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.61 days = 1 }
		}
	}
	option = { # Voting
		name = ARC.53.c
		trigger = {
			NOT = { check_variable = { ARC_issues_cleared = 3 } }
			NOT = { has_global_flag = ARC_voting_issue_done }
			check_variable = { global.ARC_unity > -3 }
		}
		if = {
			limit = {
				event_target:RUS_western_unifier = {
					has_country_flag = joined_ARC
				}
			}
			country_event = { id = ARC.43 days = 1 }
		}
		else = {
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.44 days = 1 }
			}
		}
		ai_chance = { factor = 2 }
	}
	option = { # Unification
		name = ARC.53.d
		trigger = {
			NOT = { check_variable = { ARC_issues_cleared = 3 } }
			NOT = { has_global_flag = ARC_unification_issue_done }
			check_variable = { global.ARC_unity > -3 }
		}
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				check_variable = { global.ARC_unity > 2 }
			}
		}
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.80 days = 1 }
		}
	}
	option = { # cancel it all
		name = ARC.53.e
		trigger = {
			NOT = { check_variable = { ARC_issues_cleared = 3 } }
			check_variable = { global.ARC_unity < -2 }
		}
		ARC_congress_disolve = yes
	}
	option = { # Time is up people
		name = ARC.53.f
		trigger = {
			check_variable = { ARC_issues_cleared = 3 }
		}
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.66 days = 1 }
		}
		every_country = {
			news_event = { id = WORLD.570 days = 4 }
		}
		clear_variable = global.ARC_warlords_left
		clear_variable = global.ARC_unity
		clr_global_flag = ARC_spoils_issue_done
		clr_global_flag = ARC_generals_issue_done
		clr_global_flag = ARC_spoils_issue_done
		clr_global_flag = ARC_unification_issue_done
		clr_global_flag = RUS_all_russian_congress
		clr_global_flag = ARC_post_war_conference
	}
}

country_event = { # The case of a certain general
	id = ARC.54
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.54"}
	title = ARC.54.t
	desc = ARC.54.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	immediate = {
		hidden_effect = {
			random_country = {
				limit = {
					has_country_flag = joined_ARC
					has_country_flag = RUS_regional_stage
					NOT = {
						has_country_flag = ARC_leader
					}
				}
				save_global_event_target_as = ARC_accused_country
			}
			set_global_flag = ARC_generals_issue_done
		}
	}

	option = { # Will there even be a response?
		name = ARC.54.a
		trigger = {
			event_target:ARC_accused_country = {
				NOT = {
					original_tag = ROOT
				}
			}
		}
		ai_chance = { factor = 1 }
	}
	option = { # Keep quiet
		name = ARC.54.a
		trigger = {
			event_target:ARC_accused_country = {
				original_tag = ROOT
			}
		}
		ai_chance = { factor = 1 }
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.56 days = 1 }
		}
	}
	option = { # Accuse other of also being uncooperative
		name = ARC.54.a
		trigger = {
			event_target:ARC_accused_country = {
				original_tag = ROOT
			}
		}
		ai_chance = { factor = 3 }
		custom_effect_tooltip = ARC_unity_decrease
		add_to_variable = { global.ARC_unity = 1 }
		set_global_flag = ARC_desperate_defense
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.55 days = 1 }
		}
		hidden_effect = {
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.56 days = 2 }
			}
			country_event = { id = ARC.57 days = 4 }
		}
	}
	option = { # Leave the congress
		name = ARC.54.a
		trigger = {
			event_target:ARC_accused_country = {
				original_tag = ROOT
			}
		}
		ai_chance = {
			factor = -2
			modifier = {
				add = 2
				check_variable = { global.ARC_unity < 0 }
			}
		}
		ARC_warlord_leaves_effects = yes
		hidden_effect = {
			if = {
				limit = { check_variable = { global.ARC_warlords_left < 2 } }
				every_country = {
					limit = { has_country_flag = joined_ARC }
					country_event = { id = ARC.60 days = 1 }
				}
				event_target:ARC_leader = {
					country_event = { id = ARC.53 days = 2 }
				}
			}
		}
	}
}

country_event = { # We are accused of also not being cooperative
	id = ARC.55
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.55"}
	title = ARC.55.t
	desc = ARC.55.desc
	#picture =

	is_triggered_only = yes

	option = { # Take that
		trigger = {
			event_target:ARC_accused_country = {
				original_tag = ROOT
			}
		}
	}
	option = { # He is right
		name = ARC.55.a
		trigger = {
			event_target:ARC_accused_country = {
				NOT = {
					original_tag = ROOT
				}
			}
		}
		ai_chance = { factor = 1 }
	}
	option = { # That does not justify your own stuborness
		name = ARC.55.b
		trigger = {
			event_target:ARC_accused_country = {
				NOT = {
					original_tag = ROOT
				}
			}
		}
		ai_chance = { factor = 1 }
	}
}

country_event = { # Vote on punishing the warlord
	id = ARC.56
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.56"}
	title = ARC.56.t
	desc = ARC.56.desc
	#picture =

	is_triggered_only = yes

	option = { # We vote in favor
		name = ARC.56.a
		ai_chance = {
			factor = 4
			modifier = {
				add = -2
				event_target:ARC_accused_country = {
					same_government_type_as_ROOT = yes
				}
			}
			modifier = {
				factor = 0
				event_target:ARC_accused_country = {
					original_tag = ROOT
				}
			}
		}
		custom_effect_tooltip = ARC_voting_tooltip
		add_to_variable = { global.ARC_yes_votes = ARC_personal_votes }
		clr_country_flag = ARC_far_east_deal_declined
	}
	option = { # We vote against
		name = ARC.56.b
		ai_chance = {
			factor = 2
		}
		custom_effect_tooltip = ARC_voting_tooltip
		add_to_variable = { global.ARC_no_votes = ARC_personal_votes }
		clr_country_flag = ARC_far_east_deal_declined
	}
	option = { # Abstain
		ai_chance = { factor = 2 }
		name = ARC.56.c
		clr_country_flag = ARC_far_east_deal_declined
	}
}

country_event = { # Hidden vote counter
	id = ARC.57
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.57"}
	title = ARC.57.t
	desc = ARC.57.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes
	hidden = yes

	option = { #
		name = ARC.57.a
		ai_chance = { factor = 1 }
		if = {
			limit = { check_variable = { global.ARC_yes_votes > global.ARC_no_votes } }
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.58 }
			}
			ARC_succes_post_vote_effects = yes
		}
		else = {
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.59 }
			}
			ARC_failure_post_vote_effects = yes
		}
	}
}

country_event = { # Vote succeeds
	id = ARC.58
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.58"}
	title = ARC.58.t
	desc = ARC.58.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = ARC.58.a
		ai_chance = { factor = 2 }
		event_target:ARC_accused_country = {
			if = {
				limit = { original_tag = ROOT }
				random_unit_leader = {
					limit = {
						NOT = {
							has_trait = politically_shunned
						}
					}
					add_unit_leader_trait = politically_shunned
				}
				set_country_flag = ARC_general_accused
				clear_global_event_target = ARC_accused_country
			}
		}
		if = {
			limit = { has_country_flag = ARC_leader }
			country_event = { id = ARC.53 days = 1 }
		}
	}
	option = { # Apply similar treatment to another warlord
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				check_variable = { global.ARC_unity > 2 }
			}
		}
		trigger = { has_country_flag = ARC_leader }
		every_country = {
			limit = { has_country_flag = joined_ARC }
			country_event = { id = ARC.76 days = 1 }
		}
		hidden_effect = {
			country_event = { id = ARC.77 days = 1 }
		}
	}
}

country_event = { # Vote fails
	id = ARC.59
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.59"}
	title = ARC.59.t
	desc = ARC.59.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = ARC.59.a
		ai_chance = { factor = 1 }
		if = {
			limit = { has_country_flag = ARC_leader }
			country_event = { id = ARC.53 days = 1 }
		}
	}
}

country_event = { # Accused warlords leaves the congress
	id = ARC.60
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.60"}
	title = ARC.60.t
	desc = ARC.60.desc
	#picture =

	is_triggered_only = yes

	option = { # Oh
		name = ARC.60.a
		ai_chance = { factor = 1 }
		if = {
			limit = { has_country_flag = ARC_leader }
			country_event = { id = ARC.53 days = 1 }
		}
	}
}

country_event = { # Speech about spoils arises
	id = ARC.61
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.61"}
	title = ARC.61.t
	desc = ARC.61.desc
	#picture =

	is_triggered_only = yes

	option = { # Put it to a vote!
		name = ARC.61.a
		ai_chance = { factor = 1 }
		set_global_flag = ARC_spoils_issue_done
		if = {
			limit = { has_country_flag = ARC_leader }
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.62 days = 1 }
			}
		}
		hidden_effect = {
			country_event = { id = ARC.63 days = 3 }
		}
	}
}

country_event = { # Vote for spoils distrubtion
	id = ARC.62
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.62"}
	title = ARC.62.t
	desc = ARC.62.desc
	#picture =

	is_triggered_only = yes

	option = { # War damage
		name = ARC.62.a
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				event_target:RUS_western_unifier = {
					original_tag = ROOT
				}
			}
			modifier = {
				add = 1
				event_target:RUS_kazakhstan_unifier = {
					original_tag = ROOT
				}
			}
			modifier = {
				add = 1
				event_target:RUS_west_siberia_unifier = {
					original_tag = ROOT
				}
			}
		}
		custom_effect_tooltip = ARC_voting_tooltip
		add_to_variable = { global.ARC_yes_votes = ARC_personal_votes }
	}
	option = { # Equal
		name = ARC.62.b
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				event_target:RUS_far_east_unifier = {
					original_tag = ROOT
				}
			}
			modifier = {
				add = 2
				event_target:RUS_central_siberia_unifier = {
					original_tag = ROOT
				}
			}
		}
		custom_effect_tooltip = ARC_voting_tooltip
		add_to_variable = { global.ARC_no_votes = ARC_personal_votes }
	}
	option = { # Abstain
		name = ARC.62.c
		ai_chance = { factor = 1 }
	}
}

country_event = { # Vote counting
	id = ARC.63
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.63"}
	title = ARC.63.t
	desc = ARC.63.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { #
		name = ARC.57.a
		ai_chance = { factor = 1 }
		if = {
			limit = { check_variable = { global.ARC_yes_votes > global.ARC_no_votes } }
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.67 }
			}
			ARC_succes_post_vote_effects = yes
		}
		else = {
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.68 }
			}
			ARC_failure_post_vote_effects = yes
		}
	}
}

country_event = { # Based on war participation
	id = ARC.64
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.64"}
	title = ARC.64.t
	desc = ARC.64.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = ARC.64.a
		ai_chance = { factor = 1 }
		if = {
			limit = { event_target:RUS_western_unifier = { original_tag = ROOT } }
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 2000
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = artillery_equipment_3
				amount = 300
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment
				amount = 500
				producer = GER
			}
		}
		if = {
			limit = { event_target:RUS_west_siberia_unifier = { original_tag = ROOT } }
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 1000
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = artillery_equipment_3
				amount = 150
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment
				amount = 300
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = APC_chassis
				amount = 40
				producer = GER
			}
		}
		if = {
			limit = { event_target:RUS_central_siberia_unifier = { original_tag = ROOT } }
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 800
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = artillery_equipment_3
				amount = 100
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment
				amount = 150
				producer = GER
			}
		}
		if = {
			limit = { event_target:RUS_far_east_unifier = { original_tag = ROOT } }
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 800
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = artillery_equipment_3
				amount = 80
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment
				amount = 100
				producer = GER
			}
		}
		if = {
			limit = { event_target:RUS_kazakhstan_unifier = { original_tag = ROOT } }
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 1000
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = artillery_equipment_3
				amount = 150
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment
				amount = 300
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = APC_chassis
				amount = 40
				producer = GER
			}
		}
		if = {
			limit = { has_country_flag = ARC_leader }
			country_event = { id = ARC.53 days = 1 }
		}
	}
}

country_event = { # Equal distribution
	id = ARC.65
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.65"}
	title = ARC.65.t
	desc = ARC.65.desc
	#picture =

	is_triggered_only = yes

	option = { # Wooh
		name = ARC.65.a
		ai_chance = { factor = 1 }
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 2000
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = artillery_equipment_3
			amount = 150
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = anti_tank_equipment
			amount = 250
			producer = GER
		}
		set_country_flag = ARC_equal_equipment
		if = {
			limit = { has_country_flag = ARC_leader }
			country_event = { id = ARC.53 days = 1 }
		}
	}
}

country_event = { # The congress is over
	id = ARC.66
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.66"}
	title = ARC.66.t
	desc = ARC.66.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = ARC.66.a
		ai_chance = { factor = 1 }
	}
}

country_event = { # Equal distribution, give equipment?
	id = ARC.67
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.67"}
	title = ARC.67.t
	desc = ARC.67.desc
	#picture =

	is_triggered_only = yes

	option = { # Yes
		name = ARC.67.a
		ai_chance = {
			factor = 4
			modifier = {
				add = 2
				check_variable = { global.ARC_unity > 2 }
			}
		}
	}
	option = { # No
		name = ARC.67.b
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				event_target:RUS_far_east_unifier = {
					original_tag = ROOT
				}
			}
			modifier = {
				add = 2
				event_target:RUS_central_siberia_unifier = {
					original_tag = ROOT
				}
			}
			modifier = {
				factor = 2
				has_dictatorship_government = yes
			}
		}
		set_country_flag = ARC_kept_equipment
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 1000
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = artillery_equipment_3
			amount = 150
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = anti_tank_equipment
			amount = 300
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = APC_chassis
			amount = 40
			producer = GER
		}
		hidden_effect = {
			if = {
				limit = { has_country_flag = ARC_leader }
				every_country = {
					limit = { has_country_flag = joined_ARC }
					country_event = { id = ARC.70 days = 1 }
				}
			}
			else = {
				event_target:ARC_leader = {
					country_event = { id = ARC.75 days = 1 }
				}
			}
		}
	}
}

country_event = { # Based on war participation, give equipment?
	id = ARC.68
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.68"}
	title = ARC.68.t
	desc = ARC.68.desc
	#picture =

	is_triggered_only = yes

	option = { # Yes
		name = ARC.68.a
		ai_chance = {
			factor = 4
			modifier = {
				add = 2
				check_variable = { global.ARC_unity > 2 }
			}
		}
	}
	option = { # No
		name = ARC.68.b
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				event_target:RUS_western_unifier = {
					original_tag = ROOT
				}
			}
			modifier = {
				add = 1
				event_target:RUS_west_siberia_unifier = {
					original_tag = ROOT
				}
			}
			modifier = {
				factor = 2
				has_dictatorship_government = yes
			}
		}
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
		set_country_flag = ARC_kept_equipment
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 1000
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = artillery_equipment_3
			amount = 150
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = anti_tank_equipment
			amount = 300
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = APC_chassis
			amount = 40
			producer = GER
		}
		hidden_effect = {
			if = {
				limit = { has_country_flag = ARC_leader }
				every_country = {
					limit = { has_country_flag = joined_ARC }
					country_event = { id = ARC.70 days = 1 }
				}
			}
			else = {
				country_event = { id = ARC.75 days = 1 }
			}
		}
	}
}

country_event = { # A warlord refuses to give equipment, call to kick him out?
	id = ARC.69
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.69"}
	title = ARC.69.t
	desc = ARC.69.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { # Yes
		name = ARC.69.a
		ai_chance = { factor = 1 }
		every_country = {
			limit = {
				has_country_flag = joined_ARC
				NOT = {
					has_country_flag = ARC_kept_equipment
				}
			}
			country_event = { id = ARC.71 days = 1 }
		}
		hidden_effect = {
			country_event = { id = ARC.72 days = 3 }
			FROM = {
				save_global_event_target_as = ARC_accused_country
			}
		}
	}
	option = { # No
		name = ARC.69.b
		every_country = {
			limit = {
				has_country_flag = joined_ARC
				NOT = {
					has_country_flag = ARC_kept_equipment
				}
			}
			if = {
				limit = { has_country_flag = ARC_equal_equipment }
				country_event = { id = ARC.65 days = 1 }
			}
			else = {
				country_event = { id = ARC.64 days = 1 }
			}
		}
	}
}

country_event = { # The ARC leader does not give equipment and everything goes to shit
	id = ARC.70
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.70"}
	title = ARC.70.t
	desc = ARC.70.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = ARC.70.a
		ai_chance = { factor = 1 }
		if = {
			limit = { has_country_flag = ARC_leader }
			ARC_congress_disolve = yes
		}
	}
}

country_event = { # Vote to kick a warlord out
	id = ARC.71
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.71"}
	title = ARC.71.t
	desc = ARC.71.desc
	#picture =

	is_triggered_only = yes

	option = { # Yes
		name = ARC.71.a
		ai_chance = {
			factor = 3
			modifier = {
				add = 1
				check_variable = { global.ARC_unity > 2 }
			}
		}
		custom_effect_tooltip = ARC_voting_tooltip
		add_to_variable = { global.ARC_yes_votes = ARC_personal_votes }
	}
	option = { # No
		name = ARC.71.b
		ai_chance = {
			factor = 1
			modifier = {
				add = 3
				has_country_flag = ARC_kept_equipment
			}
			modifier = {
				add = 2
				event_target:ARC_accused_country = {
					same_government_type_as_ROOT = yes
				}
			}
		}
		custom_effect_tooltip = ARC_voting_tooltip
		add_to_variable = { global.ARC_no_votes = ARC_personal_votes }
	}
	option = { # Abstain
		name = ARC.71.c
		ai_chance = { factor = 1 }
	}
}

country_event = { # hidden vote counter
	id = ARC.72
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.72"}
	title = ARC.72.t
	desc = ARC.72.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { #
		name = ARC.72.a
		ai_chance = { factor = 1 }
		if = {
			limit = { check_variable = { global.ARC_yes_votes > global.ARC_no_votes } }
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.73 }
			}
			ARC_succes_post_vote_effects = yes
		}
		else = {
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.74 }
			}
			ARC_failure_post_vote_effects = yes
		}
	}
}

country_event = { # Warlord kicked out
	id = ARC.73
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.73"}
	title = ARC.73.t
	desc = ARC.73.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { #
		name = ARC.73.a
		ai_chance = { factor = 1 }
		trigger = { NOT = { has_country_flag = ARC_kept_equipment } }
		custom_effect_tooltip = ARC_unity_increase
		add_to_variable = { global.ARC_unity = 1 }
		if = {
			limit = { has_country_flag = ARC_leader }
			country_event = { id = ARC.53 days = 1 }
		}
	}
	option = {
		name = ARC.73.b
		ai_chance = { factor = 1 }
		trigger = {
			has_country_flag = ARC_kept_equipment
			NOT = {
				event_target:ARC_accused_country = { original_tag = ROOT }
			}
		}
	}
	option = {
		name = ARC.73.c
		trigger = { event_target:ARC_accused_country = { original_tag = ROOT } }
		clear_global_event_target = ARC_accused_country
		ARC_warlord_leaves_effects = yes
	}
}

country_event = { # Warlord stays in
	id = ARC.74
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.74"}
	title = ARC.74.t
	desc = ARC.74.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { #
		name = ARC.74.a
		trigger = { NOT = { has_country_flag = ARC_kept_equipment } }
		ai_chance = { factor = 1 }
		custom_effect_tooltip = ARC_unity_decrease
		subtract_from_variable = { global.ARC_unity = 1 }
		if = {
			limit = { has_country_flag = ARC_leader }
			country_event = { id = ARC.53 days = 1 }
		}
	}
	option = {
		name = ARC.73.b
		trigger = { has_country_flag = ARC_kept_equipment }
		ai_chance = { factor = 1 }
	}
}

country_event = { # Hidden checker event
	id = ARC.75
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.75"}
	title = ARC.75.t
	desc = ARC.75.desc
	#picture =

	is_triggered_only = yes
	hidden = yes

	option = { #
		name = ARC.75.a
		ai_chance = { factor = 1 }
		if = {
			limit = { has_global_flag = RUS_all_russian_congress }
			event_target:ARC_leader = {
				country_event = { id = ARC.69 days = 1 }
			}
		}
	}
}

country_event = { # Vote to punish another warlord
	id = ARC.76
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.76"}
	title = ARC.76.t
	desc = ARC.76.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	immediate = {
		hidden_effect = {
			random_country = {
				limit = {
					has_country_flag = joined_ARC
					has_country_flag = RUS_regional_stage
					NOT = {
						has_country_flag = ARC_general_accused
						has_country_flag = ARC_leader
					}
				}
				save_global_event_target_as = ARC_accused_country
			}
		}
	}

	option = { # Yes
		name = ARC.76.a
		ai_chance = {
			factor = 2
			modifier = {
				add = 1
				check_variable = { global.ARC_unity > 2 }
			}
			modifier = {
				factor = 2
				has_country_flag = ARC_general_accused
			}
		}
		custom_effect_tooltip = ARC_voting_tooltip
		add_to_variable = { global.ARC_yes_votes = ARC_personal_votes }
	}
	option = { # No
		name = ARC.76.b
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				event_target:ARC_accused_country = {
					same_government_type_as_ROOT = yes
				}
			}
		}
		custom_effect_tooltip = ARC_voting_tooltip
		add_to_variable = { global.ARC_no_votes = ARC_personal_votes }
	}
	option = { # Abstain
		name = ARC.76.c
		ai_chance = { factor = 1 }
	}
}

country_event = { # Hidden vote counter
	id = ARC.77
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.77"}
	title = ARC.77.t
	desc = ARC.77.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes
	hidden = yes

	option = { #
		name = ARC.77.a
		ai_chance = { factor = 1 }
		if = {
			limit = { check_variable = { global.ARC_yes_votes > global.ARC_no_votes } }
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.78 }
			}
			ARC_succes_post_vote_effects = yes
		}
		else = {
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.79 }
			}
			ARC_failure_post_vote_effects = yes
		}
	}
}

country_event = { # More punishments
	id = ARC.78
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.78"}
	title = ARC.78.t
	desc = ARC.78.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { #
		name = ARC.78.a
		ai_chance = { factor = 1 }
		trigger = {
			NOT = {
				event_target:ARC_accused_country = {
					original_tag = ROOT
				}
			}
		}
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 750
		}
		if = {
			limit = { has_country_flag = ARC_leader }
			custom_effect_tooltip = ARC_unity_decrease
			subtract_from_variable = { global.ARC_unity = 1 }
			country_event = { id = ARC.53 days = 1 }
		}
		if = {
			limit = { has_country_flag = ARC_general_accused }
			clr_country_flag = ARC_general_accused
		}
	}
	option = {
		name = ARC.78.b
		ai_chance = { factor = 1 }
		trigger = {
			event_target:ARC_accused_country = {
				original_tag = ROOT
			}
		}
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = -3000
		}
		clear_global_event_target = ARC_accused_country
	}
}

country_event = { # Punishments averted
	id = ARC.79
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.79"}
	title = ARC.79.t
	desc = ARC.79.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { #
		name = ARC.79.a
		ai_chance = { factor = 1 }
		trigger = {
			NOT = {
				event_target:ARC_accused_country = {
					original_tag = ROOT
				}
			}
		}
		if = {
			limit = { has_country_flag = ARC_leader }
			custom_effect_tooltip = ARC_unity_increase
			add_to_variable = { global.ARC_unity = 1 }
			country_event = { id = ARC.53 days = 1 }
		}
		if = {
			limit = { has_country_flag = ARC_general_accused }
			clr_country_flag = ARC_general_accused
		}
	}
	option = {
		name = ARC.79.b
		ai_chance = { factor = 1 }
		trigger = {
			event_target:ARC_accused_country = {
				original_tag = ROOT
			}
		}
		clear_global_event_target = ARC_accused_country
	}
}

country_event = { # THe issue of unification
	id = ARC.80
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.80"}
	title = ARC.80.t
	desc = ARC.80.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { # Hear him out
		name = ARC.80.a
		ai_chance = {
			factor = 1
			modifier = {
				add = 3
				has_democratic_government = yes
			}
		}

		hidden_effect = {
			country_event = { id = ARC.81 days = 1 }
		}
		set_variable = { global.ARC_members = 0 }
	}
	option = { # We are out
		name = ARC.80.a
		ai_chance = {
			factor = 2
			modifier = {
				add = 3
				check_variable = { global.ARC_unity < 0 }
			}
		}
		ARC_warlord_leaves_effects = yes
	}
}

country_event = { # hidden checker event
	id = ARC.81
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.81"}
	title = ARC.81.t
	desc = ARC.81.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes
	hidden = yes

	option = { #
		name = ARC.81.a
		ai_chance = { factor = 1 }
		if = {
			limit = {
				has_global_flag = RUS_all_russian_congress
			}
			add_to_variable = { global.ARC_unity = 1 }
			every_country = {
				limit = { has_country_flag = joined_ARC }
				if = {
					limit = { has_democratic_government = yes }
					country_event = { id = ARC.82 days = 1 }
				}
				else = {
					country_event = { id = ARC.83 days = 1 }
				}
			}
		}
	}
}

country_event = { # Preparing for the referendum
	id = ARC.82
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.82"}
	title = ARC.82.t
	desc = ARC.82.desc
	#picture =

	is_triggered_only = yes

	option = { # Tamper
		name = ARC.82.a
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				event_target:ARC_leader = {
					same_government_type_as_ROOT = yes
				}
			}
		}
		random_list = {
			60 = {
				country_event = { id = ARC.83 days = 1 }
			}
			40 = {
				country_event = { id = ARC.84 days = 1 }
			}
		}
	}
	option = { # Dont
		name = ARC.82.b
		ai_chance = { factor = 2 }
		random_list = {
			1 = {
				country_event = { id = ARC.85 days = 1 }
			}
			1 = {
				country_event = { id = ARC.86 days = 1 }
			}
		}
	}
}

country_event = { # Preparing for the vote
	id = ARC.83
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.83"}
	title = ARC.83.t
	desc = ARC.83.desc
	#picture =

	is_triggered_only = yes

	option = { # Tamper
		name = ARC.83.a
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				event_target:ARC_leader = {
					same_government_type_as_ROOT = yes
				}
			}
		}
		random_list = {
			60 = {
				country_event = { id = ARC.88 days = 1 }
			}
			40 = {
				country_event = { id = ARC.89 days = 1 }
			}
		}
	}
	option = { # Dont
		name = ARC.83.b
		ai_chance = { factor = 2 }
		random_list = {
			1 = {
				country_event = { id = ARC.90 days = 1 }
			}
			1 = {
				country_event = { id = ARC.91 days = 1 }
			}
		}
	}
}

country_event = { # Tampering undiscovered, referendum
	id = ARC.84
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.84"}
	title = ARC.84.t
	desc = ARC.84.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = ARC.84.a
		ai_chance = { factor = 1 }
		random_list = {
			90 = {
				country_event = { id = ARC.85 days = 1 }
			}
			10 = {
				country_event = { id = ARC.86 days = 1 }
			}
		}
	}
}

country_event = { # Tampering discovered, referendum
	id = ARC.85
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.85"}
	title = ARC.85.t
	desc = ARC.85.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = ARC.85.a
		ai_chance = { factor = 1 }
		random_list = {
			20 = {
				country_event = { id = ARC.85 days = 1 }
			}
			80 = {
				country_event = { id = ARC.86 days = 1 }
			}
		}
	}
}

country_event = { # Referendum succes
	id = ARC.86
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.86"}
	title = ARC.86.t
	desc = ARC.86.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = ARC.86.a
		ai_chance = { factor = 1 }
		set_country_flag = full_member_ARC
		add_to_variable = { global.ARC_members = 1 }
	}
}

country_event = { # Referendum failed
	id = ARC.87
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.87"}
	title = ARC.87.t
	desc = ARC.87.desc
	#picture =

	is_triggered_only = yes

	option = { # Sad
		name = ARC.87.a
		ai_chance = { factor = 1 }
	}
}

country_event = { # Bribes undiscovered
	id = ARC.88
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.88"}
	title = ARC.88.t
	desc = ARC.88.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = ARC.88.a
		ai_chance = { factor = 1 }
		random_list = {
			90 = {
				country_event = { id = ARC.90 days = 1 }
			}
			10 = {
				country_event = { id = ARC.91 days = 1 }
			}
		}
	}
}

country_event = { #Bribes discovered
	id = ARC.89
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.89"}
	title = ARC.89.t
	desc = ARC.89.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = ARC.89.a
		ai_chance = { factor = 1 }
		random_list = {
			20 = {
				country_event = { id = ARC.90 days = 1 }
			}
			80 = {
				country_event = { id = ARC.91 days = 1 }
			}
		}
	}
}

country_event = { # Vote succeeded
	id = ARC.90
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.90"}
	title = ARC.90.t
	desc = ARC.90.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = ARC.90.a
		ai_chance = { factor = 1 }
		set_country_flag = full_member_ARC
		add_to_variable = { global.ARC_members = 1 }
	}
}

country_event = { # Vote failed
	id = ARC.91
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.91"}
	title = ARC.91.t
	desc = ARC.91.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = ARC.91.a
		ai_chance = { factor = 1 }

	}
}

country_event = { # ARC forms
	id = ARC.92
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.92"}
	title = ARC.92.t
	desc = ARC.92.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { #
		name = ARC.92.a
		ai_chance = { factor = 1 }
		if = {
			limit = { has_country_flag = ARC_leader }
			every_country = {
				limit = { has_country_flag = full_member_ARC }
				annex_country = {
					target = PREV
					transfer_troops = yes
				}
			}
			dismantle_faction = yes
			clear_variable = global.ARC_warlords_left
			clear_variable = global.ARC_unity
			clr_global_flag = ARC_spoils_issue_done
			clr_global_flag = ARC_generals_issue_done
			clr_global_flag = ARC_spoils_issue_done
			clr_global_flag = ARC_unification_issue_done
			clr_global_flag = RUS_all_russian_congress
			clr_global_flag = ARC_post_war_conference
			clear_global_event_target = ARC_leader
			every_country = {
				news_event = { id = WORLD.568 days = 2 }
			}
		}
	}
}

country_event = { # ARC does not form
	id = ARC.93
	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.93"}
	title = ARC.93.t
	desc = ARC.93.desc
	#picture =

	is_triggered_only = yes
	fire_only_once = yes

	option = { #
		name = ARC.93.a
		ai_chance = { factor = 1 }
		if = {
			limit = { has_country_flag = ARC_leader }
			country_event = { id = ARC.53 days = 1 }
		}
		if = {
			limit = { has_country_flag = full_member_ARC }
			clr_country_flag = full_member_ARC
		}
		clear_variable = global.ARC_members
	}
}

country_event = { # hidden event checker
	id = ARC.94
	title = ARC.94.t
	desc = ARC.94.desc
	picture = GFX_report_event_black_legion

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event ARC.94"}

	option = {
		name = ARC.94.a
		if = {
			limit = {
				all_country = {
					OR = {
						NOT = {
							has_country_flag = joined_ARC
						}
						has_country_flag = full_member_ARC
					}
				}
			}
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.92 days = 1 }
			}
		}
		else_if = {
			limit = { check_variable = { global.ARC_members > 3 } }
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.92 days = 1 }
			}
		}
		else = {
			every_country = {
				limit = { has_country_flag = joined_ARC }
				country_event = { id = ARC.93 days = 1 }
			}
		}
	}
}

# ARC events of killing germany

country_event = { # ARC Victory Royale
	id = ARC.1001
	hidden = yes
	immediate = {
		log = "[GetDateText]: [Root.GetName]: event ARC.100"
		hidden_effect = {
			every_country = {
				limit = {
					is_in_faction_with = event_target:ARC_leader
				}
				country_event = { id = ARC.100 days = 7 }
			}
			every_country = {
				limit = {
					is_ai = no
				}
				country_event = {
					id = WORLD_REICH.310
					days = 1
				}
			}
			ARC = {
				set_autonomy = {
					target = MCW
					autonomous_state = autonomy_military_government
				}
				set_autonomy = {
					target = FUK
					autonomous_state = autonomy_military_government
				}
				set_autonomy = {
					target = MST
					autonomous_state = autonomy_military_government
				}
				set_autonomy = {
					target = CAU
					autonomous_state = autonomy_military_government
				}
				ARC = {
					ARC_CAU = {
						set_nationality = CAU
					}
					ARC_MSK = {
						set_nationality = MCW
					}
					ARC_UKR = {
						set_nationality = FUK
					}
					ARC_BAL = {
						set_nationality = MST
					}
				}
				CAU = {
					set_politics = {
						ruling_party = paternalism
					}
					set_popularities = {
						paternalism = 58
						national_socialism = 7
						despotism = 10
						conservatism = 12
						fascism = 7
						communist = 6
					}
					remove_all_ideas = yes
					remove_ideas = GGR_garrisons_from_germany_dummy
					every_character = {
						limit = {
							NOT = { is_character = ARC_CAU }
						}
						PREV = { retire_character = PREV }
					}
					set_variable = { TNO_economy_type = token:Econ_Type_Planned }
					clear_variable = TNO_economy_subtype
					remove_faction_status = yes
					econ_leave_sphere = yes
					leave_faction = yes
					add_ideas = ARC_member
					promote_character = ARC_CAU
					set_cosmetic_tag = ARC_CAU
				}
				MCW = {
					set_politics = {
						ruling_party = paternalism
					}
					set_popularities = {
						paternalism = 44
						national_socialism = 10
						despotism = 10
						conservatism = 23
						fascism = 10
						ultranationalism = 3
					}
					transfer_state = 195
					every_state = {
						limit = {
							is_russian_state = yes
							is_owned_by = GER
						}
						transfer_state_to = MCW
					}
					set_variable = { TNO_economy_type = token:Econ_Type_Planned }
					clear_variable = TNO_economy_subtype
					set_cosmetic_tag = MSK
					remove_all_ideas = yes
					remove_ideas = {
						GGR_stabilising_regime
						GGR_MCW_the_legacy
						GGR_MCW_the_plan
						GGR_MCW_the_vision
						GGR_MCW_the_legacy_krebs
						GGR_garrisons_from_germany_dummy
					}
					remove_dynamic_modifier = { modifier = GGR_continued_resistance }
					GER_theodor_oberlander = {
						set_nationality = GER
					}
					GER_hans_krebs = {
						set_nationality = GER
					}
					every_character = {
						limit = {
							NOT = { is_character = ARC_MSK }
						}
						PREV = { retire_character = PREV }
					}
					transfer_state = 859
					transfer_state = 858
					transfer_state = 1887
					promote_character = ARC_MSK
					remove_faction_status = yes
					econ_leave_sphere = yes
					leave_faction = yes
					add_ideas = ARC_member
					set_capital = { state = 1442 }
					every_owned_state = {
						add_core_of = PREV
					}
				}
			}
			if = {
				limit = {
					country_exists = WSR
					has_global_flag = RUS_West_Russian_unification
				}
				WSR = { save_global_event_target_as = finland_annexer }
			}
			else = {
				MCW = { save_global_event_target_as = finland_annexer }
			}
			if = {
				limit = {
					has_event_target = finland_annexer
				}
				event_target:finland_annexer = {
					transfer_state = 215
					transfer_state = 858
					transfer_state = 859
					transfer_state = 1887
					transfer_state = 216
					transfer_state = 1359
					transfer_state = 213
					every_owned_state = {
						add_core_of = PREV
					}
				}
			}
			FUK = {
				set_cosmetic_tag = URA
				set_politics = {
					ruling_party = paternalism
				}
				set_popularities = {
					paternalism = 78
					national_socialism = 3
					despotism = 6
					conservatism = 6
					fascism = 3
					ultranationalism = 4
				}
				promote_character = ARC_UKR
				annex_country = {
					target = UKR
					transfer_troops = no
				}
				remove_all_ideas = yes
				every_character = {
					limit = {
						NOT = { is_character = ARC_UKR }
					}
					PREV = { retire_character = PREV }
				}
				add_ideas = ARC_member
				transfer_state = 196
				transfer_state = 137
				transfer_state = 1532
				every_owned_state = {
					add_core_of = PREV
				}
			}
			MST = {
				set_cosmetic_tag = BAL
				add_ideas = ARC_member
				remove_all_ideas = yes
				every_character = {
					limit = {
						NOT = { is_character = ARC_BAL }
					}
					PREV = { retire_character = PREV }
				}
				load_focus_tree = ZZZ_blank_focus
				remove_dynamic_modifier = {
					modifier = GGR_continued_resistance
				}
				every_state = {
					limit = {
						OR = {
							is_core_of = OST
							is_core_of = DST
							is_core_of = JST
							is_core_of = MST
							is_core_of = BLR
							is_core_of = UPO
						}
					}
					transfer_state_to = MST
				}
				set_politics = {
					ruling_party = paternalism
				}
				set_popularities = {
					paternalism = 44
					national_socialism = 26
					despotism = 20
					conservatism = 6
					ultranationalism = 4
				}
				promote_character = ARC_BAL
				every_owned_state = {
					add_core_of = PREV
				}
			}
			event_target:ARC_leader = {
				add_to_faction = ARC
				add_to_faction = MCW
				add_to_faction = MST
				add_to_faction = FUK
				add_to_faction = CAU
			}
		}
	}
	title = ""
	desc = ""
	picture = GFX_report_event_GER_army_1

	fire_only_once = yes

	is_triggered_only = yes
}

country_event = { # ARC Victory Royale true
	id = ARC.100
	immediate = {
		log = "[GetDateText]: [Root.GetName]: event ARC.100"
		hidden_effect = {
			if = {
				limit = {
					OR = {
						has_focus_tree = ARC_socialist
						has_focus_tree = ARC_nationalist
						has_focus_tree = ARC_democratic
					}
				}
				load_focus_tree = ZZZ_blank_focus
			}
		}
	}
	title = ARC.100.t
	desc = ARC.100.d
	picture = GFX_report_event_GER_army_1

	fire_only_once = yes

	is_triggered_only = yes

	option = { # Communists
		name = ARC.100.a
		trigger = {
			has_government = communist
		}
	}
	option = { # Great Trial guy
		name = ARC.100.b
		trigger = {
			tag = OMS
		}
	}
	option = { # ROA
		name = ARC.100.c
		trigger = {
			tag = SAM
		}
	}
	option = { # Fascists
		name = ARC.100.d
		trigger = {
			OR = {
				AND = {
					tag = MAG
					has_country_leader = {
						character = MAG_Mikhail_Matkovsky
						ruling_only = yes
					}
				}
				tag = AMR
			}
		}
	}
	option = { # TO SERVE RUSSIA
		name = ARC.100.e
		trigger = {
			OR = {
				AND = {
					tag = SVR
					has_government = paternalism
				}
				tag = ONG
			}
		}
	}
	option = { # mercs
		name = ARC.100.f
		trigger = {
			OR = {
				AND = {
					tag = MAG
					has_country_leader = {
						character = MAG_Mitchel_Werbell
						ruling_only = yes
					}
				}
				#tag = ZLT 
			}
		}
	}
	option = { # Eurasia
		name = ARC.100.g
		trigger = {
			tag = KOM
			has_government = ultranationalism
		}
	}
	option = { # generic
		name = ARC.100.z
		trigger = {
			NOT = {
				has_government = communist
				tag = OMS
				tag = SAM
				AND = {
					tag = MAG
					has_country_leader = {
						character = MAG_Mikhail_Matkovsky
						ruling_only = yes
					}
				}
				tag = AMR
				AND = {
					tag = SVR
					has_government = paternalism
				}
				tag = ONG
				AND = {
					tag = MAG
					has_country_leader = {
						character = MAG_Mitchel_Werbell
						ruling_only = yes
					}
				}
				#tag = ZLT 
				tag = KOM
				has_government = ultranationalism
			}
		}
	}
}

country_event = { # Russia unites against fascists
	id = ARC.101
	immediate = {
		log = "[GetDateText]: [Root.GetName]: event ARC.101"
	}
	title = ARC.101.t
	desc = ARC.101.d
	picture = GFX_report_event_GER_army_1

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = ARC.101.a
		set_global_flag = ARC_against_fascism
		set_variable = { global.anti_fascist_russian_countries = 0 }
		set_variable = { global.fascist_russian_countries = 0 }
		every_country = {
			limit = {
				is_russian_nation = yes
				exists = yes
				has_fascist_government = yes
			}
			add_to_variable = { global.fascist_russian_countries = 1 }
		}
		if = {
			limit = {
				check_variable = { global.fascist_russian_countries = 0 }
			}
			event_target:ARC_leader = { country_event = ARC.102 }
		}
		else = {
			every_country = {
				limit = {
					is_russian_nation = yes
					has_fascist_government = yes
				}
				leave_faction = yes
				remove_ideas = ARC_member
				event_target:ARC_leader = {
					declare_war_on = {
						target = PREV
						type = civil_war
					}
				}
			}
			event_target:ARC_leader = {
				apply_war_buff_with_20_divisions = yes
			}
		}
		clear_variable = global.fascist_russian_countries
	}
}

country_event = { # Russia fights pt 2 - democrats vs socialists
	id = ARC.102
	immediate = {
		log = "[GetDateText]: [Root.GetName]: event ARC.102"
	}
	title = ARC.102.t
	desc = ARC.102.d
	picture = GFX_report_event_GER_army_1

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = ARC.102.a
		set_global_flag = ARC_against_socialism
		set_variable = { global.socialist_russian_countries = 0 }
		set_variable = { global.democratic_russian_countries = 0 }
		event_target:ARC_leader = {
			remove_war_buff = yes
		}
		every_country = {
			limit = {
				is_russian_nation = yes
			}
			if = {
				limit = {
					OR = {
						has_democratic_government = yes
						has_dictatorship_government = yes
					}
					NOT = { has_fascist_government = yes }
				}
				add_to_variable = { global.democratic_russian_countries = 1 }
			}
			else_if = {
				limit = {
					has_socialist_government = yes
				}
				add_to_variable = { global.socialist_russian_countries = 1 }
			}
		}
		if = {
			limit = {
				check_variable = { global.democratic_russian_countries > global.socialist_russian_countries }
			}
			if = {
				limit = {
					event_target:ARC_leader = {
						has_socialist_government = yes
					}
				}
				random_country = {
					limit = {
						is_russian_nation = yes
						has_democratic_government = yes
					}
					save_global_event_target_as = ARC_leader
					set_faction_leader = yes
				}
			}
			every_country = {
				limit = {
					is_russian_nation = yes
					has_socialist_government = yes
				}
				leave_faction = yes
				remove_ideas = ARC_member
				event_target:ARC_leader = {
					declare_war_on = {
						target = PREV
						type = civil_war
					}
				}
			}
			event_target:ARC_leader = {
				apply_war_buff_with_20_divisions = yes
			}
		}
		else = {
			if = {
				limit = {
					event_target:ARC_leader = {
						has_democratic_government = yes
					}
				}
				random_country = {
					limit = {
						is_russian_nation = yes
						has_socialist_government = yes
					}
					save_global_event_target_as = ARC_leader
					set_faction_leader = yes
				}
			}
			every_country = {
				limit = {
					is_russian_nation = yes
					has_democratic_government = yes
				}
				leave_faction = yes
				remove_ideas = ARC_member
				event_target:ARC_leader = {
					declare_war_on = {
						target = PREV
						type = civil_war
					}
				}
			}
			event_target:ARC_leader = {
				apply_war_buff_with_20_divisions = yes
			}
		}
		if = {
			limit = {
				OR = {
					check_variable = { global.socialist_russian_countries = 0 }
					check_variable = { global.democratic_russian_countries = 0 }
				}
			}
			event_target:ARC_leader = { country_event = ARC.103 }
		}
		clear_variable = global.socialist_russian_countries
		clear_variable = global.democracy
	}
}


country_event = { # The last war
	id = ARC.103
	immediate = {
		log = "[GetDateText]: [Root.GetName]: event ARC.103"
	}
	title = ARC.103.t
	desc = ARC.103.d
	picture = GFX_report_event_GER_army_1

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = ARC.103.a
		every_country = {
			limit = {
				is_russian_nation = yes
			}
			event_target:ARC_leader = {
				annex_country = {
					target = PREV
					transfer_troops = yes
				}
			}
		}
		event_target:ARC_leader = {
			add_core_effect = yes
		}
	}
}

# ARC Events cut from TNO

add_namespace = WORLD

news_event = { # The All Russian Congress forms
	id = WORLD.568
	title = WORLD.568.t
	desc = WORLD.568.desc
	picture = GFX_news_event_ARC_all_russian_congress

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event WORLD.568"}

	option = {
		name = WORLD.568.a
	}
}

news_event = { # The ARC disolves during war time
	id = WORLD.569
	title = WORLD.569.t
	desc = WORLD.569.desc
	picture = GFX_news_event_ARC_all_russian_congress

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event WORLD.569"}

	option = {
		name = WORLD.569.a
		trigger = {
			OR = {
				original_tag = GER
				is_in_faction_with = GER
			}
		}
	}
	option = {
		name = WORLD.569.b
		trigger = {
			is_russian_nation = yes
			NOT = {
				has_country_flag = joined_ARC
			}
		}
	}
	option = {
		name = WORLD.569.c
		trigger = {
			is_russian_nation = yes
			has_country_flag = joined_ARC
		}
	}
	option = {
		name = WORLD.569.d
		trigger = {
			NOT = {
				original_tag = GER
				is_in_faction_with = GER
				is_russian_nation = yes
			}
		}
	}
}

news_event = { # The ARC disolves during peace time
	id = WORLD.570
	title = WORLD.570.t
	desc = WORLD.570.desc
	picture = GFX_news_event_GER_adolph_hitler

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event WORLD.570"}

	option = {
		name = WORLD.570.a
		trigger = {
			is_russian_nation = yes
			has_country_flag = joined_ARC
		}
	}
	option = {
		name = WORLD.570.b
		trigger = {
			NOT = {
				is_russian_nation = yes
			}
		}
	}
}

news_event = { # The ARC unifies
	id = WORLD.571
	title = WORLD.571.t
	desc = WORLD.571.desc
	picture = GFX_news_event_GER_adolph_hitler

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event WORLD.571"}

	option = {
		name = WORLD.571.a
		trigger = {
			OR = {
				is_russian_nation = yes
				NOT = {
					has_country_flag = full_member_ARC
				}
			}
		}
	}
	option = {
		name = WORLD.571.b
		trigger = {
			is_russian_nation = yes
			has_country_flag = joined_ARC
		}
	}
	option = {
		name = WORLD.571.c
		trigger = {
			NOT = {
				is_russian_nation = yes
			}
		}
	}
}