#################################
#### Warlord Country Events #####
#################################

add_namespace = SEA_warlords 
add_namespace = tsr_sichuan_border_war 

country_event = {
	id = SEA_warlords.1
	title = SEA_warlords.1.t
	desc = SEA_warlords.1.desc
	picture = GFX_report_event_chinese_soldiers_02

	is_triggered_only = yes

	fire_only_once = yes

	#We give up
	option = {
		name = SEA_warlords.1.a
		ai_chance = {
			base = 100
			modifier = {
				add = 50 
				CHI = {
					OR = {
						has_completed_focus = CHI_inspect_the_troops
						has_completed_focus = CHI_extend_jurisdiction_to_the_provinces
						has_completed_focus = CHI_continue_the_ding_xian_experiment
					}
				}
			}
		}
		trigger = {
			OR = {
				is_in_faction_with = CHI
				is_subject_of = CHI
			}
		}
		custom_effect_tooltip = GAME_OVER_TT
		retire_character = SIC_liu_xiang
		every_army_leader = {
			set_nationality = CHI
		}
		CHI = { 
			annex_country = {
    			target = SIC
    			transfer_troops = yes
			}
			country_event = {
				id = SEA_warlords.3
				hours = 6
			}
			IF = {
				limit = {
					SIC = { is_subject_of = CHI }
				}
				add_faction_influence_ratio = 0.05
			}
			IF = {
				limit = {
					SIC = { has_autonomy_state = autonomy_sea_integrated_warlord_subject }
				}
				add_faction_influence_ratio = 0.1
			}
		}
	}

	#No thanks mister chiang
	option = {
		name = SEA_warlords.1.b
		ai_chance = {
			base = 0
			modifier = {
				add = 50
				is_historical_focus_on = no
			}
			modifier = {
				factor = 0.5
				CHI = {
					has_government = democratic
				}
			}
		}

		retire_character = SIC_liu_xiang

		custom_effect_tooltip = generic_skip_one_line_tt

		add_stability = -0.15
		add_political_power = -100
		add_war_support = 0.1

		custom_effect_tooltip = generic_skip_one_line_tt

		custom_effect_tooltip = SIC_can_lead_to_war_with_china_tt

		custom_effect_tooltip = generic_skip_one_line_tt

		CHI = {
			country_event = {
				id = SEA_warlords.2
				hours = 6
			}
		}

	}

}

country_event = {
	id = SEA_warlords.2
	title = SEA_warlords.2.t
	desc = SEA_warlords.2.desc
	picture = GFX_report_event_chinese_soldiers_01
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# Cringe
	option = { 
		name = SEA_warlords.2.a
		ai_chance = {
			base = 75
			modifier = {
				factor = 0 # They will only push the matter if going fascist, as it is not worth antagonizing the rest of China otherwise
				NOT = { 
					has_government = fascism
					has_completed_focus = CHI_strengthening_our_resolve
				}
			}
		}
		create_wargoal = {
			type = annex_everything
			target = FROM
			expire = 0
		}
		IF = {
			limit = {
				FROM = {
					is_in_faction_with = ROOT
				}
			}
			remove_from_faction = FROM
		}	

	}

	# Oh well
	option = { 
		name = SEA_warlords.2.b
		ai_chance = {
			base = 25
		}

		add_political_power = -25
		add_stability = -0.05

	}
}

country_event = {
	id = SEA_warlords.3
	title = SEA_warlords.3.t
	desc = SEA_warlords.3.desc
	picture = GFX_report_event_chinese_officers

	
	is_triggered_only = yes

	fire_only_once = yes
	
	# Excelent
	option = { 
		name = SEA_warlords.3.a
		ai_chance = {
			base = 100
		}
		add_political_power = 25
	}

}

country_event = {
	id = SEA_warlords.4
	title = SEA_warlords.4.t
	desc = SEA_warlords.4.desc
	picture = GFX_report_event_spr_anarchist_uprising2

	
	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		hidden_effect = {
			KUM = {
				transfer_state = 760
				load_oob = "KUM_uprising"
				add_ideas = {
					SIK_battle_for_sinkiang
				}
			}
			760 = {
				remove_dynamic_modifier = {
					modifier = SIK_state_autonomous_prefecture
				}
			}
			IF = {
				limit = {
					KHM = {
						has_country_flag = KHM_initiated_the_war_flag
					}
				}
				KHM = {
					puppet = {
					    target = KUM
					    end_wars = no
					}
				}
			}
		}
	}

	# crushcrushcrush
	option = { 
		name = SEA_warlords.4.a
		ai_chance = {
			base = 100
		}
		declare_war_on = {
			target = KUM
			type = annex_everything
		}
		custom_effect_tooltip = generic_skip_one_line_tt
		effect_tooltip = {
			760 = {
				remove_dynamic_modifier = {
					modifier = SIK_state_autonomous_prefecture
				}
			}
		}
	}

	# We be Kumul
	option = { 
		name = SEA_warlords.4.b
		ai_chance = {
			base = 0
		}

		custom_effect_tooltip = we_will_play_as_kum_tt
		hidden_effect = {
			KUM = {
				load_oob = "KUM_uprising_2"
				change_tag_from = ROOT
			}
		}
		custom_effect_tooltip = generic_skip_one_line_tt

		declare_war_on = {
			target = KUM
			type = annex_everything
		}

		custom_effect_tooltip = generic_skip_one_line_tt
		
		effect_tooltip = {
			760 = {
				remove_dynamic_modifier = {
					modifier = SIK_state_autonomous_prefecture
				}
			}
		}
	}	

}

country_event = {
	id = SEA_warlords.5
	title = SEA_warlords.5.t
	desc = SEA_warlords.5.desc
	picture = GFX_report_event_china_infiltration

	
	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		IF = {
			limit = {
				619 = { is_controlled_by = KHM }
			}
			619 = {
				transfer_state_to = KHM
				add_core_of = KHM
			}
		}

		IF = {
			limit = {
				has_war_with = KHM
			}
			white_peace = {
			    tag = KHM
			    #message = SIK_failed_campaign_tt
			}
		}
	}

	# nooo
	option = { 
		name = SEA_warlords.5.a
		ai_chance = {
			base = 100
		}
		custom_effect_tooltip = SIK_locks_good_focus_tt
		custom_effect_tooltip = generic_skip_one_line_tt
		every_country = {
			limit = {
				has_idea = SIK_battle_for_sinkiang
			}
			remove_ideas = {
				SIK_battle_for_sinkiang
			}
		}
		custom_effect_tooltip = generic_skip_one_line_tt
		add_war_support = -0.1	
		set_truce = {
			target = KHM
			days = 365
		}
		custom_effect_tooltip = generic_skip_one_line_tt
		SOV ={
			add_opinion_modifier = {
				target = ROOT
				modifier = failed_revolutionaries
			}
		}
	}	
}

country_event = {
	id = SEA_warlords.6
	title = SEA_warlords.6.t
	desc = SEA_warlords.6.desc
	picture = GFX_report_event_tur_machine_gunners

	
	is_triggered_only = yes

	fire_only_once = yes

	# eh
	option = { 
		name = SEA_warlords.6.a
		ai_chance = {
			base = 100
			modifier = {
				factor = 0
				KHM = {
					is_ai = no
				}
			}
		}
		effect_tooltip = {
			add_equipment_to_stockpile = { 
				type = infantry_equipment
				amount = -1000
				producer = ROOT
			}
			add_manpower = -1000
			custom_effect_tooltip = generic_skip_one_line_tt
			KHM = {
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 1000
					producer = ROOT
				}
				add_manpower = 1000	
			}
		}
		custom_effect_tooltip = generic_skip_one_line_tt
		FROM = {
			country_event = {
				id = SEA_warlords.7
				hours = 6
			}
		}
		
	}

	# full support
	option = { 
		name = SEA_warlords.6.b
		ai_chance = {
			base = 25 
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				KHM = {
					is_ai = yes
				}
			}
		}
		SOV = {
			add_opinion_modifier = {
				target = ROOT
				modifier = criticized_our_intervention_opm
			}
		}
		add_relation_rule_override = {
			target = KHM 
			can_send_volunteers = yes
		}
		hidden_effect = {
			add_ai_strategy = {
				type = send_volunteers_desire
				id = KHM
				value = 50
			}
			add_ai_strategy = {
				type = protect
				id = KHM
				value = 50
			}
			add_timed_idea = {
				idea = CHI_intervention_for_khm_idea
				days = 364 
			}	
		}
		custom_effect_tooltip = generic_skip_one_line_tt
		effect_tooltip = {
			add_equipment_to_stockpile = { 
				type = infantry_equipment
				amount = -1500
				producer = ROOT
			}
			add_equipment_to_stockpile = { 
				type = artillery_equipment
				amount = -150
				producer = ROOT
			}
			add_manpower = -2500
			custom_effect_tooltip = generic_skip_one_line_tt
			KHM = {
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 1500
					producer = ROOT
				}
				add_equipment_to_stockpile = { 
					type = artillery_equipment
					amount = 150
					producer = ROOT
				}
				add_manpower = 2500	
			}
		}
		custom_effect_tooltip = generic_skip_one_line_tt
		FROM = {
			country_event = {
				id = SEA_warlords.8
				hours = 6
			}
		}

	}


	# nope
	option = { 
		name = SEA_warlords.6.c
		ai_chance = {
			base = 0
		}
		SOV = {
			add_opinion_modifier = {
				target = ROOT
				modifier = turned_a_blind_eye_opm
			}
		}
		custom_effect_tooltip = generic_skip_one_line_tt
		FROM = {
			country_event = {
				id = SEA_warlords.9
				hours = 6
			}
		}
		
	}
}

country_event = {
	id = SEA_warlords.7
	title = SEA_warlords.7.t
	desc = SEA_warlords.7.desc
	picture = GFX_report_event_chinese_soldiers_02

	
	is_triggered_only = yes

	fire_only_once = yes

	# yay
	option = { 
		name = SEA_warlords.7.a
		FROM = {
			add_equipment_to_stockpile = { 
				type = infantry_equipment
				amount = -1000
				producer = FROM
			}
			add_manpower = -1000
		}
		custom_effect_tooltip = generic_skip_one_line_tt
		add_equipment_to_stockpile = { 
			type = infantry_equipment
			amount = 1000
			producer = FROM
		}
		add_manpower = 1000	
		army_experience = 25
	}
}

country_event = {
	id = SEA_warlords.8
	title = SEA_warlords.8.t
	desc = SEA_warlords.8.desc
	picture = GFX_report_event_china_chiang_kai_shek

	
	is_triggered_only = yes

	fire_only_once = yes

	# yay
	option = { 
		name = SEA_warlords.8.a
		FROM = {
			add_equipment_to_stockpile = { 
				type = infantry_equipment
				amount = -1500
				producer = FROM
			}
			add_equipment_to_stockpile = { 
				type = artillery_equipment
				amount = -150
				producer = FROM
			}
			add_manpower = -2500
		}
		custom_effect_tooltip = generic_skip_one_line_tt
		add_equipment_to_stockpile = { 
			type = infantry_equipment
			amount = 1500
			producer = FROM
		}
		add_equipment_to_stockpile = { 
			type = artillery_equipment
			amount = 150
			producer = FROM
		}
		add_manpower = 2500		
		army_experience = 50
		custom_effect_tooltip = generic_skip_one_line_tt
		hidden_effect = {
			delete_unit_template_and_units = {
				division_template = "Kuomintang Volunteers"
				disband = yes #if yes, will refund equipment/manpower.
			}

			division_template = {
				name = "Kuomintang Volunteers"
				division_names_group = CHI_INF_01
				role = garrison
				template_counter = 118
				is_locked = no
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
				}
				support = {
				}
			}
		}

		random_owned_state = {
			limit = {
				state = 1042
				is_controlled_by = ROOT
			}
			create_unit = {
			    division = "name = \"Kuomintang Volunteer Division\" division_template = \"Kuomintang Volunteers\" start_experience_factor = 0.5 start_equipment_factor = 0.8"
			    owner = ROOT
			}
		}

	}
}

country_event = {
	id = SEA_warlords.9
	title = SEA_warlords.9.t
	desc = SEA_warlords.9.desc
	picture = GFX_report_event_chinese_soldiers_running

	
	is_triggered_only = yes

	fire_only_once = yes

	# :(
	option = { 
		name = SEA_warlords.9.a
		hidden_effect = {
			add_days_mission_timeout = {
				mission = SIK_war_halting
				days = 180
			}
		}
		add_days_mission_timeout = {
			mission = KHM_holding_out
			days = 180
		}
	}
}

country_event = {
	id = SEA_warlords.10
	title = SEA_warlords.10.t
	desc = SEA_warlords.10.desc
	picture = GFX_report_event_chinese_officers

	
	is_triggered_only = yes

	fire_only_once = yes

	# helo
	option = { 
		name = SEA_warlords.10.a
		KUM = {
			KUM_yulbars_khan = {
				set_nationality = ROOT
			}
			add_autonomy_score = { 
				value = -500 
				localization = yulbars_khan_fled_tt
			}
		}
	}
}

country_event = {
	id = SEA_warlords.11
	title = SEA_warlords.11.t
	desc = SEA_warlords.11.desc
	picture = GFX_report_event_chinese_officers

	
	is_triggered_only = yes

	fire_only_once = yes

	# helo
	option = { 
		name = SEA_warlords.11.a
		IF = {
			limit = {
				KUM = {
					has_character = KUM_yulbars_khan
				}
			}
			KUM = {
				KUM_yulbars_khan = {
					set_nationality = ROOT
				}
			}
		}
		ELSE = {
			KHM = {
				KUM_yulbars_khan = {
					set_nationality = ROOT
				}
			}
		}
	}
}

country_event = {
	id = SEA_warlords.12
	title = SEA_warlords.12.t
	desc = SEA_warlords.12.desc
	picture = GFX_report_event_chinese_officers

	
	is_triggered_only = yes

	fire_only_once = yes

	# helo
	option = { 
		name = SEA_warlords.12.a
		KHM = {
			XSM_ma_hongbin = {
				set_nationality = ROOT
			}
		}
	}
}

country_event = {
	id = SEA_warlords.13
	title = SEA_warlords.13.t
	desc = SEA_warlords.13.desc
	picture = GFX_report_event_chinese_officers

	
	is_triggered_only = yes

	fire_only_once = yes

	# traitor >:(
	option = { 
		name = SEA_warlords.13.a
		ai_chance = {
			base = 90
		}
		add_stability = 0.05
	}

	# welcome back
	option = { 
		name = SEA_warlords.13.b
		ai_chance = {
			base = 10
		}
		KHM = {
			KHM_mahmut_muhiti = {
				set_nationality = ROOT
			}
		}
	}
}

### POWER STRUGGLE

country_event = {
	id = SEA_warlords.14
	title = SEA_warlords.14.t
	desc = SEA_warlords.14.desc
	picture = GFX_report_event_china_politicians_captured
	
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			save_event_target_as = warlord_asked_for_support
			FROM = { save_event_target_as = asking_for_support }
		}
	}

	# PP
	option = { 
		name = SEA_warlords.14.a
		ai_chance = {
			base = 35
				modifier = {
					has_political_power < 25
					factor = 2
				}
		}
		FROM = { country_event = { id = SEA_warlords.15 } }
		custom_effect_tooltip = TSR_recieve_pp_warlord
	}

	# Manpower
	option = { 
		name = SEA_warlords.14.b
		ai_chance = {
			base = 20
				modifier = {
					has_manpower < 50000
					factor = 2
				}
		}
		FROM = { country_event = { id = SEA_warlords.16 } }
		custom_effect_tooltip = TSR_recieve_manpower_warlord
	}

	# Equipment
	option = { 
		name = SEA_warlords.14.c
		ai_chance = {
			base = 15
			modifier = {
				has_equipment = { infantry_equipment < 500 }
				factor = 2
			}
		}
		FROM = { country_event = { id = SEA_warlords.17 } }
		custom_effect_tooltip = TSR_recieve_equipment_warlord
	}

	# Nah
	option = { 
		name = SEA_warlords.14.d
		ai_chance = {
			base = 10
			modifier = {
				has_opinion = { target = FROM value < 10 }
				factor = 2
			}
			modifier = {
				has_political_power > 200
				has_manpower > 250000
				has_equipment = { infantry_equipment > 500 }
				factor = 2
			}
		}
		FROM = { country_event = { id = SEA_warlords.18 } }
	}
}

country_event = {
	id = SEA_warlords.15
	title = SEA_warlords.15.t
	desc = SEA_warlords.15.desc
	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			save_event_target_as = warlord_asked_for_support
			FROM = { save_event_target_as = asking_for_support }
		}
	}

	# Okidoki
	option = { 
		name = SEA_warlords.15.a
		ai_chance = {
			base = 90
		}
		activate_targeted_decision = { target = FROM decision = TSR_pay_for_support_from_warlord_PP }
	}

	# Nuh Uh
	option = { 
		name = SEA_warlords.15.b
		ai_chance = {
			base = 10
			modifier = {
				has_political_power < 1
				factor = 10
			}
		}
		clr_country_flag = wtt_negotiating_support_with@FROM 
	}

}

country_event = {
	id = SEA_warlords.16
	title = SEA_warlords.16.t
	desc = SEA_warlords.16.desc
	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			save_event_target_as = warlord_asked_for_support
			FROM = { save_event_target_as = asking_for_support }
		}
	}

	# Okidoki
	option = { 
		name = SEA_warlords.16.a
		ai_chance = {
			base = 90
		}
		activate_targeted_decision = { target = FROM decision = TSR_pay_for_support_from_warlord_manpower }
	}

	# Nuh Uh
	option = { 
		name = SEA_warlords.16.b
		ai_chance = {
			base = 10
			modifier = {
				has_manpower < 25000
				factor = 10
			}
		}
		clr_country_flag = wtt_negotiating_support_with@FROM 
	}

}

country_event = {
	id = SEA_warlords.17
	title = SEA_warlords.17.t
	desc = SEA_warlords.17.desc
	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			save_event_target_as = warlord_asked_for_support
			FROM = { save_event_target_as = asking_for_support }
		}
	}

	# Okidoki
	option = { 
		name = SEA_warlords.17.a
		ai_chance = {
			base = 90
		}
		activate_targeted_decision = { target = FROM decision = TSR_pay_for_support_from_warlord_equipment }
	}

	# Nuh Uh
	option = { 
		name = SEA_warlords.17.b
		ai_chance = {
			base = 10
			modifier = {
				has_equipment = { infantry_equipment < 100 }
				factor = 10
			}
		}
		clr_country_flag = wtt_negotiating_support_with@FROM 
	}

}

country_event = {
	id = SEA_warlords.18
	title = SEA_warlords.18.t
	desc = SEA_warlords.18.desc
	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			save_event_target_as = warlord_asked_for_support
			FROM = { save_event_target_as = asking_for_support }
		}
	}

	fire_only_once = yes

	# SAD
	option = { 
		name = SEA_warlords.18.a
		ai_chance = {
			base = 90
		}
		clr_country_flag = wtt_negotiating_support_with@FROM
	}

}

country_event = {
	id = SEA_warlords.19
	title = SEA_warlords.19.t
	desc = SEA_warlords.19.desc
	picture = GFX_report_event_generic_read_write

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.19.a
		add_political_power = 100
	}
}

country_event = {
	id = SEA_warlords.20
	title = SEA_warlords.20.t
	desc = SEA_warlords.20.desc
	picture = GFX_report_event_generic_read_write

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.20.a
		add_manpower = 5000
	}
}

country_event = {
	id = SEA_warlords.21
	title = SEA_warlords.21.t
	desc = SEA_warlords.21.desc
	picture = GFX_report_event_generic_read_write

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.21.a
		add_equipment_to_stockpile = { 
		 	type = infantry_equipment
		 	amount = 1000 
		 	producer = FROM
		} 
	}
}

#China initial sich event
country_event = {
	id = SEA_warlords.22
	title = SEA_warlords.22.t
	desc = SEA_warlords.22.desc
	picture = GFX_report_event_chinese_soldiers_02

	trigger = {

		has_dlc = "No Compromise, No Surrender"

		original_tag = CHI

		CHI = { 
			exists = yes
			is_subject = no
		}

		SIC = { 
			exists = yes
		}
		
		date > 1938.1.1

		date < 1938.4.20

	}

	fire_only_once = yes
	mean_time_to_happen = { days = 15 }

	#Pressure SIC
	option = {
		name = SEA_warlords.22.a
		ai_chance = {
			base = 100
		}
		SIC = { 
			country_event = {
				id = SEA_warlords.1
				hours = 6
			}
		}
	}

	#Not worth
	option = {
		name = SEA_warlords.22.b
		ai_chance = {
			base = 0
			modifier = {
				add = 25
				is_historical_focus_on = no
			}
		}
		SIC = {
			retire_character = SIC_liu_xiang		
		}
		add_stability = -0.05

	}

}

country_event = {
	id = SEA_warlords.23
	title = SEA_warlords.23.t
	desc = SEA_warlords.23.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	#Accept puppet
	option = {
		name = SEA_warlords.23.a
		ai_chance = { 
			base = 15 
			modifier = {
				factor = 2	
				has_opinion = {
					target = FROM
					value > 50
				}
			}
			modifier = {
				factor = 2
				strength_ratio = {
					tag = FROM
					ratio < 0.75
				}
			}
			modifier = {
				factor = 2
				strength_ratio = {
					tag = FROM
					ratio < 0.5
				}
			}
			modifier = {
				factor = 2
				strength_ratio = {
					tag = FROM
					ratio < 0.25
				}
			}
		}
		FROM = {
			puppet = ROOT
			country_event = { id = SEA_warlords.24 }
		}
	}

	#Never
	option = {
		name = SEA_warlords.23.b
		ai_chance = { 
			base = 10
			modifier = {
				factor = 2
				strength_ratio = {
					tag = FROM
					ratio > 1.5
				}
			}
			modifier = {
				factor = 2
				strength_ratio = {
					tag = FROM
					ratio > 2
				}
			}  
		}
		FROM = {
			country_event = { id = SEA_warlords.25 }
		}
		effect_tooltip = {
			FROM = {
				create_wargoal = {
							type = puppet_wargoal_focus
							target = ROOT
				}
			}
		}
	}
}

# Answer - Yes
country_event = {
	id = SEA_warlords.24
	title = SEA_warlords.24.t
	desc = SEA_warlords.24.desc
	picture = GFX_report_event_chinese_japanese_handshake

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.24.a
			effect_tooltip = {
				ROOT = {
				puppet = FROM
			}
		}
	}
}


# Answer - No
country_event = {
	id = SEA_warlords.25
	title = SEA_warlords.25.t
	desc = SEA_warlords.25.desc
	picture = GFX_report_event_chinese_soldiers_01

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.25.a
		create_wargoal = {
			type = puppet_wargoal_focus
			target = FROM
		}
	}
}

country_event = {
	id = SEA_warlords.26
	title = SEA_warlords.26.t
	desc = SEA_warlords.26.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	#Accept puppet
	option = {
		name = SEA_warlords.26.a
		ai_chance = { 
			base = 15 
			modifier = {
				factor = 2	
				has_opinion = {
					target = FROM
					value > 50
				}
			}
			modifier = {
				factor = 2	
				has_opinion = {
					target = FROM
					value > 75
				}
			}
			modifier = {
				factor = 2
				strength_ratio = {
					tag = FROM
					ratio < 0.5
				}
			}
		}
		FROM = {
			puppet = ROOT
			country_event = { 
				id = SEA_warlords.27
				hours = 6 
			}

		}
	}

	#Never
	option = {
		name = SEA_warlords.26.b
		ai_chance = { 
			base = 10
			modifier = {
				factor = 2
				strength_ratio = {
					tag = FROM
					ratio > 1.5
				}
			}
			modifier = {
				factor = 2
				has_opinion = {
					target = FROM
					value < 50
				}
			}  
		}
		FROM = {
			country_event = { 
				id = SEA_warlords.28
				hours = 6 
			}
			
		}
		effect_tooltip = {
			FROM = {
				create_wargoal = {
							type = puppet_wargoal_focus
							target = ROOT
				}
			}
		}
	}
}
# Answer - Yes
country_event = {
	id = SEA_warlords.27
	title = SEA_warlords.27.t
	desc = SEA_warlords.27.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.27.a
			effect_tooltip = {
				ROOT = {
				puppet = FROM
			}
		}
	}
}


# Answer - No
country_event = {
	id = SEA_warlords.28
	title = SEA_warlords.28.t
	desc = SEA_warlords.28.desc
	picture = GFX_report_event_chinese_soldiers_01

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.28.a
		create_wargoal = {
			type = puppet_wargoal_focus
			target = FROM
		}
	}
}

country_event = {
	id = SEA_warlords.29
	title = SEA_warlords.29.t
	desc = SEA_warlords.29.desc
	picture = GFX_report_event_chinese_soldiers_02

	is_triggered_only = yes
	
	option = {
		ai_chance = { 
			base = 97
			modifier = {
				factor = 0
				FROM = {
					surrender_progress > 0.6
				}
			}  
		}
		name = SEA_warlords.29.a
		white_peace = {
			tag = FROM
		}
		leave_faction = yes
		FROM = {
			add_to_faction = ROOT
		}
	}

	option = {
		ai_chance = { 
			base = 3 
		}
		name = SEA_warlords.29.b
		add_political_power = 50
		FROM = {
			country_event = {
				id = SEA_warlords.30
				hours = 3
			}
		}
	}
}

# Answer - No
country_event = {
	id = SEA_warlords.30
	title = SEA_warlords.30.t
	desc = SEA_warlords.30.desc
	picture = GFX_report_event_chinese_soldiers_01

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.30.a
		add_war_support = 0.05
	}
}

# Mcmahon
country_event = {
	id = SEA_warlords.31
	title = SEA_warlords.31.t
	desc = SEA_warlords.31.desc
	picture = GFX_report_event_generic_china

	is_triggered_only = yes
	
	#ok
	option = {
		ai_chance = { 
			base = 50
			modifier = {
				factor = 2
				fighting_army_strength_ratio = {
					tag = FROM
					ratio < 0.75
				}
			} 
		}
		name = SEA_warlords.31.a
		434 = {
			transfer_state_to = FROM
		}
		FROM = {
			country_event = {
				id = SEA_warlords.33
				hours = 2
			}
		}
	}

	#nope
	option = {
		ai_chance = { 
			base = 20
			modifier = {
				factor = 0
				FROM = {
					is_ai = yes
				}
			} 
		}
		name = SEA_warlords.31.b
		add_war_support = 0.05
		FROM = {
			country_event = {
				id = SEA_warlords.32
				hours = 2
			}
		}
		effect_tooltip = {
			FROM = {
				create_wargoal = {
					type = take_state
					target = ROOT
					generator = { 434 }
				}
			}
		}
	}
}

country_event = {
	id = SEA_warlords.32
	title = SEA_warlords.32.t
	desc = SEA_warlords.32.desc
	picture = GFX_report_event_indian_soldiers

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.32.a
		add_war_support = 0.05
		create_wargoal = {
			type = take_state
			target = FROM
			generator = { 434 }
		}
	}
}

country_event = {
	id = SEA_warlords.33
	title = SEA_warlords.33.t
	desc = SEA_warlords.33.desc
	picture = GFX_report_event_generic_china

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.33.a
		add_political_power = 50
	}
}

country_event = {
	id = SEA_warlords.34
	title = SEA_warlords.34.t
	desc = SEA_warlords.34.desc
	picture = GFX_report_event_chinese_soldiers

	is_triggered_only = yes
	
	#ok
	option = {
		ai_chance = { 
			base = 50
		}
		name = SEA_warlords.34.a

		GDC = {
			country_event = {
				id = SEA_warlords.36
				hours = 6
			}
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		GXC = {
			country_event = {
				id = SEA_warlords.37
				hours = 6
			}
		}

		hidden_effect = {
			set_global_flag = lingguang_incident_active
		}
	}

	#send him to guandong
	option = {
		ai_chance = { 
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		custom_effect_tooltip = CHI_a_party_unified_tt
		name = SEA_warlords.34.b
		country_event = {
			id = SEA_warlords.35
			hours = 30
		}
	}
}

country_event = {
	id = SEA_warlords.35
	title = SEA_warlords.35.t
	desc = SEA_warlords.35.desc
	picture = GFX_report_event_china_chiang_kai_shek

	is_triggered_only = yes
	
	#yes faction for me
	option = {
		ai_chance = { 
			base = 50
			modifier = {
				factor = 0
				OR = {
					has_completed_focus = CHI_strengthening_our_resolve
					has_completed_focus = CHI_prepare_for_a_change_in_leadership
				}
			}
		}
		name = SEA_warlords.35.a
		trigger = {
			OR = {
				has_completed_focus = CHI_dang_guo
				has_completed_focus = CHI_end_military_primacy
			}
		}
		custom_effect_tooltip = chiang_could_be_shot_tt
		hidden_effect = {
			set_global_flag = early_united_front
			set_global_flag = chiang_needs_to_die #Event only triggers if you also complete the focus
		}
		if = {
			limit = {
				OR = {
					is_in_faction = no
					is_faction_leader = no #Can theoretically lead to shenanigans unless we include this
				}
			}
			create_faction_from_template = faction_template_chinese_united_front
		}
		every_other_country = {
			limit = {
				is_literally_china = yes
				is_subject = no
				NOT = {
					has_war_with = ROOT
					is_in_faction_with = ROOT
					any_other_country = {
						is_chinese_warlord = yes
						has_war_with = PREV
					}
					has_idea = SIK_battle_for_sinkiang
					original_tag = HBC 
				}
			}

			country_event = {
				id = SEA_china.7
				days = 1
			}
			add_war_support = 0.05
		}
	}

	# no faction for you
	option = {
		ai_chance = { 
			base = 10
		}
		name = SEA_warlords.35.b
		add_political_power = 25
		IF = {
			limit = {
				OR = {
					has_completed_focus = CHI_strengthening_our_resolve
					has_completed_focus = CHI_prepare_for_a_change_in_leadership
				}
			}
			hidden_effect = {
				set_global_flag = chiang_needs_to_die
			}
			custom_effect_tooltip = chiang_will_be_shot_tt
			if = {
				limit = {
					has_completed_focus = CHI_strengthening_our_resolve
				}
				set_country_flag = CHI_chiang_died_during_liangguang_incident_flag
			}
		}
	}
}

country_event = {
	id = SEA_warlords.36
	title = SEA_warlords.36.t
	desc = SEA_warlords.36.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	#ok
	option = {
		ai_chance = { 
			base = 50
		}
		name = SEA_warlords.36.a
		retire_character = GXC_chen_jitang
		CHI = {
			IF = {
				limit = {
					ROOT = { is_subject_of = CHI }
				}
				add_faction_influence_ratio = 0.05
				IF = {
					limit = {
						ROOT = { has_autonomy_state = autonomy_sea_integrated_warlord_subject }
					}
					add_faction_influence_ratio = 0.1
				}
			}
			ELSE = {
				set_autonomy = {
					target=ROOT
					autonomy_state = autonomy_sea_warlord_subject
					freedom_level = 0.5
				}
			}
			add_to_array = { warlord_subjects = ROOT } 
			country_event = {
				id = SEA_warlords.39
				hours = 6
			}
		}
		add_country_leader_role = {
			character =  GND_yu_hanmou
			promote_leader = yes
			country_leader = {
				ideology = despotism
				expire = "1965.1.1.1"
				traits = { SIC_reckless_commander } 
			}
		}
	}

	#then we fight
	option = {
		ai_chance = { 
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		name = SEA_warlords.36.b
		start_civil_war = {
			ideology = neutrality
			ruling_party = neutrality
			size = 0.4
			states = {593}
			keep_all_characters = yes 
			set_country_flag = GDC_civil_war_hanmou
			PREV = {  # Original country
	            GND_yu_hanmou = { # Character
	                set_nationality = PREV.PREV
	                # Transfers to breakaway
	            }
        	}
			add_country_leader_role = {
			character =  GND_yu_hanmou
			promote_leader = yes
				country_leader = {
					ideology = despotism
					expire = "1965.1.1.1"
					traits = { SIC_reckless_commander } 
				}
			}
		}
		CHI = {
			country_event = {
				id = SEA_warlords.40
				hours = 6
			}
		}
		hidden_effect = {
			set_country_flag = GDC_civil_war
		}
	}

	# Only together can we fend off this threat!
	option = {
		ai_chance = { 
			base = 5
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		name = SEA_warlords.36.c
		
		GXC = {
			country_event = {
				id = SEA_warlords.44
				hours = 2
			}
		}
		custom_effect_tooltip = SEA_warlords.36.tt
		hidden_effect = {
			set_country_flag = GDC_sought_to_forming_liangguang_to_defend_agaisnt_china_flag 
		}

	}

}

country_event = {
	id = SEA_warlords.37
	title = SEA_warlords.37.t
	desc = SEA_warlords.37.desc
	picture = GFX_report_event_nationalist_china_machinegun_firing

	is_triggered_only = yes
	
	#the struggle begins
	option = {
		ai_chance = { 
			base = 50
		}
		name = SEA_warlords.37.a
		CHI = {
			country_event = {
				id = SEA_warlords.41
				hours = 6
			}
		}
		hidden_effect = {
			set_country_flag = GXC_the_struggle_for_independence
			activate_mission = CHI_growing_impatience
			CHI = {
				activate_mission = CHI_growing_impatience_dummy
			}
		}
	}

	#oh no
	option = {
		ai_chance = { 
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		name = SEA_warlords.37.b

		add_stability = -0.05

		CHI = {
			IF = {
				limit = {
					ROOT = { is_subject_of = CHI }
				}
				add_faction_influence_ratio = 0.05
				IF = {
					limit = {
						ROOT = { has_autonomy_state = autonomy_sea_integrated_warlord_subject }
					}
					add_faction_influence_ratio = 0.1
				}
			}
			ELSE = {
				set_autonomy = {
					target=ROOT
					autonomy_state = autonomy_sea_warlord_subject
					freedom_level = 0.5
				}
			}
			country_event = {
				id = SEA_warlords.38
				days = 2
			}
		}
	}
}

country_event = {
	id = SEA_warlords.38
	title = SEA_warlords.38.t
	desc = SEA_warlords.38.desc
	picture = GFX_report_event_chinese_soldiers_02

	is_triggered_only = yes
	
	option = {
		ai_chance = { 
			base = 50
		}
		name = SEA_warlords.38.a
		hidden_effect = {
			IF = {
				limit = {
					GXC = {
						is_subject_of = CHI
					}
					GDC = {
						is_subject_of = CHI
					}
				}
				clr_global_flag = lingguang_incident_active
			}
		}
	}
}

country_event = {
	id = SEA_warlords.39
	title = SEA_warlords.39.t
	desc = SEA_warlords.39.desc
	picture = GFX_report_event_china_soviet_volunteers

	is_triggered_only = yes
	
	option = {
		ai_chance = { 
			base = 50
		}
		name = SEA_warlords.39.a

		effect_tooltip = {
			set_autonomy = {
				target = FROM
				autonomy_state = autonomy_sea_warlord_subject
				freedom_level = 0.5
			}
		}

		hidden_effect = {
			IF = {
				limit = {
					GXC = {
						is_subject_of = CHI
					}
					GDC = {
						is_subject_of = CHI
					}
				}
				clr_global_flag = lingguang_incident_active
			}
		}

	}
}

country_event = {
	id = SEA_warlords.40
	title = SEA_warlords.40.t
	desc = SEA_warlords.40.desc
	picture = GFX_report_event_chinese_soldiers_city_ruin

	is_triggered_only = yes
	
	option = {
		ai_chance = { 
			base = 50
		}
		name = SEA_warlords.40.a
		
	}
}

country_event = {
	id = SEA_warlords.41
	title = SEA_warlords.41.t
	desc = SEA_warlords.41.desc
	picture = GFX_report_event_chinese_soldiers_mountain

	is_triggered_only = yes
	
	option = {
		ai_chance = { 
			base = 50
		}
		name = SEA_warlords.41.a

		effect_tooltip = {
			activate_mission = CHI_growing_impatience
		}
		
	}
}

country_event = {
	id = SEA_warlords.42
	title = SEA_warlords.42.t
	desc = SEA_warlords.42.desc
	picture = GFX_report_event_chinese_soldiers_mountain

	fire_only_once = yes

	is_triggered_only = yes
	
	immediate = {
		set_global_flag = jinan_has_fallen
	}
	#arrest and seize
	option = {
		ai_chance = { 
			base = 50
			modifier = {
				factor = 0
				SND = { is_ai = no }
			}
		}
		name = SEA_warlords.42.a
		annex_country = {
			target = SND
			transfer_troops = yes
		}
		SND = {
			retire_character = SND_han_fuju
			every_unit_leader = {
				set_nationality = ROOT
			}
		}
		CHI = {
			IF = {
				limit = {
					SND = { is_subject_of = CHI }
				}
				add_faction_influence_ratio = 0.05
				IF = {
					limit = {
						SND = { has_autonomy_state = autonomy_sea_integrated_warlord_subject }
					}
					add_faction_influence_ratio = 0.1
				}
			}
		}
		
	}
	#at least rein them in
	option = {
		ai_chance = { 
			base = 20
			modifier = {
				factor = 0
				SND = { is_ai = yes }
				is_historical_focus_on = yes
			}
		}
		name = SEA_warlords.42.b
		custom_effect_tooltip = may_join_japan_tt
		SND = {
			country_event = {
				id = SEA_warlords.43
				hours = 6
			}
			effect_tooltip = {
				retire_character = SND_han_fuju
				add_country_leader_role = {
					character =  CHI_sun_tongxuan
					promote_leader = yes
					country_leader = {
						ideology = despotism
						expire ="1965.1.1.1"
						traits = {  } 
					}
				}
			}
		}
	}
}

country_event = {
	id = SEA_warlords.43
	title = SEA_warlords.43.t
	desc = SEA_warlords.43.desc
	picture = GFX_report_event_chinese_soldiers_mountain

	is_triggered_only = yes
	
	option = {
		ai_chance = { 
			base = 50
		}
		name = SEA_warlords.43.a
		FROM = {
			IF = {
				limit = {
					ROOT = { is_subject_of = FROM }
				}
				add_faction_influence_ratio = 0.05
				IF = {
					limit = {
						ROOT = { has_autonomy_state = autonomy_sea_integrated_warlord_subject }
					}
					add_faction_influence_ratio = 0.1
				}
			}
			ELSE = {
				set_autonomy = {
					target = ROOT
					autonomy_state = autonomy_sea_warlord_subject
					freedom_level = 0.5
					end_wars = no
					end_civil_wars = no
				}
			}
		}
		retire_character = SND_han_fuju
		add_country_leader_role = {
			character =  CHI_sun_tongxuan
			promote_leader = yes
			country_leader = {
				ideology = despotism
				expire ="1965.1.1.1"
				traits = {  } 
			}
		}
	}

	option = {
		ai_chance = { 
			base = 10
		}
		name = SEA_warlords.43.b
		leave_faction = yes
		white_peace = {
			tag = JAP
		}
		JAP = {
			set_autonomy = {
				target=ROOT
				autonomy_state = autonomy_wtt_imperial_protectorate
				freedom_level = 0.5
			}
		}
		CHI = {
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}
		retire_character = SND_han_fuju
		add_country_leader_role = {
			character =  CHI_sun_tongxuan
			promote_leader = yes
			country_leader = {
				ideology = japan_militarism_ideology
				expire ="1965.1.1.1"
				traits = {  } 
			}
		}
		add_country_leader_role = {
			character =  CHI_sun_tongxuan
			promote_leader = yes
			country_leader = {
				ideology = emperor_fascism
				expire ="1965.1.1.1"
				traits = {  } 
			}
		}
	}
}

# [FROM.GetLeader] Proposes Unification of Liangguang - event for GXC 
country_event = {
	id = SEA_warlords.44
	title = SEA_warlords.44.t
	desc = SEA_warlords.44.desc
	picture = GFX_report_event_chinese_soldiers_mountain

	is_triggered_only = yes
	
	option = {
		ai_chance = { 
			base = 100
		}
		name = SEA_warlords.44.a

		FROM = {
			country_event = {
				id = SEA_warlords.45
				hours = 4
			}	
		}
		custom_effect_tooltip = GAME_OVER_TT
		
	}
	option = {
		ai_chance = { 
			base = 0
		}
		name = SEA_warlords.44.a

		FROM = {
			country_event = {
				id = SEA_warlords.46
				hours = 4
			}	
		}
		
	}
}

# [FROM.GetLeader] Agrees to Unification - event for GDC 
country_event = {
	id = SEA_warlords.45
	title = SEA_warlords.45.t
	desc = SEA_warlords.45.desc
	picture = GFX_report_event_chinese_soldiers_mountain

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.45.a

		annex_country = {
			target = FROM
			transfer_troops = yes
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		FROM = {
			every_core_state = {
				add_core_of = ROOT
			}
		}

		728 = {
			add_core_of = ROOT
		}
		729 = {
			add_core_of = ROOT
		}
		326 = {
			add_core_of = ROOT
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		GXC = {
			GXC_li_zongren = {
				set_nationality = ROOT
			}
			GXC_bai_chongxi = {
				set_nationality = ROOT
			}
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		set_cosmetic_tag = liangguang_clique

		custom_effect_tooltip = generic_skip_one_line_tt

		country_event = {
			id = SEA_warlords.47
			hours = 12
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		CHI = {
			country_event = {
				id = SEA_warlords.48
				hours = 2
				random_hours = 6
			}	
		}
		custom_effect_tooltip = SEA_warlords.46.tt
		
	}
}

# [FROM.GetLeader] Abandons Us - event for GDC 
country_event = {
	id = SEA_warlords.46
	title = SEA_warlords.46.t
	desc = SEA_warlords.46.desc
	picture = GFX_report_event_chinese_soldiers_mountain

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.46.a

		start_civil_war = {
			ideology = neutrality
			ruling_party = neutrality
			size = 0.4
			states = { 593 }
			keep_all_characters = yes 
			set_country_flag = GDC_civil_war_hanmou
			PREV = {  # Original country
	            GND_yu_hanmou = { # Character
	                set_nationality = PREV.PREV
	                # Transfers to breakaway
	            }
        	}
			add_country_leader_role = {
			character = GND_yu_hanmou
			promote_leader = yes
				country_leader = {
					ideology = despotism
					expire = "1965.1.1.1"
					traits = { SIC_reckless_commander } 
				}
			}
		}

		CHI = {
			country_event = {
				id = SEA_warlords.40
				hours = 6
			}
		}

		hidden_effect = {
			set_country_flag = GDC_civil_war
		}
		
	}
}

# Leadership of the Liangguang Clique - event for GDC, now Liangguang 
country_event = {
	id = SEA_warlords.47
	title = SEA_warlords.47.t
	desc = SEA_warlords.47.desc
	picture = GFX_report_event_chinese_soldiers_mountain

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.47.a
		ai_chance = { 
			base = 50
		}
		
		add_political_power = 50
		add_war_support = 0.05
		
	}
	option = {
		name = SEA_warlords.47.b
		ai_chance = { 
			base = 50
		}
		
		promote_character = {
		    character = GXC_li_zongren
		    ideology = despotism
		}

		add_war_support = 0.05
		
	}
}

# The South Rallies Against Us - event for CHI 
country_event = {
	id = SEA_warlords.48
	title = SEA_warlords.48.t
	desc = SEA_warlords.48.desc
	picture = GFX_report_event_chinese_soldiers_mountain

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.48.a
		ai_chance = { 
			base = 100
		}
		
		declare_war_on = {
			target = GDC
			type = annex_everything
		}	

		activate_mission = CHI_war_in_south_halting
		hidden_effect = {
			GDC = {
				activate_mission = GDC_holding_out
			}
		}
		custom_effect_tooltip = SEA_warlords.48.tt
		
	}
	option = {
		name = SEA_warlords.48.b
		ai_chance = { 
			base = 0
		}
		
		add_war_support = -0.03

		add_political_power = 50
		
	}
}

# A Stagnating Conflict - event for CHI 
country_event = {
	id = SEA_warlords.49
	title = SEA_warlords.49.t
	desc = SEA_warlords.49.desc
	picture = GFX_report_event_china_infiltration

	
	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		hidden_effect = {
			IF = {
				limit = {
					603 = {
						is_controlled_by = GDC
					}
				}
				603 = {
					transfer_state_to = GDC
				}
			}
			IF = {
				limit = {
					602 = {
						is_controlled_by = GDC
					}
				}
				602 = {
					transfer_state_to = GDC
				}
			}
			IF = {
				limit = {
					600 = {
						is_controlled_by = GDC
					}
				}
				600 = {
					transfer_state_to = GDC
				}
			}
			IF = {
				limit = {
					595 = {
						is_controlled_by = GDC
					}
				}
				595 = {
					transfer_state_to = GDC
				}
			}
			IF = {
				limit = {
					748 = {
						is_controlled_by = GDC
					}
				}
				748 = {
					transfer_state_to = GDC
				}
			}
		}

		IF = {
			limit = {
				has_war_with = GDC
			}
			white_peace = {
			    tag = GDC
			}
		}
		every_country = {
			limit = {
				is_ally_with = ROOT
				has_war_with = GDC
			}
			white_peace = {
			    tag = GDC
			}
		}
	}

	# nooo
	option = { 
		name = SEA_warlords.49.a
		
		add_war_support = -0.05 
		add_political_power = -50
		set_truce = {
			target = GDC
			days = 365
		}
		
	}	
}

# A Delegation from [FROM.GetLeader] Arrives - event for SIK 
country_event = {
	id = SEA_warlords.50
	title = SEA_warlords.50.t
	desc = SEA_warlords.50.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.50.a
		
		add_political_power = 50

		add_opinion_modifier = {
			target = FROM 
			modifier = tsr_pro_soviet_stance_opm
		}	
		
	}
}

# Fruitful Discussions in Luochuan - event for PRC  
country_event = {
	id = SEA_warlords.51
	title = SEA_warlords.51.t
	desc = SEA_warlords.51.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.51.a
		
		add_political_power = 25
		remove_opinion_modifier = {
			target = FROM
			modifier = tsr_bandit_suppresion_opm
		}
		
	}

}

# [FROM.GetLeader] Wishes to Halt the Encirclement Campaign - event for PRC 
country_event = {
	id = SEA_warlords.52
	title = SEA_warlords.52.t
	desc = SEA_warlords.52.desc
	picture = GFX_report_event_chinese_soldiers_mountain

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.52.a
		ai_chance = { 
			base = 100
		}
		
		add_political_power = 10
		diplomatic_relation = {
		    country = FROM
		    relation = non_aggression_pact
		    active = yes
		}
		
	}

	option = {
		name = SEA_warlords.52.b
		ai_chance = { 
			base = 0
		}
		
		FROM = {
			add_opinion_modifier = {
				target = ROOT
				modifier = tsr_untrustworthy_ally_opm 
			}	
		}
		
	}

}

# [FROM.GetLeader] Smuggling Funds and Equipment for the Cause - event for PRC  
country_event = {
	id = SEA_warlords.53
	title = SEA_warlords.53.t
	desc = SEA_warlords.53.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.53.a
		
		add_equipment_to_stockpile = { 
			type = infantry_equipment
			amount = 1000 
			producer = FROM
		}	
		add_timed_idea = {
			idea = XIC_inlux_of_funds_for_the_communists_idea 
			days = 84
		}	
		
	}

}

# [FROM.GetLeader] Withdraws Troops out of [1032.GetName] - event for PRC  
country_event = {
	id = SEA_warlords.54
	title = SEA_warlords.54.t
	desc = SEA_warlords.54.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.54.a
		
		1032 = {
			transfer_state_to = ROOT
		}

		set_country_flag = PRC_has_yanan_flag

		if = {
			limit = {
				CHI = {
					has_completed_focus = CHI_strengthening_our_resolve
					OR = {
						NOT = { 
							has_country_leader = {
								ruling_only = yes
								character = CHI_chiang_kaishek
							}
						}
						fascism > 0.2
					}
				}
			}
			CHI = {
				country_event = { id = SEA_warlords.100 days = 1	}
			}
		}
	}
}

# The Offensive Stagnates - event for XIC 
country_event = {
	id = SEA_warlords.55
	title = SEA_warlords.55.t
	desc = SEA_warlords.55.desc
	picture = GFX_report_event_china_infiltration

	
	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		IF = {
			limit = {
				1032 = { is_controlled_by = PRC }
			}
			1032 = {
				transfer_state_to = PRC
			}
		}

		IF = {
			limit = {
				has_war_with = PRC
			}
			white_peace = {
			    tag = PRC
			}
		}
	}

	# nooo
	option = { 
		name = SEA_warlords.55.a
		ai_chance = {
			base = 100
		}
		
		add_war_support = -0.1	

		set_truce = {
			target = PRC
			days = 365
		}

		custom_effect_tooltip = SEA_warlords.55.tt
		
	}	
}

# [FROM.GetLeader] Requests relocation to [608.GetName] - event for CHI 
country_event = {
	id = SEA_warlords.56
	title = SEA_warlords.56.t
	desc = SEA_warlords.56.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	# A proactive approach to defense? Splendid!
	option = {
		name = SEA_warlords.56.a
		ai_chance = { 
			base = 100
		}
		
		IF = {
			limit = {
				608 = {
					is_owned_and_controlled_by = HBC
				}
			}
			HBC = {
				country_event = {
					id = SEA_warlords.58
					hours = 2
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				FROM = {
					annex_country = {
					    target = HBC
					    transfer_troops = yes
					}
					set_capital = {
						state = 608
						remember_old_capital = no
					}
					set_cosmetic_tag = XIC_new_fengtian_clique 
				}
				HBC = {
					every_core_state = {
						add_core_of = FROM
					}
				}
				every_state = {
					limit = {
						OR = {
							state = 761
							state = 714
							state = 717
							state = 328
							state = 716
							state = 715
							state = 610
							state = 1416
							state = 1417
							state = 1418
							state = 1419
							state = 1420
							state = 1421
							state = 1422
							state = 1423
							state = 1424
							state = 1425
							state = 1426
							state = 1427
							state = 1428
							state = 1429
							state = 1430
							state = 1431
							state = 1432
							state = 1433
							state = 1434
							state = 1435
							state = 1436
							state = 1437
							state = 1438
							state = 1439
							state = 1440
							state = 1443
							state = 1444
							state = 1445
							state = 1446
							state = 1447
							state = 1448
							state = 1449
							state = 1450
							state = 1451
							state = 1452
							state = 1453
							state = 1454
							state = 609
							state = 1487
							state = 1488
							state = 612
							state = 611
							state = 1441
							state = 1455
							state = 1456
							state = 1458
							state = 1459
							state = 1474
							state = 1475
							state = 1476
							state = 1043
							state = 621
							state = 1039
							state = 608
							state = 1489
							state = 614
							state = 1490
							state = 1491
							state = 1492
							state = 1493
							state = 1038
							state = 1494
							state = 1495
							state = 1496
							state = 1497
							state = 1498
							state = 1499
							state = 1501
							state = 1502
							state = 597
							state = 1503
							state = 1504
							state = 1505
							state = 743
						}
					}
					add_claim_by = XIC
				}
				IF = {
					limit = {
						283 = {
							is_owned_and_controlled_by = FROM
						}
					}
					283 = {
						transfer_state_to = ROOT
					}
				}
				IF = {
					limit = {
						744 = {
							is_owned_and_controlled_by = FROM
						}
					}
					744 = {
						transfer_state_to = ROOT
					}
				}
				IF = {
					limit = {
						1032 = {
							is_owned_and_controlled_by = FROM
						}
					}
					1032 = {
						transfer_state_to = ROOT
					}
				}
				IF = {
					limit = {
						622 = {
							is_owned_and_controlled_by = FROM
						}
					}
					622 = {
						transfer_state_to = ROOT
					}
				}
				IF = {
					limit = {
						1046 = {
							is_owned_and_controlled_by = FROM
						}
					}
					IF = {
						limit = {
							SHX = {
								exists = yes
								NOT = {
									has_war_with = ROOT
								}
							}
						}
						1046 = {
							transfer_state_to = SHX
						}
					}
					ELSE = {
						1046 = {
							transfer_state_to = ROOT
						}
					}
				}
			}
		}
		ELSE_IF = {
			limit = {
				608 = {
					is_owned_and_controlled_by = ROOT
				}
			}
			FROM = {
				country_event = {
					id = SEA_warlords.59
					hours = 2
				}
			}
			effect_tooltip = {
				IF = {
					limit = {
						608 = {
							is_owned_and_controlled_by = ROOT
						}
					}
					608 = {
						transfer_state_to = XIC
					}
				}
				IF = {
					limit = {
						1489 = {
							is_owned_and_controlled_by = ROOT
						}
					}
					1489 = {
						transfer_state_to = XIC
					}
				}
				IF = {
					limit = {
						1039 = {
							is_owned_and_controlled_by = ROOT
						}
					}
					1039 = {
						transfer_state_to = XIC
					}
				}
				IF = {
					limit = {
						614 = {
							is_owned_and_controlled_by = ROOT
						}
					}
					614 = {
						transfer_state_to = XIC
					}
				}
				IF = {
					limit = {
						1490 = {
							is_owned_and_controlled_by = ROOT
						}
					}
					1490 = {
						transfer_state_to = XIC
					}
				}
				IF = {
					limit = {
						1491 = {
							is_owned_and_controlled_by = ROOT
						}
					}
					1491 = {
						transfer_state_to = XIC
					}
				}
				IF = {
					limit = {
						1492 = {
							is_owned_and_controlled_by = ROOT
						}
					}
					1492 = {
						transfer_state_to = XIC
					}
				}
				IF = {
					limit = {
						1493 = {
							is_owned_and_controlled_by = ROOT
						}
					}
					1493 = {
						transfer_state_to = XIC
					}
				}
				FROM = {
					set_capital = {
						state = 608
						remember_old_capital = no
					}
					set_cosmetic_tag = XIC_new_fengtian_clique 
				}
				HBC = {
					every_core_state = {
						add_core_of = FROM
					}
				}
				every_state = {
					limit = {
						OR = {
							state = 761
							state = 714
							state = 717
							state = 328
							state = 716
							state = 715
							state = 610
							state = 1416
							state = 1417
							state = 1418
							state = 1419
							state = 1420
							state = 1421
							state = 1422
							state = 1423
							state = 1424
							state = 1425
							state = 1426
							state = 1427
							state = 1428
							state = 1429
							state = 1430
							state = 1431
							state = 1432
							state = 1433
							state = 1434
							state = 1435
							state = 1436
							state = 1437
							state = 1438
							state = 1439
							state = 1440
							state = 1443
							state = 1444
							state = 1445
							state = 1446
							state = 1447
							state = 1448
							state = 1449
							state = 1450
							state = 1451
							state = 1452
							state = 1453
							state = 1454
							state = 609
							state = 1487
							state = 1488
							state = 612
							state = 611
							state = 1441
							state = 1455
							state = 1456
							state = 1458
							state = 1459
							state = 1474
							state = 1475
							state = 1476
							state = 1043
							state = 621
							state = 1039
							state = 608
							state = 1489
							state = 614
							state = 1490
							state = 1491
							state = 1492
							state = 1493
							state = 1038
							state = 1494
							state = 1495
							state = 1496
							state = 1497
							state = 1498
							state = 1499
							state = 1501
							state = 1502
							state = 597
							state = 1503
							state = 1504
							state = 1505
							state = 743
						}
					}
					add_claim_by = XIC
				}
				IF = {
					limit = {
						283 = {
							is_owned_and_controlled_by = FROM
						}
					}
					283 = {
						transfer_state_to = ROOT
					}
				}
				IF = {
					limit = {
						744 = {
							is_owned_and_controlled_by = FROM
						}
					}
					744 = {
						transfer_state_to = ROOT
					}
				}
				IF = {
					limit = {
						1032 = {
							is_owned_and_controlled_by = FROM
						}
					}
					1032 = {
						transfer_state_to = ROOT
					}
				}
				IF = {
					limit = {
						622 = {
							is_owned_and_controlled_by = FROM
						}
					}
					622 = {
						transfer_state_to = ROOT
					}
				}
				IF = {
					limit = {
						1046 = {
							is_owned_and_controlled_by = FROM
						}
					}
					IF = {
						limit = {
							SHX = {
								exists = yes
								NOT = {
									has_war_with = ROOT
								}
							}
						}
						1046 = {
							transfer_state_to = SHX
						}
					}
					ELSE = {
						1046 = {
							transfer_state_to = ROOT
						}
					}
				}
			}
		}
		
	}

	# We cannot trust him with that post
	option = {
		name = SEA_warlords.56.b
		ai_chance = { 
			base = 0
		}
		
		FROM = {
			country_event = {
				id = SEA_warlords.57
				hours = 2
			}
		}
		
	}

}

# [FROM.GetLeader] Denies our Request - event for XIC 
country_event = {
	id = SEA_warlords.57
	title = SEA_warlords.57.t
	desc = SEA_warlords.57.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.57.a
		
		add_opinion_modifier = {
			target = FROM
			modifier = tsr_refused_our_relocation
		}	
		
	}

}

# Government Pressure to submit to [XIC.GetNameDef] - event for HBC 
country_event = {
	id = SEA_warlords.58
	title = SEA_warlords.58.t
	desc = SEA_warlords.58.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	# Very well, our duty is done
	option = {
		name = SEA_warlords.58.a
		ai_chance = { 
			base = 100
		}

		custom_effect_tooltip = GAME_OVER_TT
		
		XIC = {
			country_event = {
				id = SEA_warlords.59
				hours = 6
			}	
		}
		effect_tooltip = {
			XIC = {
				annex_country = {
					target = ROOT
					transfer_troops = yes
				}	
			}
		}
		
	}

	# They will have to take [608.GetName] by force!
	option = {
		name = SEA_warlords.58.b
		ai_chance = { 
			base = 0
		}
		
		ROOT = {
			every_core_state = {
				add_core_of = XIC
			}
		}

		XIC = {
			set_cosmetic_tag = XIC_new_fengtian_clique 
		}
		every_state = {
			limit = {
				OR = {
					state = 761
					state = 714
					state = 717
					state = 328
					state = 716
					state = 715
					state = 610
					state = 1416
					state = 1417
					state = 1418
					state = 1419
					state = 1420
					state = 1421
					state = 1422
					state = 1423
					state = 1424
					state = 1425
					state = 1426
					state = 1427
					state = 1428
					state = 1429
					state = 1430
					state = 1431
					state = 1432
					state = 1433
					state = 1434
					state = 1435
					state = 1436
					state = 1437
					state = 1438
					state = 1439
					state = 1440
					state = 1443
					state = 1444
					state = 1445
					state = 1446
					state = 1447
					state = 1448
					state = 1449
					state = 1450
					state = 1451
					state = 1452
					state = 1453
					state = 1454
					state = 609
					state = 1487
					state = 1488
					state = 612
					state = 611
					state = 1441
					state = 1455
					state = 1456
					state = 1458
					state = 1459
					state = 1474
					state = 1475
					state = 1476
					state = 1043
					state = 621
					state = 1039
					state = 608
					state = 1489
					state = 614
					state = 1490
					state = 1491
					state = 1492
					state = 1493
					state = 1038
					state = 1494
					state = 1495
					state = 1496
					state = 1497
					state = 1498
					state = 1499
					state = 1501
					state = 1502
					state = 597
					state = 1503
					state = 1504
					state = 1505
					state = 743
				}
			}
			add_claim_by = XIC
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		IF = {
			limit = {
				is_in_faction_with = CHI
			}
			CHI = {
				remove_from_faction = ROOT
			}
		}

		CHI = {
			declare_war_on = {
				target = ROOT
				type = annex_everything
			}	
		}
		XIC = {
			declare_war_on = {
				target = ROOT
				type = annex_everything
			}	
		}
		
	}

}

# The Great Move North - event for XIC 
country_event = {
	id = SEA_warlords.59
	title = SEA_warlords.59.t
	desc = SEA_warlords.59.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	# We are one step closer to restoring our honor!
	option = {
		name = SEA_warlords.59.a
		
		IF = {
			limit = {
				608 = {
					is_owned_and_controlled_by = HBC
				}
			}
			annex_country = {
			    target = HBC
			    transfer_troops = yes
			}
		}
		ELSE = {
			IF = {
				limit = {
					608 = {
						is_owned_and_controlled_by = CHI
					}
				}
				608 = {
					transfer_state_to = ROOT
				}
			}
			IF = {
				limit = {
					1489 = {
						is_owned_and_controlled_by = CHI
					}
				}
				1489 = {
					transfer_state_to = ROOT
				}
			}
			IF = {
				limit = {
					1039 = {
						is_owned_and_controlled_by = CHI
					}
				}
				1039 = {
					transfer_state_to = ROOT
				}
			}
			IF = {
				limit = {
					614 = {
						is_owned_and_controlled_by = CHI
					}
				}
				614 = {
					transfer_state_to = ROOT
				}
			}
			IF = {
				limit = {
					1490 = {
						is_owned_and_controlled_by = CHI
					}
				}
				1490 = {
					transfer_state_to = ROOT
				}
			}
			IF = {
				limit = {
					1491 = {
						is_owned_and_controlled_by = CHI
					}
				}
				1491 = {
					transfer_state_to = ROOT
				}
			}
			IF = {
				limit = {
					1492 = {
						is_owned_and_controlled_by = CHI
					}
				}
				1492 = {
					transfer_state_to = ROOT
				}
			}
			IF = {
				limit = {
					1493 = {
						is_owned_and_controlled_by = CHI
					}
				}
				1493 = {
					transfer_state_to = ROOT
				}
			}
		}
			
		set_capital = {
			state = 608
			remember_old_capital = no
		}
		set_cosmetic_tag = XIC_new_fengtian_clique 

		custom_effect_tooltip = generic_skip_one_line_tt
		
		HBC = {
			every_core_state = {
				add_core_of = ROOT
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 761
					state = 714
					state = 717
					state = 328
					state = 716
					state = 715
					state = 610
					state = 1416
					state = 1417
					state = 1418
					state = 1419
					state = 1420
					state = 1421
					state = 1422
					state = 1423
					state = 1424
					state = 1425
					state = 1426
					state = 1427
					state = 1428
					state = 1429
					state = 1430
					state = 1431
					state = 1432
					state = 1433
					state = 1434
					state = 1435
					state = 1436
					state = 1437
					state = 1438
					state = 1439
					state = 1440
					state = 1443
					state = 1444
					state = 1445
					state = 1446
					state = 1447
					state = 1448
					state = 1449
					state = 1450
					state = 1451
					state = 1452
					state = 1453
					state = 1454
					state = 609
					state = 1487
					state = 1488
					state = 612
					state = 611
					state = 1441
					state = 1455
					state = 1456
					state = 1458
					state = 1459
					state = 1474
					state = 1475
					state = 1476
					state = 1043
					state = 621
					state = 1039
					state = 608
					state = 1489
					state = 614
					state = 1490
					state = 1491
					state = 1492
					state = 1493
					state = 1038
					state = 1494
					state = 1495
					state = 1496
					state = 1497
					state = 1498
					state = 1499
					state = 1501
					state = 1502
					state = 597
					state = 1503
					state = 1504
					state = 1505
					state = 743
				}
			}
			add_claim_by = XIC
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		IF = {
			limit = {
				283 = {
					is_owned_and_controlled_by = ROOT
				}
			}
			283 = {
				transfer_state_to = CHI
				remove_core_of = ROOT
			}
		}
		IF = {
			limit = {
				744 = {
					is_owned_and_controlled_by = ROOT
				}
			}
			744 = {
				transfer_state_to = CHI
				remove_core_of = ROOT
			}
		}
		IF = {
			limit = {
				1032 = {
					is_owned_and_controlled_by = ROOT
				}
			}
			1032 = {
				transfer_state_to = CHI
				remove_core_of = ROOT
			}
		}
		IF = {
			limit = {
				622 = {
					is_owned_and_controlled_by = ROOT
				}
			}
			622 = {
				transfer_state_to = CHI
			}
		}
		IF = {
			limit = {
				1046 = {
					is_owned_and_controlled_by = ROOT
				}
			}
			IF = {
				limit = {
					SHX = {
						exists = yes
						NOT = {
							has_war_with = CHI
						}
					}
				}
				1046 = {
					transfer_state_to = SHX
				}
			}
			ELSE = {
				1046 = {
					transfer_state_to = CHI
				}
			}
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		diplomatic_relation = {
		    country = CHI
		    relation = military_access
		    active = yes
		}
		CHI = {
			diplomatic_relation = {
			    country = ROOT
			    relation = military_access
			    active = yes
			}
		}

		HBC = {
			CHI_song_zheyuan = {
				set_nationality = ROOT
			}
			CHI_wan_fulin = {
				set_nationality = ROOT
			}
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		add_country_leader_trait = CHI_the_northern_bastion_trait
		
	}

}

# Generals Defect to [FROM.GetNameDef] - event for MAN 
country_event = {
	id = SEA_warlords.60
	title = SEA_warlords.60.t
	desc = SEA_warlords.60.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	# Zuolin's specter still haunts us...
	option = {
		name = SEA_warlords.60.a
		
		MAN_yu_zishan = {
			set_nationality = FROM
		}
		MAN_zhang_haipeng = {
			set_nationality = FROM
		}
		MAN_ma_zhanshan = {
			set_nationality = FROM
		}

		add_manpower = -5000
		FROM = {
			add_manpower = 5000
		}
		
	}

}

# A Failed Mission - event for XIC 
country_event = {
	id = SEA_warlords.61
	title = SEA_warlords.61.t
	desc = SEA_warlords.61.desc
	picture = GFX_report_event_chinese_soldiers_mountain

	is_triggered_only = yes
	
	# At least we got the alliance we asked for...
	option = {
		name = SEA_warlords.61.a
		ai_chance = { 
			base = 75
		}
		
		custom_effect_tooltip = GAME_OVER_TT
		CHI = {
			country_event = {
				id = SEA_warlords.62
				hours = 6
			}	
		}
		effect_tooltip = {
			CHI = {
				annex_country = {
					target = ROOT
					transfer_troops = yes
				}	
			}
		}

	}

	# No, we need to remain autonomous to further [ROOT.GetLeader]'s ultimate goal!
	option = {
		name = SEA_warlords.61.b
		ai_chance = { 
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		
		add_political_power = -200
		add_war_support = 0.05
		
	}

}

# Dissolution of the Northwest Bandit Suppression Headquarters - event for CHI 
country_event = {
	id = SEA_warlords.62
	title = SEA_warlords.62.t
	desc = SEA_warlords.62.desc
	picture = GFX_report_event_chinese_soldiers_mountain

	is_triggered_only = yes
	
	# They failed their mission, rein them in
	option = {
		name = SEA_warlords.62.a
		
		annex_country = {
			target = FROM
			transfer_troops = yes
		}	
			
		hidden_effect = {
			XIC = {
				CHI_zhang_xueliang = {
					remove_country_leader_role = {
					    ideology = despotism
					}
				}
			}
		}

		FROM = {
			CHI_zhang_xueliang = {
				set_nationality = ROOT
			}
		}

	}

}

# Additional [SOV.GetAdjective] Supplies Arrive Through Irkeshtam Pass - event for SIK 
country_event = {
	id = SEA_warlords.63
	title = SEA_warlords.63.t
	desc = SEA_warlords.63.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes

	fire_only_once = yes
	
	# We thank our Comrades for their generosity 
	option = {
		name = SEA_warlords.63.a
		
		add_timed_idea = {
			idea = SIK_influx_of_soviet_supplies
			days = 210 
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 150
			producer = SOV
		}
		add_equipment_to_stockpile = {
			type = artillery_equipment
			amount = 25
			producer = SOV
		}

	}

}

# $KHM_ma_hushan$ Arrives with [KHM.GetAdjective] Gold - event for RAJ 
country_event = {
	id = SEA_warlords.64
	title = SEA_warlords.64.t
	desc = SEA_warlords.64.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes

	fire_only_once = yes
	
	# Confiscate his gold! 
	option = {
		name = SEA_warlords.64.a
		
		add_timed_idea = {
			idea = KHM_confiscated_gold 
			days = 90
		}

	}

}

# [FROM.GetLeader] Wishes to Unify the Kirghiz - event for SOV 
country_event = {
	id = SEA_warlords.65
	title = SEA_warlords.65.t
	desc = SEA_warlords.65.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes

	fire_only_once = yes
	
	# As long as he stays loyal
	option = {
		name = SEA_warlords.65.a
		ai_chance = { 
			base = 100
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		
		FROM = {
			country_event = {
				id = SEA_warlords.66
				hours = 4
				random_hours = 6
			}	
		}

	}

	# We will not compromise on our borders!
	option = {
		name = SEA_warlords.65.b
		ai_chance = { 
			base = 0
		}
		
		FROM = {
			country_event = {
				id = SEA_warlords.67
				hours = 4
				random_hours = 6
			}	
		}

	}

}

# [FROM.GetLeader] Transfers Kirghistan - event for SIK 
country_event = {
	id = SEA_warlords.66
	title = SEA_warlords.66.t
	desc = SEA_warlords.66.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes

	fire_only_once = yes
	
	# A great day!
	option = {
		name = SEA_warlords.66.a
		ai_chance = { 
			base = 100
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		
		732 = {
			transfer_state_to = ROOT
			add_core_of = ROOT
		}

	}

}

# [FROM.GetLeader] Refuses our Request - event for SIK 
country_event = {
	id = SEA_warlords.67
	title = SEA_warlords.67.t
	desc = SEA_warlords.67.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes

	fire_only_once = yes
	
	# We will gain it back one day...
	option = {
		name = SEA_warlords.67.a
		ai_chance = { 
			base = 100
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		
		732 = {
			add_core_of = ROOT
		}

	}

}

# Generals Defect to [FROM.GetNameDef] - event for CHI 
country_event = {
	id = SEA_warlords.68
	title = SEA_warlords.68.t
	desc = SEA_warlords.68.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	# Zuolin's specter still haunts us...
	option = {
		name = SEA_warlords.68.a
		
		CHI_feng_yuxiang = {
			set_nationality = FROM
		}

		add_manpower = -5000
		FROM = {
			add_manpower = 5000
		}
		
	}

}

# The Dissolution of the HBC - event for CHI 
country_event = {
	id = SEA_warlords.69
	title = SEA_warlords.69.t
	desc = SEA_warlords.69.desc
	picture = GFX_report_event_chinese_soldiers_running

	fire_only_once = yes

	is_triggered_only = yes
	
	immediate = {
		set_global_flag = hbc_has_been_dissolved
	}
	# They have served their purpose 
	option = {
		ai_chance = { 
			base = 80
			modifier = {
				factor = 0
				HBC = { is_ai = no }
			}
		}
		name = SEA_warlords.69.a

		annex_country = {
			target = HBC
			transfer_troops = yes
		}

		HBC = {

			IF = {
				limit = {
					has_character = CHI_song_zheyuan
				}
				CHI_song_zheyuan = {
					set_nationality = ROOT
				}
			}

			IF = {
				limit = {
					has_character = CHI_wan_fulin
				}
				CHI_wan_fulin = {
					set_nationality = ROOT
				}
			}

		}

		CHI = {
			IF = {
				limit = {
					HBC = { is_subject_of = CHI }
				}
				add_faction_influence_ratio = 0.05
				IF = {
					limit = {
						HBC = { has_autonomy_state = autonomy_sea_integrated_warlord_subject }
					}
					add_faction_influence_ratio = 0.1
				}
			}
		}
		
	}

	# They may still be of use to us 
	option = {
		ai_chance = { 
			base = 20
			modifier = {
				factor = 0
				HBC = { is_ai = yes }
				is_historical_focus_on = yes
			}
		}
		name = SEA_warlords.69.b
		
		add_political_power = 75 

	}
}

#China gets informed that Northeastern Army has given up Yan'an to PRC
country_event = {
	id = SEA_warlords.100
	title = SEA_warlords.100.t
	desc = SEA_warlords.100.desc
	picture = GFX_report_event_chinese_officers

	is_triggered_only = yes
	
	option = {
		name = SEA_warlords.100.a
		
		create_wargoal = {
			type = annex_everything
			target = XIC
		}
	}
}






#Sichuan

country_event = { 
	id = tsr_sichuan_border_war.1
	is_triggered_only = yes
	title = tsr_sichuan_border_war.1.t
	desc = tsr_sichuan_border_war.1.desc
	picture = GFX_report_event_chinese_soldiers_fighting
	
	option = {
		name = tsr_sichuan_border_war.1.a
		trigger = {
			original_tag = SIC
		}

		transfer_state = 601
		601 = {
			add_core_of = SIC
		}
	}

	option = {
		name = tsr_sichuan_border_war.1.b
		trigger = {
			NOT = {
				original_tag = SIC
			}
		}
		effect_tooltip = {
			601 = { set_state_owner_to = SIC }
		}
	}
}


country_event = { 
	id = tsr_sichuan_border_war.2
	is_triggered_only = yes
	title = tsr_sichuan_border_war.2.t
	desc = tsr_sichuan_border_war.2.desc
	picture = GFX_report_event_chinese_soldiers_fighting
	
	option = {
		name = tsr_sichuan_border_war.2.a
		trigger = {
			original_tag = SIC
		}

		army_experience = 25
	}

	option = {
		name = tsr_sichuan_border_war.2.b
		trigger = {
			NOT = {
				original_tag = SIC
			}
		}
		add_political_power = 25
	}
}