﻿# =========================
# 间岛事件
# 间岛（延边）相关朝鲜族历史事件
# =========================

add_namespace = czd_gando

# 事件1：间岛统一推进东北
country_event = {
	id = czd_gando.1
	title = czd_gando.1.t
	desc = czd_gando.1.d
	picture = GFX_report_cjc_lenin_2
	
	is_triggered_only = yes
	
	option = {
		name = czd_gando.1.a
		
		# 间岛获得步兵装备
		add_equipment_to_stockpile = { type = infantry_equipment amount = 1000 }
		add_political_power = 25
		
		# 触发后续事件：间岛巩固政权
		country_event = { id = czd_gando.2 days = 7 }
	}
}

# 事件2：间岛青年北上参军
country_event = {
	id = czd_gando.2
	title = czd_gando.2.t
	desc = czd_gando.2.d
	picture = GFX_report_cjc_soviet_1_parade
	
	is_triggered_only = yes
	
	# 选项A：组建间岛独立旅
	option = {
		name = czd_gando.2.a
		ai_chance = { factor = 60 }
		
		# 创建精锐间岛部队
		random_owned_controlled_state = {
			limit = { }
			prioritize = { 1028 }
			create_unit = {
				division = "name = '闂村矝鐙珛鏃? division_template = \"鏈濋矞鍐涙鍏靛笀\" start_experience_factor = 0.6"
				owner = CZD
			}
		}
		
		add_manpower = 5000
		add_army_experience = 10
	}
	
	# 选项B：分散补充现有部队
	option = {
		name = czd_gando.2.b
		ai_chance = { factor = 40 }
		
		add_manpower = 8000
		army_experience = 15
		
		# 鎻愬崌鐜版湁閮ㄩ槦澹皵
		add_war_support = 0.03
	}
}

# 浜嬩欢3锛氶棿宀涙儏鎶ュ憳鎶ュ憡锛堥殢鏈鸿Е鍙戯級
country_event = {
	id = czd_gando.3
	title = czd_gando.3.t
	desc = czd_gando.3.d
	picture = GFX_report_cjc_redflag_paper
	
	trigger = {
		tag = CZD
		has_idea = CZD_manchuria_intelligence_network
		OR = {
			has_war_with = MAN
			has_war_with = MEN
			has_war_with = JAP
		}
	}
	
	mean_time_to_happen = {
		days = 60
	}
	
	# 閫夐」A锛氭儏鎶ユ樉绀烘晫鍐涜皟鍔?
	option = {
		name = czd_gando.3.a
		
		# 涓存椂渚﹀療鍔犳垚
		add_timed_idea = {
			idea = CZD_gando_intel_report
			days = 30
		}
	}
}

# 浜嬩欢4锛氶棿宀涙姉鏃ラ仐鑰佹潵璁?
country_event = {
	id = czd_gando.4
	title = czd_gando.4.t
	desc = czd_gando.4.d
	picture = GFX_report_cjc_lenin_3
	
	trigger = {
		tag = CZD
		has_completed_focus = CZD_gando_question_settlement
		NOT = { has_country_flag = czd_gando_veterans_visited }
	}
	
	mean_time_to_happen = {
		days = 30
	}
	
	immediate = {
		set_country_flag = czd_gando_veterans_visited
	}
	
	# 閫夐」A锛氳亞鍚粬浠殑鎶楁垬鏁呬簨
	option = {
		name = czd_gando.4.a
		ai_chance = { factor = 70 }
		
		# 瀛︿範娓稿嚮鎴樼粡楠?
		add_army_experience = 25
		add_doctrine_cost_reduction = {
			cost_reduction = 0.25
			uses = 1
			category = land_doctrine
		}
	}
	
	# 閫夐」B锛氳浠栦滑鍩硅鏂板叺
	option = {
		name = czd_gando.4.b
		ai_chance = { factor = 30 }
		
		# 鍩硅鍑烘洿绮鹃攼鐨勫＋鍏?
		add_ideas = CZD_gando_guerrilla_training
	}
}

# 浜嬩欢5锛氶棿宀涘晢浜哄甫鏉ョ墿璧?
country_event = {
	id = czd_gando.5
	title = czd_gando.5.t
	desc = czd_gando.5.d
	picture = GFX_news_cjc_generic_1
	
	trigger = {
		tag = CZD
		has_idea = CZD_gando_special_zone
		NOT = { has_country_flag = czd_gando_merchants_arrived }
	}
	
	mean_time_to_happen = {
		days = 45
	}
	
	immediate = {
		set_country_flag = czd_gando_merchants_arrived
	}
	
	option = {
		name = czd_gando.5.a
		
		# 璧扮鐗╄祫
		add_equipment_to_stockpile = { type = infantry_equipment amount = 500 }
		add_equipment_to_stockpile = { type = support_equipment amount = 100 }
		
		# 鎯呮姤
		add_political_power = 15
	}
}

# 浜嬩欢6锛氶棿宀涘湴涓嬪厷鑱旂粶
country_event = {
	id = czd_gando.6
	title = czd_gando.6.t
	desc = czd_gando.6.d
	picture = GFX_report_cjc_redflag_paper
	
	trigger = {
		tag = CZD
		has_idea = CZD_gando_special_zone
		has_government = communism
		NOT = { has_country_flag = czd_gando_underground_contact }
	}
	
	mean_time_to_happen = {
		days = 60
	}
	
	immediate = {
		set_country_flag = czd_gando_underground_contact
	}
	
	# 閫夐」A锛氬缓绔嬭仈鍚堟姉鏃ョ綉缁?
	option = {
		name = czd_gando.6.a
		ai_chance = { factor = 80 }
		
		# 涓庝腑鍏卞湴涓嬪厷鍚堜綔
		add_opinion_modifier = { target = PRC modifier = CZD_underground_cooperation }
		
		# 鎯呮姤缃戠粶鎵╁ぇ
		add_intel = {
			target = MAN
			civilian_intel = 10
			army_intel = 10
		}
		add_intel = {
			target = JAP
			civilian_intel = 5
			army_intel = 5
		}
	}
	
	# 閫夐」B锛氫繚鎸佺嫭绔嬭鍔?
	option = {
		name = czd_gando.6.b
		ai_chance = { factor = 20 }
		
		add_political_power = 25
	}
}


