#####################

###  ##  #  # # #  ## 
 #  #  # ## # # # #   
 #  #### # ## ##   #  
 #  #  # #  # # #   # 
 #  #  # #  # # # ## 

 #################### 

CHI_sino_german_technical_mission_organization = {
	include = generic_tank_organization
	icon = GFX_idea_GER_MAN
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
		} 
		has_dlc = "Waking the Tiger"
	}
	available = {
		owner = {
			OR = {
				has_completed_focus = CHI_chinese_panzers
				has_idea = german_advisors
			}
			NOT = {
				has_war_with = GER
			}
		}
	}
}

#####################

 ## #  # ### ###   ## 
#   #  #  #  #  # #   
 #  ####  #  ###   #  
  # #  #  #  #      # 
##  #  # ### #    ##  
 
#####################

CHI_jiangnan_shipyard_group_organization = {
	include = generic_task_force_ship_organization
	icon = GFX_idea_generic_naval_manufacturer_2
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
			tag = MEN
		} 
		has_dlc = "Waking the Tiger"
	}
	available = {
	   	 owner = { OR = { controls_state = 613 has_completed_focus = CHI_renegotiate_the_unequal_treaties } }
	}
}

CHI_dagu_shipyard_organization = {
	include = generic_raider_ship_organization
	icon = GFX_idea_generic_naval_manufacturer_3
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
			tag = MEN
		} 
		has_dlc = "Waking the Tiger"
	}
	available = {
	      owner = { OR = { controls_state = 608 has_completed_focus = CHI_renegotiate_the_unequal_treaties } }
	}
}

###########################

###  #    ##  #  # ###  ## 
#  # #   #  # ## # #   #   
###  #   #### # ## ##   #  
#    #   #  # #  # #     # 
#    ### #  # #  # ### ##  

###########################

CHI_camco_organization = {
	include = generic_medium_aircraft_organization
	icon = GFX_idea_CHI_camco
	allowed = {	
		is_literally_china = yes
		NOT = { has_dlc = "Waking the Tiger" }
	}
}
CHI_camco_medium_organization = {
	include = generic_medium_aircraft_organization
	icon = GFX_idea_CHI_camco
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
		} 
		has_dlc = "Waking the Tiger"
	}
	available = {
	   owner = {
		OR = { has_completed_focus = CHI_camco has_completed_focus = CHI_renegotiate_the_unequal_treaties  }
	   }
	}
}
CHI_camco_fighter_organization = {
	include = generic_light_aircraft_organization
	icon = GFX_idea_CHI_camco
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
		} 
		has_dlc = "Waking the Tiger"
	}
	available = {
	   owner = {
		OR = { has_completed_focus = CHI_local_fighter_production has_completed_focus = CHI_renegotiate_the_unequal_treaties  }
		}
	}
}
CHI_camco_bomber_organization = {
	include = generic_cas_aircraft_organization
	icon = GFX_idea_CHI_camco
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
		} 
		has_dlc = "Waking the Tiger"
	}
	available = {
	   owner = {
		OR = { has_completed_focus = CHI_local_bomber_production has_completed_focus = CHI_renegotiate_the_unequal_treaties  }
		}
	}
}

################################### 

#   #  ##  ### ### ###  ### ### #   
## ## #  #  #  #   #  #  #  #   #   
# # # ####  #  ##  ###   #  ##  #   
#   # #  #  #  #   #  #  #  #   #   
#   # #  #  #  ### #  # ### ### ### 


###################################

CHI_taiyuan_arsenal_organization = {
	include = generic_artillery_organization
	icon = GFX_idea_generic_artillery_manufacturer_1
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
			tag = MEN
		} 
		has_dlc = "Waking the Tiger"
	}
	available = {
		owner = { 
		   OR = { controls_state = 615 has_completed_focus = CHI_renegotiate_the_unequal_treaties  }
		}
	}
}
CHI_liaoning_arsenal_organization = {
	include = generic_motorized_mechanized_organization
	icon = GFX_idea_generic_motorized_equipment_manufacturer_2
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
			tag = MEN
		} 
		has_dlc = "Waking the Tiger"
	}
	available = {
		owner = { 
		   OR = { controls_state = 715 has_completed_focus = CHI_renegotiate_the_unequal_treaties  }
		}
	}
}
CHI_hanyan_arsenal_organization = {
	include = generic_infantry_equipment_organization
	icon = GFX_idea_generic_infantry_equipment_manufacturer_2
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
			tag = MEN
		} 
		has_dlc = "Waking the Tiger"
	}
	available = {
		   owner = { 
		   OR = { 
		      controls_state = 620  
			  has_completed_focus = CHI_renegotiate_the_unequal_treaties }
		   }
	}
}
CHI_mukden_arsenal_organization = {
	include = generic_support_equipment_organization
	icon = GFX_idea_generic_infantry_equipment_manufacturer_3
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
			tag = MEN
		} 
		has_dlc = "Waking the Tiger"
	}
	available = {
		owner = { 
		   OR = { 
		   owner = { controls_state = 716 }
		   has_completed_focus = CHI_renegotiate_the_unequal_treaties  
		   }
		}
	}
}


CHI_chendu_aircraft_organization = {
	include = generic_general_aircraft_organization
	icon = GFX_idea_generic_air_manufacturer_3
	name = STATE_750 
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
		} 
		has_dlc = "Waking the Tiger"
	}
	available = {
		owner = { 
		   has_completed_focus = CHI_renegotiate_the_unequal_treaties  
		}
	}
}

CHI_norinco_tank_organization = {
	include = generic_medium_tank_organization
    icon = GFX_idea_generic_industrial_concern_3
    name = "NORINCO" 
	
	equipment_type = { armor }
	
	initial_trait = {
		name = USA_mio_trait_dedicated_tank_factory
		
		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}
	
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
		} 
		has_dlc = "Waking the Tiger"
	}
	
	add_trait = { 
		token = NORICO_mio_trait_modernization_program
		name = FIN_mio_trait_modernization_program
		icon = GFX_generic_mio_department_icon_tank_general_materials
		special_trait_background = yes

		position = { x=9 y=2 }
		

		production_bonus = {
			production_capacity_factor = 0.05
		}
	}
	
	available = {
		owner = { 
		   has_completed_focus = CHI_renegotiate_the_unequal_treaties  
		   }
		}
	}
	
CHI_FIRMACO_tank_organization = {
	include = generic_tank_refurbishment_plant_organization
    icon = GFX_idea_generic_electronics_concern_3
    name = "FIRMACO" 
	
	
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
		} 
		has_dlc = "Waking the Tiger"
	}
    initial_trait = {
        name = NOR_mio_initial_trait_mechanical_workshop
    }

	add_trait = { 
		token = FIRMACO_mio_trait_modernization_program
		name = FIN_mio_trait_modernization_program
		icon = GFX_generic_mio_department_icon_tank_general_line_efficiency
		special_trait_background = yes

		position = { x=9 y=2 }
		

		production_bonus = {
			production_capacity_factor = 0.05
		}
	}
	
	add_trait = { 
		token = FIRMACO_mio_trait_salvaged_and_retooled
		name = FIN_mio_trait_salvaged_and_retooled
		icon = GFX_generic_mio_department_icon_tank_general_materials
		special_trait_background = yes

		position = { x=9 y=1 }
		

		production_bonus = {
			production_resource_need_factor = -0.05
		}
	}
	
	available = {
		owner = { 
		   has_completed_focus = CHI_renegotiate_the_unequal_treaties  
		   }
		}
	}


CHI_faw_car_organization = {
	include = generic_motorized_mechanized_organization
    name = "FAW" 
	
	
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
		} 
		has_dlc = "Waking the Tiger"
	}
	available = {
		owner = { 
		   has_completed_focus = CHI_renegotiate_the_unequal_treaties  
		   }
		}
	}
	

CHI_refit_ship_organization = {
	include = generic_refurbishment_repair_organization
	name = STATE_596 
	
	allowed = {	
		OR = {
			is_literally_china = yes
			tag = MAN
		} 
		has_dlc = "Waking the Tiger"
	}
	available = {
		owner = { 
		   has_completed_focus = CHI_renegotiate_the_unequal_treaties  
		   }
		}
	}
