equipment_modules = {
	
	#Fire Control Systems
	
	fire_control_system_0 = {
		category = ship_fire_control_system
		gfx = ship_fire_control_system
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 10
		}
		
		multiply_stats = {
			surface_detection = 0.05
			surface_visibility = 0.05
			lg_attack = 0.01
			hg_attack = 0.01
		}
		
		can_convert_from = {
			module_category = ship_fire_control_system
			convert_cost_ic = 110
		}
	}
	
	fire_control_system_1 = {
		category = ship_fire_control_system
		gfx = ship_fire_control_system
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 25
		}
		
		multiply_stats = {
			surface_detection = 0.1
			surface_visibility = 0.05
			lg_attack = 0.05
			hg_attack = 0.05
		}
		
		can_convert_from = {
			module_category = ship_fire_control_system
			convert_cost_ic = 125
		}
		
		can_convert_from = {
			module = ship_fire_control_system_0
			convert_cost_ic = 20
		}
	}
	
	fire_control_system_2 = {
		category = ship_fire_control_system
		gfx = ship_fire_control_system
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 40
		}
		
		multiply_stats = {
			surface_detection = 0.15
			surface_visibility = 0.05
			lg_attack = 0.1
			hg_attack = 0.1
		}
		
		can_convert_from = {
			module_category = ship_fire_control_system
			convert_cost_ic = 140
		}
		
		can_convert_from = {
			module = ship_fire_control_system_1
			convert_cost_ic = 20
		}
	}
	
	fire_control_system_3 = {
		category = ship_fire_control_system
		gfx = ship_fire_control_system
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 200
		}
		
		multiply_stats = {
			lg_attack = 0.2
			hg_attack = 0.2
		}
		
		can_convert_from = {
			module_category = ship_fire_control_system
			convert_cost_ic = 300
		}
		
		can_convert_from = {
			module = ship_fire_control_system_2
			convert_cost_ic = 250
		}
	}
	
	fire_control_system_4 = {
		category = ship_fire_control_system
		gfx = ship_fire_control_system
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 275
		}
		
		multiply_stats = {
			lg_attack = 0.25
			hg_attack = 0.25
		}
		
		can_convert_from = {
			module_category = ship_fire_control_system
			convert_cost_ic = 375
		}
		
		can_convert_from = {
			module = ship_fire_control_system_3
			convert_cost_ic = 100
		}
	}
	
	fire_control_system_5 = {
		category = ship_fire_control_system
		gfx = ship_fire_control_system
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 300
		}
		
		multiply_stats = {
			lg_attack = 0.30
			hg_attack = 0.30
		}
		
		can_convert_from = {
			module_category = ship_fire_control_system
			convert_cost_ic = 400
		}
		
		can_convert_from = {
			module = ship_fire_control_system_4
			convert_cost_ic = 105
		}
	}

	fire_control_system_6 = {
		category = ship_fire_control_system
		gfx = ship_fire_control_system
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 305
		}
		
		multiply_stats = {
			lg_attack = 0.35
			hg_attack = 0.35
		}
		
		can_convert_from = {
			module_category = ship_fire_control_system
			convert_cost_ic = 410
		}
		
		can_convert_from = {
			module = ship_fire_control_system_5
			convert_cost_ic = 105
		}
	}
	
	fire_control_system_7 = {
		category = ship_fire_control_system
		gfx = ship_fire_control_system
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 310
		}
		
		multiply_stats = {
			lg_attack = 0.40
			hg_attack = 0.40
		}
		
		can_convert_from = {
			module_category = ship_fire_control_system
			convert_cost_ic = 420
		}
		
		can_convert_from = {
			module = ship_fire_control_system_6
			convert_cost_ic = 105
		}
	}	
	
	fire_control_system_8 = {
		category = ship_fire_control_system
		gfx = ship_fire_control_system
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 320
		}
		
		multiply_stats = {
			lg_attack = 0.45
			hg_attack = 0.45
		}
		
		can_convert_from = {
			module_category = ship_fire_control_system
			convert_cost_ic = 430
		}
		
		can_convert_from = {
			module = ship_fire_control_system_7
			convert_cost_ic = 110
		}
	}	

#	fire_control_system_9 = {
#		category = ship_fire_control_system
#		gfx = ship_fire_control_system
#		sfx = sfx_ui_sd_module_sonar
#
#		add_stats = {
#			build_cost_ic = 325
#		}
#		
#		multiply_stats = {
#			lg_attack = 0.50
#			hg_attack = 0.50
#		}
#		
#		can_convert_from = {
#			module_category = ship_fire_control_system
#			convert_cost_ic = 435
#		}
#		
#		can_convert_from = {
#			module = ship_fire_control_system_8
#			convert_cost_ic = 115
#		}
#	}
#	
#	fire_control_system_10 = {
#		category = ship_fire_control_system
#		gfx = ship_fire_control_system
#		sfx = sfx_ui_sd_module_sonar
#
#		add_stats = {
#			build_cost_ic = 330
#		}
#		
#		multiply_stats = {
#			lg_attack = 0.55
#			hg_attack = 0.55
#		}
#		
#		can_convert_from = {
#			module_category = ship_fire_control_system
#			convert_cost_ic = 440
#		}
#		
#		can_convert_from = {
#			module = ship_fire_control_system_9
#			convert_cost_ic = 115
#		}
#	}
#
#	fire_control_system_11 = {
#		category = ship_fire_control_system
#		gfx = ship_fire_control_system
#		sfx = sfx_ui_sd_module_sonar
#
#		add_stats = {
#			build_cost_ic = 335
#		}
#		
#		multiply_stats = {
#			lg_attack = 0.60
#			hg_attack = 0.60
#		}
#		
#		can_convert_from = {
#			module_category = ship_fire_control_system
#			convert_cost_ic = 445
#		}
#		
#		can_convert_from = {
#			module = ship_fire_control_system_10
#			convert_cost_ic = 115
#		}
#	}
#
#	fire_control_system_12 = {
#		category = ship_fire_control_system
#		gfx = ship_fire_control_system
#		sfx = sfx_ui_sd_module_sonar
#
#		add_stats = {
#			build_cost_ic = 340
#		}
#		
#		multiply_stats = {
#			lg_attack = 0.65
#			hg_attack = 0.65
#		}
#		
#		can_convert_from = {
#			module_category = ship_fire_control_system
#			convert_cost_ic = 450
#		}
#		
#		can_convert_from = {
#			module = ship_fire_control_system_11
#			convert_cost_ic = 115
#		}
#	}
#
#	fire_control_system_13 = {
#		category = ship_fire_control_system
#		gfx = ship_fire_control_system
#		sfx = sfx_ui_sd_module_sonar
#
#		add_stats = {
#			build_cost_ic = 345
#		}
#		
#		multiply_stats = {
#			lg_attack = 0.70
#			hg_attack = 0.70
#		}
#		
#		can_convert_from = {
#			module_category = ship_fire_control_system
#			convert_cost_ic = 455
#		}
#		
#		can_convert_from = {
#			module = ship_fire_control_system_12
#			convert_cost_ic = 120
#		}
#	}	
	
	#Armament
	ship_cannon_battery_0 = {#24lb
		abbreviation = "sca"
		category = ship_cannon_battery
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 1.25
			hg_attack = 0.75
			build_cost_ic = 50
		}
		
		add_average_stats = {
			lg_armor_piercing = 0.9
			hg_armor_piercing = 0.1
		}

		critical_parts = { damaged_light_guns }
	}
	
	ship_cannon_battery_1 = {#32lb
		abbreviation = "scb"
		category = ship_cannon_battery
		#parent = ship_cannon_battery_0
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 1.00
			hg_attack = 1.75
			build_cost_ic = 80
		}
		
		add_average_stats = {
			lg_armor_piercing = 0.6
			hg_armor_piercing = 2.5
		}
				
		can_convert_from = {
			module = ship_cannon_battery_0
			convert_cost_ic = 40
		}

		critical_parts = { damaged_light_guns }
	}

	ship_cannon_battery_2 = {#68lb
		abbreviation = "scc"
		category = ship_cannon_battery
		#parent = ship_cannon_battery_1
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 1.00
			hg_attack = 1.75
			build_cost_ic = 80
		}
		
		add_average_stats = {
			lg_armor_piercing = 0.6
			hg_armor_piercing = 2.5
		}
				
		can_convert_from = {
			module = ship_cannon_battery_0
			convert_cost_ic = 40
		}

		critical_parts = { damaged_light_guns }
	}

	ship_cannon_battery_3 = {#100lb Somerset gun
		abbreviation = "ssb"
		category = ship_cannon_battery
		parent = ship_cannon_battery_1
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 4.0
			hg_attack = 7.0
			build_cost_ic = 95
		}
		
		add_average_stats = {
			lg_armor_piercing = 0.9
			hg_armor_piercing = 3.5
		}
		multiply_stats = {
			reliability = -0.0375
		}
		
		can_convert_from = {
			module = ship_cannon_battery_1
			convert_cost_ic = 40
		}

		build_cost_resources = {
			iron = 1
		}

		critical_parts = { damaged_light_guns }
	}

	ship_RML_battery_1 = {#RML 1
		abbreviation = "saq"
		category = ship_RML_battery
		parent = ship_cannon_battery_0
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 2.0
			hg_attack = 3.15
			build_cost_ic = 130
		}
		
		add_average_stats = {
			lg_armor_piercing = 8.0
			hg_armor_piercing = 8.0
		}
		
		can_convert_from = {
			module = ship_cannon_battery_1
			convert_cost_ic = 40
		}

		critical_parts = { damaged_light_guns }
	}
	ship_RBL_battery_1 = {#RBL 1
		abbreviation = "sar"
		category = ship_cannon_battery
		parent = ship_cannon_battery_0
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 2.25
			hg_attack = 3.0
			build_cost_ic = 165
		}
		
		add_average_stats = {
			lg_armor_piercing = 10.0
			hg_armor_piercing = 10.0
		}
		multiply_stats = {
			reliability = -0.075
		}
		
		can_convert_from = {
			module = ship_RML_battery_1
			convert_cost_ic = 40
		}

		critical_parts = { damaged_light_guns }
	}
	#Light Batteries	
	ship_light_battery_2 = {
		abbreviation = "sac"
		category = ship_light_battery
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 1.5
			build_cost_ic = 160
		}
		
		add_average_stats = {
			lg_armor_piercing = 2
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 260
		}
		can_convert_from = {
			module = ship_cannon_battery_1
			convert_cost_ic = 50
		}

		critical_parts = { damaged_light_guns }
	}
	
	ship_light_battery_3 = {
		abbreviation = "sad"
		category = ship_light_battery
		parent = ship_light_battery_2
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 1.8
			build_cost_ic = 190
		}
		
		add_average_stats = {
			lg_armor_piercing = 2.7
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 290
		}
		
		can_convert_from = {
			module = ship_light_battery_2
			convert_cost_ic = 80
		}

		critical_parts = { damaged_light_guns }
	}
	
	ship_light_battery_4 = {
		abbreviation = "sae"
		category = ship_light_battery
		parent = ship_light_battery_3
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 3.0
			build_cost_ic = 175	
		}
		build_cost_resources = {
			steel = 1
		}
		multiply_stats = {
			naval_speed = -0.02
		}
		add_average_stats = {
			lg_armor_piercing = 3.0
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 190
		}
			
		can_convert_from = {
			module = ship_light_battery_3
			convert_cost_ic = 120
		}
		critical_parts = { damaged_light_guns }
	}
	
	ship_light_battery_5 = {
		abbreviation = "saf"
		category = ship_light_battery
		parent = ship_light_battery_4
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 3.0
			build_cost_ic = 200
		}
		build_cost_resources = {
			steel = 1
		}
		multiply_stats = {
			naval_speed = -0.02
		}
		add_average_stats = {
			lg_armor_piercing = 3.25
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 190
		}
			
		can_convert_from = {
			module = ship_light_battery_4
			convert_cost_ic = 45
		}
		critical_parts = { damaged_light_guns }
	}
	ship_light_battery_6 = {
		abbreviation = "sag"
		category = ship_light_battery
		parent = ship_light_battery_5
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 3.5
			build_cost_ic = 225
		}
		build_cost_resources = {
			steel = 1
		}
		multiply_stats = {
			naval_speed = -0.03
		}
		add_average_stats = {
			lg_armor_piercing = 3.5
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 190
		}
			
		can_convert_from = {
			module = ship_light_battery_5
			convert_cost_ic = 45
		}
		critical_parts = { damaged_light_guns }
	}
	ship_light_battery_7 = {
		abbreviation = "sah"
		category = ship_light_battery
		parent = ship_light_battery_6
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 4.0
			build_cost_ic = 250
		}
		build_cost_resources = {
			steel = 2
		}
		multiply_stats = {
			naval_speed = -0.03
		}
		add_average_stats = {
			lg_armor_piercing = 3.75
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 190
		}
			
		can_convert_from = {
			module = ship_light_battery_6
			convert_cost_ic = 45
		}
		critical_parts = { damaged_light_guns }
	}
#	ship_light_battery_8 = {
#		abbreviation = "sai"
#		category = ship_light_battery
#		parent = ship_light_battery_7
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 4.5
#			build_cost_ic = 275
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.04
#		}
#		add_average_stats = {
#			lg_armor_piercing = 4.0
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 225
#		}
#			
#		can_convert_from = {
#			module = ship_light_battery_7
#			convert_cost_ic = 45
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	ship_light_battery_9 = {
#		abbreviation = "saj"
#		category = ship_light_battery
#		parent = ship_light_battery_8
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 4.8
#			build_cost_ic = 295
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.04
#		}
#		add_average_stats = {
#			lg_armor_piercing = 4.25
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 225
#		}
#			
#		can_convert_from = {
#			module = ship_light_battery_8
#			convert_cost_ic = 45
#		}
#		critical_parts = { damaged_light_guns }
#	}
# ###apartir hay que cambiar###	
#	ship_light_battery_10 = {
#		abbreviation = "sak"
#		category = ship_light_battery
#		parent = ship_light_battery_9
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 5.2
#			build_cost_ic = 300
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.04
#		}
#		add_average_stats = {
#			lg_armor_piercing = 4.5
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 225
#		}
#			
#		can_convert_from = {
#			module = ship_light_battery_9
#			convert_cost_ic = 50
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	
#	ship_light_battery_11 = {
#		abbreviation = "sak"
#		category = ship_light_battery
#		parent = ship_light_battery_10
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 5.5
#			build_cost_ic = 305
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.05
#		}
#		add_average_stats = {
#			lg_armor_piercing = 4.75
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 225
#		}
#			
#		can_convert_from = {
#			module = ship_light_battery_10
#			convert_cost_ic = 50
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	
#	ship_light_battery_12 = {
#		abbreviation = "sal"
#		category = ship_light_battery
#		parent = ship_light_battery_11
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 6
#			build_cost_ic = 350
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.05
#		}
#		add_average_stats = {
#			lg_armor_piercing = 5.0
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 250
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_11
#			convert_cost_ic = 50
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	
#	ship_light_battery_13 = {
#		abbreviation = "sam"
#		category = ship_light_battery
#		parent = ship_light_battery_12
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 6.5
#			build_cost_ic = 375
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 5.25
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 250
#		}
#			
#		can_convert_from = {
#			module = ship_light_battery_12
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	
#	ship_light_battery_14 = {
#		abbreviation = "san"
#		category = ship_light_battery
#		parent = ship_light_battery_13
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 6.8
#			build_cost_ic = 400
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 5.5
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 250
#		}
#			
#		can_convert_from = {
#			module = ship_light_battery_13
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}	
#	
#	ship_light_battery_15 = {
#		abbreviation = "sao"
#		category = ship_light_battery
#		parent = ship_light_battery_14
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7
#			build_cost_ic = 405
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 5.75
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 250
#		}
#			
#		can_convert_from = {
#			module = ship_light_battery_14
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	
#	ship_light_battery_16 = {
#		abbreviation = "sap"
#		category = ship_light_battery
#		parent = ship_light_battery_15
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_light_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}	
	
	###Missile Batteries###
#	ship_missle_battery_1 = {
#		category = ship_cruise_missile
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 5.0
#			build_cost_ic = 315
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 9
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	
#	ship_missle_battery_2 = {
#		category = ship_cruise_missile
#		parent = ship_missle_battery_1
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#
#	ship_missle_battery_3 = {
#		category = ship_cruise_missile
#		parent = ship_missle_battery_2
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#
#	ship_missle_battery_4 = {
#		category = ship_cruise_missile
#		parent = ship_missle_battery_3
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#
#	ship_missle_battery_5 = {
#		category = ship_cruise_missile
#		parent = ship_missle_battery_4
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}	
#
#	ship_missle_battery_6 = {
#		category = ship_cruise_missile
#		parent = ship_missle_battery_5
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#
#	ship_missle_battery_7 = {
#		category = ship_cruise_missile
#		parent = ship_missle_battery_6
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#
#	ship_missle_battery_8 = {
#		category = ship_cruise_missile
#		parent = ship_missle_battery_7
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#
#	ship_missle_battery_9 = {
#		category = ship_cruise_missile
#		parent = ship_missle_battery_8
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}	
		
	###Small Missile Batteries###
#	ship_small_missle_battery_1 = {
#		category = ship_missile
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 6.2
#			build_cost_ic = 315
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	ship_small_missle_battery_2 = {
#		category = ship_missile
#		parent = ship_small_missle_battery_1
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	ship_small_missle_battery_3 = {
#		category = ship_missile
#		parent = ship_small_missle_battery_2
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	ship_small_missle_battery_4 = {
#		category = ship_missile
#		parent = ship_small_missle_battery_3
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	ship_small_missle_battery_5 = {
#		category = ship_missile
#		parent = ship_small_missle_battery_4
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}	
#	ship_small_missle_battery_6 = {
#		category = ship_missile
#		parent = ship_small_missle_battery_5
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	ship_small_missle_battery_7 = {
#		category = ship_missile
#		parent = ship_small_missle_battery_6
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	ship_small_missle_battery_8 = {
#		category = ship_missile
#		parent = ship_small_missle_battery_7
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	ship_small_missle_battery_9 = {
#		category = ship_missile
#		parent = ship_small_missle_battery_8
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}		
	
	###Plasma Turrets###
	
#	ship_plasma_turret_1 = {
#		category = ship_light_battery
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#
#	ship_plasma_turret_2 = {
#		category = ship_light_battery
#		parent = ship_plasma_turret_1
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#
#	ship_plasma_turret_3 = {
#		category = ship_light_battery
#		parent = ship_plasma_turret_2
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}	
	
		###Railguns###
		
#	railgun_turret_1 = {
#		category = ship_light_battery
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	
#	railgun_turret_2 = {
#		category = ship_light_battery
#		parent = ship_plasma_turret_1
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}
#	
#	railgun_turret_3 = {
#		category = ship_light_battery
#		parent = railgun_turret_2
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.2
#			build_cost_ic = 415
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		multiply_stats = {
#			naval_speed = -0.06
#		}
#		add_average_stats = {
#			lg_armor_piercing = 6
#		}
#		
#		can_convert_from = {
#			module_category = ship_light_battery
#			convert_cost_ic = 275
#		}
#			
#		can_convert_from = {
#			module = ship_cannon_battery_15
#			convert_cost_ic = 55
#		}
#		critical_parts = { damaged_light_guns }
#	}

		###Lazer AA Systems###
		
#	lazer_aa_1 = {
#		category = ship_anti_air
#		sfx = sfx_ui_sd_module_turret
#		add_equipment_type = anti_air
#		
#		add_stats = {
#			anti_air_attack = 3.6
#			build_cost_ic = 325
#		}
#		
#		multiply_stats = {
#			build_cost_ic = 0.035
#			anti_air_attack = 0.3
#		}
#
#		can_convert_from = {
#			module_category = ship_anti_air
#			convert_cost_ic = 375
#		}
#	}
#	
#	lazer_aa_2 = {
#		category = ship_anti_air
#		sfx = sfx_ui_sd_module_turret
#		add_equipment_type = anti_air
#		
#		add_stats = {
#			anti_air_attack = 3.6
#			build_cost_ic = 325
#		}
#		
#		multiply_stats = {
#			build_cost_ic = 0.035
#			anti_air_attack = 0.3
#		}
#
#		can_convert_from = {
#			module_category = ship_anti_air
#			convert_cost_ic = 375
#		}
#	}	
#	
#	lazer_aa_3 = {
#		category = ship_anti_air
#		sfx = sfx_ui_sd_module_turret
#		add_equipment_type = anti_air
#		
#		add_stats = {
#			anti_air_attack = 3.6
#			build_cost_ic = 325
#		}
#		
#		multiply_stats = {
#			build_cost_ic = 0.035
#			anti_air_attack = 0.3
#		}
#
#		can_convert_from = {
#			module_category = ship_anti_air
#			convert_cost_ic = 375
#		}
#	}
#
#	lazer_aa_4 = {
#		category = ship_anti_air
#		sfx = sfx_ui_sd_module_turret
#		add_equipment_type = anti_air
#		
#		add_stats = {
#			anti_air_attack = 3.6
#			build_cost_ic = 325
#		}
#		
#		multiply_stats = {
#			build_cost_ic = 0.035
#			anti_air_attack = 0.3
#		}
#
#		can_convert_from = {
#			module_category = ship_anti_air
#			convert_cost_ic = 375
#		}
#	}	
#	
	###Light Turrets###
	ship_turret_light_0 = {
		category = ship_light_battery
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 0.5
			build_cost_ic = 100
		}
		
		add_average_stats = {
			lg_armor_piercing = 0.5
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 200
		}

		critical_parts = { damaged_light_guns }
	}
	
	ship_turret_light_1 = {
		category = ship_light_battery
		parent = ship_turret_light_0
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 0.6
			build_cost_ic = 105
		}
		
		add_average_stats = {
			lg_armor_piercing = 0.7
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 205
		}
		
		can_convert_from = {
			module = ship_turret_light_0
			convert_cost_ic = 25
		}

		critical_parts = { damaged_light_guns }
	}
	
	ship_turret_light_2 = {
		category = ship_light_battery
		parent = ship_turret_light_1
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 0.75
			build_cost_ic = 110
		}
		
		add_average_stats = {
			lg_armor_piercing = 0.9
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 210
		}
		
		can_convert_from = {
			module = ship_turret_light_1
			convert_cost_ic = 25
		}

		critical_parts = { damaged_light_guns }
	}
	
	ship_turret_light_3 = {
		category = ship_light_battery
		parent = ship_turret_light_2
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 0.9
			build_cost_ic = 115
		}
		
		add_average_stats = {
			lg_armor_piercing = 1.2
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 215
		}
		
		can_convert_from = {
			module = ship_turret_light_2
			convert_cost_ic = 25
		}

		critical_parts = { damaged_light_guns }
	}
	
	#Medium Batteries
	ship_turret_medium_0 = {
		category = ship_medium_battery
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			hg_attack = 1.5
			build_cost_ic = 350
			surface_visibility = 2
		}
		
		multiply_stats = {
			naval_speed = -0.05
			max_strength = 0.05
		}
		
		build_cost_resources = {
			iron = 1
		}
		
		add_average_stats = {
			hg_armor_piercing = 3.5
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 450
		}
		
		can_convert_from = {
			module_category = ship_medium_battery
			convert_cost_ic = 450
		}

		critical_parts = { damaged_heavy_guns }
	}
	
	ship_turret_medium_1 = {
		category = ship_medium_battery
		parent = ship_turret_medium_0
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			hg_attack = 1.8
			build_cost_ic = 375
			surface_visibility = 2
		}
		
		multiply_stats = {
			naval_speed = -0.05
			max_strength = 0.05
		}
		
		build_cost_resources = {
			iron = 1
		}
		
		add_average_stats = {
			hg_armor_piercing = 4
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 475
		}
		
		can_convert_from = {
			module_category = ship_medium_battery
			convert_cost_ic = 475
		}
		
		can_convert_from = {
			module = ship_turret_medium_0
			convert_cost_ic = 100
		}

		critical_parts = { damaged_heavy_guns }
	}
	
	ship_turret_medium_2 = {
		category = ship_medium_battery
		parent = ship_turret_medium_1
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			hg_attack = 2
			build_cost_ic = 400
			surface_visibility = 2
		}
		
		multiply_stats = {
			naval_speed = -0.05
			max_strength = 0.05
		}
		
		build_cost_resources = {
			iron = 1
		}
		
		add_average_stats = {
			hg_armor_piercing = 4.75
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 500
		}
		
		can_convert_from = {
			module_category = ship_medium_battery
			convert_cost_ic = 500
		}
		
		can_convert_from = {
			module = ship_turret_medium_1
			convert_cost_ic = 100
		}

		critical_parts = { damaged_heavy_guns }
	}
	
	ship_turret_medium_3 = {
		category = ship_medium_battery
		parent = ship_turret_medium_2
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			hg_attack = 2.5
			build_cost_ic = 425
			surface_visibility = 2
		}
		
		multiply_stats = {
			naval_speed = -0.05
			max_strength = 0.05
		}
		
		build_cost_resources = {
			iron = 1
		}
		
		add_average_stats = {
			hg_armor_piercing = 5.5
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 525
		}
		
		can_convert_from = {
			module_category = ship_medium_battery
			convert_cost_ic = 525
		}
		
		can_convert_from = {
			module = ship_turret_medium_2
			convert_cost_ic = 100
		}

		critical_parts = { damaged_heavy_guns }
	}

	ship_medium_battery_0 = {
		category = ship_medium_battery
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			hg_attack = 3.5
			build_cost_ic = 550
			surface_visibility = 2
		}
		
		multiply_stats = {
			naval_speed = -0.1
			max_strength = 0.05
		}
		
		build_cost_resources = {
			iron = 1
		}
		
		add_average_stats = {
			hg_armor_piercing = 7
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 650
		}
		
		can_convert_from = {
			module_category = ship_medium_battery
			convert_cost_ic = 650
		}

		critical_parts = { damaged_heavy_guns }
	}
	
	ship_medium_battery_1 = {
		category = ship_medium_battery
		parent = ship_medium_battery_0
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			hg_attack = 4
			build_cost_ic = 600
			surface_visibility = 2
		}
		
		multiply_stats = {
			naval_speed = -0.1
			max_strength = 0.05
		}
		
		build_cost_resources = {
			steel = 1
		}
		
		add_average_stats = {
			hg_armor_piercing = 8.5
		}
		
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 700
		}
		
		can_convert_from = {
			module_category = ship_medium_battery
			convert_cost_ic = 700
		}
		
		can_convert_from = {
			module = ship_medium_battery_0
			convert_cost_ic = 200
		}

		critical_parts = { damaged_heavy_guns }
	}
	
	ship_medium_battery_2 = {
		category = ship_medium_battery
		parent = ship_medium_battery_1
		sfx = sfx_ui_sd_module_turret
		add_equipment_type = capital_ship
		add_stats = {
			hg_attack = 6.75
			build_cost_ic = 750
			surface_visibility = 3.5
		}
		multiply_stats = {
			naval_speed = -0.04
			max_strength = 0.4
		}
		add_average_stats = {
			hg_armor_piercing = 11
		}
		build_cost_resources = {
			steel = 1
		}
		can_convert_from = {
			module_category = ship_light_battery
			convert_cost_ic = 400
		}
		can_convert_from = {
			module_category = ship_medium_battery_1
			convert_cost_ic = 400
		}
		critical_parts = { damaged_heavy_guns }
	}
	ship_medium_battery_3 = {
		category = ship_medium_battery
		parent = ship_medium_battery_2
		sfx = sfx_ui_sd_module_turret

		add_equipment_type = capital_ship
		add_stats = {
			hg_attack = 7.25
			build_cost_ic = 800
			surface_visibility = 3.5
		}
		multiply_stats = {
			naval_speed = -0.06
			max_strength = 0.4
		}
		add_average_stats = {
			hg_armor_piercing = 12
		}
		build_cost_resources = {
			steel = 1
		}
		can_convert_from = {
			module_category = ship_medium_battery
			convert_cost_ic = 400
		}
		can_convert_from = {
			module = ship_medium_battery_2
			convert_cost_ic = 300
		}
		critical_parts = { damaged_heavy_guns }
	}
	ship_medium_battery_4 = {
		category = ship_medium_battery
		parent = ship_medium_battery_3
		add_equipment_type = capital_ship
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			hg_attack = 7.75
			build_cost_ic = 825
			surface_visibility = 3.5
		}
		multiply_stats = {
			naval_speed = -0.07
			max_strength = 0.4
		}
		add_average_stats = {
			hg_armor_piercing = 13
		}
		build_cost_resources = {
			steel = 2
		}
		can_convert_from = {
			module_category = ship_medium_battery
			convert_cost_ic = 500
			convert_cost_resources = {
				steel = 2
			}
		}
		can_convert_from = {
			module = ship_medium_battery_3
			convert_cost_ic = 350
			convert_cost_resources = {
				steel = 1
			}
		}
		critical_parts = { damaged_heavy_guns }
	}
	ship_medium_battery_5 = {
		category = ship_medium_battery
		parent = ship_medium_battery_4
		add_equipment_type = capital_ship
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			hg_attack = 9
			build_cost_ic = 900
			surface_visibility = 3.5
		}
		multiply_stats = {
			naval_speed = -0.08
			max_strength = 0.4
		}
		add_average_stats = {
			hg_armor_piercing = 14
		}
		build_cost_resources = {
			steel = 2
		}
		can_convert_from = {
			module_category = ship_medium_battery
			convert_cost_ic = 600
			convert_cost_resources = {
				steel = 2
			}
		}
		can_convert_from = {
			module = ship_medium_battery_4
			convert_cost_ic = 400
		}
		critical_parts = { damaged_heavy_guns }
	}
#	ship_medium_battery_6 = {
#		category = ship_medium_battery
#		parent = ship_medium_battery_5
#		add_equipment_type = capital_ship
#		sfx = sfx_ui_sd_module_turret
#
#		add_stats = {
#			hg_attack = 9.75
#			build_cost_ic = 975
#			surface_visibility = 3.5
#		}
#		multiply_stats = {
#			naval_speed = -0.08
#			max_strength = 0.4
#		}
#		add_average_stats = {
#			hg_armor_piercing = 15
#		}
#		build_cost_resources = {
#			steel = 2
#		}
#		can_convert_from = {
#			module_category = ship_medium_battery
#			convert_cost_ic = 600
#			convert_cost_resources = {
#				steel = 2
#			}
#		}
#		can_convert_from = {
#			module = ship_medium_battery_5
#			convert_cost_ic = 400
#		}
#		critical_parts = { damaged_heavy_guns }
#	}
#	
	#Heavy Batteries
	ship_turret_heavy_0 = {
		category = ship_heavy_battery
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			hg_attack = 3.5
			build_cost_ic = 575
		}
		
		multiply_stats = {
			naval_speed = -0.025
			max_strength = 0.025
		}
		
		build_cost_resources = {
			iron = 1
		}
		
		add_average_stats = {
			hg_armor_piercing = 8
		}
		
		can_convert_from = {
			module_category = ship_heavy_battery
			convert_cost_ic = 750
		}

		critical_parts = { damaged_heavy_guns }
	}
	
	ship_heavy_battery_0 = {
		category = ship_heavy_battery
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			hg_attack = 8
			build_cost_ic = 900
		}
		
		multiply_stats = {
			naval_speed = -0.1
			max_strength = 0.05
		}
		
		build_cost_resources = {
			steel = 1
		}
		
		add_average_stats = {
			hg_armor_piercing = 15
		}
		
		can_convert_from = {
			module_category = ship_heavy_battery
			convert_cost_ic = 1000
		}

		critical_parts = { damaged_heavy_guns }
	}
	
	ship_heavy_battery_1 = {
		category = ship_heavy_battery
		parent = ship_heavy_battery_0
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			hg_attack = 10
			build_cost_ic = 1000
		}
		
		multiply_stats = {
			naval_speed = -0.1
			max_strength = 0.05
		}
		
		build_cost_resources = {
			steel = 1
		}
		
		add_average_stats = {
			hg_armor_piercing = 17
		}
		
		can_convert_from = {
			module_category = ship_heavy_battery
			convert_cost_ic = 1100
		}
		
		can_convert_from = {
			module = ship_heavy_battery_0
			convert_cost_ic = 400
		}

		critical_parts = { damaged_heavy_guns }
	}

	ship_heavy_battery_2 = {
		category = ship_heavy_battery
		parent = ship_heavy_battery_1
		sfx = sfx_ui_sd_module_turret
		add_equipment_type = capital_ship
		
		add_stats = {
			
			hg_attack = 11
			build_cost_ic = 1275
		}
		multiply_stats = {
			naval_speed = -0.05
		}
		add_average_stats = {
			hg_armor_piercing = 31
		}
		build_cost_resources = {
			steel = 1
		}
		can_convert_from = {
			module_category = ship_heavy_battery
			convert_cost_ic = 700
		}
		critical_parts = { damaged_heavy_guns }
	}

	ship_heavy_battery_3 = {
		category = ship_heavy_battery
		parent = ship_heavy_battery_2
		sfx = sfx_ui_sd_module_turret
		add_equipment_type = capital_ship
		
		add_stats = {
			hg_attack = 12
			build_cost_ic = 1350
		}
		multiply_stats = {
			naval_speed = -0.08
		}
		add_average_stats = {
			hg_armor_piercing = 36
		}
		build_cost_resources = {
			steel = 1
		}
		can_convert_from = {
			module_category = ship_heavy_battery
			convert_cost_ic = 900
		}
		
		can_convert_from = {
			module = ship_heavy_battery_2
			convert_cost_ic = 600
		}
		critical_parts = { damaged_heavy_guns }
	}

	ship_heavy_battery_4 = {
		category = ship_heavy_battery
		parent = ship_heavy_battery_3
		sfx = sfx_ui_sd_module_turret
		add_equipment_type = capital_ship
		
		add_stats = {
			hg_attack = 13
			build_cost_ic = 1450
		}
		multiply_stats = {
			naval_speed = -0.09
		}
		add_average_stats = {
			hg_armor_piercing = 40
		}
		build_cost_resources = {
			steel = 1
		}
		can_convert_from = {
			module_category = ship_heavy_battery
			convert_cost_ic = 1200
		}
		
		can_convert_from = {
			module = ship_heavy_battery_3
			convert_cost_ic = 600
		}
		critical_parts = { damaged_heavy_guns }
	}

	ship_heavy_battery_5 = {
		category = ship_heavy_battery
		parent = ship_heavy_battery_4
		sfx = sfx_ui_sd_module_turret
		add_equipment_type = capital_ship
		
		add_stats = {
			
			hg_attack = 15
			build_cost_ic = 1650
			
		}
		multiply_stats = {
			naval_speed = -0.10
		}
		add_average_stats = {
			hg_armor_piercing = 43
		}
		build_cost_resources = {
			steel = 1
			chromium = 1
		}
		can_convert_from = {
			module_category = ship_heavy_battery
			convert_cost_ic = 1800
		}
		
		can_convert_from = {
			module = ship_heavy_battery_4
			convert_cost_ic = 800
		}
		critical_parts = { damaged_heavy_guns }
	}
	
#	ship_heavy_battery_6 = {
#		category = ship_heavy_battery
#		parent = ship_heavy_battery_5
#		sfx = sfx_ui_sd_module_turret
#		add_equipment_type = capital_ship
#		
#		add_stats = {
#			
#			hg_attack = 17
#			build_cost_ic = 1850
#			
#		}
#		multiply_stats = {
#			naval_speed = -0.10
#		}
#		add_average_stats = {
#			hg_armor_piercing = 43
#		}
#		build_cost_resources = {
#			steel = 1
#			chromium = 1
#		}
#		can_convert_from = {
#			module_category = ship_heavy_battery
#			convert_cost_ic = 2000
#		}
#		
#		can_convert_from = {
#			module = ship_heavy_battery_5
#			convert_cost_ic = 800
#		}
#		critical_parts = { damaged_heavy_guns }
#	}

	#Super-Heavy Batteries
	
	ship_superheavy_battery_1 = {
		category = ship_heavy_battery
		add_equipment_type = capital_ship
		add_stats = {
			
			hg_attack = 17
			build_cost_ic = 1850
			
		}
		multiply_stats = {
			naval_speed = -0.10
		}
		add_average_stats = {
			hg_armor_piercing = 43
		}
		build_cost_resources = {
			steel = 1
			chromium = 1
		}
		can_convert_from = {
			module_category = ship_heavy_battery
			convert_cost_ic = 2000
		}
		
		can_convert_from = {
			module = ship_heavy_battery_5
			convert_cost_ic = 800
		}
		critical_parts = { damaged_heavy_guns }
	}
	
	ship_superheavy_battery_2 = {
		category = ship_heavy_battery
		add_equipment_type = capital_ship
		add_stats = {
			
			hg_attack = 17
			build_cost_ic = 1850
			
		}
		multiply_stats = {
			naval_speed = -0.10
		}
		add_average_stats = {
			hg_armor_piercing = 43
		}
		build_cost_resources = {
			steel = 1
			chromium = 1
		}
		can_convert_from = {
			module_category = ship_heavy_battery
			convert_cost_ic = 2000
		}
		
		can_convert_from = {
			module = ship_heavy_battery_5
			convert_cost_ic = 800
		}
		critical_parts = { damaged_heavy_guns }
	}
	
	ship_superheavy_battery_3 = {
		category = ship_heavy_battery
		add_equipment_type = capital_ship
		add_stats = {
			
			hg_attack = 17
			build_cost_ic = 1850
			
		}
		multiply_stats = {
			naval_speed = -0.10
		}
		add_average_stats = {
			hg_armor_piercing = 43
		}
		build_cost_resources = {
			steel = 1
			chromium = 1
		}
		can_convert_from = {
			module_category = ship_heavy_battery
			convert_cost_ic = 2000
		}
		
		can_convert_from = {
			module = ship_heavy_battery_5
			convert_cost_ic = 800
		}
		critical_parts = { damaged_heavy_guns }
	}	
	
#	ship_uranium_shells = {
#		category = ship_heavy_battery
#		add_equipment_type = capital_ship
#		add_stats = {
#			
#			hg_attack = 17
#			build_cost_ic = 1850
#			
#		}
#		multiply_stats = {
#			naval_speed = -0.10
#		}
#		add_average_stats = {
#			hg_armor_piercing = 43
#		}
#		build_cost_resources = {
#			steel = 1
#			chromium = 1
#		}
#		can_convert_from = {
#			module_category = ship_heavy_battery
#			convert_cost_ic = 2000
#		}
#		
#		can_convert_from = {
#			module = ship_heavy_battery_5
#			convert_cost_ic = 800
#		}
#		critical_parts = { damaged_heavy_guns }
#	}	
	
	#Anti-Air
	
	ship_anti_air_0 = {
		category = ship_anti_air
		sfx = sfx_ui_sd_module_turret
		add_equipment_type = anti_air
		
		add_stats = {
			anti_air_attack = 0.5
			build_cost_ic = 100
		}
		
		multiply_stats = {
			build_cost_ic = 0.025
			anti_air_attack = 0.075
		}

		can_convert_from = {
			module_category = ship_anti_air
			convert_cost_ic = 150
		}
	}
	
	ship_anti_air_1 = {
		category = ship_anti_air
		sfx = sfx_ui_sd_module_turret
		add_equipment_type = anti_air
		
		add_stats = {
			anti_air_attack = 0.8
			build_cost_ic = 125
		}
		
		multiply_stats = {
			build_cost_ic = 0.025
			anti_air_attack = 0.1
		}

		can_convert_from = {
			module_category = ship_anti_air
			convert_cost_ic = 175
		}
	}
	
	ship_anti_air_2 = {
		category = ship_anti_air
		sfx = sfx_ui_sd_module_turret
		add_equipment_type = anti_air
		
		add_stats = {
			anti_air_attack = 1.2
			build_cost_ic = 150
		}
		
		multiply_stats = {
			build_cost_ic = 0.025
			anti_air_attack = 0.125
		}

		can_convert_from = {
			module_category = ship_anti_air
			convert_cost_ic = 200
		}
	}
	
	ship_anti_air_3 = {
		category = ship_anti_air
		sfx = sfx_ui_sd_module_turret
		add_equipment_type = anti_air
		
		add_stats = {
			anti_air_attack = 1.6
			build_cost_ic = 175
		}
		
		multiply_stats = {
			build_cost_ic = 0.025
			anti_air_attack = 0.15
		}

		can_convert_from = {
			module_category = ship_anti_air
			convert_cost_ic = 225
		}
	}
	
#	ship_anti_air_6 = {
#		category = ship_anti_air
#		sfx = sfx_ui_sd_module_turret
#		add_equipment_type = anti_air
#		
#		add_stats = {
#			anti_air_attack = 2.6
#			build_cost_ic = 250
#		}
#		
#		multiply_stats = {
#			build_cost_ic = 0.030
#			anti_air_attack = 0.22
#		}
#
#		can_convert_from = {
#			module_category = ship_anti_air
#			convert_cost_ic = 300
#		}
#	}	
#
#	ship_anti_air_7 = {
#		category = ship_anti_air
#		sfx = sfx_ui_sd_module_turret
#		add_equipment_type = anti_air
#		
#		add_stats = {
#			anti_air_attack = 3
#			build_cost_ic = 275
#		}
#		
#		multiply_stats = {
#			build_cost_ic = 0.030
#			anti_air_attack = 0.25
#		}
#
#		can_convert_from = {
#			module_category = ship_anti_air
#			convert_cost_ic = 325
#		}
#	}
#
#	ship_anti_air_8 = {
#		category = ship_anti_air
#		sfx = sfx_ui_sd_module_turret
#		add_equipment_type = anti_air
#		
#		add_stats = {
#			anti_air_attack = 3.4
#			build_cost_ic = 300
#		}
#		
#		multiply_stats = {
#			build_cost_ic = 0.032
#			anti_air_attack = 0.28
#		}
#
#		can_convert_from = {
#			module_category = ship_anti_air
#			convert_cost_ic = 350
#		}
#	}
#
#	ship_anti_air_9 = {
#		category = ship_anti_air
#		sfx = sfx_ui_sd_module_turret
#		add_equipment_type = anti_air
#		
#		add_stats = {
#			anti_air_attack = 3.6
#			build_cost_ic = 325
#		}
#		
#		multiply_stats = {
#			build_cost_ic = 0.035
#			anti_air_attack = 0.3
#		}
#
#		can_convert_from = {
#			module_category = ship_anti_air
#			convert_cost_ic = 375
#		}
#	}
#
#	ship_anti_air_10 = {
#		category = ship_anti_air
#		sfx = sfx_ui_sd_module_turret
#		add_equipment_type = anti_air
#		
#		add_stats = {
#			anti_air_attack = 3.8
#			build_cost_ic = 345
#		}
#		
#		multiply_stats = {
#			build_cost_ic = 0.038
#			anti_air_attack = 0.35
#		}
#
#		can_convert_from = {
#			module_category = ship_anti_air
#			convert_cost_ic = 400
#		}
#	}	
#	
#	ship_anti_air_11 = {
#		category = ship_anti_air
#		sfx = sfx_ui_sd_module_turret
#		add_equipment_type = anti_air
#		
#		add_stats = {
#			anti_air_attack = 4
#			build_cost_ic = 355
#		}
#		
#		multiply_stats = {
#			build_cost_ic = 0.04
#			anti_air_attack = 0.38
#		}
#
#		can_convert_from = {
#			module_category = ship_anti_air
#			convert_cost_ic = 425
#		}
#	}		
	
	#Secondaries
	
	ship_secondary_guns_0 = {
		category = ship_secondaries
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 0.5
			build_cost_ic = 30
		}
		
		add_average_stats = {
			lg_armor_piercing = 0.2
		}
		
		can_convert_from = {
			module_category = ship_secondaries
			convert_cost_ic = 30
		}
		critical_parts = { damaged_secondaries }
	}
	
	ship_secondary_guns_1 = {
		category = ship_secondaries
		parent = ship_secondary_guns_0
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 1.5
			build_cost_ic = 250
		}
		
		add_average_stats = {
			lg_armor_piercing = 2.5
		}
		
		can_convert_from = {
			module_category = ship_secondaries
			convert_cost_ic = 350
		}
		
		can_convert_from = {
			module = ship_secondary_guns_0
			convert_cost_ic = 100
		}
		
		critical_parts = { damaged_secondaries }
	}
	
	ship_secondary_guns_2 = {
		category = ship_secondaries
		parent = ship_secondary_guns_1
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 2.5
			build_cost_ic = 300
		}
		
		add_average_stats = {
			lg_armor_piercing = 4
		}
		
		can_convert_from = {
			module_category = ship_secondaries
			convert_cost_ic = 400
		}
		
		can_convert_from = {
			module = ship_secondary_guns_1
			convert_cost_ic = 100
		}
		
		critical_parts = { damaged_secondaries }
	}
	
	ship_secondary_guns_3 = {
		category = ship_secondaries
		parent = ship_secondary_guns_2
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 3.5
			build_cost_ic = 375
		}
		
		add_average_stats = {
			lg_armor_piercing = 6.5
		}
		
		can_convert_from = {
			module_category = ship_secondaries
			convert_cost_ic = 475
		}
		
		can_convert_from = {
			module = ship_secondary_guns_2
			convert_cost_ic = 100
		}
		
		critical_parts = { damaged_secondaries }
	}
	
	ship_secondary_guns_4 = {
		category = ship_secondaries
		parent = ship_secondary_guns_3
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 4.5
			build_cost_ic = 450
		}
		
		add_average_stats = {
			lg_armor_piercing = 9
		}
		
		can_convert_from = {
			module_category = ship_secondaries
			convert_cost_ic = 550
		}
		
		can_convert_from = {
			module = ship_secondary_guns_3
			convert_cost_ic = 100
		}
		
		critical_parts = { damaged_secondaries }
	}
	
	ship_secondary_guns_5 = {
		category = ship_secondaries
		parent = ship_secondary_guns_4
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 5.5
			build_cost_ic = 550
		}
		
		add_average_stats = {
			lg_armor_piercing = 10.5
		}
		
		can_convert_from = {
			module_category = ship_secondaries
			convert_cost_ic = 575
		}
		
		can_convert_from = {
			module = ship_secondary_guns_4
			convert_cost_ic = 110
		}
		
		critical_parts = { damaged_secondaries }
	}
	
	ship_secondary_guns_6 = {
		category = ship_secondaries
		parent = ship_secondary_guns_5
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 6.5
			build_cost_ic = 590
		}
		
		add_average_stats = {
			lg_armor_piercing = 11.5
		}
		
		can_convert_from = {
			module_category = ship_secondaries
			convert_cost_ic = 600
		}
		
		can_convert_from = {
			module = ship_secondary_guns_5
			convert_cost_ic = 120
		}
		
		critical_parts = { damaged_secondaries }
	}

#	ship_secondary_guns_7 = {
#		category = ship_secondaries
#		parent = ship_secondary_guns_6
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 7.5
#			build_cost_ic = 640
#		}
#		
#		add_average_stats = {
#			lg_armor_piercing = 12.5
#		}
#		
#		can_convert_from = {
#			module_category = ship_secondaries
#			convert_cost_ic = 630
#		}
#		
#		can_convert_from = {
#			module = ship_secondary_guns_6
#			convert_cost_ic = 135
#		}
#		
#		critical_parts = { damaged_secondaries }
#	}	
#	
#	ship_secondary_guns_8 = {
#		category = ship_secondaries
#		parent = ship_secondary_guns_7
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 8
#			build_cost_ic = 660
#		}
#		
#		add_average_stats = {
#			lg_armor_piercing = 14
#		}
#		
#		can_convert_from = {
#			module_category = ship_secondaries
#			convert_cost_ic = 675
#		}
#		
#		can_convert_from = {
#			module = ship_secondary_guns_7
#			convert_cost_ic = 145
#		}
#		
#		critical_parts = { damaged_secondaries }
#	}		
#	
#	ship_secondary_guns_9 = {
#		category = ship_secondaries
#		parent = ship_secondary_guns_8
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 9
#			build_cost_ic = 700
#		}
#		
#		add_average_stats = {
#			lg_armor_piercing = 15
#		}
#		
#		can_convert_from = {
#			module_category = ship_secondaries
#			convert_cost_ic = 715
#		}
#		
#		can_convert_from = {
#			module = ship_secondary_guns_8
#			convert_cost_ic = 155
#		}
#		
#		critical_parts = { damaged_secondaries }
#	}
#	
#	ship_secondary_guns_10 = {
#		category = ship_secondaries
#		parent = ship_secondary_guns_9
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 10.5
#			build_cost_ic = 760
#		}
#		
#		add_average_stats = {
#			lg_armor_piercing = 15.5
#		}
#		
#		can_convert_from = {
#			module_category = ship_secondaries
#			convert_cost_ic = 740
#		}
#		
#		can_convert_from = {
#			module = ship_secondary_guns_9
#			convert_cost_ic = 170
#		}
#		
#		critical_parts = { damaged_secondaries }
#	}
#
#	ship_secondary_guns_11 = {
#		category = ship_secondaries
#		parent = ship_secondary_guns_10
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 12
#			build_cost_ic = 795
#		}
#		
#		add_average_stats = {
#			lg_armor_piercing = 16.5
#		}
#		
#		can_convert_from = {
#			module_category = ship_secondaries
#			convert_cost_ic = 775
#		}
#		
#		can_convert_from = {
#			module = ship_secondary_guns_10
#			convert_cost_ic = 175
#		}
#		
#		critical_parts = { damaged_secondaries }
#	}
#
#	ship_secondary_guns_12 = {
#		category = ship_secondaries
#		parent = ship_secondary_guns_11
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			lg_attack = 13
#			build_cost_ic = 825
#		}
#		
#		add_average_stats = {
#			lg_armor_piercing = 18
#		}
#		
#		can_convert_from = {
#			module_category = ship_secondaries
#			convert_cost_ic = 800
#		}
#		
#		can_convert_from = {
#			module = ship_secondary_guns_11
#			convert_cost_ic = 200
#		}
#		
#		critical_parts = { damaged_secondaries }
#	}	
	
	#Torpedoes
	
	ship_torpedo_0 = {
		category = ship_torpedo
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			torpedo_attack = 7
			build_cost_ic = 100
		}
		
		critical_parts = { damaged_torpedoes }
	}
	
	ship_torpedo_1 = {
		category = ship_torpedo
		parent = ship_torpedo_0
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			torpedo_attack = 12
			build_cost_ic = 140
		}
		
		can_convert_from = {
			module = ship_torpedo_0
			convert_cost_ic = 75
		}
		
		critical_parts = { damaged_torpedoes }
	}
	
	ship_torpedo_2 = {
		category = ship_torpedo
		parent = ship_torpedo_1
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			torpedo_attack = 12
			build_cost_ic = 145
		}
		
		can_convert_from = {
			module = ship_torpedo_1
			convert_cost_ic = 80
		}
		
		critical_parts = { damaged_torpedoes }
	}	
	
	ship_torpedo_3 = {
		category = ship_torpedo
		parent = ship_torpedo_2
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			torpedo_attack = 15
			build_cost_ic = 150
		}
		
		can_convert_from = {
			module = ship_torpedo_2
			convert_cost_ic = 80
		}
		
		critical_parts = { damaged_torpedoes }
	}	
	
	ship_torpedo_4 = {
		category = ship_torpedo
		parent = ship_torpedo_3
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			torpedo_attack = 17
			build_cost_ic = 160
		}
		
		can_convert_from = {
			module = ship_torpedo_3
			convert_cost_ic = 90
		}
		
		critical_parts = { damaged_torpedoes }
	}	
	ship_torpedo_5 = {
		category = ship_torpedo
		parent = ship_torpedo_4
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			torpedo_attack = 22
			build_cost_ic = 165
		}
		
		can_convert_from = {
			module = ship_torpedo_4
			convert_cost_ic = 95
		}
		
		critical_parts = { damaged_torpedoes }
	}	
	
	ship_torpedo_6 = {
		category = ship_torpedo
		parent = ship_torpedo_5
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			torpedo_attack = 26
			build_cost_ic = 170
		}
		
		can_convert_from = {
			module = ship_torpedo_5
			convert_cost_ic = 100
		}
		
		critical_parts = { damaged_torpedoes }
	}	
	
#	ship_torpedo_7 = {
#		category = ship_torpedo
#		parent = ship_torpedo_6
#		sfx = sfx_ui_sd_module_turret
#
#		add_stats = {
#			torpedo_attack = 28
#			build_cost_ic = 175
#		}
#		
#		can_convert_from = {
#			module = ship_torpedo_6
#			convert_cost_ic = 105
#		}
#		
#		critical_parts = { damaged_torpedoes }
#	}		

#	supercavitating_torpedo = {
#		category = ship_torpedo
#		sfx = sfx_ui_sd_module_turret
#
#		add_stats = {
#			torpedo_attack = 12
#			build_cost_ic = 140
#		}
#		
#		can_convert_from = {
#			module = ship_torpedo_7
#			convert_cost_ic = 75
#		}
#		
#		critical_parts = { damaged_torpedoes }
#	}	
#		
	
	ship_torpedo_tesla = {
		category = ship_torpedo
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			torpedo_attack = 15
			build_cost_ic = 150
		}
		
		critical_parts = { damaged_torpedoes }
	}
	
	ship_torpedo_submarine_0 = {
		category = ship_torpedo_submarine
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			torpedo_attack = 6
			build_cost_ic = 75
		}
		
		critical_parts = { damaged_torpedoes }
	}
	
	ship_torpedo_submarine_1 = {
		category = ship_torpedo_submarine
		parent = ship_torpedo_submarine_0
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			torpedo_attack = 10
			build_cost_ic = 120
		}
		
		can_convert_from = {
			module = ship_torpedo_submarine_0
			convert_cost_ic = 75
		}
		
		critical_parts = { damaged_torpedoes }
	}
	
	ship_torpedo_submarine_2 = {
		category = ship_torpedo_submarine
		parent = ship_torpedo_submarine_1
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			torpedo_attack = 11
			build_cost_ic = 130
		}
		
		can_convert_from = {
			module = ship_torpedo_submarine_1
			convert_cost_ic = 85
		}
		
		critical_parts = { damaged_torpedoes }
	}	
	
	ship_torpedo_submarine_3 = {
		category = ship_torpedo_submarine
		parent = ship_torpedo_submarine_2
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			torpedo_attack = 13
			build_cost_ic = 135
		}
		
		can_convert_from = {
			module = ship_torpedo_submarine_2
			convert_cost_ic = 90
		}
		
		critical_parts = { damaged_torpedoes }
	}	
	
	ship_torpedo_submarine_4 = {
		category = ship_torpedo_submarine
		parent = ship_torpedo_submarine_3
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			torpedo_attack = 16
			build_cost_ic = 150
		}
		
		can_convert_from = {
			module = ship_torpedo_submarine_3
			convert_cost_ic = 90
		}
		
		critical_parts = { damaged_torpedoes }
	}	

	ship_torpedo_submarine_5 = {
		category = ship_torpedo_submarine
		parent = ship_torpedo_submarine_4
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			torpedo_attack = 22
			build_cost_ic = 165
		}
		
		can_convert_from = {
			module = ship_torpedo_submarine_4
			convert_cost_ic = 95
		}
		
		critical_parts = { damaged_torpedoes }
	}		
		
	ship_torpedo_submarine_6 = {
		category = ship_torpedo_submarine
		parent = ship_torpedo_submarine_5
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			torpedo_attack = 26
			build_cost_ic = 180
		}
		
		can_convert_from = {
			module = ship_torpedo_submarine_5
			convert_cost_ic = 105
		}
		
		critical_parts = { damaged_torpedoes }
	}		
	
#	ship_torpedo_submarine_7 = {
#		category = ship_torpedo_submarine
#		parent = ship_torpedo_submarine_6
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			torpedo_attack = 28
#			build_cost_ic = 190
#		}
#		
#		can_convert_from = {
#			module = ship_torpedo_submarine_6
#			convert_cost_ic = 105
#		}
#		
#		critical_parts = { damaged_torpedoes }
#	}		
		
	ship_torpedo_submarine_tesla = {
		category = ship_torpedo_submarine
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			torpedo_attack = 12
			build_cost_ic = 125
		}
		
		critical_parts = { damaged_torpedoes }
	}
	
	#Primitive Armament
	
	ship_primitive_armament_archers_0 = {
		category = ship_primitive_armament_archers
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 0.1
			build_cost_ic = 20
		}
		manpower = 10
		
		add_average_stats = {
			lg_armor_piercing = 0.05
		}
		
		can_convert_from = {
			module_category = ship_primitive_armament_archers
			convert_cost_ic = 30
		}

	}
	
	ship_primitive_armament_armed_crew_0 = {
		category = ship_primitive_armament_armed_crew
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 0.3
			build_cost_ic = 50
		}
		manpower = 30
		
		add_average_stats = {
			lg_armor_piercing = 0.1
		}
		
		multiply_stats = {
			max_strength = -0.75
		}
		
		can_convert_from = {
			module_category = ship_primitive_armament_armed_crew
			convert_cost_ic = 75
		}

	}
	
	#ASW
	
	ship_depth_charge_0 = {
		category = ship_depth_charge
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			sub_attack = 3
			build_cost_ic = 80
		}

		can_convert_from = {
			module_category = ship_depth_charge
			convert_cost_ic = 130
		}
	}
	
	ship_depth_charge_1 = {
		category = ship_depth_charge
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			sub_attack = 5
			build_cost_ic = 100
		}

		can_convert_from = {
			module_category = ship_depth_charge
			convert_cost_ic = 150
		}
	}
	
	ship_depth_charge_2 = {
		category = ship_depth_charge
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			sub_attack = 6
			build_cost_ic = 110
		}

		can_convert_from = {
			module_category = ship_depth_charge
			convert_cost_ic = 160
		}
	}
	
	ship_depth_charge_3 = {
		category = ship_depth_charge
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			sub_attack = 7
			build_cost_ic = 120
		}

		can_convert_from = {
			module_category = ship_depth_charge
			convert_cost_ic = 170
		}
	}
	ship_depth_charge_4 = {
		category = ship_depth_charge
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			sub_attack = 8
			build_cost_ic = 130
		}

		can_convert_from = {
			module_category = ship_depth_charge
			convert_cost_ic = 180
		}
	}
	ship_depth_charge_5 = {
		category = ship_depth_charge
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			sub_attack = 9
			build_cost_ic = 140
		}

		can_convert_from = {
			module_category = ship_depth_charge
			convert_cost_ic = 190
		}
	}
	
	ship_depth_charge_6 = {
		category = ship_depth_charge
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			sub_attack = 10
			build_cost_ic = 150
		}

		can_convert_from = {
			module_category = ship_depth_charge
			convert_cost_ic = 200
		}
	}
	ship_depth_charge_7 = {
		category = ship_depth_charge
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			sub_attack = 11
			build_cost_ic = 160
		}

		can_convert_from = {
			module_category = ship_depth_charge
			convert_cost_ic = 210
		}
	}
#	ship_depth_charge_8 = {
#		category = ship_depth_charge
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			sub_attack = 12
#			build_cost_ic = 170
#		}
#
#		can_convert_from = {
#			module_category = ship_depth_charge
#			convert_cost_ic = 220
#		}
#	}
#	ship_depth_charge_9 = {
#		category = ship_depth_charge
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			sub_attack = 13
#			build_cost_ic = 180
#		}
#
#		can_convert_from = {
#			module_category = ship_depth_charge
#			convert_cost_ic = 230
#		}
#	}
#	ship_depth_charge_10 = {
#		category = ship_depth_charge
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			sub_attack = 14
#			build_cost_ic = 190
#		}
#
#		can_convert_from = {
#			module_category = ship_depth_charge
#			convert_cost_ic = 240
#		}
#	}
#	ship_depth_charge_11 = {
#		category = ship_depth_charge
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			sub_attack = 15
#			build_cost_ic = 190
#		}
#
#		can_convert_from = {
#			module_category = ship_depth_charge
#			convert_cost_ic = 250
#		}
#	}
#	ship_depth_charge_12 = {
#		category = ship_depth_charge
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			sub_attack = 16
#			build_cost_ic = 200
#		}
#
#		can_convert_from = {
#			module_category = ship_depth_charge
#			convert_cost_ic = 260
#		}
#	}
#	ship_depth_charge_13 = {
#		category = ship_depth_charge
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			sub_attack = 16
#			build_cost_ic = 210
#		}
#
#		can_convert_from = {
#			module_category = ship_depth_charge
#			convert_cost_ic = 270
#		}
#	}
#	ship_depth_charge_14 = {
#		category = ship_depth_charge
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			sub_attack = 17
#			build_cost_ic = 220
#		}
#
#		can_convert_from = {
#			module_category = ship_depth_charge
#			convert_cost_ic = 280
#		}
#	}
#	ship_depth_charge_15 = {
#		category = ship_depth_charge
#		sfx = sfx_ui_sd_module_turret
#		
#		add_stats = {
#			sub_attack = 18
#			build_cost_ic = 230
#		}
#
#		can_convert_from = {
#			module_category = ship_depth_charge
#			convert_cost_ic = 290
#		}
#	}
#	#Radar/Sonar
	
	ship_radar_0 = {
		category = ship_radar
		sfx = sfx_ui_sd_module_sonar
		
		add_stats = {
			surface_detection = 3
			build_cost_ic = 100
		}
	}
	ship_radar_1 = {
		category = ship_radar
		sfx = sfx_ui_sd_module_sonar
		
		add_stats = {
			build_cost_ic = 130
			surface_detection = 5
		}
		can_convert_from = {
			module = ship_radar_0
			convert_cost_ic = 30
		}
	}
	ship_radar_2 = {
		category = ship_radar
		sfx = sfx_ui_sd_module_sonar
		
		add_stats = {
			build_cost_ic = 160
			surface_detection = 7
			sub_detection = 2
		}
		
		can_convert_from = {
			module = ship_radar_1
			convert_cost_ic = 30
		}
	}
	ship_radar_3 = {
		category = ship_radar
		sfx = sfx_ui_sd_module_sonar
		
		multiply_stats = {
			lg_attack = 0.05
			hg_attack = 0.05
			anti_air_attack = 0.05
		}
		add_stats = {
			
			surface_detection = 12
			sub_detection = 5
			build_cost_ic = 190
		}
		can_convert_from = {
			module = ship_radar_2
			convert_cost_ic = 30
		}
		can_convert_from = {
			module_category = ship_radar
			convert_cost_ic = 60
		}
	}
	ship_radar_4 = {
		category = ship_radar
		sfx = sfx_ui_sd_module_sonar

		multiply_stats = {
			lg_attack = 0.1
			hg_attack = 0.1
			anti_air_attack = 0.1
		}
		add_stats = {
			
			build_cost_ic = 210
			surface_detection = 18
			sub_detection = 10
		}
		can_convert_from = {
			module = ship_radar_3
			convert_cost_ic = 30
		}
		can_convert_from = {
			module_category = ship_radar
			convert_cost_ic = 90
		}
	}
	ship_radar_5 = {
		category = ship_radar
		sfx = sfx_ui_sd_module_sonar

		multiply_stats = {
			lg_attack = 0.1
			hg_attack = 0.1
			anti_air_attack = 0.1
		}
		add_stats = {
			
			build_cost_ic = 240
			surface_detection = 18
			sub_detection = 10
		}
		can_convert_from = {
			module = ship_radar_4
			convert_cost_ic = 30
		}
		can_convert_from = {
			module_category = ship_radar
			convert_cost_ic = 120
		}
	}
	ship_radar_6 = {
		category = ship_radar
		sfx = sfx_ui_sd_module_sonar

		multiply_stats = {
			lg_attack = 0.1
			hg_attack = 0.1
			anti_air_attack = 0.1
		}
		add_stats = {
			
			build_cost_ic = 270
			surface_detection = 18
			sub_detection = 10
		}
		can_convert_from = {
			module = ship_radar_5
			convert_cost_ic = 30
		}
		can_convert_from = {
			module_category = ship_radar
			convert_cost_ic = 150
		}
	}
	
	ship_sonar_0 = {
		category = ship_sonar
		sfx = sfx_ui_sd_module_sonar
		
		add_stats = {
			sub_detection = 2
			build_cost_ic = 50
		}
	}
	ship_sonar_1 = {
		category = ship_sonar
		gfx = ship_sonar_1
		sfx = sfx_ui_sd_module_sonar
		
		add_stats = {
			sub_detection = 4
			build_cost_ic = 65
		}
		can_convert_from = {
			module_category = ship_sonar
			convert_cost_ic = 15
		}
	}

	ship_sonar_2 = {
		category = ship_sonar
		gfx = ship_sonar_2
		sfx = sfx_ui_sd_module_sonar
		
		add_stats = {
			sub_detection = 7.0
			build_cost_ic = 80
		}
		can_convert_from = {
			module_category = ship_sonar
			convert_cost_ic = 15
		}
	}
	ship_sonar_3 = {
		category = ship_sonar
		gfx = ship_sonar_3
		sfx = sfx_ui_sd_module_sonar
		
		add_stats = {
			sub_detection = 10.0
			build_cost_ic = 95
		}
		can_convert_from = {
			module_category = ship_sonar
			convert_cost_ic = 25
		}
	}
	ship_sonar_4 = {
		category = ship_sonar
		gfx = ship_sonar_4
		sfx = sfx_ui_sd_module_sonar
		
		add_stats = {
			sub_detection = 13.0
			build_cost_ic = 95
		}
		can_convert_from = {
			module_category = ship_sonar
			convert_cost_ic = 35
		}
	}
	ship_sonar_5 = {
		category = ship_sonar
		gfx = ship_sonar_5
		sfx = sfx_ui_sd_module_sonar
		
		add_stats = {
			sub_detection = 17.0
			build_cost_ic = 110
		}
		can_convert_from = {
			module_category = ship_sonar
			convert_cost_ic = 45
		}
	}
	ship_sonar_6 = {
		category = ship_sonar
		gfx = ship_sonar_6
		sfx = sfx_ui_sd_module_sonar
		
		add_stats = {
			sub_detection = 21.0
			build_cost_ic = 125
		}
		can_convert_from = {
			module_category = ship_sonar
			convert_cost_ic = 55
		}
	}
	ship_sonar_7 = {
		category = ship_sonar
		gfx = ship_sonar_7
		sfx = sfx_ui_sd_module_sonar
		
		add_stats = {
			sub_detection = 25.0
			build_cost_ic = 140
		}
		can_convert_from = {
			module_category = ship_sonar
			convert_cost_ic = 65
		}
	}
	ship_sonar_8 = {
		category = ship_sonar
		gfx = ship_sonar_8
		sfx = sfx_ui_sd_module_sonar
		
		add_stats = {
			sub_detection = 32.0
			build_cost_ic = 160
		}
		can_convert_from = {
			module_category = ship_sonar
			convert_cost_ic = 80
		}
	}
	
	#Mine Warfare
	
	ship_mine_layer_0 = {
		category = ship_mine_layer
		gui_category = ship_mine_warfare
		gfx = ship_mine_layer
		
		add_stats = {
			mines_planting = 0.1
			build_cost_ic = 100
		}
	}
	
	ship_mine_layer_1 = {
		category = ship_mine_layer
		gui_category = ship_mine_warfare
		parent = ship_mine_layer_0
		gfx = ship_mine_layer
		
		add_stats = {
			mines_planting = 0.3
			build_cost_ic = 120
		}
		
		can_convert_from = {
			module = ship_mine_layer_0
			convert_cost_ic = 50
		}
	}
	
	ship_mine_layer_2 = {
		category = ship_mine_layer
		gui_category = ship_mine_warfare
		parent = ship_mine_layer_1
		gfx = ship_mine_layer
		
		add_stats = {
			mines_planting = 0.8
			build_cost_ic = 150
		}
		
		can_convert_from = {
			module = ship_mine_layer_1
			convert_cost_ic = 50
		}
	}
	
	ship_mine_layer_submarine_0 = {
		category = ship_mine_layer_submarine
		gui_category = ship_mine_warfare
		gfx = ship_mine_layer
		
		add_stats = {
			mines_planting = 0.5
			build_cost_ic = 150
		}
	}
	
	ship_mine_sweeper_0 = {
		category = ship_mine_warfare
		gfx = ship_mine_sweeper
		
		add_stats = {
			mines_sweeping = 0.2
			build_cost_ic = 50
		}
	}
	
	ship_mine_sweeper_1 = {
		category = ship_mine_warfare
		parent = ship_mine_sweeper_0
		gfx = ship_mine_sweeper
		
		add_stats = {
			mines_sweeping = 0.5
			build_cost_ic = 70
		}
		
		can_convert_from = {
			module = ship_mine_sweeper_0
			convert_cost_ic = 30
		}
	}
	
	ship_mine_sweeper_2 = {
		category = ship_mine_warfare
		parent = ship_mine_sweeper_1
		gfx = ship_mine_sweeper
		
		add_stats = {
			mines_sweeping = 0.8
			build_cost_ic = 90
		}
		
		can_convert_from = {
			module = ship_mine_sweeper_1
			convert_cost_ic = 30
		}
	}
	
	#Armor
	
	ship_armor_capital_hardwood_0 = {
		category = ship_capital_armor
		gfx = hardwood_capital
		
		multiply_stats = {
			build_cost_ic = 0.075
			naval_speed = -0.025
			max_strength = 0.025
		}
		
		build_cost_resources = {
			wood = 1
		}

		add_stats = {
			build_cost_ic = 150
			armor_value = 5
			surface_visibility = 7
		}
		
		dismantle_cost_ic = 2000
		
	}
	
	ship_armor_capital_hardwood_1 = {
		category = ship_capital_armor
		gfx = ship_armor_1
		
		multiply_stats = {
			build_cost_ic = 0.1
			naval_speed = -0.05
			max_strength = 0.05
			armor_value = 0.1
		}
		
		build_cost_resources = {
			wood = 2
		}

		add_stats = {
			build_cost_ic = 200
			armor_value = 8
			surface_visibility = 10
		}
		
		dismantle_cost_ic = 2000
		
	}

	ship_armor_capital_ironclad_0 = {
		category = ship_capital_armor
		gfx = ship_armor_1

		multiply_stats = {
			build_cost_ic = 0.25
			naval_speed = -0.15
			max_strength = 0.05
			armor_value = 0.2
		}

		build_cost_resources = {
			iron = 2
		}

		add_stats = {
			build_cost_ic = 300
			armor_value = 16
			surface_visibility = 13
		}
		
		dismantle_cost_ic = 2000
	}

############################################
	
	# ship_armor_capital_50_mm_0 = {
	# 	category = ship_capital_armor
	# 	gfx = ship_armor_1
		
	# 	multiply_stats = {
	# 		build_cost_ic = 0.15
	# 		naval_speed = -0.15
	# 		max_strength = 0.1
	# 		armor_value = 0.15
	# 	}
		
	# 	build_cost_resources = {
	# 		steel = 1
	# 		iron = 1
	# 	}

	# 	add_stats = {
	# 		build_cost_ic = 350
	# 		armor_value = 15
	# 		surface_visibility = 10
	# 	}
		
	# 	dismantle_cost_ic = 2000
		
	# }
	
	# ship_armor_capital_60_mm_0 = {
	# 	category = ship_capital_armor
	# 	gfx = ship_armor_1
		
	# 	multiply_stats = {
	# 		build_cost_ic = 0.20
	# 		naval_speed = -0.20
	# 		max_strength = 0.12
	# 		armor_value = 0.20
	# 	}
		
	# 	build_cost_resources = {
	# 		steel = 2
	# 		iron = 1
	# 	}

	# 	add_stats = {
	# 		build_cost_ic = 450
	# 		armor_value = 28
	# 		surface_visibility = 12
	# 	}
		
	# 	dismantle_cost_ic = 2000
		
	# }
		
	
	# ship_armor_capital_70_mm_0 = {
	# 	category = ship_capital_armor
	# 	gfx = ship_armor_1
		
	# 	multiply_stats = {
	# 		build_cost_ic = 0.25
	# 		naval_speed = -0.25
	# 		max_strength = 0.15
	# 		armor_value = 0.25
	# 	}
		
	# 	build_cost_resources = {
	# 		steel = 2
	# 		iron = 1
	# 	}

	# 	add_stats = {
	# 		build_cost_ic = 500
	# 		armor_value = 20
	# 		surface_visibility = 15
	# 	}
		
	# 	dismantle_cost_ic = 2000
		
	# }
	
	# ship_armor_capital_30_mm_0 = {
	# 	category = ship_capital_armor
	# 	gfx = ship_armor_1
		
	# 	multiply_stats = {
	# 		build_cost_ic = 0.10
	# 		naval_speed = -0.10
	# 		max_strength = 0.08
	# 		armor_value = 0.10
	# 	}
		
	# 	build_cost_resources = {
	# 		steel = 1
	# 		iron = 1
	# 	}

	# 	add_stats = {
	# 		build_cost_ic = 350
	# 		armor_value = 15
	# 		surface_visibility = 10
	# 	}
		
	# 	dismantle_cost_ic = 1800
		
	# }
	
	# ship_armor_capital_100_mm_0 = {
	# 	category = ship_capital_armor
	# 	gfx = ship_armor_1
		
	# 	multiply_stats = {
	# 		build_cost_ic = 0.30
	# 		naval_speed = -0.30
	# 		max_strength = 0.20
	# 		armor_value = 0.30
	# 	}
		
	# 	build_cost_resources = {
	# 		steel = 2
	# 		iron = 1
	# 	}

	# 	add_stats = {
	# 		build_cost_ic = 600
	# 		armor_value = 25
	# 		surface_visibility = 20
	# 	}
		
	# 	dismantle_cost_ic = 2300
		
	# }
	
	# ship_armor_capital_120_mm_0 = {
	# 	category = ship_capital_armor
	# 	gfx = ship_armor_1
		
	# 	multiply_stats = {
	# 		build_cost_ic = 0.35
	# 		naval_speed = -0.35
	# 		max_strength = 0.25
	# 		armor_value = 0.35
	# 	}
		
	# 	build_cost_resources = {
	# 		steel = 3
	# 		iron = 1
	# 	}

	# 	add_stats = {
	# 		build_cost_ic = 625
	# 		armor_value = 30
	# 		surface_visibility = 25
	# 	}
		
	# 	dismantle_cost_ic = 2500
		
	# }
	
	# ship_armor_capital_150_mm_0 = {
	# 	category = ship_capital_armor
	# 	gfx = ship_armor_1
		
	# 	multiply_stats = {
	# 		build_cost_ic = 0.40
	# 		naval_speed = -0.40
	# 		max_strength = 0.35
	# 		armor_value = 0.40
	# 	}
		
	# 	build_cost_resources = {
	# 		steel = 3
	# 		iron = 2
	# 	}

	# 	add_stats = {
	# 		build_cost_ic = 700
	# 		armor_value = 35
	# 		surface_visibility = 30
	# 	}
		
	# 	dismantle_cost_ic = 3000
		
	# }
	
	# ship_armor_capital_305_mm_0 = {
	# 	category = ship_capital_armor
	# 	gfx = ship_armor_1
		
	# 	multiply_stats = {
	# 		build_cost_ic = 0.50
	# 		naval_speed = -0.44
	# 		max_strength = 0.40
	# 		armor_value = 0.44
	# 	}
		
	# 	build_cost_resources = {
	# 		steel = 4
	# 		iron = 2
	# 	}

	# 	add_stats = {
	# 		build_cost_ic = 900
	# 		armor_value = 38
	# 		surface_visibility = 32
	# 	}
		
	# 	dismantle_cost_ic = 3200
		
	# }	
	
	# ship_armor_capital_330_mm_0 = {
	# 	category = ship_capital_armor
	# 	gfx = ship_armor_1
		
	# 	multiply_stats = {
	# 		build_cost_ic = 0.55
	# 		naval_speed = -0.48
	# 		max_strength = 0.45
	# 		armor_value = 0.46
	# 	}
		
	# 	build_cost_resources = {
	# 		steel = 4
	# 		iron = 2
	# 	}

	# 	add_stats = {
	# 		build_cost_ic = 1000
	# 		armor_value = 40
	# 		surface_visibility = 34
	# 	}
		
	# 	dismantle_cost_ic = 3350
		
	# }	
	
	# ship_armor_capital_350_mm_0 = {
	# 	category = ship_capital_armor
	# 	gfx = ship_armor_1
		
	# 	multiply_stats = {
	# 		build_cost_ic = 0.60
	# 		naval_speed = -0.50
	# 		max_strength = 0.50
	# 		armor_value = 0.50
	# 	}
		
	# 	build_cost_resources = {
	# 		steel = 4
	# 		iron = 2
	# 	}

	# 	add_stats = {
	# 		build_cost_ic = 1100
	# 		armor_value = 42
	# 		surface_visibility = 35
	# 	}
		
	# 	dismantle_cost_ic = 3450
		
	# }	

	# ship_armor_capital_380_mm_0 = {
	# 	category = ship_capital_armor
	# 	gfx = ship_armor_1
		
	# 	multiply_stats = {
	# 		build_cost_ic = 0.68
	# 		naval_speed = -0.52
	# 		max_strength = 0.55
	# 		armor_value = 0.55
	# 	}
		
	# 	build_cost_resources = {
	# 		steel = 4
	# 		iron = 3
	# 	}

	# 	add_stats = {
	# 		build_cost_ic = 1350
	# 		armor_value = 45
	# 		surface_visibility = 36
	# 	}
		
	# 	dismantle_cost_ic = 370
		
	# }		

	# ship_armor_capital_155_mm_0 = {
	# 	category = ship_capital_armor
	# 	gfx = ship_armor_1
		
	# 	multiply_stats = {
	# 		build_cost_ic = 0.41
	# 		naval_speed = -0.41
	# 		max_strength = 0.36
	# 		armor_value = 0.41
	# 	}
		
	# 	build_cost_resources = {
	# 		steel = 3
	# 		iron = 2
	# 	}

	# 	add_stats = {
	# 		build_cost_ic = 710
	# 		armor_value = 36
	# 		surface_visibility = 30
	# 	}
		
	# 	dismantle_cost_ic = 3050
		
	# }	
	
	# ship_armor_capital_130_mm_0 = {
	# 	category = ship_capital_armor
	# 	gfx = ship_armor_1
		
	# 	multiply_stats = {
	# 		build_cost_ic = 0.38
	# 		naval_speed = -0.38
	# 		max_strength = 0.33
	# 		armor_value = 0.38
	# 	}
		
	# 	build_cost_resources = {
	# 		steel = 3
	# 		iron = 2
	# 	}

	# 	add_stats = {
	# 		build_cost_ic = 690
	# 		armor_value = 33
	# 		surface_visibility = 29
	# 	}
		
	# 	dismantle_cost_ic = 2900
		
	# }		
	
############################################

	ship_armor_capital_harvey_0 = {
		category = ship_capital_armor
		gfx = ship_armor_1
		
		multiply_stats = {
			build_cost_ic = 0.1
			naval_speed = -0.1
			max_strength = 0.025
			armor_value = 0.1
		}
		
		build_cost_resources = {
			steel = 1
			iron = 1
		}

		add_stats = {
			build_cost_ic = 250
			armor_value = 8
			surface_visibility = 8
		}
		
		dismantle_cost_ic = 2000
		
	}
	
	ship_armor_capital_harvey_1 = {
		category = ship_capital_armor
		gfx = ship_armor_1
		
		multiply_stats = {
			build_cost_ic = 0.15
			naval_speed = -0.125
			max_strength = 0.05
			armor_value = 0.15
		}
		
		build_cost_resources = {
			steel = 2
			iron = 1
		}

		add_stats = {
			build_cost_ic = 350
			armor_value = 10
			surface_visibility = 10
		}
		
		dismantle_cost_ic = 2000
		
	}
	
	ship_armor_capital_krupp_0 = {
		category = ship_capital_armor
		gfx = ship_armor_1
		
		multiply_stats = {
			build_cost_ic = 0.1
			naval_speed = -0.1
			max_strength = 0.05
			armor_value = 0.125
		}
		
		build_cost_resources = {
			steel = 1
			chromium = 1
			iron = 1
		}

		add_stats = {
			build_cost_ic = 300
			armor_value = 8
			surface_visibility = 8
		}
		
		dismantle_cost_ic = 2000
		
	}
	
	ship_armor_capital_krupp_1 = {
		category = ship_capital_armor
		gfx = ship_armor_1
		
		multiply_stats = {
			build_cost_ic = 0.15
			naval_speed = -0.1
			max_strength = 0.075
			armor_value = 0.175
		}
		
		build_cost_resources = {
			steel = 2
			chromium = 1
			iron = 1
		}

		add_stats = {
			build_cost_ic = 400
			armor_value = 12
			surface_visibility = 10
		}
		
		dismantle_cost_ic = 2000
		
	}
	
	ship_armor_screen_hardwood_0 = {
		category = ship_screen_armor
		gfx = ship_armor_1
		
		multiply_stats = {
			build_cost_ic = 0.1
			naval_speed = -0.1
			max_strength = 0.05
		}
		
		build_cost_resources = {
			wood = 1
		}

		add_stats = {
			build_cost_ic = 100
			armor_value = 3
			surface_visibility = 3
		}
		
		dismantle_cost_ic = 1000
		
	}
	ship_armor_screen_ironclad_0 = {
		category = ship_screen_armor
		gfx = ship_armor_1
		
		multiply_stats = {
			build_cost_ic = 0.1
			naval_speed = -0.1
			max_strength = 0.01
			armor_value = 0.1
		}
		
		build_cost_resources = {
			iron = 1
		}

		add_stats = {
			build_cost_ic = 100
			armor_value = 3
			surface_visibility = 4
		}
		
		dismantle_cost_ic = 1000
		
	}
	
	ship_armor_screen_harvey_0 = {
		category = ship_screen_armor
		gfx = ship_armor_1
		
		multiply_stats = {
			build_cost_ic = 0.1
			naval_speed = -0.05
			max_strength = 0.025
			armor_value = 0.1
		}
		
		build_cost_resources = {
			steel = 1
			iron = 1
		}

		add_stats = {
			build_cost_ic = 20
			armor_value = 3
			surface_visibility = 5
		}
		
		dismantle_cost_ic = 1000
		
	}
	
	ship_armor_screen_krupp_0 = {
		category = ship_screen_armor
		gfx = ship_armor_1
		
		multiply_stats = {
			build_cost_ic = 0.15
			naval_speed = -0.05
			max_strength = 0.05
			armor_value = 0.15
		}
		
		build_cost_resources = {
			steel = 1
			chromium = 1
			iron = 1
		}

		add_stats = {
			build_cost_ic = 250
			armor_value = 4
			surface_visibility = 5
		}
		
		dismantle_cost_ic = 1000
		
	}
	
	#Miscellaneous
	
	ship_module_seaplane_launcher_0 = {
		category = ship_module_seaplane_launcher
		gfx = ship_airplane_launcher_1
		
		add_stats = {
			surface_detection = 5
			sub_detection = 1
			build_cost_ic = 100
		}
	}
	
	ship_module_seaplane_launcher_1 = {
		category = ship_module_seaplane_launcher
		gfx = ship_airplane_launcher_1
		
		add_stats = {
			surface_detection = 10
			sub_detection = 1
			build_cost_ic = 115
		}
	}	
	
	ship_deck_space_0 = {
		category = ship_deck_space
		gfx = ship_deck_space

		add_equipment_type = capital_ship
		add_stats = {
			carrier_size = 2
			build_cost_ic = 800
		}
		manpower = 300
		multiply_stats = {
			naval_speed = -0.05
		}
		build_cost_resources = {
			wood = 1
		}
		dismantle_cost_ic = 1000
	}
	ship_deck_space_1 = {
		category = ship_deck_space
		gfx = ship_deck_space

		add_equipment_type = capital_ship
		add_stats = {
			carrier_size = 3
			build_cost_ic = 1100
		}
		manpower = 450
		multiply_stats = {
			naval_speed = -0.08
		}
		build_cost_resources = {
			wood = 1
		}
		dismantle_cost_ic = 1100
	}
	ship_deck_space_2 = {
		category = ship_deck_space
		gfx = ship_deck_space

		add_equipment_type = capital_ship
		add_stats = {
			carrier_size = 5
			build_cost_ic = 1300
		}
		manpower = 620
		multiply_stats = {
			naval_speed = -0.1
		}
		build_cost_resources = {
			iron = 2
		}
		dismantle_cost_ic = 1500
	}
	ship_deck_space_3 = {
		category = ship_deck_space
		gfx = ship_deck_space

		add_equipment_type = capital_ship
		add_stats = {
			carrier_size = 10
			build_cost_ic = 1500
		}
		manpower = 700
		multiply_stats = {
			naval_speed = -0.15
		}
		build_cost_resources = {
			steel = 2
		}
		dismantle_cost_ic = 1700
	}	
	ship_deck_space_4 = {
		category = ship_deck_space
		gfx = ship_deck_space

		add_equipment_type = capital_ship
		add_stats = {
			carrier_size = 20
			build_cost_ic = 1700
		}
		manpower = 800
		multiply_stats = {
			naval_speed = -0.20
		}
		build_cost_resources = {
			steel = 2
		}
		dismantle_cost_ic = 1900
	}
	ship_deck_space_5 = {
		category = ship_deck_space
		gfx = ship_deck_space

		add_equipment_type = capital_ship
		add_stats = {
			carrier_size = 30
			build_cost_ic = 1900
		}
		manpower = 900
		multiply_stats = {
			naval_speed = -0.30
		}
		build_cost_resources = {
			steel = 2
		}
		dismantle_cost_ic = 2100
	}
	
	ship_module_ram_0 = {
		category = ship_module_ram
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			lg_attack = 4
			hg_attack = 3
			build_cost_ic = 500
		}
		
		multiply_stats = {
			naval_speed = -0.1
			max_strength = -0.5
		}
		
		add_average_stats = {
			lg_armor_piercing = 5
			hg_armor_piercing = 5
			armor_value = 5
			max_strength = 10
		}
		
		build_cost_resources = {
			iron = 1
		}
		
		can_convert_from = {
			module_category = ship_module_ram
			convert_cost_ic = 500
		}
		
	}
	
	ship_sub_snorkel_0 = {
		category = ship_sub_snorkel
		gfx = ship_sub_snorkel_1
		
		multiply_stats = {
			sub_visibility = -0.05
		}
		
		add_stats = {
			build_cost_ic = 50
		}
	}
	
	mtg_missile_pods = {
		category = ship_sub_snorkel
		gfx = ship_sub_snorkel_1
		
		multiply_stats = {
			sub_visibility = -0.05
		}
		
		add_stats = {
			build_cost_ic = 50
		}
	}	
	
	#mtg_improved_missile_pods = {
	#	category = ship_sub_snorkel
	#	gfx = ship_sub_snorkel_1
	#	
	#	multiply_stats = {
	#		sub_visibility = -0.05
	#	}
	#	
	#	add_stats = {
	#		build_cost_ic = 50
	#	}
	#}
}