###################################
# CZD 政治触发器覆盖
# 覆盖原版的意识形态切换检查触发器
# 将CZD从原版通用内战事件中排除
# CZD有自己的独立和政治转变国策树
###################################

# 共产主义切换触发器 - 添加CZD排除
check_has_focus_tree_to_switch_to_communism = {
	# CZD排除 - CZD有自己的共产主义国策树
	NOT = { tag = CZD }
	# 原版排除
	NOT = { tag = PRC }
	NOT = { tag = SIK }
	NOT = { tag = MAN }
	NOT = { tag = SOV }
	NOT = {
		AND = {
			tag = RAJ
			has_dlc = "Together for Victory"
		}
	}
	NOT = {
		AND = {
			tag = JAP
			has_dlc = "Waking the Tiger"
		}
	}
	NOT = {
		AND = {
			tag = YUN
			has_dlc = "Waking the Tiger"
		}
	}
	NOT = {
		AND = {
			tag = USA
			has_dlc = "Man the Guns"
		}
	}
	NOT = {
		AND = {
			tag = ENG
			has_dlc = "Man the Guns"
		}
	}
	NOT = {
		AND = {
			tag = FRA
			has_dlc = "La Resistance"
		}
	}
	NOT = {
		AND = {
			has_dlc = "No Step Back"
			OR = {
				original_tag = POL
				original_tag = EST
				original_tag = LAT
				original_tag = LIT
			}
		}
	}
	NOT = {
		AND = {
			has_dlc = "By Blood Alone"
			original_tag = SWI
		}
	}
	NOT = {
		AND = {
			has_dlc = "Battle for the Bosporus"
			OR = {
				original_tag = GRE
				original_tag = TUR
			}
		}
	}
	NOT = {
		AND = {
			has_dlc = "No Compromise, No Surrender"
			OR = {
				original_tag = PHI
				original_tag = CHI
			}
		}
	}
}

# 法西斯主义切换触发器 - 添加CZD排除
check_has_focus_tree_to_switch_to_fascism = {
	# CZD排除
	NOT = { tag = CZD }
	# 原版排除
	NOT = { tag = JAP }
	NOT = { tag = GER }
	NOT = { tag = MAN }
	NOT = { tag = ITA }
	OR = {
		NOT = {
			AND = {
				tag = SAF
				has_dlc = "Together for Victory"
			}
		}
		AND = {
			tag = SAF
			has_dlc = "Together for Victory"
			has_completed_focus = SAF_south_africa_first
		}
	}
	NOT = {
		AND = {
			tag = RAJ
			has_dlc = "Together for Victory"
		}
	}
	NOT = {
		AND = {
			tag = USA
			has_dlc = "Man the Guns"
		}
	}
	NOT = {
		AND = {
			tag = ENG
			has_dlc = "Man the Guns"
		}
	}
	NOT = {
		AND = {
			tag = FRA
			has_dlc = "La Resistance"
		}
	}
	NOT = {
		AND = {
			has_dlc = "Battle for the Bosporus"
			OR = {
				original_tag = GRE
				original_tag = TUR
				original_tag = BUL
			}
		}
	}
	NOT = {
		AND = {
			has_dlc = "No Step Back"
			OR = {
				original_tag = POL
				original_tag = EST
				original_tag = LAT
				original_tag = LIT
			}
		}
	}
	NOT = {
		AND = {
			has_dlc = "By Blood Alone"
			OR = {
				original_tag = SWI
				original_tag = ETH
			}
		}
	}
	NOT = {
		AND = {
			has_dlc = "No Compromise, No Surrender"
			OR = {
				original_tag = PHI
				original_tag = CHI
			}
		}
	}
}

# 民主主义切换触发器 - 添加CZD排除
check_has_focus_tree_to_switch_to_democratic = {
	# CZD排除
	NOT = { tag = CZD }
	# 原版排除
	NOT = { tag = MAN }
	NOT = { tag = FRA }
	NOT = { tag = USA }
	NOT = { tag = ENG }
	NOT = { tag = CAN }
	NOT = { tag = SAF }
	NOT = { tag = AST }
	NOT = { tag = NZL }
	NOT = { tag = RAJ }
	NOT = { tag = CZE }
	NOT = {
		AND = {
			tag = HUN
			has_dlc = "Death or Dishonor"
		}
	}
	NOT = {
		AND = {
			tag = JAP
			has_dlc = "Waking the Tiger"
		}
	}
	NOT = {
		AND = {
			tag = GER
			has_dlc = "Waking the Tiger"
		}
	}
	NOT = {
		AND = {
			original_tag = PHI
			has_dlc = "No Compromise, No Surrender"
		}
	}
	NOT = {
		AND = {
			original_tag = CHI
			has_dlc = "No Compromise, No Surrender"
		}
	}
	NOT = {
		AND = {
			has_dlc = "Battle for the Bosporus"
			OR = {
				original_tag = GRE
				original_tag = TUR
				original_tag = BUL
			}
		}
	}
	NOT = {
		AND = {
			has_dlc = "No Step Back"
			OR = {
				original_tag = POL
				original_tag = EST
				original_tag = LAT
				original_tag = LIT
			}
		}
	}
	NOT = {
		AND = {
			has_dlc = "By Blood Alone"
			OR = {
				original_tag = SWI
				original_tag = ETH
			}
		}
	}
}

# 中立主义切换触发器 - 添加CZD排除
check_has_focus_tree_to_switch_to_neutrality = {
	# CZD排除
	NOT = { tag = CZD }
	# 原版排除
	NOT = { tag = MAN }
	NOT = {
		AND = {
			tag = RAJ
			has_dlc = "Together for Victory"
		}
	}
	NOT = {
		AND = {
			tag = JAP
			has_dlc = "Waking the Tiger"
		}
	}
	NOT = {
		AND = {
			tag = USA
			has_dlc = "Man the Guns"
		}
	}
	NOT = {
		AND = {
			tag = ENG
			has_dlc = "Man the Guns"
		}
	}
	NOT = {
		AND = {
			tag = FRA
			has_dlc = "La Resistance"
		}
	}
	NOT = {
		AND = {
			has_dlc = "Battle for the Bosporus"
			OR = {
				original_tag = GRE
				original_tag = TUR
				original_tag = BUL
			}
		}
	}
	NOT = {
		AND = {
			has_dlc = "No Step Back"
			OR = {
				original_tag = POL
				original_tag = EST
				original_tag = LAT
				original_tag = LIT
			}
		}
	}
	NOT = {
		AND = {
			has_dlc = "By Blood Alone"
			OR = {
				original_tag = SWI
				original_tag = ETH
			}
		}
	}
	NOT = {
		AND = {
			has_dlc = "No Compromise, No Surrender"
			OR = {
				original_tag = PHI
				original_tag = CHI
			}
		}
	}
}
