capital = 525 #South Korea - Seoul or Busan

set_stability = 0.6
set_war_support = 0.5

oob = "CZD_1936"

 

# 这一行是给点初始政治点数（可选）
add_political_power = 114

# =========================================================
# 核心圈系统初始化
# =========================================================
# 初始化三个顾问位置变量（0表示未选择）
set_variable = { var = CZD_ascended_advisor_1 value = 0 }
set_variable = { var = CZD_ascended_advisor_2 value = 0 }
set_variable = { var = CZD_ascended_advisor_3 value = 0 }

# 初始化核心圈修正器效果变量
set_variable = { var = CZD_ic_pp_gain_var value = 0 }          # 政治点数获取 (政治核心)
set_variable = { var = CZD_ic_stability_var value = 0 }        # 稳定度 (政治核心)
set_variable = { var = CZD_ic_army_org_var value = 0 }         # 陆军组织度 (军事核心)
set_variable = { var = CZD_ic_army_morale_var value = 0 }      # 陆军士气 (政治核心)
set_variable = { var = CZD_ic_army_xp_var value = 0 }          # 陆军经验 (军事核心)
set_variable = { var = CZD_ic_factory_output_var value = 0 }   # 工厂产出 (工业核心)
set_variable = { var = CZD_ic_build_speed_var value = 0 }      # 建筑速度 (工业核心)
set_variable = { var = CZD_ic_planning_var value = 0 }         # 计划速度 (参谋核心)

# 初始化核心圈动态修正器所有的变量 (与CZD_dynamic_modifiers.txt对应)
set_variable = { var = CZD_circle_research_var value = 0 }           # 科研速度
set_variable = { var = CZD_circle_nuclear_var value = 0 }            # 核弹产出
set_variable = { var = CZD_circle_energy_var value = 0 }             # 能源消耗
set_variable = { var = CZD_circle_resource_pro_var value = 0 }       # 资源产出
set_variable = { var = CZD_critical_receive_chance_var value = 0 }   # 暴击受伤
set_variable = { var = CZD_circle_stabilty_var value = 0 }           # 稳定度周产
set_variable = { var = CZD_circle_warsupport_var value = 0 }         # 战争支持周产
set_variable = { var = CZD_political_power_gain_var value = 0 }      # 政治点数周产
set_variable = { var = CZD_dig_in_speed_var value = 0 }

# =========================================================
# 政府部门系统初始化
# =========================================================
set_variable = { var = CZD_government_departments_count value = 0 }  # 已建立部门计数
set_variable = { var = CZD_government_departments_count_war value = 0 }

# =========================================================
# 对日战争系统初始化
# =========================================================
set_variable = { var = CZD_peace_request_attempts value = 0 }  # 和谈请求尝试次数（用于计算成功率）

# --- 初始化：三一运动的余波 (负面状态) ---

# 1. 设定初始数值 (Debuff)
set_variable = { var = CZD_legacy_stability_var value = -0.15 }   # -15% 稳定度
set_variable = { var = CZD_legacy_pp_var value = -0.15 }          # -15% PP获取
set_variable = { var = CZD_legacy_resistance_var value = 0.10 }   # +10% 抵抗 (坏事)
# 2. 挂上动态修正
add_dynamic_modifier = { modifier = CZD_march_first_legacy_dynamic }

# =========================================================
# 军事民族精神初始化
# =========================================================
# 添加三个动态民族精神修正器
add_dynamic_modifier = { modifier = CZD_korean_army_spirit }
add_dynamic_modifier = { modifier = CZD_korean_navy_spirit }
add_dynamic_modifier = { modifier = CZD_korean_air_spirit }

# 初始化所有军事精神变量为负数（代表虚弱状态，需要通过国策来强化）
set_variable = { var = CZD_army_spirit_org_var value = -0.10 }
set_variable = { var = CZD_army_spirit_morale_var value = -0.10 }
set_variable = { var = CZD_army_spirit_xp_var value = -0.10 }
set_variable = { var = CZD_army_spirit_attack_var value = -0.05 }
set_variable = { var = CZD_army_spirit_defence_var value = -0.05 }

set_variable = { var = CZD_navy_spirit_org_var value = -0.10 }
set_variable = { var = CZD_navy_spirit_xp_var value = -0.10 }
set_variable = { var = CZD_navy_spirit_speed_var value = -0.10 }
set_variable = { var = CZD_navy_spirit_damage_var value = -0.10 }

set_variable = { var = CZD_air_spirit_xp_var value = -0.10 }
set_variable = { var = CZD_air_spirit_attack_var value = -0.10 }
set_variable = { var = CZD_air_spirit_fighter_var value = -0.10 }
set_variable = { var = CZD_air_spirit_range_var value = -0.10 }

if = {
	limit = { has_dlc = "No Compromise, No Surrender" }
	JAP = {
	set_autonomy = {
		target = CZD
		autonomous_state = autonomy_wtt_imperial_protectorate
		freedom_level = 0.4
	}
	}
}
# 如果没有DLC，就是普通傀儡
if = {
	limit = { NOT = { has_dlc = "No Compromise, No Surrender" }}
	JAP={
	set_autonomy = {
		target = CZD
		autonomous_state = autonomy_puppet
		freedom_level = 0.4
	}
	}
}




IF = {
	limit = {
		has_dlc = "No Compromise, No Surrender"
	}
	recruit_character = 金九
	recruit_character = 宇垣一成
	recruit_character = 朴宪永
	recruit_character = 南次郎
	recruit_character = 李承晚
	recruit_character = 白善烨
	recruit_character = 李亨根
	recruit_character = 金钟五
	recruit_character = 白仁烨
	recruit_character = 刘载兴
	recruit_character = 宋尧赞
	recruit_character = 金日成
	recruit_character = 姜健
	recruit_character = 崔庸健
	recruit_character = 崔贤
	recruit_character = 方虎山
	recruit_character = 南日
	recruit_character = 吴振宇
	recruit_character = 李乙雪
	# --- 3. 新增的内阁顾问 (必须招募才能看到!) ---
	recruit_character = 吕运亨 # 政治点数顾问
	recruit_character = 金性洙 # 工业顾问
	recruit_character = 安昌浩 # 筑垒顾问
	recruit_character = 申性模 # 军事理论家

	# --- 4. 新增的海空军司令 ---
	recruit_character = 孙元一 # 海军
	recruit_character = 李根锡 # 空军


	# --- 新增：理论家 ---
	recruit_character = 池青天 # 军事理论 (右派)
	recruit_character = 武亭   # 军事理论 (左派) & 将军
	recruit_character = 都相录 # 核物理
	recruit_character = 李升基 # 火箭/化学

	recruit_character = CZD_cho_man_sik # 中立领袖
	recruit_character = CZD_kim_chaek # 金策

	# --- 新增政治顾问 ---
	recruit_character = CZD_hong_myung_hee   # 洪命憙 - 教育改革家
	recruit_character = CZD_kim_tu_bong      # 金斗奉 - 经济学家
	recruit_character = CZD_ho_ka_i          # 许嘉谊 - 间谍头子
	recruit_character = CZD_choe_chang_ik    # 崔昌益 - 共产党战略家
	recruit_character = CZD_pak_jeong_ae     # 朴正爱 - 女性政治家
	recruit_character = CZD_pak_geum_chul    # 朴金喆 - 军需专家
	recruit_character = CZD_kim_won_bong     # 金元凤 - 民族主义特工

	# --- 新增陆军参谋长 ---
	recruit_character = CZD_kim_ung              # 金雄 - 进攻型指挥官
	recruit_character = CZD_choe_yong_gun_chief  # 崔庸健 - 防御型指挥官

	# --- 新增海军参谋长 ---
	recruit_character = CZD_kim_il_navy     # 金一 - 通商破坏
	recruit_character = CZD_han_il_mu       # 韩一武 - 潜艇专家

	# --- 新增空军参谋长 ---
	recruit_character = CZD_wang_ryun       # 王连 - 对地支援
	recruit_character = CZD_lee_hwal        # 李活 - 全天候作战

	# --- 新增高级指挥部 ---
	recruit_character = CZD_kim_kwang_hyop     # 金光侠 - 步兵专家
	recruit_character = CZD_ryu_kyong_su       # 柳京守 - 装甲专家
	recruit_character = CZD_pak_il_u           # 朴一禹 - 炮兵专家
	recruit_character = CZD_kim_chang_bong     # 金昌奉 - 骑兵/山地专家
	recruit_character = CZD_choe_kwang_navy_air # 崔光 - 海军专家
	recruit_character = CZD_lee_dong_kyu       # 李东奎 - 空军专家
	recruit_character = CZD_kim_du_hwan        # 金斗焕 - 战略轰炸
	recruit_character = CZD_kim_kwang_sik      # 金光植 - 后勤专家
}


  



# Starting tech
# Sotokufu of JAP
# Starting tech
set_technology = {
	#PLACEHOLDERS for vehicles
	
		### Doctrines ###

		# 民兵科技 - 允许在编制中使用民兵
		 
		militia_tech = 1
		#electronics
		electronic_mechanical_engineering = 1
		radio = 1
		mechanical_computing = 1
		computing_machine = 1
		basic_encryption = 1
		basic_decryption = 1

		#industry
		basic_machine_tools = 1
		improved_machine_tools = 1
		advanced_machine_tools = 1
		oil_processing = 1
		fuel_refining2 = 1
		concentrated_industry = 1
		concentrated_industry2 = 1
		concentrated_industry3 = 1
}
if = {
	limit = {
		has_dlc = "Man the Guns"
	}
	set_technology = {
			
	}
}
if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	set_technology = {
			
	}
}

add_ideas = {
	CZD_colonial_extraction      # 殖民地榨取
	 
	CZD_disarmed_populace        # 非武装民众

 
}

 


1939.1.1 = {

	add_political_power = 1198
	

}

set_convoys = 5

set_country_flag = JAP_sotoku_fu
set_cosmetic_tag = GGK

if = {
	limit = {
		CZD = { is_subject_of = JAP }
	}

	set_party_name = { ideology = fascism long_name = Governor_weiduli_fas name = Governor_weiduli_fas }
	set_party_name = { ideology = neutrality long_name = Governor_general_of_korea name = Governor_general_of_korea }
	set_party_name = { ideology = communism long_name = CZD_communist_party_long name = CZD_communist_party }
	set_party_name = { ideology = democratic long_name = CZD_democratic_party_long name = CZD_democratic_party }
}

add_to_tech_sharing_group = JAP_dai_nippon_teikoku_kagaku_chimu

set_politics = {
	ruling_party = fascism
	last_election = "1936.1.1"
	election_frequency = 48
	elections_allowed = no
}
set_popularities = {
	fascism = 90
	neutrality = 10
}
 



