﻿add_namespace = MAN
add_namespace = MAN_skeleton


################
### SKELETON ###
################

country_event = { #Intro
	id = MAN_skeleton.0
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.0" }
	title = MAN_skeleton.0.t
	desc = MAN_skeleton.0.d
	picture = GFX_report_event_generic_military_parade

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = MAN_skeleton.0.a
		hidden_effect = {
			if = {
				limit = {
					has_country_flag = GNG_guarantee_manchukuo_sejima_margin_call
				}
				country_event = { id = MAN_skeleton.1 days = 470 }
			}
			else = {
				random_list = {
					50 = { # Yuyan PM
						modifier = {
							factor = 0
							has_game_rule = { rule = MAN_PATH option = MAN_PATH_KWANTUNG_ARMY }
						}
						modifier = {
							factor = 0
							has_game_rule = { rule = MAN_PATH option = MAN_PATH_BUREAUCRACY }
						}
						country_event = { id = MAN_skeleton.1 days = 470 }
					}
					50 = { # Gu PM
						modifier = {
							factor = 0
							has_game_rule = { rule = MAN_PATH option = MAN_PATH_IMPERIAL_ARMY }
						}
						modifier = {
							factor = 0
							has_game_rule = { rule = MAN_PATH option = MAN_PATH_PUJIE }
						}
						country_event = { id = MAN_skeleton.2 days = 470 }
					}
				}
			}
		}
	}
}

country_event = { # Yuyan PM
	id = MAN_skeleton.1
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.1" }
	title = MAN_skeleton.1.t
	desc = MAN_skeleton.1.d
	picture = GFX_report_event_generic_military_parade

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = MAN_skeleton.1.a
		hidden_effect = {
			hidden_effect = {
				remove_ideas_with_trait = head_of_government
				add_ideas = MAN_Aisin_Gioro_Yuyan_hog
				set_party_name = {
					ideology = despotism
					name = MAN_fascism_party
					long_name = MAN_fascism_party_long
				}
				set_party_name = {
					ideology = despotism_1
					name = MAN_despotism_party
					long_name = MAN_despotism_party_long
				}
				set_party_name = {
					ideology = fascism
					name = MAN_fascism_2_party
					long_name = MAN_fascism_2_party_long
				}
				set_party_name = {
					ideology = fascism_2
					name = MAN_fascism_1_party
					long_name = MAN_fascism_1_party_long
				}
				set_popularities = {
					despotism_1 = 6
					despotism = 12
					fascism = 18
					ultranationalism = 24
					fascism_2 = 18
					fascism_3 = 22
				}
				MAN_sakomizu_hisatsune = {
					add_country_leader_role = {
						promote_leader = yes
						country_leader = {
							desc = ""
							expire = "1999.1.1"
							ideology = fascism_reform_bureaucracy_subtype
							traits = { }
							id = -1
						}
					}
				}
				MAN_Takasaki_Tatsunosuke = {
					add_country_leader_role = {
						promote_leader = yes
						country_leader = {
							desc = ""
							expire = "1999.1.1"
							ideology = fascism_2_subtype
							traits = { }
							id = -1
						}
					}
				}
				set_politics = { ruling_party = despotism }
			}
			set_temp_variable = { TNO_economy_subtype_temp = token:Econ_Subtype_Dirigisme }
			econ_subtype_change = yes
			GNG = {
				country_event = { 
					id = guangdong_manchukuointeractions.22
					days = 2
				}
			}
			set_country_flag = MAN_yuyan_cabinet
			if = {
				limit = {
					has_country_flag = GNG_guarantee_manchukuo_sejima_margin_call
				}
				country_event = { id = MAN_skeleton.3 days = 1635 }
			}
			else = {
				random_list = {
					75 = { # Sejima
						modifier = {
							factor = 0
							has_game_rule = { rule = MAN_PATH option = MAN_PATH_PUJIE }
						}
						country_event = { id = MAN_skeleton.3 days = 1635 }
					}
					25 = { # Pujie
						modifier = {
							factor = 0
							has_game_rule = { rule = MAN_PATH option = MAN_PATH_IMPERIAL_ARMY }
						}
						country_event = { id = MAN_skeleton.4 days = 1635 }
					}
				}	
			}	
		}
	}
}

country_event = { # Gu PM
	id = MAN_skeleton.2
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.2" }
	title = MAN_skeleton.2.t
	desc = MAN_skeleton.2.d
	picture = GFX_report_event_generic_military_parade

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = MAN_skeleton.2.a
		hidden_effect = {
			hidden_effect = {
				remove_ideas_with_trait = head_of_government
				add_ideas = MAN_Gu_Ciheng_hog
				remove_ideas = MAN_Gu_Ciheng_for
				add_ideas = MAN_Takase_Jiro_for
			}
			GNG = {
				country_event = {
					id = guangdong_manchukuointeractions.23
					days = 2
				}
			}
			set_country_flag = MAN_gu_cabinet
			random_list = {
				60 = { # Bureaucrats
					modifier = {
						factor = 0
						has_game_rule = { rule = MAN_PATH option = MAN_PATH_KWANTUNG_ARMY }
					}
					country_event = { id = MAN_skeleton.5 days = 1635 }
				}
				40 = { # Katakura
					modifier = {
						factor = 0
						has_game_rule = { rule = MAN_PATH option = MAN_PATH_BUREAUCRACY }
					}
					country_event = { id = MAN_skeleton.6 days = 1635 }
				}
			}
		}
	}
}

country_event = { # Sejima's Coup
	id = MAN_skeleton.3
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.3" }
	title = MAN_skeleton.3.t
	desc = MAN_skeleton.3.d
	picture = GFX_report_event_generic_military_parade

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = MAN_skeleton.3.a
		hidden_effect = {
			retire_character = MAN_aisin_gioro_puyi
			set_popularities = {
				despotism_1 = 13
				fascism = 19
				despotism = 26
				fascism_2 = 19
				fascism_3 = 23
			}
			set_party_name = {
				ideology = despotism_1
				name = MAN_fascism_party
				long_name = MAN_fascism_party_long
			}
			set_party_name = {
				ideology = despotism_2
				name = MAN_despotism_party
				long_name = MAN_despotism_party_long
			}
			set_party_name = {
				ideology = despotism
				name = MAN_ultranationalism_party
				long_name = MAN_ultranationalism_party_long
			}
			set_party_name = {
				ideology = fascism_2
				name = MAN_fascism_1_party
				long_name = MAN_fascism_1_party_long
			}
			MAN_sejima_ryuzo = {
				promote_character = yes
			}
			set_politics = { ruling_party = despotism }	
			remove_all_ministers = yes
			add_ideas = { 
				MAN_Sejima_Ryuzo_hog
				MAN_Kouda_Chikugen_eco
				MAN_Wang_Jiashan_for   
				MAN_Jengjuurjab_sec
			}
			set_cosmetic_tag = MAN_state_of_manchuria
			set_temp_variable = { gdp_growth_temp = 0.2 }
			econ_gdp_growth_change = yes
			set_country_flag = MAN_path_sejima
			country_event = { id = MAN_skeleton.12 days = 76 }
			GNG = {
				if = { # Morita
					limit = { check_variable = { GNG_legco_faction_in_power = 3 } }
					country_event = { id = guangdong_manchukuointeractions.14 days = 2 }
				}
				else_if = { # Matsushita
					limit = { check_variable = { GNG_legco_faction_in_power = 4 } }
					country_event = { id = guangdong_manchukuointeractions.15 days = 2 }
				}
				else_if = { # Ibuka
					limit = { check_variable = { GNG_legco_faction_in_power = 5 } }
					country_event = { id = guangdong_manchukuointeractions.16 days = 2 }
				}
				else_if = { # Komai
					limit = { check_variable = { GNG_legco_faction_in_power = 7 } }
					country_event = { id = guangdong_manchukuointeractions.17 days = 2 }
				}
			}
			every_country = {
				limit = { is_ai = no }
				news_event = { id = WORLD_MAN.2 }
			}
		}
	}
}

country_event = { # Pujie and Civilian Government
	id = MAN_skeleton.4
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.4" }
	title = MAN_skeleton.4.t
	desc = MAN_skeleton.4.d
	picture = GFX_report_event_generic_military_parade

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = MAN_skeleton.4.a
		hidden_effect = {
			retire_character = MAN_aisin_gioro_puyi
			MAN_aisin_gioro_pujie = {
				add_country_leader_role = {
					promote_leader = yes
					country_leader = {
						desc = "POLITICS_PUJIE_DESC"
						expire = "1999.1.1"
						ideology = despotism_royal_dictatorship_subtype
						traits = { }
						id = -1
					}
				}
			}
			set_politics = { ruling_party = despotism }
			set_party_name = {
				ideology = despotism
				name = MAN_despotism_party
				long_name = MAN_despotism_party_long
			}
			set_party_name = {
				ideology = despotism_1
				name = MAN_fascism_party
				long_name = MAN_fascism_party
			}
			set_popularities = {
				despotism = 6
				despotism_1 = 12
				fascism = 18
				ultranationalism = 24
				fascism_2 = 18
				fascism_3 = 22
			}
			MAN_aisin_gioro_yuyan = {
				add_country_leader_role = {
					promote_leader = yes
					country_leader = {
						desc = ""
						expire = "1999.1.1"
						ideology = despotism_1_subtype
						traits = { }
						id = -1
					}
				}
			}
			remove_all_ministers = yes
			add_ideas = {
				MAN_Aisin_Gioro_Yuyan_hog
				MAN_Han_Yunjie_eco
				MAN_Gu_Ciheng_for
				MAN_Gobulo_Runqi_sec
			}
			set_country_flag = MAN_path_pujie
			country_event = { id = MAN_skeleton.16 days = 76 }
			GNG = {
				if = { # Morita
					limit = { check_variable = { GNG_legco_faction_in_power = 3 } }
					country_event = { id = guangdong_manchukuointeractions.6 days = 2 }
				}
				else_if = { # Matsushita
					limit = { check_variable = { GNG_legco_faction_in_power = 4 } }
					country_event = { id = guangdong_manchukuointeractions.7 days = 2 }
				}
				else_if = { # Ibuka
					limit = { check_variable = { GNG_legco_faction_in_power = 5 } }
					country_event = { id = guangdong_manchukuointeractions.8 days = 2 }
				}
				else_if = { # Komai
					limit = { check_variable = { GNG_legco_faction_in_power = 7 } }
					country_event = { id = guangdong_manchukuointeractions.9 days = 2 }
				}
			}
			every_country = {
				limit = { is_ai = no }
				news_event = { id = WORLD_MAN.1 }
			}
		}
	}
}

country_event = { # Sakomizu and Bureaucratic Dominance
	id = MAN_skeleton.5
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.5" }
	title = MAN_skeleton.5.t
	desc = MAN_skeleton.5.d
	picture = GFX_report_event_generic_military_parade

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = MAN_skeleton.5.a
		hidden_effect = {
			retire_character = MAN_aisin_gioro_puyi
			set_party_name = {
				ideology = fascism
				name = MAN_fascism_2_party
				long_name = MAN_fascism_2_party_long
			}
			set_party_name = {
				ideology = fascism_2
				name = MAN_fascism_party
				long_name = MAN_fascism_party_long
			}
			set_popularities = {
				fascism_2 = 13
				fascism = 20
				ultranationalism = 25
				fascism_1 = 19
				fascism_3 = 23
			}
			MAN_gu_ciheng = {
				add_country_leader_role = {
					promote_leader = yes
					country_leader = {
						desc = ""
						expire = "1999.1.1"
						ideology = fascism_2_subtype
						traits = { }
						id = -1
					}
				}
			}
			set_politics = { ruling_party = fascism }
			MAN_katakura_tadashi = {
				remove_advisor_role = { slot = security_minister }
				add_advisor_role = {
					advisor = {
						slot = security_minister
						idea_token = MAN_Katakura_Tadashi_inn_sec
						traits = { }
						ledger = civilian
						cost = -1
						can_be_fired = no
						ai_will_do = { factor = 0 }
					}
					activate = yes
				}
			}
			remove_all_ministers = yes
			add_ideas = { 
				MAN_Sakomizu_Hisatsune_hog
				MAN_Wada_Hiro_eco
				MAN_Takase_Jiro_for
				MAN_Katakura_Tadashi_inn_sec
			}
			MAN_katakura_tadashi = {
				set_portraits = {
					civilian = { 
						large = "gfx/leaders/MAN/MAN_Katakura_Tadashi_70s.png"
						small = "GFX_idea_MAN_Katakura_Tadashi_70s"
					}
					army = {
						large = "gfx/leaders/MAN/MAN_Katakura_Tadashi_General_70s.png"
						small = "GFX_idea_MAN_Katakura_Tadashi_army_70s"
					}
				}
			}
			set_cosmetic_tag = MAN_state_of_manchuria
			set_country_flag = MAN_path_bureaucrats
			country_event = { id = MAN_skeleton.20 days = 76 }
			GNG = {
				if = { # Morita
					limit = { check_variable = { GNG_legco_faction_in_power = 3 } }
					country_event = { id = guangdong_manchukuointeractions.10 days = 2 }
				}
				else_if = { # Matsushita
					limit = { check_variable = { GNG_legco_faction_in_power = 4 } }
					country_event = { id = guangdong_manchukuointeractions.11 days = 2 }
				}
				else_if = { # Ibuka
					limit = { check_variable = { GNG_legco_faction_in_power = 5 } }
					country_event = { id = guangdong_manchukuointeractions.12 days = 2 }
				}
				else_if = { # Komai
					limit = { check_variable = { GNG_legco_faction_in_power = 7 } }
					country_event = { id = guangdong_manchukuointeractions.13 days = 2 }
				}
			}
			every_country = {
				limit = { is_ai = no }
				news_event = { id = WORLD_MAN.4 }
			}
		}
	}
}

country_event = { # Katakura's Coup
	id = MAN_skeleton.6
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.6" }
	title = MAN_skeleton.6.t
	desc = MAN_skeleton.6.d
	picture = GFX_report_event_generic_military_parade

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = MAN_skeleton.6.a
		hidden_effect = {
			retire_character = MAN_aisin_gioro_puyi
			set_popularities = {
				despotism = 6
				fascism = 13
				fascism_2 = 19
				ultranationalism = 26
				fascism_1 = 19
				fascism_3 = 23
			}
			set_cosmetic_tag = MAN_manshukoku
			set_politics = { ruling_party = ultranationalism }
			remove_all_ministers = yes
			add_ideas = { 
				MAN_Katakura_Tadashi_hog
				MAN_Kamata_Senichi_eco
				MAN_Takeshita_Yoshiharu_for   
				MAN_Inomata_Jinya_sec
			}
			MAN_katakura_tadashi = {
				set_portraits = {
					civilian = { 
						large = "gfx/leaders/MAN/MAN_Katakura_Tadashi_70s.png"
						small = "GFX_idea_MAN_Katakura_Tadashi_70s"
					}
					army = {
						large = "gfx/leaders/MAN/MAN_Katakura_Tadashi_General_70s.png"
						small = "GFX_idea_MAN_Katakura_Tadashi_army_70s"
					}
				}
			}
			set_temp_variable = { gdp_growth_temp = -2.75 }
			econ_gdp_growth_change = yes
			set_country_flag = MAN_path_katakura
			country_event = { id = MAN_skeleton.24 days = 76 }
			GNG = {
				if = { # Morita
					limit = { check_variable = { GNG_legco_faction_in_power = 3 } }
					country_event = { id = guangdong_manchukuointeractions.2 days = 2 }
				}
				else_if = { # Matsushita
					limit = { check_variable = { GNG_legco_faction_in_power = 4 } }
					country_event = { id = guangdong_manchukuointeractions.3 days = 2 }
				}
				else_if = { # Ibuka
					limit = { check_variable = { GNG_legco_faction_in_power = 5 } }
					country_event = { id = guangdong_manchukuointeractions.4 days = 2 }
				}
				else_if = { # Komai
					limit = { check_variable = { GNG_legco_faction_in_power = 7 } }
					country_event = { id = guangdong_manchukuointeractions.5 days = 2 }
				}
			}
			every_country = {
				limit = { is_ai = no }
				news_event = { id = WORLD_MAN.3 }
			}
		}
	}
}

country_event = { # Econ - Yasuda
	id = MAN_skeleton.7
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.7" }
	title = MAN_skeleton.7.t
	desc = MAN_skeleton.7.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.7.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = -1.8 }
		econ_gdp_growth_change = yes
		set_temp_variable = { temp_econ_GDP_boost_percentage = -0.1 }
		econ_GDP_boost_once_percentage = yes
		country_event = { id = MAN_skeleton.8 days = 275 }
	}
}

country_event = { # Econ - 1964
	id = MAN_skeleton.8
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.8" }
	title = MAN_skeleton.8.t
	desc = MAN_skeleton.8.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.8.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.3 }
		econ_gdp_growth_change = yes
		set_temp_variable = { temp_econ_GDP_boost_percentage = 0.14 }
		econ_GDP_boost_once_percentage = yes
		country_event = { id = MAN_skeleton.9 days = 365 }
	}
}

country_event = { # Econ - 1965
	id = MAN_skeleton.9
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.9" }
	title = MAN_skeleton.9.t
	desc = MAN_skeleton.9.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.9.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.5 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.10 days = 365 }
	}
}

country_event = { # Econ 1966
	id = MAN_skeleton.10
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.10" }
	title = MAN_skeleton.10.t
	desc = MAN_skeleton.10.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.10.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.15 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.10 days = 365 }
	}
}

country_event = { # Econ 1967
	id = MAN_skeleton.11
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.11" }
	title = MAN_skeleton.11.t
	desc = MAN_skeleton.11.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.11.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.15 }
		econ_gdp_growth_change = yes
	}
}

country_event = { # Econ Sejima 1968
	id = MAN_skeleton.12
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.12" }
	title = MAN_skeleton.12.t
	desc = MAN_skeleton.12.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.12.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.75 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.13 days = 365 }
	}
}

country_event = { # Econ Sejima 1969
	id = MAN_skeleton.13
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.13" }
	title = MAN_skeleton.13.t
	desc = MAN_skeleton.13.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.13.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.65 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.14 days = 365 }
	}
}

country_event = { # Econ Sejima 1970
	id = MAN_skeleton.14
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.14" }
	title = MAN_skeleton.14.t
	desc = MAN_skeleton.14.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.14.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.5 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.15 days = 365 }
	}
}

country_event = { # Econ Sejima 1971
	id = MAN_skeleton.15
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.15" }
	title = MAN_skeleton.15.t
	desc = MAN_skeleton.15.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.15.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = -2.5 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.151 days = 365 }
	}
}

country_event = { # Econ Sejima 1972
	id = MAN_skeleton.151
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.151" }
	title = MAN_skeleton.151.t
	desc = MAN_skeleton.151.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.151.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 1.35 }
		econ_gdp_growth_change = yes
	}
}

country_event = { # Econ Pujie 1968
	id = MAN_skeleton.16
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.16" }
	title = MAN_skeleton.16.t
	desc = MAN_skeleton.16.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.16.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.25 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.17 days = 365 }
	}
}

country_event = { # Econ Pujie 1969
	id = MAN_skeleton.17
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.17" }
	title = MAN_skeleton.17.t
	desc = MAN_skeleton.17.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.17.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.25 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.18 days = 365 }
	}
}

country_event = { # Econ Pujie 1970
	id = MAN_skeleton.18
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.18" }
	title = MAN_skeleton.18.t
	desc = MAN_skeleton.18.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.18.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.35 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.19 days = 365 }
	}
}

country_event = { # Econ Pujie 1971
	id = MAN_skeleton.19
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.19" }
	title = MAN_skeleton.19.t
	desc = MAN_skeleton.19.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.19.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = -3 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.191 days = 365 }
	}
}

country_event = { # Econ Pujie 1972
	id = MAN_skeleton.191
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.191" }
	title = MAN_skeleton.191.t
	desc = MAN_skeleton.191.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.191.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 2 }
		econ_gdp_growth_change = yes
	}
}

country_event = { # Econ Bureaucrats 1968
	id = MAN_skeleton.20
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.20" }
	title = MAN_skeleton.20.t
	desc = MAN_skeleton.20.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.20.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.45 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.21 days = 365 }
	}
}

country_event = { # Econ Bureaucrats 1969
	id = MAN_skeleton.21
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.21" }
	title = MAN_skeleton.21.t
	desc = MAN_skeleton.21.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.21.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.5 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.22 days = 365 }
	}
}

country_event = { # Econ Bureaucrats 1970
	id = MAN_skeleton.22
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.22" }
	title = MAN_skeleton.22.t
	desc = MAN_skeleton.22.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.22.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.75 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.23 days = 365 }
	}
}

country_event = { # Econ Bureaucrats 1971
	id = MAN_skeleton.23
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.23" }
	title = MAN_skeleton.23.t
	desc = MAN_skeleton.23.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.23.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = -2.25 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.231 days = 365 }
	}
}

country_event = { # Econ Bureaucrats 1972
	id = MAN_skeleton.231
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.231" }
	title = MAN_skeleton.231.t
	desc = MAN_skeleton.231.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.231.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 1.65 }
		econ_gdp_growth_change = yes
	}
}

country_event = { # Econ Katakura 1968
	id = MAN_skeleton.24
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.24" }
	title = MAN_skeleton.24.t
	desc = MAN_skeleton.24.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.24.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.25 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.25 days = 365 }
	}
}

country_event = { # Econ Katakura 1969
	id = MAN_skeleton.25
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.25" }
	title = MAN_skeleton.25.t
	desc = MAN_skeleton.25.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.25.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.35 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.26 days = 365 }
	}
}

country_event = { # Econ Katakura 1970
	id = MAN_skeleton.26
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.26" }
	title = MAN_skeleton.26.t
	desc = MAN_skeleton.26.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.26.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 0.5 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.27 days = 365 }
	}
}

country_event = { # Econ Katakura 1971
	id = MAN_skeleton.27
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.27" }
	title = MAN_skeleton.27.t
	desc = MAN_skeleton.27.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.27.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = -3 }
		econ_gdp_growth_change = yes
		country_event = { id = MAN_skeleton.271 days = 365 }
	}
}

country_event = { # Econ Katakura 1972
	id = MAN_skeleton.271
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.271" }
	title = MAN_skeleton.271.t
	desc = MAN_skeleton.271.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.271.a
		ai_chance = { factor = 1 }
		set_temp_variable = { gdp_growth_temp = 1.6 }
		econ_gdp_growth_change = yes
	}
}

country_event = { # blagochevensk border conflict
	id = MAN_skeleton.28
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.28" }
	title = MAN_skeleton.28.t
	desc = MAN_skeleton.28.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.28.a
		ai_chance = { factor = 1 }
		start_border_war = {
			change_state_after_war = no
			attacker = {
				state = 657
				num_provinces = 4
				on_win = MAN_skeleton.281
				on_lose = MAN_skeleton.281
				modifier = 0.1
			}
			defender = {
				state = 1364
				num_provinces = 4
			}
		}
	}
}

country_event = { # blagochevensk border conflict - MAN wins
	id = MAN_skeleton.281
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.281" }
	title = MAN_skeleton.281.t
	desc = MAN_skeleton.281.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.281.a
		ai_chance = { factor = 1 }
		MAN = {
			transfer_state = 1364
			1364 = { add_compliance = 85 }
		}
	}
}

country_event = { # blagochevensk border conflict - RUS wins
	id = MAN_skeleton.282
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN_skeleton.282" }
	title = MAN_skeleton.282.t
	desc = MAN_skeleton.282.desc
	#picture = 
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = { #
		name = MAN_skeleton.282.a
		ai_chance = { factor = 1 }

		
	}
}

country_event = { # Qing
	id = MAN.1644
	immediate = { log = "[GetDateText]: [Root.GetName]: event MAN.1644" }
	title = MAN.1644.t
	desc = MAN.1644.d
	#picture = 

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = MAN.1644.a
		for_each_scope_loop = {
			array = global.greater_china_states
			transfer_state_to = MAN
		}

		set_state_owner = 1024
		set_state_owner = 560
		set_state_owner = 527
		set_state_owner = 1018
		set_state_owner = 962
		set_state_owner = 655
		set_state_owner = 525
		set_state_owner = 963
		set_state_owner = 1816
		set_state_owner = 1817
		set_state_owner = 1818
		set_state_owner = 1819
		set_state_owner = 1820

		605 = { set_demilitarized_zone = no }
		1538 = { set_demilitarized_zone = no }
		set_capital = { state = 608 }

		every_owned_state = { add_core_of = MAN }

		leave_faction = yes
		set_temp_variable = { TNO_economy_subtype_temp = token:Econ_Subtype_Dirigisme }
		econ_subtype_change = yes

		remove_ideas = {
			MAN_Chained_To_Rising_Sun
			MAN_Vices_Of_Modernity
			MAN_Kwantung_Army
			MAN_partisans_in_the_east
		}

		econ_leave_sphere = yes
		econ_recompile_all_spheres = yes
		recalculate_world_trade_influence = yes

		retire_character = MAN_aisin_gioro_puyi
		MAN_xuantong = {
			add_country_leader_role = {
				country_leader = {
					desc = "POLITICS_PUJI_1644_DESC"
					expire = "1999.1.1"
					ideology = despotism_absolute_monarchy_subtype
					traits = { }
					id = -1
				}
			}
			promote_character = despotism_absolute_monarchy_subtype
			add_country_leader_role = {
				country_leader = {
					desc = "POLITICS_PUJI_1644_DESC"
					expire = "1999.1.1"
					ideology = liberalism_national_liberal_subtype
					traits = { }
					id = -1
				}
			}
			promote_character = liberalism_national_liberal_subtype
			add_country_leader_role = {
				country_leader = {
					desc = "POLITICS_PUJI_1644_DESC"
					expire = "1999.1.1"
					ideology = communist_mao_zedong_thought_subtype
					traits = { }
					id = -1
				}
			}
			promote_character = communist_mao_zedong_thought_subtype
			add_country_leader_role = {
				country_leader = {
					desc = "POLITICS_PUJI_1644_DESC"
					expire = "1999.1.1"
					ideology = fascism_corporate_statism_subtype
					traits = { }
					id = -1
				}
			}
			promote_character = fascism_corporate_statism_subtype
			add_country_leader_role = {
				country_leader = {
					desc = "POLITICS_PUJI_1644_DESC"
					expire = "1999.1.1"
					ideology = progressivism_reformist_socialism_subtype
					traits = { }
					id = -1
				}
			}
			promote_character = progressivism_reformist_socialism_subtype
			add_country_leader_role = {
				country_leader = {
					desc = "POLITICS_PUJI_1644_DESC"
					expire = "1999.1.1"
					ideology = national_socialism_clerical_fascism_subtype
					traits = { }
					id = -1
				}
			}
			promote_character = national_socialism_clerical_fascism_subtype
			add_country_leader_role = {
				country_leader = {
					desc = "POLITICS_PUJI_1644_DESC"
					expire = "1999.1.1"
					ideology = paternalism_oligarchy_subtype
					traits = { }
					id = -1
				}
			}
			promote_character = paternalism_oligarchy_subtype
		}
		set_party_name = {
			ideology = despotism 
			long_name = MAN_despotism_1644
			name = MAN_despotism_1644_long 
		}
		set_party_name = {
			ideology = liberalism 
			long_name = MAN_lib_dem_1644
			name = MAN_lib_dem_1644_long 
		}
		set_party_name = {
			ideology = communist
			long_name = MAN_communist_1644
			name = MAN_communist_1644_long
		}
		set_party_name = {
			ideology = progressivism
			long_name = MAN_soc_dem_1644
			name = MAN_soc_dem_1644_long
		}
		set_party_name = {
			ideology = paternalism
			long_name = MAN_auth_dem_1644
			name = MAN_auth_dem_1644_long
		}
		set_party_name = {
			ideology = fascism
			long_name = MAN_fash_1644
			name = MAN_fash_1644_long
		}
		set_party_name = {
			ideology = national_socialism
			long_name = MAN_natsoc_1644
			name = MAN_natsoc_1644_long
		}
		set_popularities = {
			liberalism = 6
			progressivism = 10
			paternalism = 15
			national_socialism = 6
			fascism = 9
			communist = 12
			despotism = 42
		}
		set_politics = { ruling_party = despotism }
		set_cosmetic_tag = MAN_1644
		remove_all_ministers = yes
		add_ideas = {
			MAN_Aisin_Gioro_Yuyan_hog
			MAN_Han_Yunjie_eco
			MAN_Gu_Ciheng_for
			MAN_Gobulo_Runqi_sec
		}
	}
}