﻿###########################
# 鏈濋矞鎬荤潱搴滆竟澧冩垬浜変簨浠?
# 鑳滃埄鏂硅幏寰楅鍦?
###########################

add_namespace = CZD_border_war

# 杈瑰鎴樹簤鑳滃埄 - 鏀诲嚮鏂癸紙CZD锛夎儨鍒?
country_event = {
	id = CZD_border_war.1
	title = CZD_border_war.1.t
	desc = CZD_border_war.1.d
	picture = GFX_report_event_chinese_soldiers_01
	
	is_triggered_only = yes
	
	option = {
		name = CZD_border_war.1.a
		
		# 娓呴櫎杈瑰鎴樹簤鏍囪
		clr_country_flag = CZD_border_war_active
		
		# 鑾峰緱闄嗗啗缁忛獙
		army_experience = 25
		
		# 鑾峰緱鏀挎不鐐规暟
		add_political_power = 75
		
		# 鑾峰緱鎴樹簤鏀寔搴?
		add_war_support = 0.05
		
		# 绉婚櫎浠诲姟
		remove_mission = CZD_border_war_mission
		
		# 鎵嬪姩杞Щ鐪佷唤 - 鏍规嵁鍐宠涓缃殑鐩爣鐪佷唤鍙橀噺
		if = {
			limit = { check_variable = { CZD_border_war_target_state = 328 } }
			transfer_state = 328
		}
		else_if = {
			limit = { check_variable = { CZD_border_war_target_state = 715 } }
			transfer_state = 715
		}
		else_if = {
			limit = { check_variable = { CZD_border_war_target_state = 716 } }
			transfer_state = 716
		}
		else_if = {
			limit = { check_variable = { CZD_border_war_target_state = 717 } }
			transfer_state = 717
		}
		else_if = {
			limit = { check_variable = { CZD_border_war_target_state = 714 } }
			transfer_state = 714
		}
		else_if = {
			limit = { check_variable = { CZD_border_war_target_state = 761 } }
			transfer_state = 761
		}
		else_if = {
			limit = { check_variable = { CZD_border_war_target_state = 610 } }
			transfer_state = 610
		}
		else_if = {
			limit = { check_variable = { CZD_border_war_target_state = 611 } }
			transfer_state = 611
		}
		
		# 娓呴櫎鍙橀噺
		clear_variable = CZD_border_war_target_state
		clear_variable = CZD_border_war_attacker_state
	}
}

# 杈瑰鎴樹簤澶辫触 - 鏀诲嚮鏂癸紙CZD锛夊け璐?
country_event = {
	id = CZD_border_war.2
	title = CZD_border_war.2.t
	desc = CZD_border_war.2.d
	picture = GFX_report_event_chinese_soldiers_02
	
	is_triggered_only = yes
	
	option = {
		name = CZD_border_war.2.a
		
		# 娓呴櫎杈瑰鎴樹簤鏍囪
		clr_country_flag = CZD_border_war_active
		
		# 鎹熷け鏀挎不鐐规暟
		add_political_power = -50
		
		# 鎹熷け鎴樹簤鏀寔搴?
		add_war_support = -0.05
		
		# 鎹熷け绋冲畾搴?
		add_stability = -0.03
		
		# 绉婚櫎浠诲姟
		remove_mission = CZD_border_war_mission
		
		# 娓呴櫎鍙橀噺
		clear_variable = CZD_border_war_target_state
		clear_variable = CZD_border_war_attacker_state
	}
}

# 杈瑰鎴樹簤鍙栨秷/骞冲眬
country_event = {
	id = CZD_border_war.3
	title = CZD_border_war.3.t
	desc = CZD_border_war.3.d
	picture = GFX_report_cjc_soviet_1_marching
	
	is_triggered_only = yes
	
	option = {
		name = CZD_border_war.3.a
		
		# 娓呴櫎杈瑰鎴樹簤鏍囪
		clr_country_flag = CZD_border_war_active
		
		# 绉婚櫎浠诲姟
		remove_mission = CZD_border_war_mission
		
		# 娓呴櫎鍙橀噺
		clear_variable = CZD_border_war_target_state
		clear_variable = CZD_border_war_attacker_state
	}
}

