add_namespace = MEN_skeleton
add_namespace = MEN_revolution

country_event = { #Death of Li Shouxin - Unused
	id = MEN_skeleton.1
	title = MEN_skeleton.1.t
	immediate = { log = "[GetDateText]: [Root.GetName]: event MEN_skeleton.1" }
	desc = MEN_skeleton.1.d
	picture = GFX_report_event_CHI_soldiers_jungle
	is_triggered_only = yes
	fire_only_once = yes

	option = { name = MEN_skeleton.1.a
		CHI = {
			country_event = { id = chi.5017 days = 2 }
		}
	}
}

country_event = { # Death of Demchungdongrub
	id = MEN_skeleton.2
	immediate = { log = "[GetDateText]: [Root.GetName]: event MEN_skeleton.2" }
	title = MEN_skeleton.2.t
	desc = MEN_skeleton.2.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = MEN_skeleton.2.a
		retire_character = MEN_Demchugdongrub
		promote_character = MEN_Dugursulong
		every_country = {
			limit = { is_ai = no }
			news_event = {
				id = WORLD.16509
			}
		}
		330 = {
		    set_demilitarized_zone = yes
		}
		815 = {
		    set_demilitarized_zone = yes
		}
	}
}

country_event = { # Revolution in the Steppe
	id = MEN_revolution.1
	immediate = { log = "[GetDateText]: [Root.GetName]: event MEN_revolution.1" }
	title = MEN_revolution.1.t
	desc = MEN_revolution.1.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = MEN_revolution.1.a
		set_cosmetic_tag = MEN_RED_FRONT
		set_politics = {
			ruling_party = socialist
			last_election = "1966.6.20"
			election_frequency = 36
			elections_allowed = yes
		}
		set_popularities = {
			communist = 20
			socialist = 45
			progressivism = 20
			liberalism = 0
			liberal_conservatism = 0
			conservatism = 0
			paternalism = 15
			despotism = 0
			fascism = 0
			national_socialism = 0
			ultranationalism = 0
		}
		leave_faction = yes
		econ_leave_sphere = yes
		remove_faction_status = yes
		CHI = {
			end_puppet = MEN
		}
		330 = {
		    set_demilitarized_zone = no
		}
		set_capital = {
            state = 330
            remember_old_capital = no
        }
		set_province_name = { id = 4801 name = "Ulaanbaatar"}
		814 = {
		    set_demilitarized_zone = no
		}
		815 = {
		    set_demilitarized_zone = no
		}
	}
}

country_event = { # 
	id = MEN_revolution.2
	immediate = { log = "[GetDateText]: [Root.GetName]: event MEN_revolution.2" }
	title = MEN_revolution.2.t
	desc = MEN_revolution.2.d

	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = MEN_revolution.2.a # Bolshevists
		set_cosmetic_tag = MEN_RED
		set_politics = {
			ruling_party = communist
			last_election = "1966.6.20"
			election_frequency = 36
			elections_allowed = no
		}
		set_popularities = {
			communist = 0
			communist_1 = 5
			communist_2 = 5
			communist_3 = 10
			communist_4 = 25
			socialist = 25
			progressivism = 15
			liberalism = 0
			liberal_conservatism = 0
			conservatism = 0
			paternalism = 15
			despotism = 0
			fascism = 0
			national_socialism = 0
			ultranationalism = 0
		}
		MEN_Yumjaagiin_Tsedenbal = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_YUMJAAGIIN_TSEDENBAL_DESC"
					ideology = communist_1_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		set_party_name = { 
            ideology = communist_4
            long_name = MEN_communist_party_long
            name = MEN_communist_party
        }
		MEN_Bat_Ochiryn_Eldev_Ochir = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_BAT_OCHIRYN_ELDEV_OCHIR_DESC"
					ideology = communist_bolshevism_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_BAT_OCHIRYN_ELDEV_OCHIR_DESC"
					ideology = communist_4_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		MEN_Ulanhu = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_ULANHU_DESC"
					ideology = communist_2_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		MEN_Batyn_Dorzh = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_BATYN_DORZH_DESC"
					ideology = communist_3_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		MEN_Hafuna = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_HAFUNA_DESC"
					ideology = socialist_left_wing_nationalism_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
	}
	
	option = {
		name = MEN_revolution.2.b # Nationalists
		set_cosmetic_tag = MEN_RED
		set_politics = {
			ruling_party = communist
			last_election = "1966.6.20"
			election_frequency = 36
			elections_allowed = no
		}
		set_popularities = {
			communist = 0
			communist_1 = 5
			communist_2 = 25
			communist_3 = 10
			communist_4 = 5
			socialist = 25
			progressivism = 15
			liberalism = 0
			liberal_conservatism = 0
			conservatism = 0
			paternalism = 15
			despotism = 0
			fascism = 0
			national_socialism = 0
			ultranationalism = 0
		}
		MEN_Yumjaagiin_Tsedenbal = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_YUMJAAGIIN_TSEDENBAL_DESC"
					ideology = communist_1_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		set_party_name = { 
            ideology = communist
            long_name = MEN_communist_2_party_long
            name = MEN_communist_2_party
        }
		MEN_Bat_Ochiryn_Eldev_Ochir = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_BAT_OCHIRYN_ELDEV_OCHIR_DESC"
					ideology = communist_4_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		set_party_name = { 
            ideology = communist_4
            long_name = MEN_communist_party_long
            name = MEN_communist_party
        }
		MEN_Ulanhu = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_ULANHU_DESC"
					ideology = communist_national_communism_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_ULANHU_DESC"
					ideology = communist_2_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		MEN_Batyn_Dorzh = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_BATYN_DORZH_DESC"
					ideology = communist_3_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		MEN_Hafuna = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_HAFUNA_DESC"
					ideology = socialist_left_wing_nationalism_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
	}
	
	option = {
		name = MEN_revolution.2.c # Militarists
		set_cosmetic_tag = MEN_RED
		set_politics = {
			ruling_party = communist
			last_election = "1966.6.20"
			election_frequency = 36
			elections_allowed = no
		}
		set_popularities = {
			communist = 0
			communist_1 = 5
			communist_2 = 10
			communist_3 = 25
			communist_4 = 5
			socialist = 25
			progressivism = 15
			liberalism = 0
			liberal_conservatism = 0
			conservatism = 0
			paternalism = 15
			despotism = 0
			fascism = 0
			national_socialism = 0
			ultranationalism = 0
		}
		MEN_Yumjaagiin_Tsedenbal = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_YUMJAAGIIN_TSEDENBAL_DESC"
					ideology = communist_1_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		set_party_name = { 
            ideology = communist
            long_name = MEN_communist_3_party_long
            name = MEN_communist_3_party
        }
		MEN_Bat_Ochiryn_Eldev_Ochir = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_BAT_OCHIRYN_ELDEV_OCHIR_DESC"
					ideology = communist_4_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		set_party_name = { 
            ideology = communist_4
            long_name = MEN_communist_party_long
            name = MEN_communist_party
        }
		MEN_Ulanhu = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_ULANHU_DESC"
					ideology = communist_3_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		set_party_name = { 
            ideology = communist_3
            long_name = MEN_communist_4_party_long
            name = MEN_communist_4_party
        }
		set_party_name = { 
            ideology = communist_2
            long_name = MEN_communist_3_party_long
            name = MEN_communist_3_party
        }
		MEN_Batyn_Dorzh = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_BATYN_DORZH_DESC"
					ideology = communist_3_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_BATYN_DORZH_DESC"
					ideology = communist_stratocratic_communism_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		MEN_Hafuna = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_HAFUNA_DESC"
					ideology = socialist_left_wing_nationalism_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
	}
	
	option = {
		name = MEN_revolution.2.d # Stalinists
		set_cosmetic_tag = MEN_RED
		set_politics = {
			ruling_party = communist
			last_election = "1966.6.20"
			election_frequency = 36
			elections_allowed = no
		}
		set_popularities = {
			communist = 0
			communist_1 = 25
			communist_2 = 10
			communist_3 = 5
			communist_4 = 5
			socialist = 25
			progressivism = 15
			liberalism = 0
			liberal_conservatism = 0
			conservatism = 0
			paternalism = 15
			despotism = 0
			fascism = 0
			national_socialism = 0
			ultranationalism = 0
		}
		MEN_Yumjaagiin_Tsedenbal = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_YUMJAAGIIN_TSEDENBAL_DESC"
					ideology = communist_marxism_leninism_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_YUMJAAGIIN_TSEDENBAL_DESC"
					ideology = communist_1_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		set_party_name = { 
            ideology = communist
            long_name = MEN_communist_1_party_long
            name = MEN_communist_1_party
        }
		MEN_Bat_Ochiryn_Eldev_Ochir = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_BAT_OCHIRYN_ELDEV_OCHIR_DESC"
					ideology = communist_4_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		set_party_name = { 
            ideology = communist_4
            long_name = MEN_communist_party_long
            name = MEN_communist_party
        }
		MEN_Ulanhu = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_ULANHU_DESC"
					ideology = communist_3_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		set_party_name = { 
            ideology = communist_3
            long_name = MEN_communist_2_party_long
            name = MEN_communist_2_party
        }
		MEN_Batyn_Dorzh = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_BATYN_DORZH_DESC"
					ideology = communist_2_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
		set_party_name = { 
            ideology = communist_2
            long_name = MEN_communist_3_party_long
            name = MEN_communist_3_party
        }
		MEN_Hafuna = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_HAFUNA_DESC"
					ideology = socialist_left_wing_nationalism_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
	}
}


country_event = { # 
	id = MEN_revolution.3
	immediate = { log = "[GetDateText]: [Root.GetName]: event MEN_revolution.3" }
	title = MEN_revolution.3.t
	desc = MEN_revolution.3.d

	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = MEN_revolution.3.a # Progressives
		set_cosmetic_tag = MEN_REPUBLIC
		set_politics = {
			ruling_party = progressivism
			last_election = "1966.6.20"
			election_frequency = 36
			elections_allowed = yes
		}
		set_popularities = {
			communist = 15
			socialist = 30
			progressivism = 35
			liberalism = 0
			liberal_conservatism = 0
			conservatism = 0
			paternalism = 20
			despotism = 0
			fascism = 0
			national_socialism = 0
			ultranationalism = 0
		}
		MEN_Hafuna = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_HAFUNA_DESC"
					ideology = socialist_left_wing_nationalism_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
	}
	
	option = {
		name = MEN_revolution.3.b # Left-wing Paternalists
		set_cosmetic_tag = MEN_REPUBLIC
		set_politics = {
			ruling_party = paternalism
			last_election = "1966.6.20"
			election_frequency = 36
			elections_allowed = yes
		}
		set_popularities = {
			communist = 15
			socialist = 30
			progressivism = 20
			liberalism = 0
			liberal_conservatism = 0
			conservatism = 0
			paternalism = 35
			despotism = 0
			fascism = 0
			national_socialism = 0
			ultranationalism = 0
		}
		MEN_Hafuna = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_HAFUNA_DESC"
					ideology = socialist_left_wing_nationalism_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
	}
	
	option = {
		name = MEN_revolution.3.c # Socialists
		set_cosmetic_tag = MEN_RED
		set_politics = {
			ruling_party = socialist
			last_election = "1966.6.20"
			election_frequency = 36
			elections_allowed = no
		}
		set_popularities = {
			communist = 15
			socialist = 35
			progressivism = 30
			liberalism = 0
			liberal_conservatism = 0
			conservatism = 0
			paternalism = 20
			despotism = 0
			fascism = 0
			national_socialism = 0
			ultranationalism = 0
		}
		MEN_Hafuna = {
			add_country_leader_role = {
				country_leader = {
				    desc = "POLITICS_HAFUNA_DESC"
					ideology = socialist_left_wing_nationalism_subtype
					expire = "1999.1.1.1"
					id = -1
				}
				promote_leader = yes
			}
		}
	}
}

country_event = { # Revolution in the Steppe - ideological direction
	id = MEN_revolution.4
	immediate = { log = "[GetDateText]: [Root.GetName]: event MEN_revolution.4" }
	title = MEN_revolution.4.t
	desc = MEN_revolution.4.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = MEN_revolution.4.a
		country_event = { id = MEN_revolution.2 days = 2 }
	}
	
	option = {
		name = MEN_revolution.4.b
		country_event = { id = MEN_revolution.3 days = 2 }
	}
}

add_namespace = MEN_china_relations

country_event = { # FUCK Qinghai!!!
	id = MEN_china_relations.1
	immediate = { log = "[GetDateText]: [Root.GetName]: event MEN_china_relations.1" }
	title = MEN_china_relations.1.t
	desc = MEN_china_relations.1.d

	fire_only_once = yes
	is_triggered_only = yes

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

country_event = { # LOVE Qinghai!!!
	id = MEN_china_relations.2
	immediate = { log = "[GetDateText]: [Root.GetName]: event MEN_china_relations.2" }
	title = MEN_china_relations.2.t
	desc = MEN_china_relations.2.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = MEN_china_relations.2.a
	}
}