﻿add_namespace = MON

#Mongolia asks for Mengjiang
country_event = {
	id = MON.1
	title = MON.1.t
	desc = MON.1.d
	picture = GFX_report_event_asian_politicians

	is_triggered_only = yes
	#Agree
	option = {
		name = MON.1.a
		ai_chance = { 
			factor = 10 
			modifier = {
				factor = 2
				MON = { is_in_faction_with = JAP }
			}
			modifier = {
				factor = 2
				MON = { has_government = fascism }
			}
			modifier = {
				factor = 2
				has_country_flag = demchugdongrub_khan
			}
		}
		MEN = {
			every_unit_leader = {
				set_nationality = MON
			}
		}
		MON = { 
			annex_country = { target = MEN transfer_troops = yes }
			add_opinion_modifier = {
					target = JAP
					modifier = transfered
			}
			add_popularity = {
					ideology = fascism
					popularity = 0.15
			}
		}
		set_global_flag = mengkukuo_ceded
	}
	#Refuse
	option = {
		name = MON.1.b
		ai_chance = { factor = 15 }
		MON = { 
			country_event = { id = MON.2 } 
			add_opinion_modifier = {
				target = JAP
				modifier = refused_transfer 
			}
		}
	}
}

#Japan refuses to cede Mengjiang
country_event = {
	id = MON.2
	title = MON.2.t
	desc = MON.2.d

	is_triggered_only = yes
	
	option = {
		name = MON.2.a
		add_popularity = {
			ideology = fascism
			popularity = -0.1
		}
	}
}

#Mongolia proposes alliance
country_event = {
	id = MON.3
	title = MON.3.t
	desc = MON.3.d
	picture = GFX_report_event_generic_sign_treaty1

	is_triggered_only = yes
	
	option = {
		name = MON.3.a
		ai_chance = { 
			factor = 12 
			modifier = {
				factor = 2
				has_country_flag = demchugdongrub_khan
			}
		}
		if = {
			limit = { is_in_faction = no }
			create_faction = "daitoa_kyoeiken" 
			add_to_faction = MON
		}
		if = {
			limit = { is_faction_leader = yes }
			add_to_faction = MON
		}
	}
	
	option = {
		name = MON.3.b
		ai_chance = { factor = 10 }
		MON = { 
			country_event = { id = MON.4 } 
		}
	}
}

#Japan refuses alliance proposal
country_event = {
	id = MON.4
	title = MON.4.t
	desc = MON.4.d

	is_triggered_only = yes
		
	option = {
		name = MON.4.a
	}
}

#Elect monarch
country_event = {
	id = MON.5
	title = MON.5.t
	desc = MON.5.d
	picture = GFX_report_event_japan_europe_pact
	is_triggered_only = yes

	option = {
		name = MON.5.a
		ai_chance = { 
			factor = 1 
			modifier = {
				factor = 10
				MEN = { is_ai = no }
			}
		}
		MEN = { country_event = { id = MEN.14 } }
	}
	option = {
		name = MON.5.b
		ai_chance = { 
			factor = 1 
		}
		create_country_leader = {
			name = "Tserendondovyn Navaanneren"
			picture = "gfx/leaders/MON/Portrait_Navaanneren.dds"
			expire = "1965.1.1"
			ideology = fascism_ideology
			traits = {
				spirit_of_genghis
				intellectual
			}
		}
	}
}

#Constitutional monarchy?
country_event = {
	id = MON.6
	title = MON.6.t
	desc = MON.6.d
	picture = GFX_report_event_asian_politicians
	is_triggered_only = yes

	option = {
		name = MON.6.a
		set_cosmetic_tag = MON_const
		add_ideas = MON_bogd_khan
		set_country_flag = bogd_khan
		set_country_flag = constitutinal_monarchy
		add_popularity = {
			ideology = neutrality
			popularity = 0.1
		}
	}
	option = {
		name = MON.6.b
		add_political_power = 50
		add_popularity = {
			ideology = democratic
			popularity = 0.1
		}
	}
}

#Amar purged
country_event = {
	id = MON.7
	title = MON.7.t
	desc = MON.7.d
	fire_only_once = yes
	
	trigger = {
		tag = MON 
		has_government = communism
		has_completed_focus = MON_repressions
	}
	mean_time_to_happen = {
		days = 1000
		modifier = {
			factor = 0.7
			has_idea = MON_horloogiyn_choybalsan_pol
		}
		modifier = {
			factor = 0.7
			has_idea = MON_horloogiyn_choybalsan
		}
	}
	option = {
		name = MON.7.a
		kill_country_leader = yes
		create_country_leader = {
			name = "Khorloogiin Choibalsan"
			desc = "POLITICS_KHORLOOGIIN_CHOIBALSAN_DESC"
			picture = "gfx/leaders/MON/Portrait_Choibalsan.dds"
			expire = "1952.1.1"
			ideology = stalinism
			traits = {
				dictator
			}
		}
	}
}

#Ãëàâà ñîâåòà èëè ñîâåò?
country_event = {
	id = MON.8
	title = MON.8.t
	desc = MON.8.d
	is_triggered_only = yes
	
	option = {
		name = MON.8.a
		create_country_leader = {
			name = "Lama Council"
			picture = "gfx/leaders/MON/Portrait_Lama_Council.dds"
			expire = "1952.1.1"
			ideology = oligarchism
			traits = {
				staunch_traditionalist
			}
		}
	}
	option = {
		name = MON.8.b
		remove_country_leader_trait = pillar_of_nation
		#add_political_power = 200
	}
}

#Ìîíãîëèÿ òðåáóåò Äæóíãàðèþ
country_event = {
	id = MON.9
	title = MON.9.t
	desc = MON.9.d
	
	is_triggered_only = yes
	#îòäàòü
	option = {
		name = MON.9.a
		ai_chance = {
			factor = 1
			modifier = {
				factor = 1.5
				is_in_faction = no
			}
			modifier = {
				factor = 2
				strength_ratio = { tag = MON ratio < 0.8 }
			}
		}
		add_political_power = -100
		MON = {
			transfer_state = 618
			country_event = { id = MON.11 }
		}
	}
	#îòêàçàòü
	option = {
		name = MON.9.b
		ai_chance = {
			factor = 2	
			modifier = {
				factor = 2
				strength_ratio = { tag = MON ratio > 1 }
			}
		}
		MON = {
			country_event = { id = MON.10 }
		}
		set_global_flag = refused_dzungaria
	}
}
#Çåìëè íå âîçâðàùåíû
country_event = {
	id = MON.10
	title = MON.10.t
	desc = MON.10.d
	
	is_triggered_only = yes
	
	option = {
		name = MON.10.a
		if = {
			limit = { has_global_flag = refused_dzungaria }
			create_wargoal = {
				type = take_state_focus
				target = FROM
				generator = { 618 }
			}
			clr_global_flag = refused_dzungaria
		}
		if = {
			limit = { has_global_flag = refused_buryatia }
			create_wargoal = {
				type = take_state_focus
				target = FROM
				generator = { 563 564 }
			}
			clr_global_flag = refused_buryatia
		}
		if = {
			limit = { FROM = { has_country_flag  = refused_611 } }
			create_wargoal = {
				type = take_state_focus
				target = FROM
				generator = { 611 }
			}
			FROM = { clr_country_flag = refused_611 }
		}
		if = {
			limit = { FROM = { has_country_flag = refused_612 } }
			create_wargoal = {
				type = take_state_focus
				target = FROM
				generator = { 612 }
			}
			FROM = { clr_country_flag = refused_612 }
		}
		if = {
			limit = { FROM = { has_country_flag = refused_616 } }
			create_wargoal = {
				type = take_state_focus
				target = FROM
				generator = { 616 }
			}
			FROM = { clr_country_flag = refused_616 }
		}
		if = {
			limit = { FROM = { has_country_flag = refused_621 } }
			create_wargoal = {
				type = take_state_focus
				target = FROM
				generator = { 621 }
			}
			FROM = { clr_country_flag = refused_621 }
		}
	}
}

#Çåìëè âîçâðàùåíû
country_event = {
	id = MON.11
	title = MON.11.t
	desc = MON.11.d
	
	is_triggered_only = yes
	
	option = {
		name = MON.11.a
		add_political_power = 100
	}
}
#Mongolia demands Buryatia
country_event = {
	id = MON.12
	title = MON.12.t
	desc = MON.12.d

	is_triggered_only = yes
	#îòäàòü
	option = {
		name = MON.12.a
		ai_chance = {
			factor = 1
			modifier = {
				factor = 75
				219 = { NOT = { is_controlled_by = SOV } } 	
			}
		}
		add_political_power = -150
		add_stability = -0.1
		MON = {
			transfer_state = 563
			transfer_state = 564
			country_event = { id = MON.11 }
		}
	}
	#îòêàçàòü
	option = {
		name = MON.12.b
		ai_chance = {
			factor = 25
		}
		MON = {
			country_event = { id = MON.10 }
		}
		set_global_flag = refused_buryatia
	}
}
#Ìîíãîëèÿ òðåáóåò Âíóòðåííóþ Ìîíãîëèþ
country_event = {
	id = MON.13
	title = MON.13.t
	desc = MON.13.d
	
	is_triggered_only = yes
	#îòäàòü
	option = {
		name = MON.13.a
		ai_chance = {
			factor = 5
			modifier = {
				factor = 2
				is_in_faction = no
			}
			modifier = {
				factor = 2
				strength_ratio = { tag = MON ratio < 0.8 }
			}
			modifier = {
				factor = 50
				AND = {
					has_war = yes
					any_enemy_country = {
						strength_ratio = { 
							tag = ROOT 
							ratio < 0.5
						}
					}
				}
			}
		}
		MON = { country_event = { id = MON.11 } }
		if = {
			limit = { owns_state = 611 }
			MON = { transfer_state = 611 }
		}
		if = {
			limit = { owns_state = 612 }
			MON = { transfer_state = 612 }
		}
		if = {
			limit = { owns_state = 616 }
			MON = { transfer_state = 616 }
		}
		if = {
			limit = { owns_state = 621 }
			MON = { transfer_state = 621 }
		}
	}
	#îòêàçàòü
	option = {
		name = MON.13.b
		ai_chance = {
			factor = 25
			modifier = {
				factor = 2
				strength_ratio = { tag = MON ratio > 1 }
			}
		}
		MON = {
			country_event = { id = MON.10 }
		}
		if = {
			limit = { owns_state = 611 }
			set_global_flag = refused_611
		}
		if = {
			limit = { owns_state = 612 }
			set_country_flag = refused_612
		}
		if = {
			limit = { owns_state = 616 }
			set_country_flag = refused_616
		}
		if = {
			limit = { owns_state = 621 }
			set_country_flag = refused_621
		}
	}
}
#Fall of communism
country_event = {
	id = MON.14
	title = MON.14.t
	desc = MON.14.d
	fire_only_once = yes
	
	trigger = {
		tag = MON
		has_government = communism
		soviets_no_more = yes
	}
	mean_time_to_happen = {
		days = 7
	}
	option = {
		name = MON.14.a
		hidden_effect = {
			add_popularity = {
				ideology = fascism
				popularity = 0.01
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.01
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.01
			}
		}
		add_popularity = {
			ideology = communism
			popularity = -0.5
		}
	}
}
#Ìýíöçÿí â îáìåí íà ñîþç?
country_event = {
	id = MON.15
	title = MON.15.t
	desc = MON.15.d
	
	is_triggered_only = yes
	
	option = {
		name = MON.15.a
		JAP = {
			if = {
				limit = { is_in_faction = no }
				create_faction = "daitoa_kyoeiken" 
				add_to_faction = MON
			}
			if = {
				limit = { is_faction_leader = yes }
				add_to_faction = MON
			}
		}
		MON = { 
			annex_country = { target = MEN transfer_troops = yes } 
			add_opinion_modifier = {
					target = JAP
					modifier = transfered
			}
			add_popularity = {
					ideology = fascism
					popularity = 0.3
			}
		}
		set_global_flag = mengkukuo_ceded
	}
	option = {
		name = MON.15.b
	}
}

#Òèáåò ïîëó÷èë ïðèãëàøåíèå
country_event = {
	id = MON.16
	title = MON.16.t
	desc = MON.16.d
	
	is_triggered_only = yes		
	
	option = {
		name = MON.16.a
		ai_chance = { 
			factor = 10 
		}
		MON = {
			create_faction = "buddhist_faction"
			add_to_faction = TIB
		}
		hidden_effect = {
			MON = { country_event = { id = MON.17 } }
		}
	}
	option = {
		name = MON.16.a
		hidden_effect = {
			MON = { country_event = { id = MON.18 } }
		}
		ai_chance = { 
			factor = 5
			modifier = {
				factor = 2
				CHI = { has_completed_focus = KMT_tibet_friend }
			}
		}
	}
}
#Òèáåò ñîãëàñåí
country_event = {
	id = MON.17
	title = MON.17.t
	desc = MON.17.d
	
	is_triggered_only = yes		
	
	option = {
		name = MON.17.a
	}
}
#Òèáåò îòêàçàëñÿ
country_event = {
	id = MON.18
	title = MON.18.t
	desc = MON.18.d
	
	is_triggered_only = yes		
	
	option = {
		name = MON.18.a
	}
}
#Mongolia asks for recognition/alliance
country_event = {
	id = MON.19
	title = MON.19.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes
	desc = MON.19.d
	option = {
		name = MON.19.a
		MON = { country_event = { id = MON.20 } }
		remove_state_core = 330
		MON = {
			create_faction = peoples_front_faction
			add_to_faction = PRC
		}
	}
	option = {
		name = MON.19.b
		ai_chance = { 
			factor = 1
			modifier = {
				factor = 0
				MON = { is_ai = no }
			}
		}
		MON = { country_event = { id = MON.21 } }
		add_political_power = 50
	}
}

#Êèòàé ñîãëàñåí
country_event = {
	id = MON.20
	title = MON.20.t
	is_triggered_only = yes
	desc = MON.20.d
	option = {
		name = MON.20.a
	}
}
#Êèòàé îòêàçàëñÿ
country_event = {
	id = MON.21
	title = MON.21.t
	is_triggered_only = yes
	desc = MON.21.d
	option = {
		name = MON.21.a
	}
}
#Mongolia proposes partition of warlords
country_event = {
	id = MON.22
	title = MON.22.t
	is_triggered_only = yes
	desc = MON.22.d
	option = {
		name = MON.22.a
		MON = { country_event = { id = MON.23 days = 5 } }
		SHX = { country_event = { id = MON.25 days = 5 } }
		XSM = { country_event = { id = MON.26 days = 5 } }	
		remove_state_core = 621
		remove_state_core = 616
	}
	option = {
		name = MON.22.b
		ai_chance = { 
			factor = 1
			modifier = {
				factor = 0
				MON = { is_ai = no }
			}
		}
		MON = { country_event = { id = MON.24 days = 5 } }
	}
}
#Êèòàé ñîãëàñåí íà ðàçäåë
country_event = {
	id = MON.23
	title = MON.23.t
	is_triggered_only = yes
	desc = MON.23.d
	option = {
		name = MON.23.a
	}
}
#Êèòàé îòêàçàëñÿ îò ðàçäåëà
country_event = {
	id = MON.24
	title = MON.24.t
	is_triggered_only = yes
	desc = MON.24.d
	option = {
		name = MON.24.a
	}
}
#Òðåáîâàíèÿ ê Øàíüñè
country_event = {
	id = MON.25
	title = MON.25.t
	is_triggered_only = yes
	desc = MON.25.d
	option = {
		name = MON.25.a
		PRC = { 
			country_event = { id = MON.28 }
			transfer_state = 615
		}
		MON = { 
			country_event = { id = MON.28 } 
			if = {
				limit = {
					SHX = { owns_state = 621 }
				}
				annex_country = { target = SHX transfer_troops = yes }
			}
		}
	}
	option = {
		name = MON.25.b
		MON = { country_event = { id = MON.27 } }
		PRC = { country_event = { id = MON.27 } }
	}
}
#Òðåáîâàíèÿ ê Ìà
country_event = {
	id = MON.26
	title = MON.26.t
	is_triggered_only = yes
	desc = MON.26.d
	option = {
		name = MON.26.a
		MON = { 
			country_event = { id = MON.28 } 
			transfer_state = 616
		}
		PRC = { 
			country_event = { id = MON.28 } 
 			transfer_state = 283 
 			puppet = XSM
 		}
 		hidden_effect = {
 			create_country_leader = {
				name = "Ma Hongbin"
				desc = "POLITICS_Hongbin_DESC"
				picture = "gfx/leaders/MON/Portrait_Ma_Hongbin.dds"
				expire = "1965.1.1"
				ideology = marxism
				traits = {
				}
			}
			create_corps_commander = {
				name = "Ma Hongbin"
				portrait_path = "gfx/leaders/MON/Portrait_Ma_Hongbin.dds"
				traits = {
				}
				skill = 2
			}
			set_cosmetic_tag = XSM_prov
 		}
 	}
 	option = {
		name = MON.26.b
		MON = { country_event = { id = MON.27 } }
		PRC = { country_event = { id = MON.27 } }
	}
 }
 #Óëüòèìàòóì îòêëîíåí
 country_event = {
	id = MON.27
	title = MON.27.t
	is_triggered_only = yes
	desc = MON.27.d
	option = {
		name = MON.27.a
		if = {
			limit = {
				tag = PRC
				FROM = { tag = SHX }
			}
			declare_war_on = {
				target = SHX
				type = take_state_focus
				generator = { 615 }
			}
		}
		if = {
			limit = {
				tag = MON
				FROM = { tag = SHX }
			}
			declare_war_on = {
				target = SHX
				type = take_state_focus
				generator = { 621 }
			}
		}
		if = {
			limit = {
				tag = PRC
				FROM = { tag = XSM }
			}
			declare_war_on = {
				target = XSM
				type = take_state_focus
				generator = { 283 604 }
			}
		}
		if = {
			limit = {
				tag = MON
				FROM = { tag = XSM }
			}
			declare_war_on = {
				target = XSM
				type = take_state_focus
				generator = { 616 }
			}
		}
	}
}
#Óëüòèìàòóì ïðèíÿò
country_event = {
	id = MON.28
	title = MON.28.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes
	desc = MON.28.d
	option = {
		name = MON.28.a
	}
}
#Sedentarization?
country_event = {
	id = MON.29
	title = MON.29.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes

	desc = MON.29.d
	option = {
		name = MON.29.a
		swap_ideas = {
			remove_idea = MON_agriculture_idea
			add_idea = MON_agriculture_idea_sedentarization
		}
		remove_ideas = MON_nomadic
		add_political_power = -100
	}
	option = {
		name = MON.29.b
	}
}
#Ïðîäîëæåíèå ðåñóðñíîé ïðîãðàììû
country_event = {
	id = MON.30
	title = MON.30.t
	picture = GFX_report_event_chinese_japanese_handshake
	fire_only_once = yes
	is_triggered_only = yes
	#trigger = {
		#tag = MON
		#has_idea = MON_resource_effort
	#}
	mean_time_to_happen = {
		days = 100
	}
	desc = MON.30.d
	option = {
		name = MON.30.a
		hidden_effect = {
			country_event = { id = MON.31 days = 100 } 
		}
	}
	option = {
		name = MON.30.b
		trigger = { NOT = { has_government = democratic } }
		add_manpower = -3000
		add_stability = -0.05
		hidden_effect = {
			country_event = { id = MON.31 days = 65 } 
		}
	}
	option = {
		name = MON.30.c
		trigger = { has_idea = MON_chinese_migrants }
		remove_ideas = MON_chinese_migrants
		add_timed_idea = { idea = MON_chinese_migrants_opressed days = 150 }
		hidden_effect = {
			country_event = { id = MON.31 days = 65 }
		}
	}
	option = {
		name = MON.30.dd
		trigger = { NOT = { has_government = communism } }
		swap_ideas = {
			remove_idea = MON_resource_effort
			add_idea = MON_resource_effort_capitalist
		}
		hidden_effect = {
			country_event = { id = MON.31 days = 65 }
		}
	}
}
#Ðåñóðñíàÿ ïðîãðàììà îêîí÷åíà
country_event = {
	id = MON.31
	title = MON.31.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes
	desc = MON.31.d
	option = {
		name = MON.31.a
		remove_ideas = MON_resource_effort
		remove_ideas = MON_resource_effort_capitalist
		add_resource = {
			type = steel
			amount = 16
			state = 330
		}
		add_resource = {
			type = tungsten
			amount = 16
			state = 330
		}
	}
}
#Ïðèãëàøåíèå â áåëîìàí÷æóðñêèé ñîþç
country_event = {
	id = MON.32
	title = MON.32.t
	picture = GFX_report_event_chinese_japanese_handshake
	trigger = {
		tag = MON
		has_government = neutrality
		has_completed_focus = MON_russian_mongolia
		is_in_faction = no
		any_country = {
			original_tag = SOV
			has_government = fascism
			has_war_with = SOV
			is_in_faction_with = MCK
		}
	}
	mean_time_to_happen = {
		days = 7
	}
	desc = MON.32.d
	option = {
		name = MON.32.a
		random_country = {
			limit = {
				original_tag = SOV
				has_government = fascism
			}
			add_to_faction = MON
		}
		MCK = {
			add_to_war = {
				targeted_alliance = PREV
				enemy = SOV
			}
		}
	}
	option = {
		name = MON.32.b
		add_political_power = -300
		add_stability = -0.15
	}
}
#Ìèãðàíòû ïðèíîñÿò äåìîêðàòèþ
country_event = {
	id = MON.33
	title = MON.33.t
	picture = GFX_report_event_chinese_japanese_handshake
	trigger = {
		tag = MON
		OR = {
			has_idea = MON_chinese_migrants
			has_idea = MON_chinese_migrants_opressed
		}
		NOT = {
			has_government = democratic
		}
	}
	mean_time_to_happen = {
		days = 100
	}
	desc = MON.33.d
	option = {
		name = MON.33.a
		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}
	}
	option = {
		name = MON.33.b
		add_manpower = -500
		add_political_power = -40
	}
}
#Ìèãðàíòû ïðèíîñÿò êîììóíèçì
country_event = {
	id = MON.34
	title = MON.34.t
	picture = GFX_report_event_chinese_japanese_handshake
	trigger = {
		tag = MON
		OR = {
			has_idea = MON_chinese_migrants
			has_idea = MON_chinese_migrants_opressed
		}
		NOT = {
			has_government = communism
		}
	}
	mean_time_to_happen = {
		days = 100
	}
	desc = MON.34.d
	option = {
		name = MON.34.a
		add_popularity = {
			ideology = communism
			popularity = 0.05
		}
	}
	option = {
		name = MON.34.b
		add_manpower = -500
		add_political_power = -40
	}
}
#Âìåñòå ñ ìèãðàíòàìè ïðèõîäÿò ÿïîíñêèå àãåíòû
country_event = {
	id = MON.35
	title = MON.35.t
	picture = GFX_report_event_chinese_japanese_handshake
	trigger = {
		tag = MON
		OR = {
			has_idea = MON_chinese_migrants
			has_idea = MON_chinese_migrants_opressed
		}
		NOT = {
			has_government = fascism
		}
	}
	mean_time_to_happen = {
		days = 100
	}
	desc = MON.35.d
	option = {
		name = MON.35.a
		add_popularity = {
			ideology = fascism
			popularity = 0.05
		}
	}
	option = {
		name = MON.35.b
		add_manpower = -500
		add_political_power = -40
	}
}
#Êèòàéêöû ïîäíèìàþò ïðîìûøëåííîñòü
country_event = {
	id = MON.36
	title = MON.36.t
	picture = GFX_report_event_chinese_japanese_handshake
	trigger = {
		tag = MON
		OR = {
			has_idea = MON_chinese_migrants
			has_idea = MON_chinese_migrants_opressed
		}
		NOT = {
			has_government = communism
		}
	}
	mean_time_to_happen = {
		days = 150
	}
	desc = MON.36.d
	option = {
		name = MON.36.a
		add_timed_idea = { idea = MON_chinese_buff days = 90 }
	}
}

#37-39

#Âðåìåííîå ïðàâèòåëüñòâî!
country_event = {
	id = MON.40
	title = MON.40.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes
	desc = MON.40.d
	option = {
		name = MON.40.a
		add_ideas = MON_provisional_government
	}
}
#Àíøëþñ Òóâû:âûáîð 
country_event = {
	id = MON.41
	title = MON.41.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes
	desc = MON.41.d
	option = {
		name = MON.41.a
		ai_chance = { 
			factor = 9
		}
		MON = { 
			annex_country = { target = TAN transfer_troops = yes }
			country_event = { id = MON.42 }
		}
	}
	option = {
		name = MON.41.b
		MON = { country_event = { id = MON.43 } }
		ai_chance = { 
			factor = 1
		}
	}
}
#Òóâà ñîãëàñíà
country_event = {
	id = MON.42
	title = MON.42.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes
	desc = MON.42.d
	option = {
		name = MON.42.a
	}
}
#Òóâà íå ñîãëàñíà
country_event = {
	id = MON.43
	title = MON.43.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes
	desc = MON.43.d
	option = {
		name = MON.43.a
	}
	option = {
		name = MON.43.b
		declare_war_on = {
			target = TAN
			type = annex_everything
		}
	}
}
#Ïåðåâîðîò â Ñèíöçÿíå
country_event = {
	id = MON.44
	title = MON.44.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes
	desc = MON.44.d
	option = {
		name = MON.44.a
		create_country_leader = {
			name = "Alexander Ionov"
			desc = "POLITICS_IONOV_DESC"
			picture = "gfx/leaders/MON/Portrait_Ionov.dds"
			expire = "1965.1.1"
			ideology = despotism
			traits = {
			}
		}
		MON = { puppet = SIK }
		set_party_name = {
			ideology = neutrality
			long_name = MON_neutrality_party_russian
			name = MON_neutrality_russian_short
		}
		set_cosmetic_tag = SIK_sem
		hidden_effect = {
			country_event = { days = 5 id = MON_news.1 }
		}
	}
}
#Ïðîâàë ïåðåâîðîòà â Ñèíöçÿíå
country_event = {
	id = MON.45
	title = MON.45.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes
	desc = MON.45.d
	option = {
		name = MON.45.a
		add_stability = -0.15
		add_manpower = -5000
		hidden_effect = {
			country_event = { days = 5 id = MON_news.2 }
		}
	}
}
#Mongolia proposes an Alliance (Kuomintang)
country_event = {
	id = MON.46
	title = MON.46.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes
	desc = MON.46.d
	option = {
		ai_chance = { factor = 2 }
		name = MON.46.a
		remove_state_core = 330
		create_faction = MON_united_front
		add_to_faction = MON
	}
	option = {
		ai_chance = { factor = 1 }
		name = MON.46.b
	}
}
#Êèòàé ñîãëàñåí
country_event = {
	id = MON.47
	title = MON.47.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes
	desc = MON.47.d
	option = {
		name = MON.47.a
	}
}
#Êèòàé îòêàçàëñÿ
country_event = {
	id = MON.48
	title = MON.48.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes
	desc = MON.48.d
	option = {
		name = MON.48.a
	}
}
#Âîññîçäàíèå ñîþçà ïðè ðàñïàäå Îáúåäèíåííîãî Ôðîíòà
country_event = {
	id = MON.49
	fire_only_once = yes
	hidden = yes
	trigger = {
		tag = CHI
		OR = {
			has_government = neutrality
			has_government = democratic
		}
		has_global_flag = PRC_restart_CHI_war_pre
		is_in_faction = no
		MON = { has_completed_focus = KMT_ties }
	}
	immediate = {
		country_event = { id = MON.46 }
	}
}
#Joint ventures - militay or civillian?
country_event = {
	id = MON.50
	title = MON.50.t
	picture = GFX_report_event_chinese_japanese_handshake
	is_triggered_only = yes
	desc = MON.50.d
	option = {
		name = MON.50.a
		add_ideas = MON_joint_ventures_military
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		CHI = {
			add_ideas =	MON_joint_ventures_military
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}
	option = {
		name = MON.50.b
		add_ideas = MON_joint_ventures_civillian
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		CHI = {
			add_ideas =	MON_joint_ventures_civillian
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}
}
#Russian civil war
country_event = {
	id = MON.51
	title = MON.51.t
	is_triggered_only = yes
	desc = MON.51.d
	option = {
		name = MON.51.a
		start_civil_war = {
			ideology = neutrality
			capital = 566
			states = { 563 564 566 654 588 732 742 }
		}
		hidden_effect = {
			SIK = {
				add_ideas = MON_rovs_support
				if = {
					limit = {
						is_puppet_of = MON
						NOT = { owns_state = 586 }
					}
					transfer_state = 589
					transfer_state = 586
					set_capital = 586
				}
			}
			random_country = {
				limit = {
					original_tag = SOV
					has_government = neutrality
				}
				create_faction = MON_white_movement
				add_to_faction = MON
				MON = {
					add_to_war = {
						targeted_alliance = THIS
						enemy = SOV
					}
					add_ideas = MON_rovs_support
				}
				create_country_leader = {
					name = "Alexander Kerensky"
					desc = "POLITICS_KERENSKY_DESC"
					picture = "gfx/leaders/MON/Portrait_Soviet_Alexander_Kerensky.tga"
					expire = "1970.1.1"
					ideology = centrism
					traits = {
					}
				}
				add_ideas = {
					service_by_requirement
					war_economy
					closed_economy
					MON_rovs_support
				}
				if = {
					limit = { 
						NOT = {
							SIK = { is_puppet_of = MON }
						}
					}
					transfer_state = 589 
					transfer_state = 586
				}
				if = {
					limit = { 
						MON = {
							owns_state = 564 
							owns_state = 563
						}
					}
					transfer_state = 575
					transfer_state = 574
					transfer_state = 561
				}
				if = {
					limit = {
						SIK = { owns_state = 586 }
					}
					transfer_state = 590
					transfer_state = 404
				}
				load_oob = "MON_RUS_civil_war"
				add_equipment_to_stockpile = { type = support_equipment_1 amount = 12000 producer = MON }
				add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 15500 producer = MON }
				add_equipment_to_stockpile = { type = artillery_equipment_1 amount = 9000 producer = MON }
			}
		}
	}
}
#First elections
country_event = {
	id = MON.52
	title = MON.52.t
	desc = MON.52.d
	is_triggered_only = yes

	trigger = {
		tag = MON
		#has_government = communism
		NOT = { has_country_flag = khural_elections_1 }
	}

	immediate = {
		hidden_effect = {
			add_popularity = {
				ideology = democratic
				popularity = 0.3
			}
			set_party_name = { 
				ideology = communism 
				long_name = MON_authoritarian_MAN
				name = MON_authoritarian_MAN_short
			}
			create_country_leader = {
				name = "Khorloogiin Choibalsan"
				desc = "POLITICS_KHORLOOGIIN_CHOIBALSAN_DESC"
				picture = "gfx/leaders/MON/Portrait_Choibalsan.dds"
				expire = "1952.1.1"
				ideology = stalinism
				traits = {
					dictator
				}
			}
			set_country_flag = khural_elections_1
		}
	}

	#Democratic opposition
	option = {
		name = MON.52.a
		create_country_leader = {
			name = "Jamsrangiin Tseveen"
			desc = "POLITICS_TSEVEEN_DESC"
			picture = "gfx/leaders/MON/Portrait_Tseveen.dds"
			expire = "1965.1.1"
			ideology = liberalism
			traits = { }
		}
		add_ideas = MON_liberals_idea
	}

	#MAN liberalization
	option = {
		name = MON.52.b
		set_country_flag = MAN_split
		set_party_name = { 
			ideology = democratic 
			long_name = MON_liberal_MAN
			name = MON_liberal_MAN_short
		}
		create_country_leader = {
			name = "Anandyn Amar"
			desc = "POLITICS_ANANDYN_AMAR_DESC"
			picture = "gfx/leaders/MON/Portrait_Anandyn_Amar.dds"
			expire = "1965.1.1"
			ideology = socialism
			traits = { }
		}
		add_ideas = MON_socdems_idea
	}
}

#Second elections - Post-Tseveen DUC breakup
country_event = {
	id = MON.53
	title = MON.53.t
	desc = MON.53.d
	is_triggered_only = yes

	trigger = {
		tag = MON
		has_country_flag = khural_elections_1
		NOT = { has_country_flag = khural_elections_2 }
	}

	immediate = {
		set_country_flag = khural_elections_2
		remove_ideas = {
			MON_liberals_idea
			MON_socdems_idea
		}
	}

	#Rinchen wins
	option = {
		name = MON.53.a
		set_party_name = { 
			ideology = democratic 
			long_name = MON_conservative
			name = MON_conservative_short
		}
		create_country_leader = {
			name = "Byambyn Rinchen"
			desc = "POLITICS_RINCHEN_DESC"
			picture = "gfx/leaders/MON/Portrait_Rinchen.dds"
			expire = "1965.1.1"
			ideology = conservatism
			traits = { }
		}
		add_ideas = MON_conservatives_idea
	}
	#Natsagdorj wins
	option = {
		name = MON.53.b
		set_party_name = { 
			ideology = democratic 
			long_name = MON_liberal
			name = MON_liberal_short
		}
		create_country_leader = {
			name = "Dashdorjiin Natsagdorj"
			desc = "POLITICS_RINCHEN_DESC"
			picture = "gfx/leaders/MON/Portrait_Natsagdorj.dds"
			expire = "1965.1.1"
			ideology = liberalism
			traits = { }
		}
	}
	#Choibalsan coup!
	#option = {
	#	name = MON.53.c
	#	trigger = {
	#		communism > 0.15
	#	}
	#	set_politics = {
	#		ruling_party = communism
	#		elections_allowed = no
	#	}
	#	hidden_effect = {
	#		MON_reset_pilitics = yes
	#		#complete_national_focus = MON_republicanism
	#		#complete_national_focus = MON_communism_focus
	#		#complete_national_focus = MON_SOV_focus
	#	}
	#}
}

#Mongolia demands Hinggan
country_event = {
	id = MON.54
	title = MON.54.t
	desc = MON.54.d
	is_triggered_only = yes

	option = { #Accept
		name = MON.54.a
		ai_chance = { 
			factor = 1
			modifier = {
				factor = 3
				any_war_score < 39
			}
		}
		MON = { country_event = { id = MON.56 } }
	}
	option = { #Refuse
		name = MON.54.b
		ai_chance = { 
			factor = 5
		}
		MON = { country_event = { id = MON.55 } }
	}
}

#Hinggan refusal
country_event = {
	id = MON.55
	title = MON.55.t
	desc = MON.55.d
	is_triggered_only = yes

	#War
	option = {
		name = MON.55.a
	}
	#Ignore
	option = {
		name = MON.55.b
	}
}
#Hinggan acceptance
country_event = {
	id = MON.56
	title = MON.56.t
	desc = MON.56.d
	is_triggered_only = yes

	option = {
		name = MON.56.a
	}
}

#Mongolia asks for expansion permission
country_event = {
	id = MON.57
	title = MON.57.t
	desc = MON.57.d
	is_triggered_only = yes

	option = {
		name = MON.57.a
		ai_chance = { 
			factor = 1
			modifier = {
				factor = 10
				SOV = {
					has_country_leader = {
						ruling_only = yes
						name = "Leon Trotsky" 
					}
				}
			}
		}
		MON = { set_country_flag = MON_expansion_allowed }
	}
	option = {
		name = MON.57.b
		ai_chance = { 
			factor = 3
		}
	}
}
#USSR permits expansion
country_event = {
	id = MON.58
	title = MON.58.t
	desc = MON.58.d
	is_triggered_only = yes

	option = {
		name = MON.58.a

	}
}
#USSR forbids expansion
country_event = {
	id = MON.59
	title = MON.59.t
	desc = MON.59.d
	is_triggered_only = yes

	option = {
		name = MON.59.a
	}
}

#Rename Ulaanbaatar
country_event = {
	id = MON.60
	title = MON.60.t
	desc = MON.60.d
	is_triggered_only = yes

	option = {
		name = MON.60.a
		trigger = {
			has_completed_focus = MON_monasteries
		}
		set_province_name = { id = 4801 name = "Niĭslel Khüree" }
	}
	option = {
		name = MON.60.b
		set_province_name = { id = 4801 name = "Urga" }
	}
	option = {
		name = MON.60.c
		set_province_name = { id = 4801 name = "Baatar Khot" }
	}
	option = {
		name = MON.60.dd
	}
}

#Second elections - Amar challenged again
country_event = {
	id = MON.61
	title = MON.61.t
	desc = MON.61.d
	is_triggered_only = yes

	trigger = {
		tag = MON
		has_country_flag = khural_elections_1
		has_country_flag = MAN_split
		NOT = { has_country_flag = khural_elections_2 }
	}

	immediate = {
		set_country_flag = khural_elections_2
	}

	#Amar 2nd term
	option = {
		name = MON.61.a
		#add_political_power = 40
	}
	#Rinchen leads opposition
	option = {
		name = MON.61.b
		set_party_name = { 
			ideology = democratic 
			long_name = MON_democratic_party_long
			name = MON_democratic_party
		}
		create_country_leader = {
			name = "Byambyn Rinchen"
			desc = "POLITICS_RINCHEN_DESC"
			picture = "gfx/leaders/MON/Portrait_Rinchen.dds"
			expire = "1965.1.1"
			ideology = conservatism
			traits = { }
		}
	}
}

#Ungern monument
#Bend to China
#Ally with revolting Rodzayevsky
#Neutral or Fascist whites?
#Japanese advisors and new government
#Counter-revolution success: Semyonov, Kerensky or Tsar?