script_enum_operative_mission_type = {
	build_intel_network
	counter_intelligence
	quiet_network
	root_out_resistance
	control_trade
}

script_enum_advisor_slot_type = {
	theorist
	high_command
	army_chief
	navy_chief
	air_chief
	political_advisor
}

script_enum_equipment_stat = {	
								#Viktors note for modders and future CDs: If you want to use a stat in the MIOs it has to be in the equipment category itself, not on the battalion level. So stuff like defense works because its contained within the equipment, but stuff like recon will not work because its owned by the battalion. Adding stuff like recon will not throw an error, but it will _not_ work. Moving stats to the equipment level from the bat-level might fix this if you are brave enough, but it is very risk and might break other stuff. Ive commented what is currently on the battalion level below and should not be used with MIOs.

	default_morale 					#Cannot be used with MIOS
	defense
	breakthrough
	hardness
	soft_attack
	hard_attack
	recon 							#Cannot be used with MIOS
	entrenchment					# ONLY works for tanks with dozer blades, NOT infantry
	initiative 						#Cannot be used with MIOS
	casualty_trickleback 			#Cannot be used with MIOS
	supply_consumption_factor 		#Cannot be used with MIOS
	supply_consumption 				#Cannot be used with MIOS
	suppression 					#Cannot be used with MIOS
	suppression_factor 				#Cannot be used with MIOS
	experience_loss_factor 			#Cannot be used with MIOS
	equipment_capture_factor 		#Cannot be used with MIOS
	recovery
	additional_collateral_damage			 
	fuel_capacity
	surface_detection
	sub_detection
	surface_visibility
	sub_visibility
	lg_attack
	lg_armor_piercing
	hg_attack
	hg_armor_piercing
	torpedo_attack
	sub_attack
	anti_air_attack
	amphibious_defense
	naval_speed
	naval_range
	mines_planting
	mines_sweeping
	naval_light_gun_hit_chance_factor
	naval_heavy_gun_hit_chance_factor
	naval_torpedo_hit_chance_factor
	naval_torpedo_damage_reduction_factor
	naval_torpedo_enemy_critical_chance_factor
	convoy_raiding_coordination
	patrol_coordination
	search_and_destroy_coordination
	air_range
	air_defence
	air_attack
	air_agility
	air_bombing
	air_superiority
	naval_strike_attack
	naval_strike_targetting
	air_ground_attack
	air_visibility_factor
	railway_gun_attack 			#Cannot be used with MIOS
	railway_gun_attack_range_index_in_define # This cannot be used with MIOs or equipment_bonus - only in equipment definition
	railway_gun_annex_ratio
	railway_gun_hours_between_redistribution							 
	max_organisation			#Cannot be used with MIOS
	max_strength				##Cannot be used with MIOS
	maximum_speed	
	armor_value
	ap_attack
	reliability
	reliability_factor
	weight
	thrust 						#DLC Only be careful and avoid unless needed
	fuel_consumption
	fuel_consumption_factor
	strategic_attack
	carrier_size
	acclimatization_hot_climate_gain_factor			#Cannot be used with MIOS
	acclimatization_cold_climate_gain_factor		#Cannot be used with MIOS
	night_penalty				#Cannot be used with MIOS
	build_cost_ic
	naval_weather_penalty_factor
}

script_enum_production_stat = {
	production_cost_factor
	production_capacity_factor
	production_efficiency_cap_factor
	production_efficiency_gain_factor
	production_resource_need_factor
	production_resource_penalty_factor
	production_conversion_speed_factor
}

script_enum_equipment_category = {
	convoy
	train
	floating_harbor
	railway_gun
	armor
	motorized
	mechanized
	infantry
	capital_ship
	submarine
	screen_ship
	fighter
	heavy_fighter
	interceptor
	tactical_bomber
	strategic_bomber
	cas
	naval_bomber
	missile
	emplacement_gun_ammo
	ballistic_missile
	nuclear_missile
	sam_missile
	suicide
	scout_plane
	maritime_patrol_plane
	air_transport
	carrier
	missile_launcher		 
	support
	amphibious
	anti_air
	artillery
	anti_tank
	rocket
	flame
	land_cruiser	 
}

script_enum_equipment_bonus_type = {
	## This script enum contains all equipment types that can be used in equipment_bonus
	## or in game/common/military_industrial_organization scripts.

	## This list contains either equipment category (see script_enum_equipment_category above)
	## or equipment archetypes & types defined in game/common/units/equipments

	## This enum should be updated every time either of those is updated
	## (there will be a log error at startup as a reminder)

	# Equipment categories
	convoy
	train
	floating_harbor
	railway_gun
	armor
	motorized
	mechanized
	infantry
	capital_ship
	submarine
	screen_ship
	fighter
	heavy_fighter
	interceptor
	tactical_bomber
	strategic_bomber
	cas
	naval_bomber
	missile
	emplacement_gun_ammo
	ballistic_missile
	nuclear_missile
	sam_missile
	suicide
	scout_plane
	maritime_patrol_plane
	air_transport
	carrier
	missile_launcher
	support
	amphibious
	anti_air
	artillery
	anti_tank
	rocket
	flame
	land_cruiser
	super_heavy_artillery_equipment
	super_heavy_artillery_equipment_1
	self_propelled_super_heavy_artillery_equipment
	self_propelled_super_heavy_artillery_equipment_1
	armored_support_vehicle
	armored_support_vehicle_1
	helicopter_equipment
	helicopter_equipment_1
	mothership_equipment
	mothership_equipment_0
	strat_bomber_intercontinental_equipment
	strat_bomber_intercontinental_equipment_1
	motorbike_equipment
	motorbike_equipment_1

	# Equipment archetypes & types
	land_cruiser_chassis
	land_cruiser_chassis_1
	land_cruiser_equipment_1 #(No-NSB version)   
	destroyer
	infantry_equipment
	artillery_equipment
	anti_tank_equipment
	amphibious_mechanized_equipment
	amphibious_mechanized_equipment_1
	amphibious_mechanized_equipment_2
	anti_air_equipment
	anti_air_equipment_1
	anti_air_equipment_2
	anti_air_equipment_3
	anti_tank_equipment_1
	anti_tank_equipment_2
	anti_tank_equipment_3
	armored_car_equipment
	gw_armored_car_equipment
	armored_car_equipment_1
	armored_car_equipment_2
	armored_car_at_equipment
	artillery_equipment_1
	artillery_equipment_2
	artillery_equipment_3
	rocket_artillery_equipment
	rocket_artillery_equipment_1
	rocket_artillery_equipment_2
	motorized_rocket_equipment
	motorized_rocket_equipment_1
	convoy_1
	floating_harbor_equipment
	floating_harbor_equipment_1
	guided_missile_equipment
	guided_missile_equipment_1
	guided_missile_equipment_2
	guided_missile_equipment_3
	explosive_ammo_equipment
	explosive_ammo_equipment_1
	ballistic_missile_equipment
	ballistic_missile_equipment_1
	ballistic_missile_equipment_2
	ballistic_missile_equipment_3
	nuclear_missile_equipment
	nuclear_missile_equipment_1
	nuclear_missile_equipment_2
	sam_missile_equipment
	sam_missile_equipment_1				
	infantry_equipment_0
	infantry_equipment_1
	infantry_equipment_2
	infantry_equipment_3
	mechanized_equipment
	mechanized_equipment_1
	mechanized_equipment_2
	mechanized_equipment_3
	motorized_equipment
	motorized_equipment_0
	motorized_equipment_1
	small_plane_airframe
	cv_small_plane_airframe
	small_plane_airframe_0
	small_plane_airframe_1
	small_plane_airframe_2
	small_plane_airframe_3
	small_plane_airframe_4
	small_plane_airframe_5			   
	cv_small_plane_airframe_0
	cv_small_plane_airframe_1
	cv_small_plane_airframe_2
	cv_small_plane_airframe_3
	cv_small_plane_airframe_4
	medium_plane_airframe
	medium_plane_airframe_0
	medium_plane_airframe_1
	medium_plane_airframe_2
	medium_plane_airframe_3
	medium_plane_airframe_4
	large_plane_airframe
	large_plane_airframe_0
	large_plane_airframe_1
	large_plane_airframe_2
	large_plane_airframe_3
	large_plane_airframe_4
	transport_plane_equipment
	transport_plane_equipment_1
	transport_plane_equipment_2
	transport_plane_equipment_3
	railway_gun_equipment
	railway_gun_equipment_1
	super_heavy_railway_gun_equipment
	super_heavy_railway_gun_equipment_1
	ship_hull_carrier
	ship_hull_carrier_1
	ship_hull_carrier_2
	ship_hull_carrier_3
	ship_hull_mega_carrier
	ship_hull_carrier_modern			 
	ship_hull_carrier_conversion_bb
	ship_hull_carrier_conversion_ca
	carrier_1
	carrier_2
	carrier_3
	carrier_4
	modern_carrier
	mega_carrier	 
	ship_hull_cruiser
	light_cruiser
	ship_hull_cruiser_1
	ship_hull_cruiser_2
	ship_hull_cruiser_3
	ship_hull_cruiser_4
	light_cruiser_1
	light_cruiser_2
	light_cruiser_3
	light_cruiser_4
	heavy_cruiser_1
	heavy_cruiser_2
	heavy_cruiser_3
	heavy_cruiser_4
	torpedo_cruiser
	ship_hull_cruiser_modern_aa
	ship_hull_torpedo_cruiser
	ship_hull_cruiser_panzerschiff
	ship_hull_cruiser_coastal_defense_ship
	ship_hull_heavy
	ship_hull_pre_dreadnought
	ship_hull_heavy_1
	ship_hull_heavy_2
	ship_hull_heavy_3
	ship_hull_heavy_4
	ship_hull_super_heavy_1
	ship_hull_heavy_modern
	battleship_1
	battleship_2
	battleship_3
	battleship_4
	SH_battleship_1
	SH_battleship_2
	modern_battleship
	battle_cruiser_1
	battle_cruiser_2
	ship_hull_light
	ship_hull_light_1
	ship_hull_light_2
	ship_hull_light_3
	ship_hull_light_4
	destroyer_1
	destroyer_2
	destroyer_3
	destroyer_4
	ship_hull_submarine
	ship_hull_submarine_1
	ship_hull_submarine_2
	ship_hull_submarine_3
	ship_hull_submarine_4
	cruiser_submarine
	fleet_submarine
	midget_submarine
	nuclear_submarine
	nuclear_missile_submarine
	rocket_submarine
	ship_hull_cruiser_submarine
	ship_hull_midget_submarine
	ship_hull_nuclear_submarine
	ship_hull_fleet_submarine				  
	submarine_1
	submarine_2
	submarine_3
	submarine_4
	support_equipment
	support_equipment_1
	light_tank_chassis
	light_tank_chassis_0
	light_tank_chassis_1
	light_tank_chassis_2
	light_tank_chassis_3
	medium_tank_chassis
	medium_tank_chassis_0
	medium_tank_chassis_1
	medium_tank_chassis_2
	medium_tank_chassis_3
	heavy_tank_chassis
	heavy_tank_chassis_0
	heavy_tank_chassis_1
	heavy_tank_chassis_2
	heavy_tank_chassis_3
	modern_tank_chassis
	modern_tank_chassis_1
	super_heavy_tank_chassis
	super_heavy_tank_chassis_1
	amphibious_tank_chassis
	amphibious_tank_chassis_1
	train_equipment
	train_equipment_1
	train_equipment_2
	train_equipment_3
	small_plane_cas_airframe
	cv_small_plane_cas_airframe
	small_plane_naval_bomber_airframe
	cv_small_plane_naval_bomber_airframe
	small_plane_suicide_airframe
	cv_small_plane_suicide_airframe
	medium_plane_fighter_airframe
	medium_plane_scout_plane_airframe
	large_plane_maritime_patrol_plane_airframe
	jet_fighter_equipment
	rocket_interceptor_equipment
	jet_tac_bomber_equipment
	jet_strat_bomber_equipment
	small_plane_cas_airframe_0
	small_plane_cas_airframe_1
	small_plane_cas_airframe_2
	small_plane_cas_airframe_3
	small_plane_cas_airframe_4
	small_plane_cas_airframe_5			   
	cv_small_plane_cas_airframe_0
	cv_small_plane_cas_airframe_1
	cv_small_plane_cas_airframe_2
	cv_small_plane_cas_airframe_3
	cv_small_plane_cas_airframe_4
	small_plane_naval_bomber_airframe_0
	small_plane_naval_bomber_airframe_1
	small_plane_naval_bomber_airframe_2
	small_plane_naval_bomber_airframe_3
	small_plane_naval_bomber_airframe_4
	small_plane_naval_bomber_airframe_5							
	cv_small_plane_naval_bomber_airframe_0
	cv_small_plane_naval_bomber_airframe_1
	cv_small_plane_naval_bomber_airframe_2
	cv_small_plane_naval_bomber_airframe_3
	cv_small_plane_naval_bomber_airframe_4
	small_plane_suicide_airframe_0
	small_plane_suicide_airframe_1
	small_plane_suicide_airframe_2
	small_plane_suicide_airframe_3
	small_plane_suicide_airframe_4
	small_plane_suicide_airframe_5					   
	cv_small_plane_suicide_airframe_0
	cv_small_plane_suicide_airframe_1
	cv_small_plane_suicide_airframe_2
	cv_small_plane_suicide_airframe_3
	cv_small_plane_suicide_airframe_4
	medium_plane_fighter_airframe_0
	medium_plane_fighter_airframe_1
	medium_plane_fighter_airframe_2
	medium_plane_fighter_airframe_3
	medium_plane_fighter_airframe_4
	medium_plane_scout_plane_airframe_0
	medium_plane_scout_plane_airframe_1
	medium_plane_scout_plane_airframe_2
	medium_plane_scout_plane_airframe_3
	medium_plane_scout_plane_airframe_4
	large_plane_maritime_patrol_plane_airframe_0
	large_plane_maritime_patrol_plane_airframe_1
	large_plane_maritime_patrol_plane_airframe_2
	large_plane_maritime_patrol_plane_airframe_3
	large_plane_maritime_patrol_plane_airframe_4
	fighter_equipment_0
	fighter_equipment_1
	fighter_equipment_2
	fighter_equipment_3
	jet_fighter_equipment_1
	jet_fighter_equipment_2
	cv_fighter_equipment_0
	cv_fighter_equipment_1
	cv_fighter_equipment_2
	cv_fighter_equipment_3
	CAS_equipment_1
	CAS_equipment_2
	CAS_equipment_3
	cv_CAS_equipment_1
	cv_CAS_equipment_2
	cv_CAS_equipment_3
	nav_bomber_equipment_1
	nav_bomber_equipment_2
	nav_bomber_equipment_3
	cv_nav_bomber_equipment_1
	cv_nav_bomber_equipment_2
	cv_nav_bomber_equipment_3
	rocket_interceptor_equipment_1
	rocket_interceptor_equipment_2
	rocket_interceptor_equipment_3
	rocket_suicide_equipment_1
	tac_bomber_equipment_0
	tac_bomber_equipment_1
	tac_bomber_equipment_2
	tac_bomber_equipment_3
	jet_tac_bomber_equipment_1
	jet_tac_bomber_equipment_2
	heavy_fighter_equipment_1
	heavy_fighter_equipment_2
	heavy_fighter_equipment_3
	scout_plane_equipment_1
	scout_plane_equipment_2
	strat_bomber_equipment_1
	strat_bomber_equipment_2
	strat_bomber_equipment_3
	jet_strat_bomber_equipment_1
	light_tank_aa_chassis
	light_tank_artillery_chassis
	light_tank_destroyer_chassis
	light_tank_amphibious_chassis
	light_tank_flame_chassis
	medium_tank_aa_chassis
	medium_tank_artillery_chassis
	medium_tank_destroyer_chassis
	medium_tank_amphibious_chassis
	medium_tank_flame_chassis
	heavy_tank_aa_chassis
	heavy_tank_artillery_chassis
	heavy_tank_destroyer_chassis
	heavy_tank_amphibious_chassis
	heavy_tank_flame_chassis
	super_heavy_tank_aa_chassis
	super_heavy_tank_artillery_chassis
	super_heavy_tank_destroyer_chassis
	modern_tank_aa_chassis
	modern_tank_artillery_chassis
	modern_tank_destroyer_chassis
	light_tank_aa_chassis_0
	light_tank_aa_chassis_1
	light_tank_aa_chassis_2
	light_tank_aa_chassis_3
	light_tank_artillery_chassis_0
	light_tank_artillery_chassis_1
	light_tank_artillery_chassis_2
	light_tank_artillery_chassis_3
	light_tank_destroyer_chassis_0
	light_tank_destroyer_chassis_1
	light_tank_destroyer_chassis_2
	light_tank_destroyer_chassis_3
	light_tank_amphibious_chassis_0
	light_tank_amphibious_chassis_1
	light_tank_amphibious_chassis_2
	light_tank_amphibious_chassis_3
	light_tank_flame_chassis_0
	light_tank_flame_chassis_1
	light_tank_flame_chassis_2
	light_tank_flame_chassis_3
	medium_tank_aa_chassis_0
	medium_tank_aa_chassis_1
	medium_tank_aa_chassis_2
	medium_tank_aa_chassis_3
	medium_tank_artillery_chassis_0
	medium_tank_artillery_chassis_1
	medium_tank_artillery_chassis_2
	medium_tank_artillery_chassis_3
	medium_tank_destroyer_chassis_0
	medium_tank_destroyer_chassis_1
	medium_tank_destroyer_chassis_2
	medium_tank_destroyer_chassis_3
	medium_tank_amphibious_chassis_0
	medium_tank_amphibious_chassis_1
	medium_tank_amphibious_chassis_2
	medium_tank_amphibious_chassis_3
	medium_tank_flame_chassis_0
	medium_tank_flame_chassis_1
	medium_tank_flame_chassis_2
	medium_tank_flame_chassis_3
	heavy_tank_aa_chassis_0
	heavy_tank_aa_chassis_1
	heavy_tank_aa_chassis_2
	heavy_tank_aa_chassis_3
	heavy_tank_artillery_chassis_0
	heavy_tank_artillery_chassis_1
	heavy_tank_artillery_chassis_2
	heavy_tank_artillery_chassis_3
	heavy_tank_destroyer_chassis_0
	heavy_tank_destroyer_chassis_1
	heavy_tank_destroyer_chassis_2
	heavy_tank_destroyer_chassis_3
	heavy_tank_amphibious_chassis_0
	heavy_tank_amphibious_chassis_1
	heavy_tank_amphibious_chassis_2
	heavy_tank_amphibious_chassis_3
	heavy_tank_flame_chassis_0
	heavy_tank_flame_chassis_1
	heavy_tank_flame_chassis_2
	heavy_tank_flame_chassis_3
	super_heavy_tank_aa_chassis_1
	super_heavy_tank_artillery_chassis_1
	super_heavy_tank_destroyer_chassis_1
	modern_tank_aa_chassis_1
	modern_tank_artillery_chassis_1
	modern_tank_destroyer_chassis_1
	gw_tank_equipment
	light_tank_equipment_1
	light_tank_equipment_2
	light_tank_equipment_3
	light_tank_artillery_equipment_1
	light_tank_artillery_equipment_2
	light_tank_artillery_equipment_3
	light_tank_destroyer_equipment_1
	light_tank_destroyer_equipment_2
	light_tank_destroyer_equipment_3
	light_tank_aa_equipment_1
	light_tank_aa_equipment_2
	light_tank_aa_equipment_3
	medium_tank_equipment_1
	medium_tank_equipment_2
	medium_tank_equipment_3
	medium_tank_artillery_equipment_1
	medium_tank_artillery_equipment_2
	medium_tank_artillery_equipment_3
	medium_tank_destroyer_equipment_1
	medium_tank_destroyer_equipment_2
	medium_tank_destroyer_equipment_3
	medium_tank_aa_equipment_1
	medium_tank_aa_equipment_2
	medium_tank_aa_equipment_3
	heavy_tank_equipment_1
	heavy_tank_equipment_2
	heavy_tank_equipment_3
	heavy_tank_artillery_equipment_1
	heavy_tank_artillery_equipment_2
	heavy_tank_artillery_equipment_3
	heavy_tank_destroyer_equipment_1
	heavy_tank_destroyer_equipment_2
	heavy_tank_destroyer_equipment_3
	heavy_tank_aa_equipment_1
	heavy_tank_aa_equipment_2
	heavy_tank_aa_equipment_3
	modern_tank_equipment_1
	modern_tank_artillery_equipment_1
	modern_tank_destroyer_equipment_1
	modern_tank_aa_equipment_1
	super_heavy_tank_equipment_1
	super_heavy_tank_artillery_equipment_1
	super_heavy_tank_destroyer_equipment_1
	super_heavy_tank_aa_equipment_1
	amphibious_tank_equipment_1
	amphibious_tank_equipment_2
	supersonic_fighter_equipment_1
	infantry_equipment_4 
	motorized_equipment_2 
}