###################################
# 闃剁骇鏂椾簤浜嬩欢閾?
###################################

add_namespace = czd_class_struggle

# 闃剁骇鏂椾簤 - 寮€濮嬩簨浠?
country_event = {
	id = czd_class_struggle.1
	title = czd_class_struggle.1.t
	desc = czd_class_struggle.1.d
	picture = GFX_report_cjc_soviet_3

	is_triggered_only = yes

	# 閫夐」A锛氶拡瀵瑰畼鍍氶樁灞?
	option = {
		name = czd_class_struggle.1.a
		ai_chance = { factor = 40 }
		
		add_political_power = -25
		add_stability = -0.05
		
		# 鍑忓皯瀹樺儦璧勪骇闃剁骇褰卞搷
		subtract_from_variable = { CZD_bureaucratic_bourgeoisie = 5 }
		clamp_variable = { var = CZD_bureaucratic_bourgeoisie min = 0 max = 100 }
		
		# 澧炲姞鍩哄眰骞查儴
		add_to_variable = { CZD_petty_officials = 3 }
		clamp_variable = { var = CZD_petty_officials min = 0 max = 100 }
		
		# 鍚庣画浜嬩欢
		hidden_effect = {
			random_list = {
				50 = { country_event = { id = czd_class_struggle.10 days = 7 } }
				30 = { country_event = { id = czd_class_struggle.11 days = 7 } }
				20 = { country_event = { id = czd_class_struggle.12 days = 7 } }
			}
		}
		
		CZD_update_political_economy = yes
	}

	# 閫夐」B锛氶拡瀵规妧鏈畼鍍?
	option = {
		name = czd_class_struggle.1.b
		ai_chance = { factor = 30 }
		
		add_political_power = -25
		
		# 鍑忓皯鎶€鏈畼鍍?
		subtract_from_variable = { CZD_technocrats = 5 }
		clamp_variable = { var = CZD_technocrats min = 0 max = 100 }
		
		# 鑻忚仈娲惧奖鍝嶄笅闄?
		subtract_from_variable = { CZD_soviet_influence = 3 }
		clamp_variable = { var = CZD_soviet_influence min = 0 max = 100 }
		
		# 寤跺畨娲句笂鍗?
		add_to_variable = { CZD_yanan_influence = 2 }
		clamp_variable = { var = CZD_yanan_influence min = 0 max = 100 }
		
		hidden_effect = {
			random_list = {
				50 = { country_event = { id = czd_class_struggle.20 days = 7 } }
				50 = { country_event = { id = czd_class_struggle.21 days = 7 } }
			}
		}
		
		CZD_update_political_economy = yes
	}

	# 閫夐」C锛氶拡瀵?璧拌祫娲?
	option = {
		name = czd_class_struggle.1.c
		ai_chance = { factor = 30 }
		
		add_political_power = -25
		add_stability = -0.03
		
		# 缁忔祹鏀跨瓥宸︾Щ
		subtract_from_variable = { CZD_commerce_policy = 5 }
		subtract_from_variable = { CZD_light_industry_policy = 5 }
		clamp_variable = { var = CZD_commerce_policy min = 0 max = 100 }
		clamp_variable = { var = CZD_light_industry_policy min = 0 max = 100 }
		
		# 鍥藉唴娲句笅闄?
		subtract_from_variable = { CZD_domestic_influence = 3 }
		clamp_variable = { var = CZD_domestic_influence min = 0 max = 100 }
		
		hidden_effect = {
			random_list = {
				60 = { country_event = { id = czd_class_struggle.30 days = 7 } }
				40 = { country_event = { id = czd_class_struggle.31 days = 7 } }
			}
		}
		
		CZD_update_political_economy = yes
	}
}

# 閽堝瀹樺儦 - 鍙戠幇鑵愯触
country_event = {
	id = czd_class_struggle.10
	title = czd_class_struggle.10.t
	desc = czd_class_struggle.10.d
	picture = GFX_report_cjc_redflag_paper

	is_triggered_only = yes

	option = {
		name = czd_class_struggle.10.a
		
		add_political_power = 25
		add_stability = 0.03
		
		subtract_from_variable = { CZD_bureaucratic_bourgeoisie = 3 }
		clamp_variable = { var = CZD_bureaucratic_bourgeoisie min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
	
	option = {
		name = czd_class_struggle.10.b
		
		add_stability = 0.05
		
		CZD_update_political_economy = yes
	}
}

# 閽堝瀹樺儦 - 閬亣鎶垫姉
country_event = {
	id = czd_class_struggle.11
	title = czd_class_struggle.11.t
	desc = czd_class_struggle.11.d
	picture = GFX_report_cjc_soviet_3

	is_triggered_only = yes

	option = {
		name = czd_class_struggle.11.a
		
		add_political_power = -15
		add_stability = -0.05
		
		subtract_from_variable = { CZD_bureaucratic_bourgeoisie = 8 }
		clamp_variable = { var = CZD_bureaucratic_bourgeoisie min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
	
	option = {
		name = czd_class_struggle.11.b
		
		add_stability = -0.02
		
		# 杩愬姩鍙楁尗
		add_to_variable = { CZD_bureaucratic_bourgeoisie = 2 }
		clamp_variable = { var = CZD_bureaucratic_bourgeoisie min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
}

# 閽堝瀹樺儦 - 鎵╁ぇ鍖?
country_event = {
	id = czd_class_struggle.12
	title = czd_class_struggle.12.t
	desc = czd_class_struggle.12.d
	picture = GFX_report_cjc_soviet_3

	is_triggered_only = yes

	option = {
		name = czd_class_struggle.12.a
		
		add_stability = -0.10
		add_war_support = 0.05
		
		subtract_from_variable = { CZD_bureaucratic_bourgeoisie = 10 }
		subtract_from_variable = { CZD_technocrats = 5 }
		clamp_variable = { var = CZD_bureaucratic_bourgeoisie min = 0 max = 100 }
		clamp_variable = { var = CZD_technocrats min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
	
	option = {
		name = czd_class_struggle.12.b
		
		add_political_power = 15
		
		CZD_update_political_economy = yes
	}
}

# 閽堝鎶€鏈畼鍍?- 涓撳杈╂姢
country_event = {
	id = czd_class_struggle.20
	title = czd_class_struggle.20.t
	desc = czd_class_struggle.20.d
	picture = GFX_report_cjc_redflag_paper

	is_triggered_only = yes

	option = {
		name = czd_class_struggle.20.a
		
		# 鍧氭寔鎵瑰垽
		subtract_from_variable = { CZD_technocrats = 5 }
		clamp_variable = { var = CZD_technocrats min = 0 max = 100 }
		
		add_timed_idea = { idea = CZD_anti_intellectualism days = 180 }
		
		CZD_update_political_economy = yes
	}
	
	option = {
		name = czd_class_struggle.20.b
		
		# 鎺ュ彈杈╂姢
		add_political_power = 10
		
		add_to_variable = { CZD_technocrats = 2 }
		clamp_variable = { var = CZD_technocrats min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
}

# 閽堝鎶€鏈畼鍍?- 浜烘墠娴佸け
country_event = {
	id = czd_class_struggle.21
	title = czd_class_struggle.21.t
	desc = czd_class_struggle.21.d
	picture = GFX_report_cjc_redflag_paper

	is_triggered_only = yes

	option = {
		name = czd_class_struggle.21.a
		
		add_research_slot = -1
		
		subtract_from_variable = { CZD_technocrats = 8 }
		clamp_variable = { var = CZD_technocrats min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
	
	option = {
		name = czd_class_struggle.21.b
		
		add_political_power = -30
		
		# 鎸界暀浜烘墠
		add_to_variable = { CZD_technocrats = 3 }
		clamp_variable = { var = CZD_technocrats min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
}

# 閽堝璧拌祫娲?- 缇や紬鍝嶅簲
country_event = {
	id = czd_class_struggle.30
	title = czd_class_struggle.30.t
	desc = czd_class_struggle.30.d
	picture = GFX_report_cjc_soviet_3

	is_triggered_only = yes

	option = {
		name = czd_class_struggle.30.a
		
		add_stability = 0.05
		add_war_support = 0.03
		
		subtract_from_variable = { CZD_commerce_policy = 3 }
		clamp_variable = { var = CZD_commerce_policy min = 0 max = 100 }
		
		add_to_variable = { CZD_yanan_influence = 3 }
		clamp_variable = { var = CZD_yanan_influence min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
}

# 閽堝璧拌祫娲?- 缁忔祹鍙楁崯
country_event = {
	id = czd_class_struggle.31
	title = czd_class_struggle.31.t
	desc = czd_class_struggle.31.d
	picture = GFX_news_cjc_generic_1

	is_triggered_only = yes

	option = {
		name = czd_class_struggle.31.a
		
		# 缁х画杩愬姩
		add_timed_idea = { idea = CZD_economic_disruption days = 90 }
		
		subtract_from_variable = { CZD_commerce_policy = 5 }
		clamp_variable = { var = CZD_commerce_policy min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
	
	option = {
		name = czd_class_struggle.31.b
		
		# 鏆傜紦杩愬姩
		add_political_power = 20
		
		add_to_variable = { CZD_commerce_policy = 2 }
		clamp_variable = { var = CZD_commerce_policy min = 0 max = 100 }
		
		CZD_update_political_economy = yes
	}
}


