military_industrial_complex = {



###################	
### LEVEL UP MIC###	
###################	


	mic_level_up = {
		
		visible = {
			always = yes
			check_variable = { eoc_mic_level < 10 }	
		}
		
		available = {
			always = yes
			check_variable = { eoc_treasury > 1 }	
			check_variable = { eoc_mic_level < 10 }	
			num_of_military_factories > 5 

		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 30
		days_remove = 120
		complete_effect = {
			subtract_from_variable = { eoc_treasury = 1 }
		}		
		modifier = {
			
		}
		remove_effect = {
			add_to_variable = { eoc_mic_level = 1 }
			random_owned_controlled_state = { 
				limit = { arms_factory > 0 }
				remove_building = { type = arms_factory  level = 1 }				
			}
			random_owned_controlled_state = { 
				limit = { arms_factory > 0 }
				remove_building = { type = arms_factory  level = 1 }				
			}
			random_owned_controlled_state = { 
				limit = { arms_factory > 0 }
				remove_building = { type = arms_factory  level = 1 }				
			}
			random_owned_controlled_state = { 
				limit = { arms_factory > 0 }
				remove_building = { type = arms_factory  level = 1 }				
			}	
			random_owned_controlled_state = { 
				limit = { arms_factory > 0 }
				remove_building = { type = arms_factory  level = 1 }				
			}				
			add_to_variable = { eoc_mic_dependence = 1}			
			eoc_mic_calc = yes 
		}
		ai_will_do = {
			factor = 0
		}
		
	}



#####################		
### CONVERSION MIC###	
#####################	


	mic_conversion_up = {
		
		visible = {
			always = yes	
		}
		
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.1 }	

		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 30
		days_remove = 60
		complete_effect = {
			subtract_from_variable = { eoc_treasury = 0.1 }
		}		
		modifier = {
			equipment_conversion_speed = 0.4 	
		}
		remove_effect = {

		}
		ai_will_do = {
			factor = 0
		}
		
	}


#####################		
### Continious MIC###	
#####################	


	mic_constant_buy_start = {
		
		visible = {
			always = yes	
			NOT = { has_country_flag = mic_buy_nonstop }
		}
		
		available = {
			always = yes


		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 0
		complete_effect = {
			set_country_flag = mic_buy_nonstop
		}		

		remove_effect = {

		}
		ai_will_do = {
			factor = 0
		}
		
	}

	mic_constant_buy_stop = {
		
		visible = {
			always = yes	
			has_country_flag = mic_buy_nonstop
		}
		
		available = {
			always = yes


		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 0
		complete_effect = {
			clr_country_flag = mic_buy_nonstop
		}		

		remove_effect = {

		}
		ai_will_do = {
			factor = 0
		}
		
	}

###################	
### BUY OPTS MIC###	
###################	



	show_military_industrial_complex_actions= {
		
		visible = {
			always = yes
			NOT = { has_country_flag = show_military_industrial_complex_actions_flag}
				
		}

		available = {
			always = yes
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 0
		complete_effect = {
			set_country_flag = show_military_industrial_complex_actions_flag

		}
		remove_effect = {
		}
		
		ai_will_do = {
			factor = 0
		}
		
	}

	hide_military_industrial_complex_actions= {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_flag
		}
		
		available = {
			always = yes
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 0
		complete_effect = {
			clr_country_flag = show_military_industrial_complex_actions_flag

		}
		remove_effect = {
		}
		
		ai_will_do = {
			factor = 0
		}
		
	}

	mic_infantry1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_flag
		}
		activation = {
			has_country_flag = mic_buy_nonstop
		}
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.1 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}
			has_tech = infantry_weapons
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.1 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = infantry_cw5
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_8 
					amount = eoc_size_infantry
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_infantry1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = infantry_cw4
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_7 
					amount = eoc_size_infantry
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_infantry1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = infantry_cw3
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_6 
					amount = eoc_size_infantry
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_infantry1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = infantry_cw2
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_5 
					amount = eoc_size_infantry
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_infantry1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = infantry_cw1
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_4
					amount = eoc_size_infantry
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_infantry1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = advanced_infantry_weapons
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_3 
					amount = eoc_size_infantry
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_infantry1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = improved_infantry_weapons
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_2 
					amount = eoc_size_infantry
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_infantry1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}	
			else_if = {
				limit = {
					has_tech = infantry_weapons1
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_1
					amount = eoc_size_infantry
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_infantry1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}	
			else_if = {
				limit = {
					has_tech = infantry_weapons
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_0 
					amount = eoc_size_infantry
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_infantry1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}				
			
		}
		ai_will_do = {
			factor = 0
		}
		
	}	
	
	mic_support1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_flag
		}
		activation = {
			has_country_flag = mic_buy_nonstop
		}
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.1 }
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}			
			has_tech = tech_support 
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.1 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			add_equipment_to_stockpile = {
				type = support_equipment 
				amount = eoc_size_support
				producer = FROM
			}
			if = { 
				limit = { 
					has_country_flag = mic_buy_nonstop 
				}
				activate_decision = mic_support1 
			}		
			add_to_variable = { eoc_mic_dependence = 0.001}
		}
		ai_will_do = {
			factor = 0
		}
		
	}

	mic_arty1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_flag
		}
		
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.1 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}
			has_tech = gw_artillery  
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.1 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = cwart5
				}
				add_equipment_to_stockpile = {
					type = artillery_equipment_8 
					amount = eoc_size_artillery
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_arty1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}				
			}
			else_if = {
				limit = {
					has_tech = cwart4
				}
				add_equipment_to_stockpile = {
					type = artillery_equipment_7
					amount = eoc_size_artillery
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_arty1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}		
			else_if = {
				limit = {
					has_tech = cwart3
				}
				add_equipment_to_stockpile = {
					type = artillery_equipment_6
					amount = eoc_size_artillery
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_arty1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = infantry_cw4
				}
				add_equipment_to_stockpile = {
					type = artillery_equipment_5 
					amount = eoc_size_artillery
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_arty1 
				}				
			}
			else_if = {
				limit = {
					has_tech = cwart2
				}
				add_equipment_to_stockpile = {
					type = artillery_equipment_4 
					amount = eoc_size_artillery
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_arty1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = cwart1
				}
				add_equipment_to_stockpile = {
					type = artillery_equipment_3
					amount = eoc_size_artillery
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_arty1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = artillery4
				}
				add_equipment_to_stockpile = {
					type = artillery_equipment_2
					amount = eoc_size_artillery
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_arty1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = artillery1
				}
				add_equipment_to_stockpile = {
					type = artillery_equipment_1 
					amount = eoc_size_artillery
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_arty1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = gw_artillery
				}
				add_equipment_to_stockpile = {
					type = artillery_equipment 
					amount = eoc_size_artillery
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_arty1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}			

		}
		ai_will_do = {
			factor = 0
		}
		
	}	
	
	mic_at1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_flag
		}
		
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.1 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}
			has_tech = interwar_antitank 
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.1 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = antitank9
				}
				add_equipment_to_stockpile = {
					type = anti_tank_equipment_7  
					amount = eoc_size_at
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_at1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}		
			else_if = {
				limit = {
					has_tech = antitank8
				}
				add_equipment_to_stockpile = {
					type = anti_tank_equipment_6  
					amount = eoc_size_at
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_at1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = antitank7
				}
				add_equipment_to_stockpile = {
					type = anti_tank_equipment_5  
					amount = eoc_size_at
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_at1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = antitank6
				}
				add_equipment_to_stockpile = {
					type = anti_tank_equipment_4 
					amount = eoc_size_at
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_at1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}	
			else_if = {
				limit = {
					has_tech = antitank5
				}
				add_equipment_to_stockpile = {
					type = anti_tank_equipment_3  
					amount = eoc_size_at
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_at1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}	
			else_if = {
				limit = {
					has_tech = antitank2
				}
				add_equipment_to_stockpile = {
					type = anti_tank_equipment_2 
					amount = eoc_size_at
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_at1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}	
			else_if = {
				limit = {
					has_tech = interwar_antitank
				}
				add_equipment_to_stockpile = {
					type = anti_tank_equipment_1  
					amount = eoc_size_at
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_at1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}				
		
		

		}
		ai_will_do = {
			factor = 0
		}
		
	}	

	mic_aa1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_flag
		}
		
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.1 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}			
			has_tech = interwar_antiair 
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.1 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = antiair10
				}
				add_equipment_to_stockpile = {
					type = anti_air_equipment_8 
					amount = eoc_size_aa
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_aa1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}		
			else_if = {
				limit = {
					has_tech = antiair9
				}
				add_equipment_to_stockpile = {
					type = anti_air_equipment_7 
					amount = eoc_size_aa
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_aa1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}		
			else_if = {
				limit = {
					has_tech = antiair8
				}
				add_equipment_to_stockpile = {
					type = anti_air_equipment_6 
					amount = eoc_size_aa
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_aa1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = antiair7
				}
				add_equipment_to_stockpile = {
					type = anti_air_equipment_5 
					amount = eoc_size_aa
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_aa1 
				}				
				add_to_variable = { eoc_mic_dependence = 0.001}	
			}
			else_if = {
				limit = {
					has_tech = antiair6
				}
				add_equipment_to_stockpile = {
					type = anti_air_equipment_4 
					amount = eoc_size_aa
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_aa1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = antiair5
				}
				add_equipment_to_stockpile = {
					type = anti_air_equipment_3
					amount = eoc_size_aa
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_aa1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = antiair2
				}
				add_equipment_to_stockpile = {
					type = anti_air_equipment_2
					amount = eoc_size_aa
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_aa1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = interwar_antiair
				}
				add_equipment_to_stockpile = {
					type = anti_air_equipment_1 
					amount = eoc_size_aa
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_aa1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}			

		}
		ai_will_do = {
			factor = 0
		}
		
	}

	mic_motorized1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_flag
		}
		
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.1 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}			
			has_tech = motorised_infantry  
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.1 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = motorised_infantry4
				}
				add_equipment_to_stockpile = {
					type = motorized_equipment_4 
					amount = 900
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_motorized1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}		
			else_if = {
				limit = {
					has_tech = motorised_infantry3
				}
				add_equipment_to_stockpile = {
					type = motorized_equipment_3 
					amount = eoc_size_motor
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_motorized1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = motorised_infantry2
				}
				add_equipment_to_stockpile = {
					type = motorized_equipment_1
					amount = eoc_size_motor
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_motorized1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = motorised_infantry
				}
				add_equipment_to_stockpile = {
					type = motorized_equipment
					amount = eoc_size_motor
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_motorized1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}			
		}
		ai_will_do = {
			factor = 0
		}
		
	}

	mic_mechanized1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_flag
		}
		
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.1 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}			
			has_tech = mechanised_infantry    
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.1 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = mechanised_infantry8
				}
				add_equipment_to_stockpile = {
					type = mechanized_equipment_8 
					amount = eoc_size_mech
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_mechanized1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}		
			else_if = {
				limit = {
					has_tech = mechanised_infantry7
				}
				add_equipment_to_stockpile = {
					type = mechanized_equipment_7 
					amount = eoc_size_mech
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_mechanized1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = mechanised_infantry6
				}
				add_equipment_to_stockpile = {
					type = mechanized_equipment_6
					amount = eoc_size_mech
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_mechanized1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = mechanised_infantry5
				}
				add_equipment_to_stockpile = {
					type = mechanized_equipment_5 
					amount = eoc_size_mech
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_mechanized1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = mechanised_infantry4
				}
				add_equipment_to_stockpile = {
					type = mechanized_equipment_4
					amount = eoc_size_mech
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_mechanized1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = mechanised_infantry3
				}
				add_equipment_to_stockpile = {
					type = mechanized_equipment_3
					amount = eoc_size_mech
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_mechanized1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = mechanised_infantry2
				}
				add_equipment_to_stockpile = {
					type = mechanized_equipment_2
					amount = eoc_size_mech
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_mechanized1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}
			else_if = {
				limit = {
					has_tech = mechanised_infantry
				}
				add_equipment_to_stockpile = {
					type = mechanized_equipment_1
					amount = eoc_size_mech
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_mechanized1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}			
		}
		ai_will_do = {
			factor = 0
		}
		
	}
	

	mic_rocket_art1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_flag
		}
		
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.1 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}			
			has_tech = rocket_artillery    
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.1 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
			subtract_from_variable = {eoc_mic_shipments_count_land = 1}		
			if = {
					limit = {
					has_tech = rocket_artillery8
				}
				add_equipment_to_stockpile = {
					type = rocket_artillery_equipment_6 
					amount = eoc_size_rocket
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_rocket_art1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}					
			}		
			else_if = {
				limit = {
					has_tech = rocket_artillery7
				}
				add_equipment_to_stockpile = {
					type = rocket_artillery_equipment_5 
					amount = eoc_size_rocket
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_rocket_art1 
				}				
			add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = rocket_artillery6
				}
				add_equipment_to_stockpile = {
					type = rocket_artillery_equipment_4
					amount = eoc_size_rocket
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_rocket_art1 
				}				
			add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = rocket_artillery5
				}
				add_equipment_to_stockpile = {
					type = rocket_artillery_equipment_3 
					amount = eoc_size_rocket
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_rocket_art1 
				}
			add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = rocket_artillery4
				}
				add_equipment_to_stockpile = {
					type = rocket_artillery_equipment_2
					amount = eoc_size_rocket
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_rocket_art1 
				}
			add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = rocket_artillery2
				}
				add_equipment_to_stockpile = {
					type = rocket_artillery_equipment_1
					amount = eoc_size_rocket
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_rocket_art1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
		}
		ai_will_do = {
			factor = 0
		}
		
	}
	
	mic_light_tank1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_flag
		}
		
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.1 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}
			OR = {
				AND = {
					has_dlc = "No Step Back"
					has_tech = basic_light_tank_chassis   
				}
				AND = {
					NOT = { has_dlc = "No Step Back" }
					has_tech = basic_light_tank   
				}
			}
			 
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.1 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = modern_light_tank_6
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = light_tank_chassis_9 
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			if = {
				limit = {
					has_tech = light_tank_90
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = light_tank_equipment_8 
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}		
				add_to_variable = { eoc_mic_dependence = 0.001}				
			}
			else_if = {
				limit = {
					has_tech = modern_light_tank_5
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = light_tank_chassis_8 
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}			
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = light_tank_80
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = light_tank_equipment_7 
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = modern_light_tank_4
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = light_tank_chassis_7
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = light_tank_70
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = light_tank_equipment_6
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = modern_light_tank_3
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = light_tank_chassis_6 
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = light_tank_60
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = light_tank_equipment_5 
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = modern_light_tank_2
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = light_tank_chassis_5
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = light_tank_50
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = light_tank_equipment_4 
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = modern_light_tank_1
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = light_tank_chassis_4
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = advanced_light_tank
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = light_tank_equipment_3 
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = advanced_light_tank_chassis
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = light_tank_chassis_3
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = improved_light_tank
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = light_tank_equipment_2 
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = improved_light_tank_chassis
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = light_tank_chassis_2
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = basic_light_tank
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = light_tank_equipment_1 
					amount = eoc_size_light_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = basic_light_tank_chassis
					has_dlc = "No Step Back"
				}
				#if = {
				#	limit = {
				#		NOT = {has_design_based_on = light_tank_chassis_1}
				#	}
				#	create_equipment_variant = {
				#		name = "Light Tank A"
				#		type = light_tank_chassis
				#		parent_version = 0
				#		modules = {
				#			main_armament_slot = tank_heavy_machine_gun
				#		}
				#		upgrades = {
				#			tank_nsb_engine_upgrade = 2
				#		}
				#		icon = "GFX_ENG_basic_light_tank_medium"
				#		model = ENG_MKIV_light_tank_entity
				#	}
				#} 
				add_equipment_to_stockpile = {
					type = light_tank_chassis_1
					amount = eoc_size_light_tanks
					producer = FROM
					variant_name = "Light Tank A"
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_light_tank1 
				}
			}
		}
		ai_will_do = {
			factor = 0
		}
		
	}	
	

mic_medium_tank1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_flag
		}
		
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.1 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}
			OR = {
				AND = {
					has_dlc = "No Step Back"
					has_tech = basic_medium_tank_chassis   
				}
				AND = {
					NOT = { has_dlc = "No Step Back" }
					has_tech = basic_medium_tank   
				}
			}
			 
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.1 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = advanced_medium_tank_chassis
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = medium_tank_chassis_3 
					amount = eoc_size_medium_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_tank1 
				}				
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = late_medium_tank
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = medium_tank_equipment_4 
					amount = eoc_size_medium_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = improved_medium_tank_chassis
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = medium_tank_chassis_2 
					amount = eoc_size_medium_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = advanced_medium_tank
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = medium_tank_equipment_3 
					amount = eoc_size_medium_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = basic_medium_tank_chassis
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = medium_tank_chassis_1
					amount = eoc_size_medium_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = improved_medium_tank
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = medium_tank_equipment_2
					amount = eoc_size_medium_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = basic_medium_tank
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = medium_tank_equipment_1 
					amount = eoc_size_medium_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
		}
		ai_will_do = {
			factor = 0
		}
		
	}	

	
	mic_heavy_tank1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_flag
		}
		
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.1 }
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}			
			OR = {
				AND = {
					has_dlc = "No Step Back"
					has_tech = basic_heavy_tank_chassis   
				}
				AND = {
					NOT = { has_dlc = "No Step Back" }
					has_tech = basic_heavy_tank   
				}
			}
			 
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.1 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = cw_heavy_tank_chassis_2
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = heavy_tank_chassis_6 
					amount = 160
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_heavy_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			if = {
				limit = {
					has_tech = cold_heavy_tank
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = heavy_tank_equipment_5 
					amount = eoc_size_heavy_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_heavy_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = cw_heavy_tank_chassis_1
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = heavy_tank_chassis_5 
					amount = eoc_size_heavy_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_heavy_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = late_heavy_tank
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = heavy_tank_equipment_4 
					amount = eoc_size_heavy_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_heavy_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = cw_heavy_tank_chassis
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = heavy_tank_chassis_4
					amount = eoc_size_heavy_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_heavy_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = advanced_heavy_tank
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = heavy_tank_equipment_3
					amount = eoc_size_heavy_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_heavy_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = advanced_heavy_tank_chassis
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = heavy_tank_chassis_3 
					amount = eoc_size_heavy_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_heavy_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = improved_heavy_tank
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = heavy_tank_equipment_2 
					amount = eoc_size_heavy_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_heavy_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = improved_heavy_tank_chassis
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = heavy_tank_chassis_2
					amount = eoc_size_heavy_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_heavy_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = basic_heavy_tank
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = heavy_tank_equipment_1 
					amount = eoc_size_heavy_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_heavy_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = basic_heavy_tank_chassis
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = heavy_tank_chassis_1
					amount = eoc_size_heavy_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_heavy_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
		}
		ai_will_do = {
			factor = 0
		}
		
	}	
	
	
	mic_modern_tank1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_flag
		}
		
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.1 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}
			OR = {
				AND = {
					has_dlc = "No Step Back"
					has_tech = main_battle_tank_chassis   
				}
				AND = {
					NOT = { has_dlc = "No Step Back" }
					has_tech = main_battle_tank   
				}
			}
			 
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.1 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = main_battle_tank_chassis_9
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = modern_tank_chassis_9 
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			if = {
				limit = {
					has_tech = main_battle_tank7
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = modern_tank_equipment_7 
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank_chassis_8
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = modern_tank_chassis_8 
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank6
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = modern_tank_equipment_6 
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank_chassis_7
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = modern_tank_chassis_7
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank5
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = modern_tank_equipment_5
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank_chassis_6
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = modern_tank_chassis_6 
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank4
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = modern_tank_equipment_4 
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank_chassis_5
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = modern_tank_chassis_5
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank3
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = modern_tank_equipment_3 
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank_chassis_4
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = modern_tank_chassis_4
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank2
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = modern_tank_equipment_2 
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank_chassis_3
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = modern_tank_chassis_3
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = modern_tank_equipment_1 
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank_chassis_2
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = modern_tank_chassis_2
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank_chassis_1
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = modern_tank_chassis_1
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = main_battle_tank_chassis
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = modern_tank_chassis_0
					amount = eoc_size_modern_tanks
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_modern_tank1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
		}
		ai_will_do = {
			factor = 0
		}
		
	}	
	

###################	
### BUY OPTS MIC###	
###################	



	show_military_industrial_complex_actions_fighters= {
		
		visible = {
			always = yes
			NOT = { has_country_flag = show_military_industrial_complex_actions_fighters_flag}
				
		}

		available = {
			always = yes
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 0
		complete_effect = {
			set_country_flag = show_military_industrial_complex_actions_fighters_flag

		}
		remove_effect = {
		}
		
		ai_will_do = {
			factor = 0
		}
		
	}

	hide_military_industrial_complex_actions_fighters= {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_fighters_flag
		}
		
		available = {
			always = yes
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 0
		complete_effect = {
			clr_country_flag = show_military_industrial_complex_actions_fighters_flag

		}
		remove_effect = {
		}
		
		ai_will_do = {
			factor = 0
		}
		
	}

	mic_fighter1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_fighters_flag
		}
		activation = {
			has_country_flag = mic_buy_nonstop
		}
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.2 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}
				OR = {
				AND = {
					has_dlc = "By Blood Alone"
					has_tech = iw_small_airframe   
				}
				AND = {
					NOT = { has_dlc = "By Blood Alone" }
					has_tech = early_fighter   
				}
			}
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.2 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = jet_fighter8
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_fighter_equipment_8 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = modern_small_airframe_7
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_11 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}	
			else_if = {
				limit = {
					has_tech = jet_fighter7
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_fighter_equipment_7 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_small_airframe_6
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_10 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = jet_fighter6
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_fighter_equipment_6 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_small_airframe_5
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_9 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = jet_fighter5
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_fighter_equipment_5
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_small_airframe_4
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_8 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = jet_fighter4
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_fighter_equipment_4 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_small_airframe_3
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_7
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = jet_fighter3
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_fighter_equipment_3 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_small_airframe_2
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_6 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}		
			else_if = {
				limit = {
					has_tech = fighter3
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_3 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_small_airframe_1
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_5 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = fighter2
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_2 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = fighter1
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_1
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}				
			else_if = {
				limit = {
					has_tech = modern_small_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_4
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}	
			else_if = {
				limit = {
					has_tech = advanced_small_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_3 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}				
			else_if = {
				limit = {
					has_tech = improved_small_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_2 
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}	
			else_if = {
				limit = {
					has_tech = basic_small_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_1
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}	
			else_if = {
				limit = {
					has_tech = iw_small_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_0
					amount = eoc_size_small_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_fighter1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
		}
		ai_will_do = {
			factor = 0
		}
		
	}		
	
	

	mic_medium_bomber1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_fighters_flag
		}
		activation = {
			has_country_flag = mic_buy_nonstop
		}
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.2 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}
				OR = {
				AND = {
					has_dlc = "By Blood Alone"
					has_tech = iw_medium_airframe   
				}
				AND = {
					NOT = { has_dlc = "By Blood Alone" }
					has_tech = early_fighter   
				}
			}
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.2 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = heavy_fighter8
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = heavy_fighter_equipment_8 
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = modern_medium_airframe_7
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = medium_plane_airframe_11 
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}	
			else_if = {
				limit = {
					has_tech = heavy_fighter7
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = heavy_fighter_equipment_7 
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_medium_airframe_6
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = medium_plane_airframe_10 
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = heavy_fighter6
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = heavy_fighter_equipment_6 
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_medium_airframe_5
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = medium_plane_airframe_9 
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = heavy_fighter5
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = heavy_fighter_equipment_5
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_medium_airframe_4
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = medium_plane_airframe_8 
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = heavy_fighter4
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = heavy_fighter_equipment_4 
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_medium_airframe_3
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = medium_plane_airframe_7
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = heavy_fighter3
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = heavy_fighter_equipment_3 
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_medium_airframe_2
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = medium_plane_airframe_6 
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}		
#			else_if = {
#				limit = {
#					has_tech = fighter3
#					NOT = { has_dlc = "By Blood Alone" }					
#				}
#				add_equipment_to_stockpile = {
#					type = fighter_equipment_3 
#					amount = eoc_size_medium_plane
#					producer = FROM
#				}
#				if = { 
#					limit = { 
#						has_country_flag = mic_buy_nonstop 
#					}
#					activate_decision = mic_medium_bomber1 
#				}	
#			}			
			else_if = {
				limit = {
					has_tech = modern_medium_airframe_1
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = medium_plane_airframe_5 
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
#			else_if = {
#				limit = {
#					has_tech = fighter2
#					NOT = { has_dlc = "By Blood Alone" }					
#				}
#				add_equipment_to_stockpile = {
#					type = fighter_equipment_2 
#					amount = eoc_size_medium_plane
#					producer = FROM
##				}
#				if = { 
#					limit = { 
#						has_country_flag = mic_buy_nonstop 
#					}
#					activate_decision = mic_medium_bomber1 
#				}	
#			}
#			else_if = {
#				limit = {
#					has_tech = fighter1
#					NOT = { has_dlc = "By Blood Alone" }					
#				}
#				add_equipment_to_stockpile = {
#					type = fighter_equipment_1
#					amount = eoc_size_medium_plane
#					producer = FROM
#				}
#				if = { 
#					limit = { 
#						has_country_flag = mic_buy_nonstop 
#					}
#					activate_decision = mic_medium_bomber1 
#				}	
#			}				
			else_if = {
				limit = {
					has_tech = modern_medium_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = medium_plane_airframe_4
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}	
			else_if = {
				limit = {
					has_tech = advanced_medium_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = medium_plane_airframe_3 
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}				
			else_if = {
				limit = {
					has_tech = improved_medium_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = medium_plane_airframe_2 
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}	
			else_if = {
				limit = {
					has_tech = basic_medium_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = medium_plane_airframe_1
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}	
			else_if = {
				limit = {
					has_tech = iw_medium_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = medium_plane_airframe_0
					amount = eoc_size_medium_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
		}
		ai_will_do = {
			factor = 0
		}
		
	}	




	mic_large_bomber1 = {
		
		visible = {
			always = yes
			has_country_flag = show_military_industrial_complex_actions_fighters_flag
		}
		activation = {
			has_country_flag = mic_buy_nonstop
		}
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.2 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}
				OR = {
				AND = {
					has_dlc = "By Blood Alone"
					has_tech = iw_large_airframe   
				}
				AND = {
					NOT = { has_dlc = "By Blood Alone" }
					has_tech = strategic_bomber1   
				}
			}
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.2 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = jet_strategic_bomber5
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_strat_bomber_equipment_5 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = modern_large_airframe_4
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = large_plane_airframe_8 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}	
			else_if = {
				limit = {
					has_tech = jet_strategic_bomber4
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_strat_bomber_equipment_4 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_large_airframe_6
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = large_plane_airframe_7 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = jet_strategic_bomber3
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_strat_bomber_equipment_3 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_large_airframe_2
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = large_plane_airframe_6 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = jet_strategic_bomber2
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_strat_bomber_equipment_2
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_large_airframe_1
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = large_plane_airframe_5 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = jet_strategic_bomber1
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_strat_bomber_equipment_1 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = modern_large_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = large_plane_airframe_4
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = strategic_bomber3
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = strat_bomber_equipment_3 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = advanced_large_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = large_plane_airframe_3 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}		
			else_if = {
				limit = {
					has_tech = strategic_bomber2
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = strat_bomber_equipment_2 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = improved_large_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = large_plane_airframe_2 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			else_if = {
				limit = {
					has_tech = basic_large_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = large_plane_airframe_1
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}	
			else_if = {
				limit = {
					has_tech = strategic_bomber1
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = strat_bomber_equipment_1 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			else_if = {
				limit = {
					has_tech = iw_large_airframe
					has_dlc = "By Blood Alone" 
				}
				add_equipment_to_stockpile = {
					type = large_plane_airframe_0 
					amount = eoc_size_large_plane
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_large_bomber1 
				}
				add_to_variable = { eoc_mic_dependence = 0.001}
			}				
			
		}
		ai_will_do = {
			factor = 0
		}
		
	}	
	

	mic_medium_bomber_NBBA1 = {
		
		visible = {
			NOT = { has_dlc = "By Blood Alone" }
			has_tech = strategic_bomber1  
			has_country_flag = show_military_industrial_complex_actions_fighters_flag
		}
		activation = {
			has_country_flag = mic_buy_nonstop
		}
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.2 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}
			NOT = { has_dlc = "By Blood Alone" }
			has_tech = strategic_bomber1   
				
			
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.2 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = jet_tactical_bomber5
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_tac_bomber_equipment_5 
					amount = eoc_size_tac_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
	
			else_if = {
				limit = {
					has_tech = jet_tactical_bomber4
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_tac_bomber_equipment_4 
					amount = eoc_size_tac_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			

			else_if = {
				limit = {
					has_tech = jet_tactical_bomber3
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_tac_bomber_equipment_3 
					amount = eoc_size_tac_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			
			else_if = {
				limit = {
					has_tech = jet_tactical_bomber2
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_tac_bomber_equipment_2
					amount = eoc_size_tac_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			

			else_if = {
				limit = {
					has_tech = jet_tactical_bomber1
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = jet_tac_bomber_equipment_1 
					amount = eoc_size_tac_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			

			else_if = {
				limit = {
					has_tech = tactical_bomber3
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = tac_bomber_equipment_3 
					amount = eoc_size_tac_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
		
			else_if = {
				limit = {
					has_tech = tactical_bomber2
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = tac_bomber_equipment_2 
					amount = eoc_size_tac_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			

			else_if = {
				limit = {
					has_tech = tactical_bomber1
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = tac_bomber_equipment_1 
					amount = eoc_size_tac_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_medium_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			
			
		}
		ai_will_do = {
			factor = 0
		}
		
	}		
	
mic_naval_bomber_NBBA1 = {
		
		visible = {
			NOT = { has_dlc = "By Blood Alone" }
			has_tech = naval_bomber1  
			has_country_flag = show_military_industrial_complex_actions_fighters_flag
		}
		activation = {
			has_country_flag = mic_buy_nonstop
		}
		available = {
			always = yes
			check_variable = { eoc_treasury > 0.2 }	
			NOT = {check_variable = { eoc_mic_shipments_count_land_maximum = 1 }}
			NOT = { has_dlc = "By Blood Alone" }
			has_tech = naval_bomber1   
				
			
		}
		
		icon = decision_generic_air
		
		cost = 0
		
		days_re_enable = 0
		days_remove = 30
		complete_Effect = {
			subtract_from_variable = { eoc_treasury = 0.2 }
			add_to_variable = {eoc_mic_shipments_count_land = 1}
			eoc_mic_shipments = yes
		}		
		modifier = {
			industrial_capacity_factory = -0.15
		}
		remove_effect = {
		subtract_from_variable = {eoc_mic_shipments_count_land = 1}
			if = {
				limit = {
					has_tech = naval_bomber8
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = nav_bomber_equipment_8 
					amount = eoc_size_naval_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_naval_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
	
			else_if = {
				limit = {
					has_tech = naval_bomber7
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = nav_bomber_equipment_7 
					amount = eoc_size_naval_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_naval_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			

			else_if = {
				limit = {
					has_tech = naval_bomber6
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = nav_bomber_equipment_6 
					amount = eoc_size_naval_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_naval_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
			
			else_if = {
				limit = {
					has_tech = naval_bomber5
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = nav_bomber_equipment_5
					amount = eoc_size_naval_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_naval_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			

			else_if = {
				limit = {
					has_tech = naval_bomber4
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = nav_bomber_equipment_4 
					amount = eoc_size_naval_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_naval_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			

			else_if = {
				limit = {
					has_tech = naval_bomber3
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = nav_bomber_equipment_3 
					amount = eoc_size_naval_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_naval_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}			
		
			else_if = {
				limit = {
					has_tech = naval_bomber2
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = nav_bomber_equipment_2 
					amount = eoc_size_naval_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_naval_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			

			else_if = {
				limit = {
					has_tech = naval_bomber1
					NOT = { has_dlc = "By Blood Alone" }					
				}
				add_equipment_to_stockpile = {
					type = nav_bomber_equipment_1 
					amount = eoc_size_naval_bomber
					producer = FROM
				}
				if = { 
					limit = { 
						has_country_flag = mic_buy_nonstop 
					}
					activate_decision = mic_naval_bomber_NBBA1 
				}	
				add_to_variable = { eoc_mic_dependence = 0.001}
			}
			
			
		}
		ai_will_do = {
			factor = 0
		}
		
	}		

	
}