###################################
# CZD 璋冭瘯鍐宠
###################################

CZD_debug_decisions = {
	
	# ========================================
	# 瀹樺儦璧勪骇闃剁骇鍗辨満 - 璋冭瘯鍐宠
	# ========================================
	
	CZD_debug_start_crisis = {
		icon = generic_political_actions
		
		visible = {
			NOT = { has_country_flag = CZD_crisis_started }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			set_country_flag = CZD_crisis_started
			set_variable = { CZD_bureaucratic_bourgeoisie_power = 30 }
			set_variable = { CZD_bureaucratic_bourgeoisie = 30 }
			set_variable = { CZD_counterrevolution_level = 0 }
			set_variable = { CZD_revolutionary_momentum = 0 }
			custom_effect_tooltip = CZD_debug_crisis_started_tt
		}
	}
	
	CZD_debug_set_historical_line = {
		icon = generic_civil_support
		
		visible = {
			has_country_flag = CZD_crisis_started
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			clr_country_flag = CZD_radical_line_active
			set_country_flag = CZD_historical_line_active
			custom_effect_tooltip = CZD_debug_historical_line_tt
		}
	}
	
	CZD_debug_set_radical_line = {
		icon = generic_prepare_civil_war
		
		visible = {
			has_country_flag = CZD_crisis_started
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			clr_country_flag = CZD_historical_line_active
			set_country_flag = CZD_radical_line_active
			custom_effect_tooltip = CZD_debug_radical_line_tt
		}
	}
	
	CZD_debug_add_bureaucracy = {
		icon = generic_political_discourse
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			add_to_variable = { CZD_bureaucratic_bourgeoisie_power = 10 }
			add_to_variable = { CZD_bureaucratic_bourgeoisie = 10 }
			custom_effect_tooltip = CZD_debug_add_bureaucracy_tt
		}
	}
	
	CZD_debug_reduce_bureaucracy = {
		icon = generic_political_discourse
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			subtract_from_variable = { CZD_bureaucratic_bourgeoisie_power = 10 }
			subtract_from_variable = { CZD_bureaucratic_bourgeoisie = 10 }
			custom_effect_tooltip = CZD_debug_reduce_bureaucracy_tt
		}
	}
	
	CZD_debug_add_technocrats = {
		icon = generic_research
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			add_to_variable = { CZD_technocrats_power = 10 }
			add_to_variable = { CZD_technocrats = 10 }
			custom_effect_tooltip = CZD_debug_add_technocrats_tt
		}
	}
	
	CZD_debug_reduce_technocrats = {
		icon = generic_research
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			subtract_from_variable = { CZD_technocrats_power = 10 }
			subtract_from_variable = { CZD_technocrats = 10 }
			custom_effect_tooltip = CZD_debug_reduce_technocrats_tt
		}
	}
	
	CZD_debug_add_counterrev = {
		icon = generic_ignite_civil_war
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			add_to_variable = { CZD_counterrevolution_level = 10 }
			custom_effect_tooltip = CZD_debug_add_counterrev_tt
		}
	}
	
	CZD_debug_add_momentum = {
		icon = generic_nationalism
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			add_to_variable = { CZD_revolutionary_momentum = 10 }
			custom_effect_tooltip = CZD_debug_add_momentum_tt
		}
	}
	
	CZD_debug_set_red_dynasty = {
		icon = generic_form_nation
		
		visible = {
			has_country_flag = CZD_historical_line_active
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			set_country_flag = CZD_red_dynasty_ending
			custom_effect_tooltip = CZD_debug_red_dynasty_tt
		}
	}
	
	CZD_debug_set_wuzhangyuan = {
		icon = generic_army_problems
		
		visible = {
			has_country_flag = CZD_radical_line_active
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			set_country_flag = CZD_wuzhangyuan_ending
			custom_effect_tooltip = CZD_debug_wuzhangyuan_tt
		}
	}
	
	CZD_debug_set_world_liberation = {
		icon = generic_communism
		
		visible = {
			has_country_flag = CZD_radical_line_active
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			set_country_flag = CZD_world_liberation_ending
			custom_effect_tooltip = CZD_debug_world_liberation_tt
		}
	}
	
	CZD_debug_reset_crisis = {
		icon = generic_decision
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			clr_country_flag = CZD_crisis_started
			clr_country_flag = CZD_historical_line_active
			clr_country_flag = CZD_radical_line_active
			clr_country_flag = CZD_red_dynasty_ending
			clr_country_flag = CZD_wuzhangyuan_ending
			clr_country_flag = CZD_world_liberation_ending
			clr_country_flag = CZD_crisis_resolved
			set_variable = { CZD_bureaucratic_bourgeoisie_power = 0 }
			set_variable = { CZD_bureaucratic_bourgeoisie = 0 }
			set_variable = { CZD_counterrevolution_level = 0 }
			set_variable = { CZD_revolutionary_momentum = 0 }
			custom_effect_tooltip = CZD_debug_reset_tt
		}
	}
	
	# ========================================
	# 妞诡剙鍘犻幀婵呭瘜娑斿鏂傚▽鑽ょ病濞村骸顒?- 鐠嬪啳鐦崘瀹狀唴
	# ========================================
	
	CZD_debug_unlock_political_economy = {
		icon = generic_research
		
		visible = {
			NOT = { has_country_flag = CZD_political_economy_unlocked }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			set_country_flag = CZD_political_economy_unlocked
			# 閸掓繂顫愰崠鏍у綁闁?
			set_variable = { CZD_political_score = 0 }
			set_variable = { CZD_heavy_industry_policy = 50 }
			set_variable = { CZD_light_industry_policy = 50 }
			set_variable = { CZD_agriculture_policy = 50 }
			set_variable = { CZD_commerce_policy = 50 }
			custom_effect_tooltip = CZD_debug_pe_unlocked_tt
		}
	}
	
	CZD_debug_add_political_left = {
		icon = generic_communism
		
		visible = {
			has_country_flag = CZD_political_economy_unlocked
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			subtract_from_variable = { CZD_political_score = 10 }
			custom_effect_tooltip = CZD_debug_political_left_tt
		}
	}
	
	CZD_debug_add_political_right = {
		icon = generic_capitalism
		
		visible = {
			has_country_flag = CZD_political_economy_unlocked
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			add_to_variable = { CZD_political_score = 10 }
			custom_effect_tooltip = CZD_debug_political_right_tt
		}
	}
	
	CZD_debug_add_heavy_industry = {
		icon = generic_industry
		
		visible = {
			has_country_flag = CZD_political_economy_unlocked
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			add_to_variable = { CZD_heavy_industry_policy = 10 }
			custom_effect_tooltip = CZD_debug_heavy_industry_tt
		}
	}
	
	CZD_debug_add_light_industry = {
		icon = generic_goods_red_bonus
		
		visible = {
			has_country_flag = CZD_political_economy_unlocked
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			add_to_variable = { CZD_light_industry_policy = 10 }
			custom_effect_tooltip = CZD_debug_light_industry_tt
		}
	}
	
	CZD_debug_add_agriculture = {
		icon = generic_agrarian_reform
		
		visible = {
			has_country_flag = CZD_political_economy_unlocked
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			add_to_variable = { CZD_agriculture_policy = 10 }
			custom_effect_tooltip = CZD_debug_agriculture_tt
		}
	}
	
	CZD_debug_add_commerce = {
		icon = generic_trade
		
		visible = {
			has_country_flag = CZD_political_economy_unlocked
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			add_to_variable = { CZD_commerce_policy = 10 }
			custom_effect_tooltip = CZD_debug_commerce_tt
		}
	}
	
	CZD_debug_set_proletariat_line = {
		icon = generic_communism
		
		visible = {
			has_country_flag = CZD_political_economy_unlocked
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			set_country_flag = CZD_current_line_proletariat
			custom_effect_tooltip = CZD_debug_line_proletariat_tt
		}
	}
	
	CZD_debug_reset_political_economy = {
		icon = generic_decision
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			clr_country_flag = CZD_political_economy_unlocked
			clr_country_flag = CZD_current_line_proletariat
			clr_country_flag = CZD_current_line_militarism
			clr_country_flag = CZD_current_line_revisionism
			clr_country_flag = CZD_current_line_bureaucratic
			clr_country_flag = CZD_current_line_syndicalism
			set_variable = { CZD_political_score = 0 }
			set_variable = { CZD_heavy_industry_policy = 0 }
			set_variable = { CZD_light_industry_policy = 0 }
			set_variable = { CZD_agriculture_policy = 0 }
			set_variable = { CZD_commerce_policy = 0 }
			custom_effect_tooltip = CZD_debug_pe_reset_tt
		}
	}
	
	# ========================================
	# 濞插墽閮撮崝鍨 - 鐠嬪啳鐦崘瀹狀唴
	# ========================================
	
	CZD_debug_add_yanan_influence = {
		icon = generic_political_discourse
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			add_to_variable = { CZD_yanan_influence = 10 }
			custom_effect_tooltip = CZD_debug_yanan_influence_tt
		}
	}
	
	CZD_debug_add_soviet_influence = {
		icon = generic_political_discourse
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			add_to_variable = { CZD_soviet_influence = 10 }
			custom_effect_tooltip = CZD_debug_soviet_influence_tt
		}
	}
	
	CZD_debug_add_domestic_influence = {
		icon = generic_political_discourse
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			add_to_variable = { CZD_domestic_influence = 10 }
			custom_effect_tooltip = CZD_debug_domestic_influence_tt
		}
	}
	
	CZD_debug_add_kapsan_influence = {
		icon = generic_political_discourse
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			add_to_variable = { CZD_kapsan_influence = 10 }
			custom_effect_tooltip = CZD_debug_kapsan_influence_tt
		}
	}
	
	# ========================================
	# 世界革命 - 调试决议
	# ========================================
	
	CZD_debug_start_world_revolution = {
		icon = generic_communism
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			set_country_flag = WR_world_revolution_started
			add_ideas = WR_liberation_not_annexation
			custom_effect_tooltip = CZD_debug_wr_started_tt
		}
	}
	
	# --- 日本革命事件链 ---
	CZD_debug_trigger_japan_revolution = {
		icon = generic_prepare_civil_war
		
		visible = {
			JAP = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			country_event = { id = wr_strategy.1 }
			custom_effect_tooltip = CZD_debug_japan_rev_tt
		}
	}
	
	CZD_debug_japan_add_communism = {
		icon = generic_communism
		
		visible = {
			JAP = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			JAP = {
				add_popularity = { ideology = communism popularity = 0.15 }
				add_stability = -0.10
			}
			custom_effect_tooltip = CZD_debug_japan_communism_tt
		}
	}
	
	CZD_debug_japan_final_event = {
		icon = generic_ignite_civil_war
		
		visible = {
			JAP = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			JAP = {
				country_event = { id = wr_strategy.7 }
			}
			custom_effect_tooltip = CZD_debug_japan_final_tt
		}
	}
	
	# --- 中国革命事件链 ---
	CZD_debug_trigger_china_revolution = {
		icon = generic_prepare_civil_war
		
		visible = {
			CHI = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			country_event = { id = wr_strategy.10 }
			custom_effect_tooltip = CZD_debug_china_rev_tt
		}
	}
	
	CZD_debug_china_add_communism = {
		icon = generic_communism
		
		visible = {
			CHI = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			CHI = {
				add_popularity = { ideology = communism popularity = 0.15 }
				add_stability = -0.10
			}
			custom_effect_tooltip = CZD_debug_china_communism_tt
		}
	}
	
	CZD_debug_china_final_event = {
		icon = generic_ignite_civil_war
		
		visible = {
			CHI = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			CHI = {
				country_event = { id = wr_strategy.16 }
			}
			custom_effect_tooltip = CZD_debug_china_final_tt
		}
	}
	
	# --- 德国革命事件链 ---
	CZD_debug_trigger_germany_revolution = {
		icon = generic_prepare_civil_war
		
		visible = {
			GER = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			country_event = { id = wr_strategy.20 }
			custom_effect_tooltip = CZD_debug_germany_rev_tt
		}
	}
	
	CZD_debug_germany_add_communism = {
		icon = generic_communism
		
		visible = {
			GER = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			GER = {
				add_popularity = { ideology = communism popularity = 0.15 }
				add_stability = -0.10
			}
			custom_effect_tooltip = CZD_debug_germany_communism_tt
		}
	}
	
	CZD_debug_germany_final_event = {
		icon = generic_ignite_civil_war
		
		visible = {
			GER = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			GER = {
				country_event = { id = wr_strategy.26 }
			}
			custom_effect_tooltip = CZD_debug_germany_final_tt
		}
	}
	
	# --- 法国革命事件链 ---
	CZD_debug_trigger_france_revolution = {
		icon = generic_prepare_civil_war
		
		visible = {
			FRA = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			country_event = { id = wr_strategy.30 }
			custom_effect_tooltip = CZD_debug_france_rev_tt
		}
	}
	
	CZD_debug_france_add_communism = {
		icon = generic_communism
		
		visible = {
			FRA = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			FRA = {
				add_popularity = { ideology = communism popularity = 0.15 }
				add_stability = -0.10
			}
			custom_effect_tooltip = CZD_debug_france_communism_tt
		}
	}
	
	# --- 美国革命事件链 ---
	CZD_debug_trigger_usa_revolution = {
		icon = generic_prepare_civil_war
		
		visible = {
			USA = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			country_event = { id = wr_strategy.40 }
			custom_effect_tooltip = CZD_debug_usa_rev_tt
		}
	}
	
	CZD_debug_usa_add_communism = {
		icon = generic_communism
		
		visible = {
			USA = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			USA = {
				add_popularity = { ideology = communism popularity = 0.15 }
				add_stability = -0.10
			}
			custom_effect_tooltip = CZD_debug_usa_communism_tt
		}
	}
	
	CZD_debug_france_final_event = {
		icon = generic_ignite_civil_war
		
		visible = {
			FRA = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			FRA = {
				country_event = { id = wr_strategy.36 }
			}
			custom_effect_tooltip = CZD_debug_france_final_tt
		}
	}
	
	CZD_debug_usa_final_event = {
		icon = generic_ignite_civil_war
		
		visible = {
			USA = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			USA = {
				country_event = { id = wr_strategy.47 }
			}
			custom_effect_tooltip = CZD_debug_usa_final_tt
		}
	}
	
	# --- 意大利革命事件链 ---
	CZD_debug_trigger_italy_revolution = {
		icon = generic_prepare_civil_war
		
		visible = {
			ITA = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			country_event = { id = wr_strategy.50 }
			custom_effect_tooltip = CZD_debug_italy_rev_tt
		}
	}
	
	CZD_debug_italy_add_communism = {
		icon = generic_communism
		
		visible = {
			ITA = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			ITA = {
				add_popularity = { ideology = communism popularity = 0.15 }
				add_stability = -0.10
			}
			custom_effect_tooltip = CZD_debug_italy_communism_tt
		}
	}
	
	CZD_debug_italy_final_event = {
		icon = generic_ignite_civil_war
		
		visible = {
			ITA = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			ITA = {
				country_event = { id = wr_strategy.57 }
			}
			custom_effect_tooltip = CZD_debug_italy_final_tt
		}
	}
	
	# --- 西班牙革命事件链 ---
	CZD_debug_trigger_spain_revolution = {
		icon = generic_prepare_civil_war
		
		visible = {
			SPR = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			country_event = { id = wr_strategy.60 }
			custom_effect_tooltip = CZD_debug_spain_rev_tt
		}
	}
	
	CZD_debug_spain_add_communism = {
		icon = generic_communism
		
		visible = {
			SPR = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			SPR = {
				add_popularity = { ideology = communism popularity = 0.15 }
				add_stability = -0.10
			}
			custom_effect_tooltip = CZD_debug_spain_communism_tt
		}
	}
	
	CZD_debug_spain_final_event = {
		icon = generic_ignite_civil_war
		
		visible = {
			SPR = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			SPR = {
				country_event = { id = wr_strategy.67 }
			}
			custom_effect_tooltip = CZD_debug_spain_final_tt
		}
	}
	
	# --- 葡萄牙革命事件链 ---
	CZD_debug_trigger_portugal_revolution = {
		icon = generic_prepare_civil_war
		
		visible = {
			POR = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			country_event = { id = wr_strategy.70 }
			custom_effect_tooltip = CZD_debug_portugal_rev_tt
		}
	}
	
	CZD_debug_portugal_add_communism = {
		icon = generic_communism
		
		visible = {
			POR = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			POR = {
				add_popularity = { ideology = communism popularity = 0.15 }
				add_stability = -0.10
			}
			custom_effect_tooltip = CZD_debug_portugal_communism_tt
		}
	}
	
	CZD_debug_portugal_final_event = {
		icon = generic_ignite_civil_war
		
		visible = {
			POR = { exists = yes }
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			POR = {
				country_event = { id = wr_strategy.76 }
			}
			custom_effect_tooltip = CZD_debug_portugal_final_tt
		}
	}
	
	# --- 快速革命成功 ---
	CZD_debug_japan_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			JAP = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			JAP = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_japan_instant_tt
		}
	}
	
	CZD_debug_china_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			CHI = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			CHI = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_china_instant_tt
		}
	}
	
	CZD_debug_germany_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			GER = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			GER = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_germany_instant_tt
		}
	}
	
	CZD_debug_france_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			FRA = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			FRA = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_france_instant_tt
		}
	}
	
	CZD_debug_usa_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			USA = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			USA = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_usa_instant_tt
		}
	}
	
	CZD_debug_italy_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			ITA = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			ITA = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_italy_instant_tt
		}
	}
	
	CZD_debug_spain_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			SPR = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			SPR = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_spain_instant_tt
		}
	}
	
	CZD_debug_portugal_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			POR = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			POR = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_portugal_instant_tt
		}
	}
	
	# =====================================================
	# 墨西哥革命调试决议
	# =====================================================
	CZD_debug_trigger_mexico_revolution = {
		icon = generic_communism
		
		visible = {
			MEX = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			MEX = { country_event = { id = wr_strategy.80 } }
			custom_effect_tooltip = CZD_debug_trigger_revolution_tt
		}
	}
	
	CZD_debug_mexico_add_communism = {
		icon = generic_political_actions
		
		visible = {
			MEX = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			MEX = {
				add_popularity = { ideology = communism popularity = 0.15 }
			}
			custom_effect_tooltip = CZD_debug_add_communism_tt
		}
	}
	
	CZD_debug_trigger_mexico_final = {
		icon = generic_nationalism
		
		visible = {
			MEX = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			MEX = { country_event = { id = wr_strategy.86 } }
			custom_effect_tooltip = CZD_debug_mexico_final_tt
		}
	}
	
	CZD_debug_mexico_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			MEX = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			MEX = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_mexico_instant_tt
		}
	}
	
	# =====================================================
	# 巴西革命调试决议
	# =====================================================
	CZD_debug_trigger_brazil_revolution = {
		icon = generic_communism
		
		visible = {
			BRA = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			BRA = { country_event = { id = wr_strategy.90 } }
			custom_effect_tooltip = CZD_debug_trigger_revolution_tt
		}
	}
	
	CZD_debug_brazil_add_communism = {
		icon = generic_political_actions
		
		visible = {
			BRA = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			BRA = {
				add_popularity = { ideology = communism popularity = 0.15 }
			}
			custom_effect_tooltip = CZD_debug_add_communism_tt
		}
	}
	
	CZD_debug_trigger_brazil_final = {
		icon = generic_nationalism
		
		visible = {
			BRA = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			BRA = { country_event = { id = wr_strategy.96 } }
			custom_effect_tooltip = CZD_debug_brazil_final_tt
		}
	}
	
	CZD_debug_brazil_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			BRA = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			BRA = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_brazil_instant_tt
		}
	}
	
	# =====================================================
	# 阿根廷革命调试决议
	# =====================================================
	CZD_debug_trigger_argentina_revolution = {
		icon = generic_communism
		
		visible = {
			ARG = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			ARG = { country_event = { id = wr_strategy.110 } }
			custom_effect_tooltip = CZD_debug_trigger_revolution_tt
		}
	}
	
	CZD_debug_argentina_add_communism = {
		icon = generic_political_actions
		
		visible = {
			ARG = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			ARG = {
				add_popularity = { ideology = communism popularity = 0.15 }
			}
			custom_effect_tooltip = CZD_debug_add_communism_tt
		}
	}
	
	CZD_debug_trigger_argentina_final = {
		icon = generic_nationalism
		
		visible = {
			ARG = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			ARG = { country_event = { id = wr_strategy.116 } }
			custom_effect_tooltip = CZD_debug_argentina_final_tt
		}
	}
	
	CZD_debug_argentina_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			ARG = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			ARG = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_argentina_instant_tt
		}
	}
	
	# =====================================================
	# 澳大利亚革命调试决议
	# =====================================================
	CZD_debug_trigger_australia_revolution = {
		icon = generic_communism
		
		visible = {
			AST = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			AST = { country_event = { id = wr_strategy.120 } }
			custom_effect_tooltip = CZD_debug_trigger_revolution_tt
		}
	}
	
	CZD_debug_australia_add_communism = {
		icon = generic_political_actions
		
		visible = {
			AST = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			AST = {
				add_popularity = { ideology = communism popularity = 0.15 }
			}
			custom_effect_tooltip = CZD_debug_add_communism_tt
		}
	}
	
	CZD_debug_trigger_australia_final = {
		icon = generic_nationalism
		
		visible = {
			AST = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			AST = { country_event = { id = wr_strategy.126 } }
			custom_effect_tooltip = CZD_debug_australia_final_tt
		}
	}
	
	CZD_debug_australia_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			AST = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			AST = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_australia_instant_tt
		}
	}
	
	# =====================================================
	# 新西兰革命调试决议
	# =====================================================
	CZD_debug_trigger_newzealand_revolution = {
		icon = generic_communism
		
		visible = {
			NZL = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			NZL = { country_event = { id = wr_strategy.130 } }
			custom_effect_tooltip = CZD_debug_trigger_revolution_tt
		}
	}
	
	CZD_debug_newzealand_add_communism = {
		icon = generic_political_actions
		
		visible = {
			NZL = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			NZL = {
				add_popularity = { ideology = communism popularity = 0.15 }
			}
			custom_effect_tooltip = CZD_debug_add_communism_tt
		}
	}
	
	CZD_debug_trigger_newzealand_final = {
		icon = generic_nationalism
		
		visible = {
			NZL = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			NZL = { country_event = { id = wr_strategy.136 } }
			custom_effect_tooltip = CZD_debug_newzealand_final_tt
		}
	}
	
	CZD_debug_newzealand_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			NZL = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			NZL = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_newzealand_instant_tt
		}
	}
	
	# =====================================================
	# 南非革命调试决议
	# =====================================================
	CZD_debug_trigger_southafrica_revolution = {
		icon = generic_communism
		
		visible = {
			SAF = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			SAF = { country_event = { id = wr_strategy.140 } }
			custom_effect_tooltip = CZD_debug_trigger_revolution_tt
		}
	}
	
	CZD_debug_southafrica_add_communism = {
		icon = generic_political_actions
		
		visible = {
			SAF = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			SAF = {
				add_popularity = { ideology = communism popularity = 0.15 }
			}
			custom_effect_tooltip = CZD_debug_add_communism_tt
		}
	}
	
	CZD_debug_trigger_southafrica_final = {
		icon = generic_nationalism
		
		visible = {
			SAF = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			SAF = { country_event = { id = wr_strategy.146 } }
			custom_effect_tooltip = CZD_debug_southafrica_final_tt
		}
	}
	
	CZD_debug_southafrica_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			SAF = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			SAF = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_southafrica_instant_tt
		}
	}
	
	# =====================================================
	# 埃及革命调试决议
	# =====================================================
	CZD_debug_trigger_egypt_revolution = {
		icon = generic_communism
		
		visible = {
			EGY = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			EGY = { country_event = { id = wr_strategy.150 } }
			custom_effect_tooltip = CZD_debug_trigger_revolution_tt
		}
	}
	
	CZD_debug_egypt_add_communism = {
		icon = generic_political_actions
		
		visible = {
			EGY = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			EGY = {
				add_popularity = { ideology = communism popularity = 0.15 }
			}
			custom_effect_tooltip = CZD_debug_add_communism_tt
		}
	}
	
	CZD_debug_trigger_egypt_final = {
		icon = generic_nationalism
		
		visible = {
			EGY = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			EGY = { country_event = { id = wr_strategy.156 } }
			custom_effect_tooltip = CZD_debug_egypt_final_tt
		}
	}
	
	CZD_debug_egypt_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			EGY = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			EGY = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_egypt_instant_tt
		}
	}
	
	# =====================================================
	# 埃塞俄比亚革命调试决议
	# =====================================================
	CZD_debug_trigger_ethiopia_revolution = {
		icon = generic_communism
		
		visible = {
			ETH = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			ETH = { country_event = { id = wr_strategy.160 } }
			custom_effect_tooltip = CZD_debug_trigger_revolution_tt
		}
	}
	
	CZD_debug_ethiopia_add_communism = {
		icon = generic_political_actions
		
		visible = {
			ETH = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			ETH = {
				add_popularity = { ideology = communism popularity = 0.15 }
			}
			custom_effect_tooltip = CZD_debug_add_communism_tt
		}
	}
	
	CZD_debug_trigger_ethiopia_final = {
		icon = generic_nationalism
		
		visible = {
			ETH = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			ETH = { country_event = { id = wr_strategy.166 } }
			custom_effect_tooltip = CZD_debug_ethiopia_final_tt
		}
	}
	
	CZD_debug_ethiopia_instant_revolution = {
		icon = generic_form_nation
		
		visible = {
			ETH = { 
				exists = yes
				NOT = { has_government = communism }
			}
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			ETH = {
				set_politics = { ruling_party = communism }
				add_stability = 0.10
			}
			custom_effect_tooltip = CZD_debug_ethiopia_instant_tt
		}
	}
	
	# --- 通用工具 ---
	CZD_debug_add_revolutionary_undercurrent = {
		icon = generic_political_actions
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			every_country = {
				limit = {
					NOT = { has_government = communism }
					NOT = { tag = ROOT }
				}
				add_timed_idea = { idea = WR_revolutionary_undercurrent_1 days = 365 }
			}
			custom_effect_tooltip = CZD_debug_undercurrent_tt
		}
	}
	
	CZD_debug_trigger_final_event = {
		icon = generic_nationalism
		
		visible = {
		}
		
		cost = 0
		fire_only_once = no
		
		complete_effect = {
			country_event = { id = wr_event.100 }
			custom_effect_tooltip = CZD_debug_final_event_tt
		}
	}
}

