capital = 613 # Nanjing

oob = "CHI_1936"

# Starting tech
set_technology = {
	infantry_weapons = 1
	tech_support = 1
	tech_engineers = 1
	tech_mountaineers = 1
        gw_artillery = 1
 	gwtank = 1
	early_fighter = 1
	early_bomber = 1
	mass_assault = 1
	fleet_in_being = 1
	early_destroyer = 1
	early_light_cruiser = 1
        basic_light_cruiser = 1
        early_heavy_cruiser = 1
	early_submarine = 1
}

add_ideas = {
	german_advisors
        general_staff
}

set_convoys = 40

1939.1.1 = {

	add_political_power = 1198
	
	#generic focuses
	complete_national_focus = army_effort
	complete_national_focus = equipment_effort
	complete_national_focus = motorization_effort
	complete_national_focus = aviation_effort
	complete_national_focus = naval_effort
	complete_national_focus = flexible_navy
	complete_national_focus = industrial_effort
	complete_national_focus = construction_effort
	complete_national_focus = production_effort

	add_ideas = {
		#laws
		tot_economic_mobilisation
		service_by_requirement
		closed_economy

		#ministers
		CHI_xie_juezai
		CHI_deng_xiaoping
		CHI_bo_yibo
		CHI_xiao_yisu
		CHI_chen_shaokuan
		jiangnan_shipyard_group
	}
	
	set_global_flag = fall_of_nanjing
	create_faction = chinese_united_front
	add_to_faction = PRC
	remove_opinion_modifier = { target = PRC modifier = hostile_status }
	#load_oob = "CHI_united_front"
	set_global_flag = CHI_unite
	oob = "CHI_1939"
	set_technology = {

		#PLACEHOLDER techs for vehicles
		motorised_infantry = 1
		tech_support = 1		
		tech_recon = 1
		tech_engineers = 1

		#doctrines
		air_superiority = 1
		pocket_defence = 1
		defence_in_depth = 1
		battlefleet_concentration = 1
		convoy_sailing = 1

		#electronics
		electronic_mechanical_engineering = 1
		radio = 1
		radio_detection = 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
		synth_oil_experiments = 1
		oil_plant = 1
		improved_oil_plant = 1
		construction1 = 1
		construction2 = 1
		construction3 = 1
		concentrated_industry = 1
		concentrated_industry2 = 1
		concentrated_industry3 = 1
	}
}

set_politics = {

	parties = {
		democratic = { 
			popularity = 0
		}

		fascism = {
			popularity = 100
		}
		
		communism = {
			popularity = 0
			#banned = no #default is no
		}
		
		neutrality = { 
			popularity = 0
		}
	}
	
	ruling_party = fascism 
	last_election = "1936.1.1"
	election_frequency = 48
	elections_allowed = no
}

create_country_leader = {
	name = "蒋介石"
	desc = "POLITICS_CHIANG_KAI-SHEK_DESC"
	picture = "Portrait_China_Chiang_Kai_Shek.dds"
	expire = "2016.1.1"
	ideology = despotism
	traits = {
		dictator
	}
}

create_country_leader = {
	name = "蒋介石"
	desc = "POLITICS_CHIANG_KAI-SHEK_DESC"
	picture = "Portrait_China_Chiang_Kai_Shek.dds"
	expire = "2016.1.1"
	ideology = leninism
	traits = {
		cornered_fox
                dictator
	}
}

create_country_leader = {
	name = "蒋介石"
	desc = "POLITICS_CHIANG_KAI-SHEK_DESC"
	picture = "Portrait_China_Chiang_Kai_Shek.dds"
	expire = "2016.1.1"
	ideology = fascism_ideology
	traits = {
		dictator
	}
}

create_country_leader = {
	name = "蒋介石"
	desc = "POLITICS_CHIANG_KAI-SHEK_DESC"
	picture = "Portrait_China_Chiang_Kai_Shek.dds"
	expire = "2016.1.1"
	ideology = socialism
	traits = {
		dictator
	}
}

add_opinion_modifier = { target = PRC modifier = hostile_status }

1939.1.1 = {
	set_politics = {

		parties = {
		democratic = { 
			popularity = 0
		}

		fascism = {
			popularity = 0
		}
		
		communism = {
			popularity = 0
			#banned = no #default is no
		}
		
		neutrality = { 
			popularity = 100
		}
	}
		
		ruling_party = neutrality
		last_election = "1936.1.1"
		election_frequency = 48
		elections_allowed = no
	}
}

create_field_marshal = {
	name = "杜聿明"
	portrait_path = "gfx/leaders/CHI/duyuming.dds"
	traits = {  logistics_wizard offensive_doctrine defensive_doctrine fast_planner thorough_planner organisational_leader inspirational_leader }
	skill = 4
}

create_field_marshal = {
	name = "薛岳"
	portrait_path = "gfx/leaders/CHI/xueyue.dds"
	traits = {  logistics_wizard offensive_doctrine defensive_doctrine fast_planner thorough_planner organisational_leader inspirational_leader }
	skill = 5
}

create_field_marshal = {
	name = "戴安澜"
	portrait_path = "gfx/leaders/CHI/daianlan.dds"
	traits = {   logistics_wizard offensive_doctrine defensive_doctrine fast_planner thorough_planner organisational_leader inspirational_leader }
	skill = 4
}

create_field_marshal = {
	name = "王耀武"
	portrait_path = "gfx/leaders/CHI/wangyaowu.dds"
	traits = {  logistics_wizard offensive_doctrine defensive_doctrine fast_planner thorough_planner organisational_leader inspirational_leader }
	skill = 3
}

create_corps_commander = {
	name = "白崇禧"
	portrait_path = "gfx/leaders/CHI/baichongxi.dds"
	traits = {  trickster winter_specialist trait_engineer fortress_buster panzer_leader commando desert_fox swamp_fox trait_mountaineer hill_fighter jungle_rat ranger urban_assault_specialist naval_invader bearer_of_artillery }
	skill = 5
}

create_corps_commander = {
	name = "陈诚"
	portrait_path = "gfx/leaders/CHI/chencheng.dds"
	traits = {  trickster winter_specialist trait_engineer fortress_buster panzer_leader commando desert_fox swamp_fox trait_mountaineer hill_fighter jungle_rat ranger urban_assault_specialist naval_invader bearer_of_artillery }
	skill = 3
}

create_navy_leader = {
	name = "陈季良"
	portrait_path = "gfx/leaders/CHI/chenjiliang.dds"
	traits = {  seawolf blockade_runner superior_tactician spotter fly_swatter ironside air_controller }
	skill = 4
}

create_navy_leader = {
	name = "陈绍宽"
	portrait_path = "gfx/leaders/CHI/chenshaokuan.dds"
	traits = {  seawolf blockade_runner superior_tactician spotter fly_swatter ironside air_controller }
	skill = 6
}

create_corps_commander = {
	name = "戴笠"
	portrait_path = "gfx/leaders/CHI/daili.dds"
	traits = {  trickster winter_specialist trait_engineer fortress_buster panzer_leader commando desert_fox swamp_fox trait_mountaineer hill_fighter jungle_rat ranger urban_assault_specialist naval_invader bearer_of_artillery }
	skill = 3
}

create_corps_commander = {
	name = "傅作义"
	portrait_path = "gfx/leaders/CHI/fuzuoyi.dds"
	traits = {  trickster winter_specialist trait_engineer fortress_buster panzer_leader commando desert_fox swamp_fox trait_mountaineer hill_fighter jungle_rat ranger urban_assault_specialist naval_invader bearer_of_artillery }
	skill = 4
}

create_navy_leader = {
	name = "桂永清"
	portrait_path = "gfx/leaders/CHI/guiyongqing.dds"
	traits = {  seawolf blockade_runner superior_tactician spotter fly_swatter ironside air_controller }
	skill = 3
}

create_corps_commander = {
	name = "顾祝同"
	portrait_path = "gfx/leaders/CHI/guzhutong.dds"
	traits = {  trickster winter_specialist trait_engineer fortress_buster panzer_leader commando desert_fox swamp_fox trait_mountaineer hill_fighter jungle_rat ranger urban_assault_specialist naval_invader bearer_of_artillery }
	skill = 3
}

create_field_marshal = {
	name = "蒋百里"
	portrait_path = "gfx/leaders/CHI/jiangbaili.dds"
	traits = {  logistics_wizard offensive_doctrine defensive_doctrine fast_planner thorough_planner organisational_leader inspirational_leader }
	skill = 6
}

create_corps_commander = {
	name = "李宗仁"
	portrait_path = "gfx/leaders/CHI/lizongren.dds"
	traits = {  trickster winter_specialist trait_engineer fortress_buster panzer_leader commando desert_fox swamp_fox trait_mountaineer hill_fighter jungle_rat ranger urban_assault_specialist naval_invader bearer_of_artillery }
	skill = 5
}

create_navy_leader = {
	name = "沈鸿烈"
	portrait_path = "gfx/leaders/CHI/shenhonglie.dds"
	traits = {  seawolf blockade_runner superior_tactician spotter fly_swatter ironside air_controller }
	skill = 3
}

create_corps_commander = {
	name = "汤恩伯"
	portrait_path = "gfx/leaders/CHI/tangenbo.dds"
	traits = {  trickster winter_specialist trait_engineer fortress_buster panzer_leader commando desert_fox swamp_fox trait_mountaineer hill_fighter jungle_rat ranger urban_assault_specialist naval_invader bearer_of_artillery }
	skill = 3
}

create_corps_commander = {
	name = "阎锡山"
	portrait_path = "gfx/leaders/CHI/yanxishan.dds"
	traits = {  trickster winter_specialist trait_engineer fortress_buster panzer_leader commando desert_fox swamp_fox trait_mountaineer hill_fighter jungle_rat ranger urban_assault_specialist naval_invader bearer_of_artillery }
	skill = 4
}

create_corps_commander = {
	name = "张灵甫"
	portrait_path = "gfx/leaders/CHI/zhanglingfu.dds"
	traits = {  trickster winter_specialist trait_engineer fortress_buster panzer_leader commando desert_fox swamp_fox trait_mountaineer hill_fighter jungle_rat ranger urban_assault_specialist naval_invader bearer_of_artillery }
	skill = 4
}

create_corps_commander = {
	name = "张自忠"
	portrait_path = "gfx/leaders/CHI/zhangzizhong.dds"
	traits = {  trickster winter_specialist trait_engineer fortress_buster panzer_leader commando desert_fox swamp_fox trait_mountaineer hill_fighter jungle_rat ranger urban_assault_specialist naval_invader bearer_of_artillery }
	skill = 4
}

create_navy_leader = {
	name = "曾以鼎"
	portrait_path = "gfx/leaders/CHI/zengyiding.dds"
	traits = {  seawolf blockade_runner superior_tactician spotter fly_swatter ironside air_controller }
	skill = 4
}
