###################################
# 鏁撮杩愬姩浜嬩欢閾?
###################################

add_namespace = czd_rectification

# 鏁撮杩愬姩 - 寮€濮嬩簨浠?
country_event = {
	id = czd_rectification.1
	title = czd_rectification.1.t
	desc = czd_rectification.1.d
	picture = GFX_report_cjc_redflag_paper

	is_triggered_only = yes

	# 閫夐」A锛氬涔犺嫃鑱旂粡楠?
	option = {
		name = czd_rectification.1.a
		ai_chance = { factor = 35 }
		
		add_political_power = -20
		
		# 鑻忚仈娲惧奖鍝嶄笂鍗?
		add_to_variable = { CZD_soviet_influence = 5 }
		clamp_variable = { var = CZD_soviet_influence min = 0 max = 100 }
		
		# 鍏朵粬娲剧郴涓嬮檷
		subtract_from_variable = { CZD_yanan_influence = 2 }
		subtract_from_variable = { CZD_domestic_influence = 2 }
		clamp_variable = { var = CZD_yanan_influence min = 0 max = 100 }
		clamp_variable = { var = CZD_domestic_influence min = 0 max = 100 }
		
		hidden_effect = {
			random_list = {
				60 = { country_event = { id = czd_rectification.10 days = 10 } }
				40 = { country_event = { id = czd_rectification.11 days = 10 } }
			}
		}
		
		CZD_update_political_economy = yes
	}

	# 閫夐」B锛氬涔犱腑鍥界粡楠?
	option = {
		name = czd_rectification.1.b
		ai_chance = { factor = 35 }
		
		add_political_power = -20
		
		# 寤跺畨娲惧奖鍝嶄笂鍗?
		add_to_variable = { CZD_yanan_influence = 5 }
		clamp_variable = { var = CZD_yanan_influence min = 0 max = 100 }
		
		# 鍏朵粬娲剧郴涓嬮檷
		subtract_from_variable = { CZD_soviet_influence = 2 }
		subtract_from_variable = { CZD_kapsan_influence = 2 }
		clamp_variable = { var = CZD_soviet_influence min = 0 max = 100 }
		clamp_variable = { var = CZD_kapsan_influence min = 0 max = 100 }
		
		hidden_effect = {
			random_list = {
				60 = { country_event = { id = czd_rectification.20 days = 10 } }
				40 = { country_event = { id = czd_rectification.21 days = 10 } }
			}
		}
		
		CZD_update_political_economy = yes
	}

	# 閫夐」C锛氬己璋冩皯鏃忕壒鑹?
	option = {
		name = czd_rectification.1.c
		ai_chance = { factor = 30 }
		
		add_political_power = -20
		
		# 鍥藉唴娲惧拰鐢插北娲句笂鍗?
		add_to_variable = { CZD_domestic_influence = 3 }
		add_to_variable = { CZD_kapsan_influence = 3 }
		clamp_variable = { var = CZD_domestic_influence min = 0 max = 100 }
		clamp_variable = { var = CZD_kapsan_influence min = 0 max = 100 }
		
		# 澶栨淳涓嬮檷
		subtract_from_variable = { CZD_soviet_influence = 2 }
		subtract_from_variable = { CZD_yanan_influence = 2 }
		clamp_variable = { var = CZD_soviet_influence min = 0 max = 100 }
		clamp_variable = { var = CZD_yanan_influence min = 0 max = 100 }
		
		hidden_effect = {
			random_list = {
				50 = { country_event = { id = czd_rectification.30 days = 10 } }
				50 = { country_event = { id = czd_rectification.31 days = 10 } }
			}
		}
		
		CZD_update_political_economy = yes
	}
}

# 鑻忚仈缁忛獙 - 鐞嗚瀛︿範椤哄埄
country_event = {
	id = czd_rectification.10
	title = czd_rectification.10.t
	desc = czd_rectification.10.d
	picture = GFX_report_cjc_redflag_paper

	is_triggered_only = yes

	option = {
		name = czd_rectification.10.a
		
		add_political_power = 25
		
		# 鑻忚仈娲惧珐鍥?
		add_to_variable = { CZD_soviet_influence = 3 }
		clamp_variable = { var = CZD_soviet_influence min = 0 max = 100 }
		
		# 鎶€鏈畼鍍氫笂鍗?
		add_to_variable = { CZD_technocrats = 3 }
		clamp_variable = { var = CZD_technocrats min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
}

# 鑻忚仈缁忛獙 - 鏁欐潯涓讳箟鎵瑰垽
country_event = {
	id = czd_rectification.11
	title = czd_rectification.11.t
	desc = czd_rectification.11.d
	picture = GFX_report_cjc_soviet_3

	is_triggered_only = yes

	option = {
		name = czd_rectification.11.a
		
		# 鎺ュ彈鎵瑰垽
		add_stability = -0.03
		
		subtract_from_variable = { CZD_soviet_influence = 5 }
		add_to_variable = { CZD_yanan_influence = 3 }
		clamp_variable = { var = CZD_soviet_influence min = 0 max = 100 }
		clamp_variable = { var = CZD_yanan_influence min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
	
	option = {
		name = czd_rectification.11.b
		
		# 鍙嶉┏鎵瑰垽
		add_political_power = -20
		add_stability = 0.02
		
		add_to_variable = { CZD_soviet_influence = 2 }
		clamp_variable = { var = CZD_soviet_influence min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
}

# 涓浗缁忛獙 - 缇や紬璺嚎
country_event = {
	id = czd_rectification.20
	title = czd_rectification.20.t
	desc = czd_rectification.20.d
	picture = GFX_report_cjc_soviet_3

	is_triggered_only = yes

	option = {
		name = czd_rectification.20.a
		
		add_stability = 0.05
		add_war_support = 0.03
		
		# 寤跺畨娲惧珐鍥?
		add_to_variable = { CZD_yanan_influence = 3 }
		clamp_variable = { var = CZD_yanan_influence min = 0 max = 100 }
		
		# 鍐滀笟鏀跨瓥宸︾Щ
		subtract_from_variable = { CZD_agriculture_policy = 3 }
		clamp_variable = { var = CZD_agriculture_policy min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
}

# 涓浗缁忛獙 - 鍐掕繘鍊惧悜
country_event = {
	id = czd_rectification.21
	title = czd_rectification.21.t
	desc = czd_rectification.21.d
	picture = GFX_news_cjc_generic_1

	is_triggered_only = yes

	option = {
		name = czd_rectification.21.a
		
		# 鎺ㄨ繘婵€杩涙斂绛?
		add_stability = -0.05
		
		subtract_from_variable = { CZD_agriculture_policy = 8 }
		subtract_from_variable = { CZD_heavy_industry_policy = 5 }
		clamp_variable = { var = CZD_agriculture_policy min = 0 max = 100 }
		clamp_variable = { var = CZD_heavy_industry_policy min = 0 max = 100 }
		
		add_to_variable = { CZD_yanan_influence = 5 }
		clamp_variable = { var = CZD_yanan_influence min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
	
	option = {
		name = czd_rectification.21.b
		
		# 鍙嶅鍐掕繘
		add_political_power = 15
		
		subtract_from_variable = { CZD_yanan_influence = 3 }
		add_to_variable = { CZD_soviet_influence = 2 }
		clamp_variable = { var = CZD_yanan_influence min = 0 max = 100 }
		clamp_variable = { var = CZD_soviet_influence min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
}

# 姘戞棌鐗硅壊 - 涓讳綋鎬濇兂钀岃娊
country_event = {
	id = czd_rectification.30
	title = czd_rectification.30.t
	desc = czd_rectification.30.d
	picture = GFX_report_cjc_redflag_paper

	is_triggered_only = yes

	option = {
		name = czd_rectification.30.a
		
		add_political_power = 30
		add_stability = 0.03
		
		# 鍥藉唴娲惧拰鐢插北娲惧珐鍥?
		add_to_variable = { CZD_domestic_influence = 3 }
		add_to_variable = { CZD_kapsan_influence = 2 }
		clamp_variable = { var = CZD_domestic_influence min = 0 max = 100 }
		clamp_variable = { var = CZD_kapsan_influence min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
	
	option = {
		name = czd_rectification.30.b
		
		# 淇濇寔璋ㄦ厧
		add_political_power = 10
		
		CZD_update_political_economy = yes
	}
}

# 姘戞棌鐗硅壊 - 澶栨淳鍙嶅脊
country_event = {
	id = czd_rectification.31
	title = czd_rectification.31.t
	desc = czd_rectification.31.d
	picture = GFX_report_cjc_soviet_3

	is_triggered_only = yes

	option = {
		name = czd_rectification.31.a
		
		# 鍧氭寔姘戞棌璺嚎
		add_stability = -0.05
		
		subtract_from_variable = { CZD_soviet_influence = 5 }
		subtract_from_variable = { CZD_yanan_influence = 5 }
		add_to_variable = { CZD_domestic_influence = 5 }
		add_to_variable = { CZD_kapsan_influence = 5 }
		clamp_variable = { var = CZD_soviet_influence min = 0 max = 100 }
		clamp_variable = { var = CZD_yanan_influence min = 0 max = 100 }
		clamp_variable = { var = CZD_domestic_influence min = 0 max = 100 }
		clamp_variable = { var = CZD_kapsan_influence min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
	
	option = {
		name = czd_rectification.31.b
		
		# 缂撳拰鐭涚浘
		add_political_power = -15
		add_stability = 0.03
		
		CZD_update_political_economy = yes
	}
}


