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

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

 #################### 
 
CAE_kaput_organization = {

	name = CAE_kaput_werke
	icon = GFX_idea_generic_tank_manufacturer_3
	equipment_type = { armor }
	research_categories = { armor }
	allowed = { 
		tag = CAE
		has_dls = "Arms Against Tyrrany"
	}
	
	add_trait = { 
		token = CAE_mio_trait_optimization
		name = CAE_mio_trait_optimization
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_armor
		special_trait_background = yes

		position = { x=3 y=0 }
		
		
		production_bonus = {
			production_capacity_factor = 0.05
		}
	}
	add_trait = { 
		token = CAE_mio_trait_new_engine
		name = CAE_mio_trait_new_engine
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_armor
		special_trait_background = yes

		position = { x=0 y=1 }
		relative_position_id = CAE_mio_trait_optimization

		parent = { 
			traits = { CAE_mio_trait_optimization }
			}
		equipment_bonus = {
			fuel_consumption = -0.1
		}
	}
	add_trait = { 
		token = CAE_mio_trait_standart_product
		name = CAE_mio_trait_standart_product
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_armor
		special_trait_background = yes

		position = { x=0 y=1 }
		relative_position_id = CAE_mio_trait_new_engine

		parent = { 
			traits = { CAE_mio_trait_new_engine }
			}
		production_bonus = {
			production_cost_factor = -0.05
		}
	}
	add_trait = { 
		token = CAE_mio_trait_mass_tank
		name = CAE_mio_trait_mass_tank
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_armor
		special_trait_background = yes

		position = { x=0 y=1 }
		relative_position_id = CAE_mio_trait_standart_product

		parent = { 
			traits = { CAE_mio_trait_standart_product }
			}
		production_bonus = {
			production_resource_need_factor = -0.05
		}
	}
	add_trait = { 
		token = CAE_mio_trait_optika
		name = CAE_mio_trait_optika
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_armor
		special_trait_background = yes

		position = { x=5 y=0 }
		
		equipment_bonus = {
			breakthrough = 0.05
		}
	}
	add_trait = { 
		token = CAE_mio_trait_granaten
		name = CAE_mio_trait_granaten
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_armor
		special_trait_background = yes

		position = { x=0 y=1 }
		relative_position_id = CAE_mio_trait_optika

		parent = { 
			traits = { CAE_mio_trait_optika }
			}
		equipment_bonus = {
			defense = 0.05
		}
	}
	add_trait = { 
		token = CAE_mio_trait_mg_turret
		name = CAE_mio_trait_mg_turret
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_armor
		special_trait_background = yes

		position = { x=0 y=1 }
		relative_position_id = CAE_mio_trait_granaten

		parent = { 
			traits = { CAE_mio_trait_granaten }
			}
		equipment_bonus = {
			soft_attack = 0.05
		}
	}
	add_trait = { 
		token = CAE_mio_trait_ap_shots
		name = CAE_mio_trait_ap_shots
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_armor
		special_trait_background = yes

		position = { x=0 y=1 }
		relative_position_id = CAE_mio_trait_mg_turret

		parent = { 
			traits = { CAE_mio_trait_mg_turret }
			}
		equipment_bonus = {
			ap_attack = 0.05
			hard_attack = 0.1
		}
	}
	add_trait = { 
		token = CAE_mio_trait_irontank
		name = CAE_mio_trait_irontank
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_armor
		special_trait_background = yes

		position = { x=1 y=1 }
		relative_position_id = CAE_mio_trait_mass_tank

		all_parents = { CAE_mio_trait_ap_shots	CAE_mio_trait_mass_tank	}
		equipment_bonus = {
			build_cost_ic = -0.1
		}
	}
}

CAE_broiler_organization = {

	name = CAE_aero_broiler
	icon = GFX_idea_generic_air_manufacturer_3

	allowed = { 
		tag = CAE
		has_dls = "Arms Against Tyrrany"
	}

	equipment_type = {
		mio_cat_eq_all_medium_plane
		transport_plane_equipment
	}

	research_categories = { mio_cat_all_medium_aircraft_and_modules }

	add_trait = { 
		token = CAE_mio_trait_speedy
		name = CAE_mio_trait_speedy
		icon = GFX_generic_mio_department_icon_plane_medium_line_efficiency
		special_trait_background = yes

		position = { x=3 y=0 }
		
		equipment_bonus = {
			maximum_speed = 0.1
		}
	}
	add_trait = { 
		token = CAE_mio_trait_bak
		name = CAE_mio_trait_bak
		icon = GFX_generic_mio_department_icon_plane_medium_line_efficiency
		special_trait_background = yes

		position = { x=0 y=1 }
		relative_position_id = CAE_mio_trait_speedy

		parent = { 
			traits = { CAE_mio_trait_speedy }
			}
		equipment_bonus = {
			air_range = 0.1
		}
	}
	add_trait = { 
		token = CAE_mio_trait_maneuver
		name = CAE_mio_trait_maneuver
		icon = GFX_generic_mio_department_icon_plane_medium_line_efficiency
		special_trait_background = yes

		position = { x=0 y=1 }
		relative_position_id = CAE_mio_trait_bak

		parent = { 
			traits = { CAE_mio_trait_bak }
			}
		equipment_bonus = {
			air_agility = 0.1
		}
	}
	add_trait = { 
		token = CAE_mio_trait_broiler_forever
		name = CAE_mio_trait_broiler_forever
		icon = GFX_generic_mio_department_icon_plane_medium_line_efficiency
		special_trait_background = yes

		position = { x=1 y=1 }
		relative_position_id = CAE_mio_trait_maneuver

		all_parents = { CAE_mio_trait_maneuver	CAE_mio_trait_defence	}
		equipment_bonus = {
			reliability = 0.1
		}
	}
	add_trait = { 
		token = CAE_mio_trait_ground_bombing
		name = CAE_mio_trait_ground_bombing
		icon = GFX_generic_mio_department_icon_plane_medium_line_efficiency
		special_trait_background = yes

		position = { x=5 y=0 }
		
		equipment_bonus = {
			air_ground_attack = 0.1
		}
	}
	add_trait = { 
		token = CAE_mio_trait_strat_bombing
		name = CAE_mio_trait_strat_bombing
		icon = GFX_generic_mio_department_icon_plane_medium_line_efficiency
		special_trait_background = yes

		position = { x=0 y=1 }
		relative_position_id = CAE_mio_trait_ground_bombing

		parent = { 
			traits = { CAE_mio_trait_ground_bombing }
			}
		equipment_bonus = {
			air_bombing = 0.1
		}
	}
	add_trait = { 
		token = CAE_mio_trait_defence
		name = CAE_mio_trait_defence
		icon = GFX_generic_mio_department_icon_plane_medium_line_efficiency
		special_trait_background = yes

		position = { x=0 y=1 }
		relative_position_id = CAE_mio_trait_strat_bombing

		parent = { 
			traits = { CAE_mio_trait_strat_bombing }
			}
		equipment_bonus = {
			air_defence = 0.1
		}
	}
	}
	CAE_berta_waffen = {
	include = generic_artillery_organization
	icon = GFX_idea_generic_artillery_manufacturer_2
	allowed = {	
		tag = CAE 

	}
}
	CAE_afro_waffen = {
	include = generic_infantry_equipment_organization
	icon = GFX_idea_generic_infantry_equipment_manufacturer_2
	allowed = {	
		tag = CAE 

	}
}
	CAE_jopel_organization = {
	include = generic_motorized_mechanized_organization
	icon = GFX_idea_generic_motorized_equipment_manufacturer_3
	allowed = {	
		tag = CAE 

	}
}