add_namespace = TFRKP_hidden

country_event = {
	id = TFRKP_hidden.1
	title = TFRKP_hidden.1.t
	desc = TFRKP_hidden.1.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		KOR = {
			has_war_with = PRK		
			NOT = {
				has_global_flag = GLOB_TFRKP_HID_1
			}
		}
	}

	immediate = {
		hidden_effect = {
			set_global_flag = GLOB_TFRKP_HID_1
		}
	}
	
	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.1 option TFRKP_hidden.1.a"
		name = TFRKP_hidden.1.a
		PRC = {
			activate_mission = PRC_korean_war_joining
			complete_national_focus = PRC_down_to_earth
		}	
	}
}

country_event = {
	id = TFRKP_hidden.2
	title = TFRKP_hidden.2.t
	desc = TFRKP_hidden.2.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		KOR = {
			has_war_with = PRC
			NOT = {
				has_global_flag = GLOB_TFRKP_HID_2
			}
		}
	}

	immediate = {
		hidden_effect = {
			set_global_flag = GLOB_TFRKP_HID_2
		}
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.2 option TFRKP_hidden.2.a"
		name = TFRKP_hidden.2.a
		KOR = {
			country_event = {
				id = korea.300
			}
			set_country_flag = KOR_great_asia_war
			mark_focus_tree_layout_dirty = yes
		}
		if = {
			limit = {
				KOR = {
					NOT = {
						is_in_faction_with = JAP
					}
				}
			}
			JAP = {
				add_to_faction = KOR
			}
		}
	}
}

country_event = {
	id = TFRKP_hidden.3
	title = TFRKP_hidden.3.t
	desc = TFRKP_hidden.3.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		date > 2022.2.4
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.3 option TFRKP_hidden.3.a"
		name = TFRKP_hidden.3.a
		KOR = {
			country_event = {
				id = korea.350
			}
		}
	}
}
country_event = {
	id = TFRKP_hidden.4
	title = TFRKP_hidden.4.t
	desc = TFRKP_hidden.4.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		date > 2024.3.7
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.4 option TFRKP_hidden.4.a"
		name = TFRKP_hidden.4.a
		KOR = {
			country_event = {
				id = korea.352
			}
		}
	}
}
country_event = {
	id = TFRKP_hidden.5 # 개혁신당
	title = TFRKP_hidden.5.t
	desc = TFRKP_hidden.5.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		date > 2024.1.20
		NOT = {
			has_completed_focus = KOR_youn_party_together
		}
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.5 option TFRKP_hidden.5.a"
		name = TFRKP_hidden.5.a
		KOR = {
			country_event = {
				id = korea.353
			}
		}
	}
}
country_event = {
	id = TFRKP_hidden.6 # 구 국민의당 합당코드. 다른 hidden 처리 발동에 사용하세요.
	title = TFRKP_hidden.6.t
	desc = TFRKP_hidden.6.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		always = no
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.6 option TFRKP_hidden.6.a"
		name = TFRKP_hidden.6.a
	}
}
country_event = {
	id = TFRKP_hidden.7
	title = TFRKP_hidden.7.t
	desc = TFRKP_hidden.7.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		date > 2022.3.9
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.7 option TFRKP_hidden.7.a"
		name = TFRKP_hidden.7.a
		KOR = {
			country_event = {
				id = korea.355
			}
		}
	}
}
country_event = {
	id = TFRKP_hidden.8
	title = TFRKP_hidden.8.t
	desc = TFRKP_hidden.8.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		date > 2020.9.17
		KOR = {
			has_country_flag = KOR_election_of_NA_2020
		}
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.8 option TFRKP_hidden.8.a"
		name = TFRKP_hidden.8.a
		KOR = {
			country_event = {
				id = korea.356
			}
		}
	}
}
country_event = {
	id = TFRKP_hidden.9
	title = TFRKP_hidden.9.t
	desc = TFRKP_hidden.9.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		date > 2021.1.7
		KOR = {
			has_country_flag = KOR_election_of_NA_2020
		}
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.9 option TFRKP_hidden.9.a"
		name = TFRKP_hidden.9.a
		KOR = {
			country_event = {
				id = korea.357
			}
		}
	}
}
country_event = {
	id = TFRKP_hidden.10
	title = TFRKP_hidden.10.t
	desc = TFRKP_hidden.10.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		date > 2021.6.24
		KOR = {
			has_country_flag = KOR_election_of_NA_2020
		}
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.10 option TFRKP_hidden.10.a"
		name = TFRKP_hidden.10.a
		KOR = {
			country_event = {
				id = korea.358
			}
		}
	}
}
country_event = {
	id = TFRKP_hidden.11
	title = TFRKP_hidden.11.t
	desc = TFRKP_hidden.11.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		date > 2021.8.5
		KOR = {
			has_country_flag = KOR_election_of_NA_2020
		}
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.11 option TFRKP_hidden.11.a"
		name = TFRKP_hidden.11.a
		KOR = {
			country_event = {
				id = korea.359
			}
		}
	}
}
country_event = {
	id = TFRKP_hidden.12
	title = TFRKP_hidden.12.t
	desc = TFRKP_hidden.12.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		date > 2022.6.13
		KOR = {
			has_country_flag = KOR_election_of_NA_2020
			has_country_flag = KOR_election_of_NA_2022_by
		}
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.12 option TFRKP_hidden.12.a"
		name = TFRKP_hidden.12.a
		KOR = {
			country_event = {
				id = korea.360
			}
		}
	}
}
country_event = {
	id = TFRKP_hidden.13
	title = TFRKP_hidden.13.t
	desc = TFRKP_hidden.13.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		date > 2020.6.29
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.13 option TFRKP_hidden.13.a"
		name = TFRKP_hidden.13.a
		KOR = {
			country_event = {
				id = korea.361
			}
		}
	}
}
country_event = {
	id = TFRKP_hidden.14
	title = TFRKP_hidden.14.t
	desc = TFRKP_hidden.14.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		date > 2023.3.31 #사전투표
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.14 option TFRKP_hidden.14.a"
		name = TFRKP_hidden.14.a
		KOR = {
			country_event = {
				id = korea.362
			}
		}
	}
}
country_event = {
	id = TFRKP_hidden.15
	title = TFRKP_hidden.15.t
	desc = TFRKP_hidden.15.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		has_global_flag = PRC_japanese_gaw_victory_global
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.15 option TFRKP_hidden.15.a"
		name = TFRKP_hidden.15.a
		KOR = {
			country_event = {
				id = korea.417
			}
		}
	}
}
country_event = {
	id = TFRKP_hidden.16
	title = TFRKP_hidden.16.t
	desc = TFRKP_hidden.16.desc
	picture = GFX
	hidden = yes

	trigger = {
		tag = KOR
		KOR = {
			has_country_flag = KOR_yoon_winter_republic
		}
		has_war_with = PRC
		PRK = {
			OR = {
				is_in_faction_with = PRC
				exists = no
			}
		}
		is_in_faction_with = JAP
		JAP = {
			NOT = {
				has_war_with = PRC
			}
			is_ai = yes
		}
		RAJ = {
			has_war_with = PRC
		}
	}

	fire_only_once = yes

	option = {
		log = "[GetLogInfo]: event TFRKP_hidden.16 option TFRKP_hidden.16.a"
		name = TFRKP_hidden.16.a
		PRC = {
			PRC_gaw_start = yes
		}
		JAP = {
			declare_war_on = { target = PRC type = annex_everything }
		}
	}
}