yuzu_cultural_department_category = {
	hide_yuzu_culture_department = {
		complete_effect = {
			clr_country_flag = qiyong_yuzu_culture_department
		}
	}
	form_yuzu_fans_land = {
		#icon = GFX_yuzu_land
		cost = 50
		available = {
			is_ai = no
		}
		allowed = {
			has_country_flag = qiyong_youzi_2
		}
		target_trigger = {
			FROM = {
				is_subject_of = ROOT
				NOT = {
					has_autonomy_state = autonomy_yuzu_fans_land
				}
			}
			OR = {
				NOT = {
					is_subject_of = ROOT
				}
				AND = {
					is_subject_of = ROOT
					NOT = {
						has_autonomy_state = autonomy_yuzu_fans_land
					}
				}
			}
		}
		available = {
			is_subject = no
			Yuzu_has_fund_available = yes
			Yuzu_can_form_yuzu_land = yes
			FROM = {
				#is_in_faction_with = ROOT
				AND = {
					is_subject_of = ROOT
					NOT = {
						has_autonomy_state = autonomy_yuzu_fans_land
					}
				}
				
			}
		}
		complete_effect = {
			set_variable = {
				yuzu_form_yuzu_land_days = 0
			}
			subtract_from_variable = {
				Yuzu_fund = 1
				tooltip =  Yuzu_fund_subtract_tt  
			}
			set_country_flag = change_puppt_to_yuzu_land
			set_autonomy = {
				target = FROM
				autonomy_state = autonomy_yuzu_fans_land
			}
			FROM = {
				custom_effect_tooltip = autonomy_no_more_close_economy_tt
				if = {
					limit = {
						or = {
							has_idea = closed_economy
							has_idea = limited_exports
						}
					}
					add_ideas = export_focus
				}
				add_ideas = yuzu_fans_land_ide
			}
		}
	}
	unite_yuzu_fans_together = {
		cost = 50
		available = {
			is_ai = no
		}
		allowed = {
			has_country_flag = qiyong_youzi_2
		}
		target_trigger = {
			FROM = {
				is_subject_of = ROOT
				has_autonomy_state = autonomy_yuzu_fans_land
			}
			#AND = {
			#	is_subject_of = ROOT
			#	has_autonomy_state = autonomy_yuzu_fans_land
			#}
		}
		available = {
			Yuzu_has_fund_available = yes
			Yuzu_can_form_yuzu_land = yes
			FROM = {
				AND = {
					is_subject_of = ROOT
					has_autonomy_state = autonomy_yuzu_fans_land
				}
			}
		}
		complete_effect = {
			hidden_effect = {
                play_song = youzu29
            }
			custom_effect_tooltip = {
				localization_key = play_the_song_of_best_yuzu_descision_effect_tooltip
			}
			set_variable = {
				yuzu_form_yuzu_land_days = 0
			}
			subtract_from_variable = {
				Yuzu_fund = 1
				tooltip = Yuzu_fund_subtract_tt
			}
			set_country_flag = change_puppt_to_yuzu_land
			every_state = {
				limit = {
					is_core_of = FROM
				}
				add_core_of = ROOT
			}
			from = {
				transfer_navy = {
					target = ROOT
				}
			}	
			ROOT = {
				annex_country = {
					target = FROM
					transfer_troops = yes
				}
			}
		}
	}
	auto_switch_occupation_law ={    #自动切换占领法案——2025.3.12
		available = {
			is_ai = no
			Yuzu_has_fund_available = yes
		}
		visible = {
			NOT = {
				has_country_flag = has_auto_switch_occupation_law
			}
		}
		allowed = {
			has_country_flag = qiyong_youzi_2
		}
		complete_effect = {
			#set_variable = {
			#	yuzu_form_yuzu_land_days = 0
			#}
			subtract_from_variable = {
				Yuzu_fund = 1
				tooltip = Yuzu_occupation_law_fund_subtract_tt
			}
			set_country_flag = now_auto_switch_occupation_law
			set_country_flag = has_auto_switch_occupation_law
			custom_effect_tooltip = {
				localization_key = auto_switch_occupation_law_descision_effect_tooltip
			}
		}
	}
	auto_switch_occupation_off = {
		visible = {
			has_country_flag = now_auto_switch_occupation_law
		}
		complete_effect = {
			clr_country_flag = now_auto_switch_occupation_law
		}
	}
	auto_switch_occupation_again = {
		visible = {
			has_country_flag = has_auto_switch_occupation_law
			NOT = {
				has_country_flag = now_auto_switch_occupation_law
			}
		}
		complete_effect = {
			set_country_flag = now_auto_switch_occupation_law
		}
	}
	#tese_law = {          #测试无效——伊尔诺，2025.3.13，9：17
	#	visible = {  
	#		is_debug = yes
	#	}
	#	complete_effect = {
	#		set_country_flag = now_test_occupation_law
	#	}
	#}
	#test_change_law = {
	#	visible = {
	#		is_debug = yes
	#	}
	#	complete_effect = {
	#		hidden_effect = {
	#			every_owned_state = {
	#				if = {
	#					limit = { 
	#						has_resistance = yes
	#						#occupation_law = no_garrison 
	#					}
	#					set_occupation_law = test_law
	#				}
	#			}
	#		}
	#		
	#	}
	#}
	#let_usa_fly = {       #暂时注释掉——伊尔诺，2025.3.12,22：37
	#	available = {
	#		is_ai = no    #出于某种原因，我还是加一个条件———2025.3.12，伊尔诺留     #上午留的——伊尔诺，2025.3.12,22：37
	#	}
	#	complete_effect = {
	#		ROOT = {
	#			every_controlled_state = {
	#				limit = {
	#					#is_controlled_by = ROOT
	#					is_core_of = USA
	#					NOT = {
	#						is_core_of = ROOT
	#					}
	#				}
	#				set_occupation_law_where_available = let_them_fly_occupation
	#			}
	#		}
	#		hidden_effect = {
    #            play_song = youzu29      #后面可能换成张将军演讲——2025.3.12
    #        }
	#		
	#		custom_effect_tooltip = {
	#			localization_key = auto_switch_occupation_law_in_usa_descision_effect_tooltip
	#		}
	#		custom_effect_tooltip = {
	#			localization_key = play_the_song_of_best_yuzu_descision_effect_tooltip
	#		}
	#	}
	#}
}