# =========================
# 高句丽复国事件
# 复兴高句丽相关内容
# =========================

add_namespace = czd_goguryeo

# 事件1：高句丽复国宣言
country_event = {
	id = czd_goguryeo.1
	title = czd_goguryeo.1.t
	desc = czd_goguryeo.1.d
	picture = GFX_report_cjc_soviet_32
	
	is_triggered_only = yes
	
	option = {
		name = czd_goguryeo.1.a
		
		# 通知世界各国
		every_country = {
			limit = {
				NOT = { tag = ROOT }
				has_capitulated = no
			}
			country_event = { id = czd_goguryeo.2 days = 1 }
		}
		
		# 额外人力与政治点
		add_manpower = 50000
		add_political_power = 50
	}
}

# 事件2：各国收到高句丽复国消息
country_event = {
	id = czd_goguryeo.2
	title = czd_goguryeo.2.t
	desc = czd_goguryeo.2.d
	picture = GFX_report_cjc_redflag_paper
	
	is_triggered_only = yes
	
	option = {
		name = czd_goguryeo.2.a
		
		# 根据关系决定反应
		if = {
			limit = {
				has_opinion = {
					target = CZD
					value > 50
				}
			}
			add_opinion_modifier = { target = CZD modifier = CZD_goguryeo_support }
		}
		else_if = {
			limit = {
				has_opinion = {
					target = CZD
					value < -50
				}
			}
			add_opinion_modifier = { target = CZD modifier = CZD_goguryeo_concern }
		}
	}
}


