#written by ahmex the decision master

EP_vhc_cat = {

	#vhc Category
	
	EP_vhc_close = { #closes vhc tab
	
		icon = GFX_decision_generic_prepare_civil_war
	
		visible = {
			has_country_flag = vhc_cat_open
		}
		
		available = {
			NOT = { has_country_flag = APC_order_active }
			NOT = { has_country_flag = IFV_order_active }
			NOT = { has_country_flag = H_anti_tank_order_active }
			NOT = { has_country_flag = rec_order_active }
			NOT = { has_country_flag = mbt_order_active }
		}
		
		complete_effect = {
			clr_country_flag = vhc_cat_open
		}
	}

	#APC
	#Oh boi here we go
	
	EP_APC_open = { #will lead to country selection for small arms
	
		icon = GFX_decision_generic_prepare_civil_war
	
		visible = {
			has_country_flag = vhc_cat_open
			hidden_trigger = {
				NOT = { has_country_flag = show_APC }
			}
		}
		
		complete_effect = {
			set_country_flag = show_APC
		}
	}
	
	EP_APC_close = { #cant close it if one your orders havent delivered yet
	
		icon = GFX_decision_generic_prepare_civil_war
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
		}
		
		available = {
			NOT = { has_country_flag = APC_order_active }
		}
		
		complete_effect = {
			clr_country_flag = show_APC
		}
	}
	
	#Austria
	
	EP_buy_AUS_APC_1 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = AUS
			has_global_flag = sell_AUS_APC_1
			ROOT = {
				NOT = {
					tag = AUS
				}
			}
		}
		
		icon = austria
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_1
				amount = 1000
				producer = AUS
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_AUS_APC_2 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = AUS
			has_global_flag = sell_AUS_APC_2
			ROOT = {
				NOT = {
					tag = AUS
				}
			}
		}
		
		icon = austria
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_2
				amount = 1000
				producer = AUS
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_AUS_APC_3 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = AUS
			has_global_flag = sell_AUS_APC_3
			ROOT = {
				NOT = {
					tag = AUS
				}
			}
		}
		
		icon = austria
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_3
				amount = 1000
				producer = AUS
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_AUS_APC_4 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = AUS
			has_global_flag = sell_AUS_APC_4
			ROOT = {
				NOT = {
					tag = AUS
				}
			}
		}
		
		icon = austria
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_4
				amount = 1000
				producer = AUS
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_AUS_APC_5 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = AUS
			has_global_flag = sell_AUS_APC_5
			ROOT = {
				NOT = {
					tag = AUS
				}
			}
		}
		
		icon = austria
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_5
				amount = 1000
				producer = AUS
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_AUS_APC_6 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = AUS
			has_global_flag = sell_AUS_APC_6
			ROOT = {
				NOT = {
					tag = AUS
				}
			}
		}
		
		icon = austria
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_6
				amount = 1000
				producer = AUS
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_AUS_APC_7 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = AUS
			has_global_flag = sell_AUS_APC_7
			ROOT = {
				NOT = {
					tag = AUS
				}
			}
		}
		
		icon = austria
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_7
				amount = 1000
				producer = AUS
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_AUS_APC_8 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = AUS
			has_global_flag = sell_AUS_APC_8
			ROOT = {
				NOT = {
					tag = AUS
				}
			}
		}
		
		icon = austria
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_8
				amount = 1000
				producer = AUS
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	#Canada
	
	EP_buy_CAN_APC_1 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CAN
			has_global_flag = sell_CAN_APC_1
			ROOT = {
				NOT = {
					tag = CAN
				}
			}
		}
		
		icon = canada
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_1
				amount = 1000
				producer = CAN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CAN_APC_2 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CAN
			has_global_flag = sell_CAN_APC_2
			ROOT = {
				NOT = {
					tag = CAN
				}
			}
		}
		
		icon = canada
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_2
				amount = 1000
				producer = CAN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CAN_APC_3 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CAN
			has_global_flag = sell_CAN_APC_3
			ROOT = {
				NOT = {
					tag = CAN
				}
			}
		}
		
		icon = canada
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_3
				amount = 1000
				producer = CAN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CAN_APC_4 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CAN
			has_global_flag = sell_CAN_APC_4
			ROOT = {
				NOT = {
					tag = CAN
				}
			}
		}
		
		icon = canada
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_4
				amount = 1000
				producer = CAN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CAN_APC_5 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CAN
			has_global_flag = sell_CAN_APC_5
			ROOT = {
				NOT = {
					tag = CAN
				}
			}
		}
		
		icon = canada
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_5
				amount = 1000
				producer = CAN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CAN_APC_6 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CAN
			has_global_flag = sell_CAN_APC_6
			ROOT = {
				NOT = {
					tag = CAN
				}
			}
		}
		
		icon = canada
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_6
				amount = 1000
				producer = CAN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CAN_APC_7 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CAN
			has_global_flag = sell_CAN_APC_7
			ROOT = {
				NOT = {
					tag = CAN
				}
			}
		}
		
		icon = canada
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_7
				amount = 1000
				producer = CAN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CAN_APC_8 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CAN
			has_global_flag = sell_CAN_APC_8
			ROOT = {
				NOT = {
					tag = CAN
				}
			}
		}
		
		icon = canada
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_8
				amount = 1000
				producer = CAN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	#China
	
	EP_buy_CHI_APC_1 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_APC_1
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_1
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CHI_APC_2 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_APC_2
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_2
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CHI_APC_3 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_APC_3
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_3
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CHI_APC_4 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_APC_4
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_4
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CHI_APC_5 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_APC_5
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_5
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CHI_APC_6 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_APC_6
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_6
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CHI_APC_7 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_APC_7
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_7
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_CHI_APC_8 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_APC_8
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_8
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	#Finland
	
	EP_buy_FIN_APC_1 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_APC_1
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_1
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FIN_APC_2 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_APC_2
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_2
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FIN_APC_3 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_APC_3
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_3
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FIN_APC_4 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_APC_4
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_4
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FIN_APC_5 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_APC_5
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_5
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FIN_APC_6 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_APC_6
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_6
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FIN_APC_7 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_APC_7
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_7
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FIN_APC_8 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_APC_8
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_8
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	#France
	
	EP_buy_FRA_APC_1 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_APC_1
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_1
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FRA_APC_2 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_APC_2
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_2
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FRA_APC_3 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_APC_3
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_3
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FRA_APC_4 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_APC_4
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_4
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FRA_APC_5 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_APC_5
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_5
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FRA_APC_6 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_APC_6
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_6
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FRA_APC_7 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_APC_7
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_7
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_FRA_APC_8 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_APC_8
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_8
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	#Germany
	
	EP_buy_GER_APC_1 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_APC_1
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_1
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_GER_APC_2 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_APC_2
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_2
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_GER_APC_3 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_APC_3
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_3
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_GER_APC_4 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_APC_4
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_4
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_GER_APC_5 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_APC_5
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_5
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_GER_APC_6 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_APC_6
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_6
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_GER_APC_7 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_APC_7
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_7
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_GER_APC_8 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_APC_8
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_8
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	#South Africa
	
	EP_buy_SAF_APC_1 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_APC_1
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_1
				amount = 1000
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SAF_APC_2 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_APC_2
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_2
				amount = 1000
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SAF_APC_3 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_APC_3
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_3
				amount = 1000
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SAF_APC_4 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_APC_4
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_4
				amount = 1000
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SAF_APC_5 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_APC_5
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_5
				amount = 1000
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SAF_APC_6 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_APC_6
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_6
				amount = 1000
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SAF_APC_7 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_APC_7
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_7
				amount = 1000
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SAF_APC_8 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_APC_8
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_8
				amount = 1000
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	#Singapore
	
	EP_buy_SIN_APC_1 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_APC_1
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_1
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SIN_APC_2 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_APC_2
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_2
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SIN_APC_3 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_APC_3
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_3
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SIN_APC_4 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_APC_4
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_4
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SIN_APC_5 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_APC_5
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_5
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SIN_APC_6 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_APC_6
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_6
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SIN_APC_7 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_APC_7
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_7
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SIN_APC_8 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_APC_8
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_8
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	#Russia
	
	EP_buy_SOV_APC_1 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_APC_1
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_1
				amount = 1000
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SOV_APC_2 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_APC_2
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_2
				amount = 1000
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SOV_APC_3 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_APC_3
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_3
				amount = 1000
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SOV_APC_4 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_APC_4
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_4
				amount = 1000
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SOV_APC_5 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_APC_5
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_5
				amount = 1000
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SOV_APC_6 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_APC_6
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_6
				amount = 1000
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SOV_APC_7 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_APC_7
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_7
				amount = 1000
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SOV_APC_8 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_APC_8
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_8
				amount = 1000
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	#Switzerland
	
	EP_buy_SWI_APC_1 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SWI
			has_global_flag = sell_SWI_APC_1
			ROOT = {
				NOT = {
					tag = SWI
				}
			}
		}
		
		icon = switzerland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_1
				amount = 1000
				producer = SWI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SWI_APC_2 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SWI
			has_global_flag = sell_SWI_APC_2
			ROOT = {
				NOT = {
					tag = SWI
				}
			}
		}
		
		icon = switzerland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_2
				amount = 1000
				producer = SWI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SWI_APC_3 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SWI
			has_global_flag = sell_SWI_APC_3
			ROOT = {
				NOT = {
					tag = SWI
				}
			}
		}
		
		icon = switzerland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_3
				amount = 1000
				producer = SWI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SWI_APC_4 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SWI
			has_global_flag = sell_SWI_APC_4
			ROOT = {
				NOT = {
					tag = SWI
				}
			}
		}
		
		icon = switzerland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_4
				amount = 1000
				producer = SWI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SWI_APC_5 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SWI
			has_global_flag = sell_SWI_APC_5
			ROOT = {
				NOT = {
					tag = SWI
				}
			}
		}
		
		icon = switzerland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_5
				amount = 1000
				producer = SWI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SWI_APC_6 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SWI
			has_global_flag = sell_SWI_APC_6
			ROOT = {
				NOT = {
					tag = SWI
				}
			}
		}
		
		icon = switzerland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_6
				amount = 1000
				producer = SWI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SWI_APC_7 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SWI
			has_global_flag = sell_SWI_APC_7
			ROOT = {
				NOT = {
					tag = SWI
				}
			}
		}
		
		icon = switzerland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_7
				amount = 1000
				producer = SWI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_SWI_APC_8 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = SWI
			has_global_flag = sell_SWI_APC_8
			ROOT = {
				NOT = {
					tag = SWI
				}
			}
		}
		
		icon = switzerland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_8
				amount = 1000
				producer = SWI
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	#Turkey
	#Irmağının akışına ölürüm Türkiyem
	
	EP_buy_TUR_APC_1 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = TUR
			has_global_flag = sell_TUR_APC_1
			ROOT = {
				NOT = {
					tag = TUR
				}
			}
		}
		
		icon = turkey
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_1
				amount = 1000
				producer = TUR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_TUR_APC_2 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = TUR
			has_global_flag = sell_TUR_APC_2
			ROOT = {
				NOT = {
					tag = TUR
				}
			}
		}
		
		icon = turkey
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_2
				amount = 1000
				producer = TUR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_TUR_APC_3 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = TUR
			has_global_flag = sell_TUR_APC_3
			ROOT = {
				NOT = {
					tag = TUR
				}
			}
		}
		
		icon = turkey
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_3
				amount = 1000
				producer = TUR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_TUR_APC_4 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = TUR
			has_global_flag = sell_TUR_APC_4
			ROOT = {
				NOT = {
					tag = TUR
				}
			}
		}
		
		icon = turkey
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_4
				amount = 1000
				producer = TUR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_TUR_APC_5 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = TUR
			has_global_flag = sell_TUR_APC_5
			ROOT = {
				NOT = {
					tag = TUR
				}
			}
		}
		
		icon = turkey
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_5
				amount = 1000
				producer = TUR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_TUR_APC_6 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = TUR
			has_global_flag = sell_TUR_APC_6
			ROOT = {
				NOT = {
					tag = TUR
				}
			}
		}
		
		icon = turkey
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_6
				amount = 1000
				producer = TUR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_TUR_APC_7 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = TUR
			has_global_flag = sell_TUR_APC_7
			ROOT = {
				NOT = {
					tag = TUR
				}
			}
		}
		
		icon = turkey
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_7
				amount = 1000
				producer = TUR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_TUR_APC_8 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = TUR
			has_global_flag = sell_TUR_APC_8
			ROOT = {
				NOT = {
					tag = TUR
				}
			}
		}
		
		icon = turkey
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_8
				amount = 1000
				producer = TUR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	#Ukraine
	
	EP_buy_UKR_APC_1 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = UKR
			has_global_flag = sell_UKR_APC_1
			ROOT = {
				NOT = {
					tag = UKR
				}
			}
		}
		
		icon = ukraine
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_1
				amount = 1000
				producer = UKR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_UKR_APC_2 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = UKR
			has_global_flag = sell_UKR_APC_2
			ROOT = {
				NOT = {
					tag = UKR
				}
			}
		}
		
		icon = ukraine
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_2
				amount = 1000
				producer = UKR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_UKR_APC_3 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = UKR
			has_global_flag = sell_UKR_APC_3
			ROOT = {
				NOT = {
					tag = UKR
				}
			}
		}
		
		icon = ukraine
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_3
				amount = 1000
				producer = UKR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_UKR_APC_4 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = UKR
			has_global_flag = sell_UKR_APC_4
			ROOT = {
				NOT = {
					tag = UKR
				}
			}
		}
		
		icon = ukraine
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_4
				amount = 1000
				producer = UKR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_UKR_APC_5 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = UKR
			has_global_flag = sell_UKR_APC_5
			ROOT = {
				NOT = {
					tag = UKR
				}
			}
		}
		
		icon = ukraine
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_5
				amount = 1000
				producer = UKR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_UKR_APC_6 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = UKR
			has_global_flag = sell_UKR_APC_6
			ROOT = {
				NOT = {
					tag = UKR
				}
			}
		}
		
		icon = ukraine
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_6
				amount = 1000
				producer = UKR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_UKR_APC_7 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = UKR
			has_global_flag = sell_UKR_APC_7
			ROOT = {
				NOT = {
					tag = UKR
				}
			}
		}
		
		icon = ukraine
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_7
				amount = 1000
				producer = UKR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	EP_buy_UKR_APC_8 = {
	
		visible = {
			has_country_flag = show_APC
			has_country_flag = vhc_cat_open
			country_exists = UKR
			has_global_flag = sell_UKR_APC_8
			ROOT = {
				NOT = {
					tag = UKR
				}
			}
		}
		
		icon = ukraine
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = APC_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = APC_8
				amount = 1000
				producer = UKR
			}
			hidden_effect = {
				set_country_flag = APC_delivered
				clr_country_flag = APC_order_active
			}
		}
	}
	
	#end of apc
	
	#IFV
	
	EP_IFV_open = { #will lead to country selection for small arms
	
		icon = GFX_decision_generic_prepare_civil_war
	
		visible = {
			has_country_flag = vhc_cat_open
			hidden_trigger = {
				NOT = { has_country_flag = show_IFV }
			}
		}
		
		complete_effect = {
			set_country_flag = show_IFV
		}
	}
	
	EP_IFV_close = { #cant close it if one your orders havent delivered yet
	
		icon = GFX_decision_generic_prepare_civil_war
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
		}
		
		available = {
			NOT = { has_country_flag = IFV_order_active }
		}
		
		complete_effect = {
			clr_country_flag = show_IFV
		}
	}
	
	#China
	
	EP_buy_CHI_IFV_1 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_IFV_1
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_1
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_CHI_IFV_2 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_IFV_2
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_2
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_CHI_IFV_3 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_IFV_3
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_3
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_CHI_IFV_4 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_IFV_4
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_4
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_CHI_IFV_5 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_IFV_5
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_5
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_CHI_IFV_6 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_IFV_6
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_6
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_CHI_IFV_7 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_IFV_7
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_7
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_CHI_IFV_8 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_IFV_8
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_8
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	#Finland
	
	EP_buy_FIN_IFV_1 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_IFV_1
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_1
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FIN_IFV_2 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_IFV_2
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_2
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FIN_IFV_3 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_IFV_3
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_3
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FIN_IFV_4 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_IFV_4
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_4
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FIN_IFV_5 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_IFV_5
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_5
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FIN_IFV_6 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_IFV_6
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_6
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FIN_IFV_7 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_IFV_7
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_7
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FIN_IFV_8 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FIN
			has_global_flag = sell_FIN_IFV_8
			ROOT = {
				NOT = {
					tag = FIN
				}
			}
		}
		
		icon = finland
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_8
				amount = 1000
				producer = FIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	#France
	
	EP_buy_FRA_IFV_1 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_IFV_1
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_1
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FRA_IFV_2 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_IFV_2
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_2
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FRA_IFV_3 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_IFV_3
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_3
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FRA_IFV_4 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_IFV_4
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_4
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FRA_IFV_5 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_IFV_5
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_5
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FRA_IFV_6 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_IFV_6
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_6
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FRA_IFV_7 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_IFV_7
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_7
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_FRA_IFV_8 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_IFV_8
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_8
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	#Germany
	
	EP_buy_GER_IFV_1 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_IFV_1
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_1
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_GER_IFV_2 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_IFV_2
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_2
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_GER_IFV_3 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_IFV_3
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_3
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_GER_IFV_4 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_IFV_4
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_4
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_GER_IFV_5 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_IFV_5
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_5
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_GER_IFV_6 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_IFV_6
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_6
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_GER_IFV_7 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_IFV_7
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_7
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_GER_IFV_8 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_IFV_8
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_8
				amount = 1000
				producer = GER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	#Italy
	
	EP_buy_ITA_IFV_1 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = ITA
			has_global_flag = sell_ITA_IFV_1
			ROOT = {
				NOT = {
					tag = ITA
				}
			}
		}
		
		icon = italy
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_1
				amount = 1000
				producer = ITA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_ITA_IFV_2 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = ITA
			has_global_flag = sell_ITA_IFV_2
			ROOT = {
				NOT = {
					tag = ITA
				}
			}
		}
		
		icon = italy
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_2
				amount = 1000
				producer = ITA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_ITA_IFV_3 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = ITA
			has_global_flag = sell_ITA_IFV_3
			ROOT = {
				NOT = {
					tag = ITA
				}
			}
		}
		
		icon = italy
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_3
				amount = 1000
				producer = ITA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_ITA_IFV_4 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = ITA
			has_global_flag = sell_ITA_IFV_4
			ROOT = {
				NOT = {
					tag = ITA
				}
			}
		}
		
		icon = italy
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_4
				amount = 1000
				producer = ITA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_ITA_IFV_5 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = ITA
			has_global_flag = sell_ITA_IFV_5
			ROOT = {
				NOT = {
					tag = ITA
				}
			}
		}
		
		icon = italy
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_5
				amount = 1000
				producer = ITA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_ITA_IFV_6 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = ITA
			has_global_flag = sell_ITA_IFV_6
			ROOT = {
				NOT = {
					tag = ITA
				}
			}
		}
		
		icon = italy
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_6
				amount = 1000
				producer = ITA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_ITA_IFV_7 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = ITA
			has_global_flag = sell_ITA_IFV_7
			ROOT = {
				NOT = {
					tag = ITA
				}
			}
		}
		
		icon = italy
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_7
				amount = 1000
				producer = ITA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_ITA_IFV_8 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = ITA
			has_global_flag = sell_ITA_IFV_8
			ROOT = {
				NOT = {
					tag = ITA
				}
			}
		}
		
		icon = italy
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_8
				amount = 1000
				producer = ITA
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	#Korea
	
	EP_buy_KOR_IFV_1 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = KOR
			has_global_flag = sell_KOR_IFV_1
			ROOT = {
				NOT = {
					tag = KOR
				}
			}
		}
		
		icon = south_korea
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_1
				amount = 1000
				producer = KOR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_KOR_IFV_2 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = KOR
			has_global_flag = sell_KOR_IFV_2
			ROOT = {
				NOT = {
					tag = KOR
				}
			}
		}
		
		icon = south_korea
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_2
				amount = 1000
				producer = KOR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_KOR_IFV_3 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = KOR
			has_global_flag = sell_KOR_IFV_3
			ROOT = {
				NOT = {
					tag = KOR
				}
			}
		}
		
		icon = south_korea
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_3
				amount = 1000
				producer = KOR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_KOR_IFV_4 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = KOR
			has_global_flag = sell_KOR_IFV_4
			ROOT = {
				NOT = {
					tag = KOR
				}
			}
		}
		
		icon = south_korea
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_4
				amount = 1000
				producer = KOR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_KOR_IFV_5 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = KOR
			has_global_flag = sell_KOR_IFV_5
			ROOT = {
				NOT = {
					tag = KOR
				}
			}
		}
		
		icon = south_korea
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_5
				amount = 1000
				producer = KOR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_KOR_IFV_6 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = KOR
			has_global_flag = sell_KOR_IFV_6
			ROOT = {
				NOT = {
					tag = KOR
				}
			}
		}
		
		icon = south_korea
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_6
				amount = 1000
				producer = KOR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_KOR_IFV_7 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = KOR
			has_global_flag = sell_KOR_IFV_7
			ROOT = {
				NOT = {
					tag = KOR
				}
			}
		}
		
		icon = south_korea
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_7
				amount = 1000
				producer = KOR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_KOR_IFV_8 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = KOR
			has_global_flag = sell_KOR_IFV_8
			ROOT = {
				NOT = {
					tag = KOR
				}
			}
		}
		
		icon = south_korea
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_8
				amount = 1000
				producer = KOR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	#Serbia
	
	EP_buy_SER_IFV_1 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SER
			has_global_flag = sell_SER_IFV_1
			ROOT = {
				NOT = {
					tag = SER
				}
			}
		}
		
		icon = serbia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_1
				amount = 1000
				producer = SER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SER_IFV_2 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SER
			has_global_flag = sell_SER_IFV_2
			ROOT = {
				NOT = {
					tag = SER
				}
			}
		}
		
		icon = serbia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_2
				amount = 1000
				producer = SER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SER_IFV_3 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SER
			has_global_flag = sell_SER_IFV_3
			ROOT = {
				NOT = {
					tag = SER
				}
			}
		}
		
		icon = serbia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_3
				amount = 1000
				producer = SER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SER_IFV_4 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SER
			has_global_flag = sell_SER_IFV_4
			ROOT = {
				NOT = {
					tag = SER
				}
			}
		}
		
		icon = serbia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_4
				amount = 1000
				producer = SER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SER_IFV_5 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SER
			has_global_flag = sell_SER_IFV_5
			ROOT = {
				NOT = {
					tag = SER
				}
			}
		}
		
		icon = serbia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_5
				amount = 1000
				producer = SER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SER_IFV_6 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SER
			has_global_flag = sell_SER_IFV_6
			ROOT = {
				NOT = {
					tag = SER
				}
			}
		}
		
		icon = serbia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_6
				amount = 1000
				producer = SER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SER_IFV_7 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SER
			has_global_flag = sell_SER_IFV_7
			ROOT = {
				NOT = {
					tag = SER
				}
			}
		}
		
		icon = serbia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_7
				amount = 1000
				producer = SER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SER_IFV_8 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SER
			has_global_flag = sell_SER_IFV_8
			ROOT = {
				NOT = {
					tag = SER
				}
			}
		}
		
		icon = serbia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_8
				amount = 1000
				producer = SER
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	#Singapore
	
	EP_buy_SIN_IFV_1 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_IFV_1
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_1
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SIN_IFV_2 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_IFV_2
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_2
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SIN_IFV_3 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_IFV_3
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_3
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SIN_IFV_4 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_IFV_4
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_4
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SIN_IFV_5 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_IFV_5
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_5
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SIN_IFV_6 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_IFV_6
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_6
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SIN_IFV_7 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_IFV_7
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_7
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SIN_IFV_8 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SIN
			has_global_flag = sell_SIN_IFV_8
			ROOT = {
				NOT = {
					tag = SIN
				}
			}
		}
		
		icon = singapore
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_8
				amount = 1000
				producer = SIN
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	#Spain
	
	EP_buy_SPR_IFV_1 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SPR
			has_global_flag = sell_SPR_IFV_1
			ROOT = {
				NOT = {
					tag = SPR
				}
			}
		}
		
		icon = spain
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_1
				amount = 1000
				producer = SPR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SPR_IFV_2 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SPR
			has_global_flag = sell_SPR_IFV_2
			ROOT = {
				NOT = {
					tag = SPR
				}
			}
		}
		
		icon = spain
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_2
				amount = 1000
				producer = SPR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SPR_IFV_3 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SPR
			has_global_flag = sell_SPR_IFV_3
			ROOT = {
				NOT = {
					tag = SPR
				}
			}
		}
		
		icon = spain
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_3
				amount = 1000
				producer = SPR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SPR_IFV_4 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SPR
			has_global_flag = sell_SPR_IFV_4
			ROOT = {
				NOT = {
					tag = SPR
				}
			}
		}
		
		icon = spain
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_4
				amount = 1000
				producer = SPR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SPR_IFV_5 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SPR
			has_global_flag = sell_SPR_IFV_5
			ROOT = {
				NOT = {
					tag = SPR
				}
			}
		}
		
		icon = spain
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_5
				amount = 1000
				producer = SPR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SPR_IFV_6 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SPR
			has_global_flag = sell_SPR_IFV_6
			ROOT = {
				NOT = {
					tag = SPR
				}
			}
		}
		
		icon = spain
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_6
				amount = 1000
				producer = SPR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SPR_IFV_7 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SPR
			has_global_flag = sell_SPR_IFV_7
			ROOT = {
				NOT = {
					tag = SPR
				}
			}
		}
		
		icon = spain
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_7
				amount = 1000
				producer = SPR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SPR_IFV_8 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SPR
			has_global_flag = sell_SPR_IFV_8
			ROOT = {
				NOT = {
					tag = SPR
				}
			}
		}
		
		icon = spain
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_8
				amount = 1000
				producer = SPR
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	#Sweden
	
	EP_buy_SWE_IFV_1 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SWE
			has_global_flag = sell_SWE_IFV_1
			ROOT = {
				NOT = {
					tag = SWE
				}
			}
		}
		
		icon = sweden
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_1
				amount = 1000
				producer = SWE
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SWE_IFV_2 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SWE
			has_global_flag = sell_SWE_IFV_2
			ROOT = {
				NOT = {
					tag = SWE
				}
			}
		}
		
		icon = sweden
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_2
				amount = 1000
				producer = SWE
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SWE_IFV_3 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SWE
			has_global_flag = sell_SWE_IFV_3
			ROOT = {
				NOT = {
					tag = SWE
				}
			}
		}
		
		icon = sweden
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_3
				amount = 1000
				producer = SWE
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SWE_IFV_4 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SWE
			has_global_flag = sell_SWE_IFV_4
			ROOT = {
				NOT = {
					tag = SWE
				}
			}
		}
		
		icon = sweden
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_4
				amount = 1000
				producer = SWE
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SWE_IFV_5 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SWE
			has_global_flag = sell_SWE_IFV_5
			ROOT = {
				NOT = {
					tag = SWE
				}
			}
		}
		
		icon = sweden
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_5
				amount = 1000
				producer = SWE
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SWE_IFV_6 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SWE
			has_global_flag = sell_SWE_IFV_6
			ROOT = {
				NOT = {
					tag = SWE
				}
			}
		}
		
		icon = sweden
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_6
				amount = 1000
				producer = SWE
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SWE_IFV_7 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SWE
			has_global_flag = sell_SWE_IFV_7
			ROOT = {
				NOT = {
					tag = SWE
				}
			}
		}
		
		icon = sweden
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_7
				amount = 1000
				producer = SWE
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	EP_buy_SWE_IFV_8 = {
	
		visible = {
			has_country_flag = show_IFV
			has_country_flag = vhc_cat_open
			country_exists = SWE
			has_global_flag = sell_SWE_IFV_8
			ROOT = {
				NOT = {
					tag = SWE
				}
			}
		}
		
		icon = sweden
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = IFV_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = IFV_8
				amount = 1000
				producer = SWE
			}
			hidden_effect = {
				set_country_flag = IFV_delivered
				clr_country_flag = IFV_order_active
			}
		}
	}
	
	#end of ifv
	
	
	#Heavy Anti Tank / mounted atgm
	
	EP_H_anti_tank_open = {
	
		icon = GFX_decision_generic_prepare_civil_war
	
		visible = {
			has_country_flag = vhc_cat_open
			hidden_trigger = {
				NOT = { has_country_flag = show_H_anti_tank }
			}
		}
		
		complete_effect = {
			set_country_flag = show_H_anti_tank
		}
	}
	
	EP_H_anti_tank_close = { #cant close it if one your orders havent delivered yet
	
		icon = GFX_decision_generic_prepare_civil_war
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
		}
		
		available = {
			NOT = { has_country_flag = H_anti_tank_order_active }
		}
		
		complete_effect = {
			clr_country_flag = show_H_anti_tank
		}
	}
	
	#China
	
	EP_buy_CHI_H_anti_tank_1 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_H_anti_tank_1
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_2
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	EP_buy_CHI_H_anti_tank_2 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_H_anti_tank_2
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_3
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	EP_buy_CHI_H_anti_tank_3 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_H_anti_tank_3
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_4
				amount = 1000
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	#France
	
	EP_buy_FRA_H_anti_tank_1 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_H_anti_tank_1
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_2
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	EP_buy_FRA_H_anti_tank_2 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_H_anti_tank_2
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_3
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	EP_buy_FRA_H_anti_tank_3 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_H_anti_tank_3
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_4
				amount = 1000
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	#Israel
	
	EP_buy_ISR_H_anti_tank_1 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = ISR
			has_global_flag = sell_ISR_H_anti_tank_1
			ROOT = {
				NOT = {
					tag = ISR
				}
			}
		}
		
		icon = israel
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_2
				amount = 1000
				producer = ISR
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	EP_buy_ISR_H_anti_tank_2 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = ISR
			has_global_flag = sell_ISR_H_anti_tank_2
			ROOT = {
				NOT = {
					tag = ISR
				}
			}
		}
		
		icon = israel
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_3
				amount = 1000
				producer = ISR
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	EP_buy_ISR_H_anti_tank_3 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = ISR
			has_global_flag = sell_ISR_H_anti_tank_3
			ROOT = {
				NOT = {
					tag = ISR
				}
			}
		}
		
		icon = israel
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_4
				amount = 1000
				producer = ISR
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	#Iran
	
	EP_buy_PER_H_anti_tank_1 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = PER
			has_global_flag = sell_PER_H_anti_tank_1
			ROOT = {
				NOT = {
					tag = PER
				}
			}
		}
		
		icon = iran
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_2
				amount = 1000
				producer = PER
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	EP_buy_PER_H_anti_tank_2 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = PER
			has_global_flag = sell_PER_H_anti_tank_2
			ROOT = {
				NOT = {
					tag = PER
				}
			}
		}
		
		icon = iran
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_3
				amount = 1000
				producer = PER
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	EP_buy_PER_H_anti_tank_3 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = PER
			has_global_flag = sell_PER_H_anti_tank_3
			ROOT = {
				NOT = {
					tag = PER
				}
			}
		}
		
		icon = iran
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_4
				amount = 1000
				producer = PER
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	#South Africa
	
	EP_buy_SAF_H_anti_tank_1 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_H_anti_tank_1
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_2
				amount = 1000
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	EP_buy_SAF_H_anti_tank_2 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_H_anti_tank_2
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_3
				amount = 1000
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	EP_buy_SAF_H_anti_tank_3 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_H_anti_tank_3
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_4
				amount = 1000
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	#Russia
	
	EP_buy_SOV_H_anti_tank_1 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_H_anti_tank_1
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_2
				amount = 1000
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	EP_buy_SOV_H_anti_tank_2 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_H_anti_tank_2
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_3
				amount = 1000
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	EP_buy_SOV_H_anti_tank_3 = {
	
		visible = {
			has_country_flag = show_H_anti_tank
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_H_anti_tank_3
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 14
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.3 }
		}
		custom_cost_text = cost_0_3
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.3 }
				set_country_flag = H_anti_tank_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = H_anti_tank_4
				amount = 1000
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = H_anti_tank_delivered
				clr_country_flag = H_anti_tank_order_active
			}
		}
	}
	
	#end of Heavy anti tank / mounted atgm
	
	#Rec tank
	
	EP_rec_open = { #will lead to country selection for small arms
	
		icon = GFX_decision_generic_prepare_civil_war
	
		visible = {
			has_country_flag = vhc_cat_open
			hidden_trigger = {
				NOT = { has_country_flag = show_rec }
			}
		}
		
		complete_effect = {
			set_country_flag = show_rec
		}
	}
	
	EP_rec_close = { #cant close it if one your orders havent delivered yet
	
		icon = GFX_decision_generic_prepare_civil_war
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
		}
		
		available = {
			NOT = { has_country_flag = rec_order_active }
		}
		
		complete_effect = {
			clr_country_flag = show_rec
		}
	}
	
	#Austria
	
	EP_buy_AUS_rec_1 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = AUS
			has_global_flag = sell_AUS_rec_2
			ROOT = {
				NOT = {
					tag = AUS
				}
			}
		}
		
		icon = austria
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.1 }
		}
		custom_cost_text = cost_0_1
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.1 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_2
				amount = 1200
				producer = AUS
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_AUS_rec_2 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = AUS
			has_global_flag = sell_AUS_rec_3
			ROOT = {
				NOT = {
					tag = AUS
				}
			}
		}
		
		icon = austria
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.125 }
		}
		custom_cost_text = cost_0_125
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.125 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_3
				amount = 1200
				producer = AUS
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_AUS_rec_3 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = AUS
			has_global_flag = sell_AUS_rec_4
			ROOT = {
				NOT = {
					tag = AUS
				}
			}
		}
		
		icon = austria
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.15 }
		}
		custom_cost_text = cost_0_15
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.15 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_4
				amount = 1200
				producer = AUS
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_AUS_rec_4 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = AUS
			has_global_flag = sell_AUS_rec_5
			ROOT = {
				NOT = {
					tag = AUS
				}
			}
		}
		
		icon = austria
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.175 }
		}
		custom_cost_text = cost_0_175
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.175 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_5
				amount = 1200
				producer = AUS
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	#Brazil
	
	EP_buy_BRA_rec_1 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = BRA
			has_global_flag = sell_BRA_rec_0
			ROOT = {
				NOT = {
					tag = BRA
				}
			}
		}
		
		icon = brazil
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.1 }
		}
		custom_cost_text = cost_0_1
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.1 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_0
				amount = 1200
				producer = BRA
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_BRA_rec_2 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = BRA
			has_global_flag = sell_BRA_rec_1
			ROOT = {
				NOT = {
					tag = BRA
				}
			}
		}
		
		icon = brazil
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.125 }
		}
		custom_cost_text = cost_0_125
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.125 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_1
				amount = 1200
				producer = BRA
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_BRA_rec_3 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = BRA
			has_global_flag = sell_BRA_rec_2
			ROOT = {
				NOT = {
					tag = BRA
				}
			}
		}
		
		icon = brazil
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.15 }
		}
		custom_cost_text = cost_0_15
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.15 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_2
				amount = 1200
				producer = BRA
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_BRA_rec_4 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = BRA
			has_global_flag = sell_BRA_rec_3
			ROOT = {
				NOT = {
					tag = BRA
				}
			}
		}
		
		icon = brazil
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.175 }
		}
		custom_cost_text = cost_0_175
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.175 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_3
				amount = 1200
				producer = BRA
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_BRA_rec_5 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = BRA
			has_global_flag = sell_BRA_rec_4
			ROOT = {
				NOT = {
					tag = BRA
				}
			}
		}
		
		icon = brazil
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.2 }
		}
		custom_cost_text = cost_0_2
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.2 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_4
				amount = 1200
				producer = BRA
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_BRA_rec_6 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = BRA
			has_global_flag = sell_BRA_rec_5
			ROOT = {
				NOT = {
					tag = BRA
				}
			}
		}
		
		icon = brazil
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.25 }
		}
		custom_cost_text = cost_0_25
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.25 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_5
				amount = 1200
				producer = BRA
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	#China
	
	EP_buy_CHI_rec_1 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_rec_1
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.1 }
		}
		custom_cost_text = cost_0_1
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.1 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_1
				amount = 1200
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_CHI_rec_2 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_rec_2
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.125 }
		}
		custom_cost_text = cost_0_125
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.125 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_2
				amount = 1200
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_CHI_rec_3 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_rec_3
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.15 }
		}
		custom_cost_text = cost_0_15
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.15 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_3
				amount = 1200
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_CHI_rec_4 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_rec_4
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.175 }
		}
		custom_cost_text = cost_0_175
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.175 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_4
				amount = 1200
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_CHI_rec_5 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = CHI
			has_global_flag = sell_CHI_rec_5
			ROOT = {
				NOT = {
					tag = CHI
				}
			}
		}
		
		icon = china
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.2 }
		}
		custom_cost_text = cost_0_2
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.2 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_5
				amount = 1200
				producer = CHI
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	#England
	
	EP_buy_ENG_rec_1 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = ENG
			has_global_flag = sell_ENG_rec_2
			ROOT = {
				NOT = {
					tag = ENG
				}
			}
		}
		
		icon = uk
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.1 }
		}
		custom_cost_text = cost_0_1
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.1 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_2
				amount = 1200
				producer = ENG
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_ENG_rec_2 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = ENG
			has_global_flag = sell_ENG_rec_3
			ROOT = {
				NOT = {
					tag = ENG
				}
			}
		}
		
		icon = uk
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.125 }
		}
		custom_cost_text = cost_0_125
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.125 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_3
				amount = 1200
				producer = ENG
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_ENG_rec_3 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = ENG
			has_global_flag = sell_ENG_rec_4
			ROOT = {
				NOT = {
					tag = ENG
				}
			}
		}
		
		icon = uk
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.15 }
		}
		custom_cost_text = cost_0_15
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.15 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_4
				amount = 1200
				producer = ENG
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_ENG_rec_4 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = ENG
			has_global_flag = sell_ENG_rec_5
			ROOT = {
				NOT = {
					tag = ENG
				}
			}
		}
		
		icon = uk
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.175 }
		}
		custom_cost_text = cost_0_175
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.175 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_5
				amount = 1200
				producer = ENG
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	#Italy
	
	EP_buy_ITA_rec_1 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = ITA
			has_global_flag = sell_ITA_rec_2
			ROOT = {
				NOT = {
					tag = ITA
				}
			}
		}
		
		icon = italy
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.1 }
		}
		custom_cost_text = cost_0_1
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.1 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_2
				amount = 1200
				producer = ITA
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_ITA_rec_2 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = ITA
			has_global_flag = sell_ITA_rec_3
			ROOT = {
				NOT = {
					tag = ITA
				}
			}
		}
		
		icon = italy
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.125 }
		}
		custom_cost_text = cost_0_125
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.125 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_3
				amount = 1200
				producer = ITA
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_ITA_rec_3 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = ITA
			has_global_flag = sell_ITA_rec_4
			ROOT = {
				NOT = {
					tag = ITA
				}
			}
		}
		
		icon = italy
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.15 }
		}
		custom_cost_text = cost_0_15
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.15 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_4
				amount = 1200
				producer = ITA
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_ITA_rec_4 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = ITA
			has_global_flag = sell_ITA_rec_5
			ROOT = {
				NOT = {
					tag = ITA
				}
			}
		}
		
		icon = italy
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.175 }
		}
		custom_cost_text = cost_0_175
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.175 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_5
				amount = 1200
				producer = ITA
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	#Poland
	
	EP_buy_POL_rec_1 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = POL
			has_global_flag = sell_POL_rec_0
			ROOT = {
				NOT = {
					tag = POL
				}
			}
		}
		
		icon = poland
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.1 }
		}
		custom_cost_text = cost_0_1
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.1 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_0
				amount = 1200
				producer = POL
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_POL_rec_2 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = POL
			has_global_flag = sell_POL_rec_1
			ROOT = {
				NOT = {
					tag = POL
				}
			}
		}
		
		icon = poland
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.125 }
		}
		custom_cost_text = cost_0_125
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.125 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_1
				amount = 1200
				producer = POL
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_POL_rec_3 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = POL
			has_global_flag = sell_POL_rec_2
			ROOT = {
				NOT = {
					tag = POL
				}
			}
		}
		
		icon = poland
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.15 }
		}
		custom_cost_text = cost_0_15
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.15 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_2
				amount = 1200
				producer = POL
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_POL_rec_4 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = POL
			has_global_flag = sell_POL_rec_3
			ROOT = {
				NOT = {
					tag = POL
				}
			}
		}
		
		icon = poland
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.175 }
		}
		custom_cost_text = cost_0_175
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.175 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_3
				amount = 1200
				producer = POL
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_POL_rec_5 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = POL
			has_global_flag = sell_POL_rec_4
			ROOT = {
				NOT = {
					tag = POL
				}
			}
		}
		
		icon = poland
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.2 }
		}
		custom_cost_text = cost_0_2
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.2 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_4
				amount = 1200
				producer = POL
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_POL_rec_6 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = POL
			has_global_flag = sell_POL_rec_5
			ROOT = {
				NOT = {
					tag = POL
				}
			}
		}
		
		icon = poland
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.25 }
		}
		custom_cost_text = cost_0_25
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.25 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_5
				amount = 1200
				producer = POL
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	#South Africa
	
	EP_buy_SAF_rec_1 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_rec_0
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.1 }
		}
		custom_cost_text = cost_0_1
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.1 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_0
				amount = 1200
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_SAF_rec_2 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_rec_1
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.125 }
		}
		custom_cost_text = cost_0_125
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.125 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_1
				amount = 1200
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_SAF_rec_3 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_rec_2
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.15 }
		}
		custom_cost_text = cost_0_15
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.15 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_2
				amount = 1200
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_SAF_rec_4 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_rec_3
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.175 }
		}
		custom_cost_text = cost_0_175
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.175 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_3
				amount = 1200
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_SAF_rec_5 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_rec_4
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.2 }
		}
		custom_cost_text = cost_0_2
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.2 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_4
				amount = 1200
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_SAF_rec_6 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = SAF
			has_global_flag = sell_SAF_rec_5
			ROOT = {
				NOT = {
					tag = SAF
				}
			}
		}
		
		icon = south_africa
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.25 }
		}
		custom_cost_text = cost_0_25
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.25 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_5
				amount = 1200
				producer = SAF
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	#Sweden
	
	EP_buy_SWE_rec_1 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = SWE
			has_global_flag = sell_SWE_rec_2
			ROOT = {
				NOT = {
					tag = SWE
				}
			}
		}
		
		icon = sweden
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.1 }
		}
		custom_cost_text = cost_0_1
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.1 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_2
				amount = 1200
				producer = SWE
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_SWE_rec_2 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = SWE
			has_global_flag = sell_SWE_rec_3
			ROOT = {
				NOT = {
					tag = SWE
				}
			}
		}
		
		icon = sweden
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.125 }
		}
		custom_cost_text = cost_0_125
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.125 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_3
				amount = 1200
				producer = SWE
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_SWE_rec_3 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = SWE
			has_global_flag = sell_SWE_rec_4
			ROOT = {
				NOT = {
					tag = SWE
				}
			}
		}
		
		icon = sweden
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.15 }
		}
		custom_cost_text = cost_0_15
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.15 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_4
				amount = 1200
				producer = SWE
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	EP_buy_SWE_rec_4 = {
	
		visible = {
			has_country_flag = show_rec
			has_country_flag = vhc_cat_open
			country_exists = SWE
			has_global_flag = sell_SWE_rec_5
			ROOT = {
				NOT = {
					tag = SWE
				}
			}
		}
		
		icon = sweden
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.175 }
		}
		custom_cost_text = cost_0_175
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.175 }
				set_country_flag = rec_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = rec_tank_5
				amount = 1200
				producer = SWE
			}
			hidden_effect = {
				set_country_flag = rec_delivered
				clr_country_flag = rec_order_active
			}
		}
	}
	
	#end of recon tank
	
	#mbt
	
	EP_mbt_open = { #will lead to country selection for small arms
	
		icon = GFX_decision_generic_prepare_civil_war
	
		visible = {
			has_country_flag = vhc_cat_open
			hidden_trigger = {
				NOT = { has_country_flag = show_mbt }
			}
		}
		
		complete_effect = {
			set_country_flag = show_mbt
		}
	}
	
	EP_mbt_close = { #cant close it if one your orders havent delivered yet
	
		icon = GFX_decision_generic_prepare_civil_war
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
		}
		
		available = {
			NOT = { has_country_flag = mbt_order_active }
		}
		
		complete_effect = {
			clr_country_flag = show_mbt
		}
	}
	
	#France
	
	EP_buy_FRA_mbt_1 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_mbt_4
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.1 }
		}
		custom_cost_text = cost_0_1
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.1 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_4
				amount = 1200
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_FRA_mbt_2 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_mbt_5
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.125 }
		}
		custom_cost_text = cost_0_125
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.125 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_5
				amount = 1200
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_FRA_mbt_3 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_mbt_7
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.15 }
		}
		custom_cost_text = cost_0_15
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.15 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_7
				amount = 1200
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_FRA_mbt_4 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = FRA
			has_global_flag = sell_FRA_mbt_8
			ROOT = {
				NOT = {
					tag = FRA
				}
			}
		}
		
		icon = france
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.175 }
		}
		custom_cost_text = cost_0_175
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.175 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_8
				amount = 1200
				producer = FRA
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	#Germany
	
	EP_buy_GER_mbt_1 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_mbt_4
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.1 }
		}
		custom_cost_text = cost_0_1
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.1 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_4
				amount = 1200
				producer = GER
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_GER_mbt_2 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_mbt_5
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.125 }
		}
		custom_cost_text = cost_0_125
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.125 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_5
				amount = 1200
				producer = GER
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_GER_mbt_3 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_mbt_7
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.15 }
		}
		custom_cost_text = cost_0_15
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.15 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_7
				amount = 1200
				producer = GER
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_GER_mbt_4 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = GER
			has_global_flag = sell_GER_mbt_8
			ROOT = {
				NOT = {
					tag = GER
				}
			}
		}
		
		icon = germany
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.175 }
		}
		custom_cost_text = cost_0_175
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.175 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_8
				amount = 1200
				producer = GER
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	#Korea
	
	EP_buy_KOR_mbt_1 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = KOR
			has_global_flag = sell_KOR_mbt_3
			ROOT = {
				NOT = {
					tag = KOR
				}
			}
		}
		
		icon = south_korea
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.1 }
		}
		custom_cost_text = cost_0_1
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.1 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_3
				amount = 1200
				producer = KOR
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_KOR_mbt_2 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = KOR
			has_global_flag = sell_KOR_mbt_4
			ROOT = {
				NOT = {
					tag = KOR
				}
			}
		}
		
		icon = south_korea
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.125 }
		}
		custom_cost_text = cost_0_125
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.125 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_4
				amount = 1200
				producer = KOR
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_KOR_mbt_3 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = KOR
			has_global_flag = sell_KOR_mbt_5
			ROOT = {
				NOT = {
					tag = KOR
				}
			}
		}
		
		icon = south_korea
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.15 }
		}
		custom_cost_text = cost_0_15
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.15 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_5
				amount = 1200
				producer = KOR
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_KOR_mbt_4 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = KOR
			has_global_flag = sell_KOR_mbt_7
			ROOT = {
				NOT = {
					tag = KOR
				}
			}
		}
		
		icon = south_korea
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.175 }
		}
		custom_cost_text = cost_0_175
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.175 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_7
				amount = 1200
				producer = KOR
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_KOR_mbt_5 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = KOR
			has_global_flag = sell_KOR_mbt_8
			ROOT = {
				NOT = {
					tag = KOR
				}
			}
		}
		
		icon = south_korea
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.2 }
		}
		custom_cost_text = cost_0_2
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.2 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_8
				amount = 1200
				producer = KOR
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	#Russia
	
	EP_buy_SOV_mbt_1 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_mbt_4
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.1 }
		}
		custom_cost_text = cost_0_1
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.1 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_4
				amount = 1200
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_SOV_mbt_2 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_mbt_5
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.125 }
		}
		custom_cost_text = cost_0_125
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.125 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_5
				amount = 1200
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_SOV_mbt_3 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_mbt_7
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.15 }
		}
		custom_cost_text = cost_0_15
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.15 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_7
				amount = 1200
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_SOV_mbt_4 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = SOV
			has_global_flag = sell_SOV_mbt_8
			ROOT = {
				NOT = {
					tag = SOV
				}
			}
		}
		
		icon = russia
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.175 }
		}
		custom_cost_text = cost_0_175
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.175 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_8
				amount = 1200
				producer = SOV
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	#USA
	
	EP_buy_USA_mbt_1 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = USA
			has_global_flag = sell_USA_mbt_4
			ROOT = {
				NOT = {
					tag = USA
				}
			}
		}
		
		icon = usa
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.1 }
		}
		custom_cost_text = cost_0_1
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.1 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_4
				amount = 1200
				producer = USA
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_USA_mbt_2 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = USA
			has_global_flag = sell_USA_mbt_5
			ROOT = {
				NOT = {
					tag = USA
				}
			}
		}
		
		icon = usa
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.125 }
		}
		custom_cost_text = cost_0_125
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.125 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_5
				amount = 1200
				producer = USA
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_USA_mbt_3 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = USA
			has_global_flag = sell_USA_mbt_7
			ROOT = {
				NOT = {
					tag = USA
				}
			}
		}
		
		icon = usa
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.15 }
		}
		custom_cost_text = cost_0_15
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.15 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_7
				amount = 1200
				producer = USA
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	EP_buy_USA_mbt_4 = {
	
		visible = {
			has_country_flag = show_mbt
			has_country_flag = vhc_cat_open
			country_exists = USA
			has_global_flag = sell_USA_mbt_8
			ROOT = {
				NOT = {
					tag = USA
				}
			}
		}
		
		icon = usa
		
		days_remove = 25
		days_re_enable = 0
		
		custom_cost_trigger = {
			check_variable = { treasury > 0.175 }
		}
		custom_cost_text = cost_0_175
		
		complete_effect = {
			hidden_effect = {
				subtract_from_variable = { treasury = 0.175 }
				set_country_flag = mbt_order_active
			}
		}
		remove_effect = {
			add_equipment_to_stockpile = {
				type = MBT_8
				amount = 1200
				producer = USA
			}
			hidden_effect = {
				set_country_flag = mbt_delivered
				clr_country_flag = mbt_order_active
			}
		}
	}
	
	#end of mbt
}