### Engines ###
#turbine engines
helicopter_turbine_engine_gen1 = {
	abbreviation = "hte1"
	category = helicopter_turbine_engine_type
	sfx = sfx_ui_sd_module_engine
	add_stats = {
		build_cost_ic = 8
		fuel_consumption = 10
		maximum_speed = 40
	}
	can_convert_from = {
		module_category = helicopter_turbine_engine_type
		convert_cost_ic = 1.25
	}
	can_convert_from = {
		module_category = helicopter_piston_engine_type
		convert_cost_ic = 1.25
	}
	build_cost_resources = {
		aluminium = 1
	}
	xp_cost = 3
}

helicopter_turbine_engine_gen2 = {
	abbreviation = "hte2"
	category = helicopter_turbine_engine_type
	sfx = sfx_ui_sd_module_engine
	parent = helicopter_turbine_engine_gen1
	add_stats = {
		build_cost_ic = 10
		fuel_consumption = 12
		maximum_speed = 50
	}
	can_convert_from = {
		module_category = helicopter_turbine_engine_type
		convert_cost_ic = 1.5
	}
	can_convert_from = {
		module_category = helicopter_piston_engine_type
		convert_cost_ic = 1.5
	}
	build_cost_resources = {
		aluminium = 1
	}
	xp_cost = 3
}

helicopter_turbine_engine_gen3 = {
	abbreviation = "hte3"
	category = helicopter_turbine_engine_type
	sfx = sfx_ui_sd_module_engine
	parent = helicopter_turbine_engine_gen2
	add_stats = {
		build_cost_ic = 12
		fuel_consumption = 14
		maximum_speed = 60
	}
	can_convert_from = {
		module_category = helicopter_turbine_engine_type
		convert_cost_ic = 1.75
	}
	can_convert_from = {
		module_category = helicopter_piston_engine_type
		convert_cost_ic = 1.75
	}
	build_cost_resources = {
		aluminium = 1
	}
	xp_cost = 3
}

helicopter_turbine_engine_gen4 = {
	abbreviation = "hte4"
	category = helicopter_turbine_engine_type
	sfx = sfx_ui_sd_module_engine
	parent = helicopter_turbine_engine_gen3
	add_stats = {
		build_cost_ic = 14
		fuel_consumption = 16
		maximum_speed = 70
	}
	can_convert_from = {
		module_category = helicopter_turbine_engine_type
		convert_cost_ic = 2
	}
	can_convert_from = {
		module_category = helicopter_piston_engine_type
		convert_cost_ic = 2
	}
	build_cost_resources = {
		aluminium = 1
	}
	xp_cost = 3
}

helicopter_turbine_engine_gen5 = {
	abbreviation = "hte5"
	category = helicopter_turbine_engine_type
	sfx = sfx_ui_sd_module_engine
	parent = helicopter_turbine_engine_gen4
	add_stats = {
		build_cost_ic = 16
		fuel_consumption = 18
		maximum_speed = 80
	}
	can_convert_from = {
		module_category = helicopter_turbine_engine_type
		convert_cost_ic = 2.25
	}
	can_convert_from = {
		module_category = helicopter_piston_engine_type
		convert_cost_ic = 2.25
	}
	build_cost_resources = {
		aluminium = 1
	}
	xp_cost = 3
}

#piston engines
helicopter_piston_engine_gen1 = {
	abbreviation = "hpe1"
	category = helicopter_piston_engine_type
	sfx = sfx_ui_sd_module_engine
	add_stats = {
		build_cost_ic = 4
		fuel_consumption = 7
		maximum_speed = 30
		reliability = -0.2
	}
	multiply_stats = {
		breakthrough = -0.3
		defense = -0.3
	}
	can_convert_from = {
		module_category = helicopter_turbine_engine_type
		convert_cost_ic = 0.75
	}
	can_convert_from = {
		module_category = helicopter_piston_engine_type
		convert_cost_ic = 0.75
	}
	xp_cost = 3
}

helicopter_piston_engine_gen2 = {
	abbreviation = "hpe2"
	category = helicopter_piston_engine_type
	sfx = sfx_ui_sd_module_engine
	parent = helicopter_piston_engine_gen1
	add_stats = {
		build_cost_ic = 5
		fuel_consumption = 8.5
		maximum_speed = 37.5
		reliability = -0.2
	}
	multiply_stats = {
		breakthrough = -0.275
		defense = -0.275
	}
	can_convert_from = {
		module_category = helicopter_turbine_engine_type
		convert_cost_ic = 1
	}
	can_convert_from = {
		module_category = helicopter_piston_engine_type
		convert_cost_ic = 1
	}
	xp_cost = 3
}

helicopter_piston_engine_gen3 = {
	abbreviation = "hpe3"
	category = helicopter_piston_engine_type
	sfx = sfx_ui_sd_module_engine
	parent = helicopter_piston_engine_gen2
	add_stats = {
		build_cost_ic = 6
		fuel_consumption = 10
		maximum_speed = 45
		reliability = -0.2
	}
	multiply_stats = {
		breakthrough = -0.25
		defense = -0.25
	}
	can_convert_from = {
		module_category = helicopter_turbine_engine_type
		convert_cost_ic = 1.25
	}
	can_convert_from = {
		module_category = helicopter_piston_engine_type
		convert_cost_ic = 1.25
	}
	xp_cost = 3
}

helicopter_piston_engine_gen4 = {
	abbreviation = "hpe4"
	category = helicopter_piston_engine_type
	sfx = sfx_ui_sd_module_engine
	parent = helicopter_piston_engine_gen3
	add_stats = {
		build_cost_ic = 7
		fuel_consumption = 11.5
		maximum_speed = 52.5
		reliability = -0.2
	}
	multiply_stats = {
		breakthrough = -0.225
		defense = -0.225
	}
	can_convert_from = {
		module_category = helicopter_turbine_engine_type
		convert_cost_ic = 1.5
	}
	can_convert_from = {
		module_category = helicopter_piston_engine_type
		convert_cost_ic = 1.5
	}
	xp_cost = 3
}

helicopter_piston_engine_gen5 = {
	abbreviation = "hpe5"
	category = helicopter_piston_engine_type
	sfx = sfx_ui_sd_module_engine
	parent = helicopter_piston_engine_gen4
	add_stats = {
		build_cost_ic = 8
		fuel_consumption = 13
		maximum_speed = 60
		reliability = -0.2
	}
	multiply_stats = {
		breakthrough = -0.2
		defense = -0.2
	}
	can_convert_from = {
		module_category = helicopter_turbine_engine_type
		convert_cost_ic = 1.75
	}
	can_convert_from = {
		module_category = helicopter_piston_engine_type
		convert_cost_ic = 1.75
	}
	xp_cost = 3
}

### Helicopter main Armament ###
#ATGM
helicopter_atgm_gen1 = {
	abbreviation = "hag1"
	category = helicopter_atgm_type
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		build_cost_ic = 4
		hard_attack = 10
		reliability = -0.05
		maximum_speed = -1.2
	}
	add_average_stats = {
		ap_attack = 25
	}
	can_convert_from = {
		module_category = helicopter_atgm_type
		convert_cost_ic = 1
	}
	can_convert_from = {
		module_category = helicopter_rockets_type
		convert_cost_ic = 1
	}
	xp_cost = 3
}

helicopter_atgm_gen2 = {
	abbreviation = "hag2"
	category = helicopter_atgm_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_atgm_gen1
	add_stats = {
		build_cost_ic = 5
		hard_attack = 12.5
		reliability = -0.05
		maximum_speed = -1.5
	}
	add_average_stats = {
		ap_attack = 30
	}
	can_convert_from = {
		module_category = helicopter_atgm_type
		convert_cost_ic = 1.25
	}
	can_convert_from = {
		module_category = helicopter_rockets_type
		convert_cost_ic = 1.25
	}
	xp_cost = 3
}

helicopter_atgm_gen3 = {
	abbreviation = "hag3"
	category = helicopter_atgm_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_atgm_gen2
	add_stats = {
		build_cost_ic = 6
		hard_attack = 15
		reliability = -0.05
		maximum_speed = -1.8
	}
	add_average_stats = {
		ap_attack = 35
	}
	can_convert_from = {
		module_category = helicopter_atgm_type
		convert_cost_ic = 1.5
	}
	can_convert_from = {
		module_category = helicopter_rockets_type
		convert_cost_ic = 1.5
	}
	xp_cost = 3
}

helicopter_atgm_gen4 = {
	abbreviation = "hag4"
	category = helicopter_atgm_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_atgm_gen3
	add_stats = {
		build_cost_ic = 7
		hard_attack = 17.5
		reliability = -0.05
		maximum_speed = -2.1
	}
	add_average_stats = {
		ap_attack = 40
	}
	can_convert_from = {
		module_category = helicopter_atgm_type
		convert_cost_ic = 1.75
	}
	can_convert_from = {
		module_category = helicopter_rockets_type
		convert_cost_ic = 1.75
	}
	xp_cost = 3
}

helicopter_atgm_gen5 = {
	abbreviation = "hag5"
	category = helicopter_atgm_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_atgm_gen4
	add_stats = {
		build_cost_ic = 8
		hard_attack = 20
		reliability = -0.05
		maximum_speed = -2.4
	}
	add_average_stats = {
		ap_attack = 45
	}
	can_convert_from = {
		module_category = helicopter_atgm_type
		convert_cost_ic = 2
	}
	can_convert_from = {
		module_category = helicopter_rockets_type
		convert_cost_ic = 2
	}
	xp_cost = 3
}

#Multiple ATGM
helicopter_multiple_atgm_gen1 = {
	abbreviation = "hmag1"
	category = helicopter_multiple_atgm_type
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		build_cost_ic = 8
		hard_attack = 20
		reliability = -0.2
		maximum_speed = -4
	}
	add_average_stats = {
		ap_attack = 40
	}
	can_convert_from = {
		module_category = helicopter_multiple_atgm_type
		convert_cost_ic = 4
	}
	xp_cost = 3
	build_cost_resources = {
		tungsten = 1
	}
}

helicopter_multiple_atgm_gen2 = {
	abbreviation = "hmag2"
	category = helicopter_multiple_atgm_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_multiple_atgm_gen1
	add_stats = {
		build_cost_ic = 10
		hard_attack = 25
		reliability = -0.2
		maximum_speed = -5
	}
	add_average_stats = {
		ap_attack = 50
	}
	can_convert_from = {
		module_category = helicopter_multiple_atgm_type
		convert_cost_ic = 5
	}
	xp_cost = 3
	build_cost_resources = {
		tungsten = 1
	}
}

helicopter_multiple_atgm_gen3 = {
	abbreviation = "hmag3"
	category = helicopter_multiple_atgm_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_multiple_atgm_gen2
	add_stats = {
		build_cost_ic = 12
		hard_attack = 30
		reliability = -0.2
		maximum_speed = -6
	}
	add_average_stats = {
		ap_attack = 60
	}
	can_convert_from = {
		module_category = helicopter_multiple_atgm_type
		convert_cost_ic = 6
	}
	xp_cost = 3
	build_cost_resources = {
		tungsten = 1
	}
}

helicopter_multiple_atgm_gen4 = {
	abbreviation = "hmag4"
	category = helicopter_multiple_atgm_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_multiple_atgm_gen3
	add_stats = {
		build_cost_ic = 14
		hard_attack = 35
		reliability = -0.2
		maximum_speed = -7
	}
	add_average_stats = {
		ap_attack = 70
	}
	can_convert_from = {
		module_category = helicopter_multiple_atgm_type
		convert_cost_ic = 7
	}
	xp_cost = 3
	build_cost_resources = {
		tungsten = 1
	}
}

helicopter_multiple_atgm_gen5 = {
	abbreviation = "hmag5"
	category = helicopter_multiple_atgm_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_multiple_atgm_gen4
	add_stats = {
		build_cost_ic = 16
		hard_attack = 40
		reliability = -0.2
		maximum_speed = -8
	}
	add_average_stats = {
		ap_attack = 80
	}
	can_convert_from = {
		module_category = helicopter_multiple_atgm_type
		convert_cost_ic = 8
	}
	xp_cost = 3
	build_cost_resources = {
		tungsten = 1
	}
}

#heavy atgms
helicopter_heavy_atgm_gen1 = {
	abbreviation = "hhag1"
	category = helicopter_heavy_atgm_type
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		build_cost_ic = 8
		hard_attack = 16
		reliability = -0.25
		maximum_speed = -6
	}
	add_average_stats = {
		ap_attack = 100
	}
	can_convert_from = {
		module_category = helicopter_heavy_atgm_type
		convert_cost_ic = 4
	}
	xp_cost = 3
	build_cost_resources = {
		tungsten = 2
	}
}

helicopter_heavy_atgm_gen2 = {
	abbreviation = "hhag2"
	category = helicopter_heavy_atgm_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_heavy_atgm_gen1
	add_stats = {
		build_cost_ic = 10
		hard_attack = 20
		reliability = -0.25
		maximum_speed = -7.5
	}
	add_average_stats = {
		ap_attack = 125
	}
	can_convert_from = {
		module_category = helicopter_heavy_atgm_type
		convert_cost_ic = 5
	}
	xp_cost = 3
	build_cost_resources = {
		tungsten = 2
	}
}

helicopter_heavy_atgm_gen3 = {
	abbreviation = "hag3"
	category = helicopter_heavy_atgm_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_heavy_atgm_gen2
	add_stats = {
		build_cost_ic = 12
		hard_attack = 24
		reliability = -0.25
		maximum_speed = -9
	}
	add_average_stats = {
		ap_attack = 150
	}
	can_convert_from = {
		module_category = helicopter_heavy_atgm_type
		convert_cost_ic = 6
	}
	xp_cost = 3
	build_cost_resources = {
		tungsten = 2
	}
}

helicopter_heavy_atgm_gen4 = {
	abbreviation = "hag4"
	category = helicopter_heavy_atgm_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_heavy_atgm_gen3
	add_stats = {
		build_cost_ic = 14
		hard_attack = 28
		reliability = -0.25
		maximum_speed = -10.5
	}
	add_average_stats = {
		ap_attack = 175
	}
	can_convert_from = {
		module_category = helicopter_heavy_atgm_type
		convert_cost_ic = 7
	}
	xp_cost = 3
	build_cost_resources = {
		tungsten = 2
	}
}

helicopter_heavy_atgm_gen5 = {
	abbreviation = "hag5"
	category = helicopter_heavy_atgm_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_heavy_atgm_gen4
	add_stats = {
		build_cost_ic = 16
		hard_attack = 32
		reliability = -0.25
		maximum_speed = -12
	}
	add_average_stats = {
		ap_attack = 200
	}
	can_convert_from = {
		module_category = helicopter_heavy_atgm_type
		convert_cost_ic = 8
	}
	xp_cost = 3
	build_cost_resources = {
		tungsten = 2
	}
}

##Rockets##
helicopter_rocket_pod_gen1 = {
	abbreviation = "hrg1"
	category = helicopter_rockets_type
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		build_cost_ic = 2
		soft_attack = 15
		reliability = -0.05
		maximum_speed = -1.2
	}
	can_convert_from = {
		module_category = helicopter_atgm_type
		convert_cost_ic = 0.75
	}
	can_convert_from = {
		module_category = helicopter_rockets_type
		convert_cost_ic = 0.75
	}
	xp_cost = 3
	build_cost_resources = {
		aluminium = 1
	}
}

helicopter_rocket_pod_gen2 = {
	abbreviation = "hrg2"
	category = helicopter_rockets_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_rocket_pod_gen1
	add_stats = {
		build_cost_ic = 2.4
		soft_attack = 18
		reliability = -0.05
		maximum_speed = -1.5
	}
	can_convert_from = {
		module_category = helicopter_atgm_type
		convert_cost_ic = 0.9
	}
	can_convert_from = {
		module_category = helicopter_rockets_type
		convert_cost_ic = 0.9
	}
	xp_cost = 3
	build_cost_resources = {
		aluminium = 1
	}
}

helicopter_rocket_pod_gen3 = {
	abbreviation = "hrg3"
	category = helicopter_rockets_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_rocket_pod_gen2
	add_stats = {
		build_cost_ic = 2.8
		soft_attack = 21
		reliability = -0.05
		maximum_speed = -1.8
	}
	can_convert_from = {
		module_category = helicopter_atgm_type
		convert_cost_ic = 1.05
	}
	can_convert_from = {
		module_category = helicopter_rockets_type
		convert_cost_ic = 1.05
	}
	xp_cost = 3
	build_cost_resources = {
		aluminium = 1
	}
}

helicopter_rocket_pod_gen4 = {
	abbreviation = "hrg4"
	category = helicopter_rockets_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_rocket_pod_gen3
	add_stats = {
		build_cost_ic = 3.2
		soft_attack = 24
		reliability = -0.05
		maximum_speed = -2.1
	}
	can_convert_from = {
		module_category = helicopter_atgm_type
		convert_cost_ic = 1.2
	}
	can_convert_from = {
		module_category = helicopter_rockets_type
		convert_cost_ic = 1.2
	}
	xp_cost = 3
	build_cost_resources = {
		aluminium = 1
	}
}

helicopter_rocket_pod_gen5 = {
	abbreviation = "hrg5"
	category = helicopter_rockets_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_rocket_pod_gen4
	add_stats = {
		build_cost_ic = 3.6
		soft_attack = 27
		reliability = -0.05
		maximum_speed = -2.4
	}
	can_convert_from = {
		module_category = helicopter_atgm_type
		convert_cost_ic = 1.35
	}
	can_convert_from = {
		module_category = helicopter_rockets_type
		convert_cost_ic = 1.35
	}
	xp_cost = 3
	build_cost_resources = {
		aluminium = 1
	}
}

##Gun Pods##
helicopter_gun_pod_gen1 = {
	abbreviation = "hgg1"
	category = helicopter_gun_pods_type
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		build_cost_ic = 1.2
		soft_attack = 5
		reliability = -0.05
		maximum_speed = -0.8
	}
	xp_cost = 3
}

helicopter_gun_pod_gen2 = {
	abbreviation = "hgg2"
	category = helicopter_gun_pods_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_gun_pod_gen1
	add_stats = {
		build_cost_ic = 1.5
		soft_attack = 7.5
		reliability = -0.05
		maximum_speed = -0.9
	}
	xp_cost = 3
}

helicopter_gun_pod_gen3 = {
	abbreviation = "hgg3"
	category = helicopter_gun_pods_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_gun_pod_gen2
	add_stats = {
		build_cost_ic = 1.8
		soft_attack = 9
		reliability = -0.05
		maximum_speed = -1
	}
	xp_cost = 3
}

helicopter_gun_pod_gen4 = {
	abbreviation = "hgg4"
	category = helicopter_gun_pods_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_gun_pod_gen3
	add_stats = {
		build_cost_ic = 2.1
		soft_attack = 10.5
		reliability = -0.05
		maximum_speed = -1.1
	}
	xp_cost = 3
}

helicopter_gun_pod_gen5 = {
	abbreviation = "hgg5"
	category = helicopter_gun_pods_type
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_gun_pod_gen4
	add_stats = {
		build_cost_ic = 2.4
		soft_attack = 12
		reliability = -0.05
		maximum_speed = -1.2
	}
	xp_cost = 3
}

##AA missiles##
helicopter_aa_missile_gen1 = {
	abbreviation = "ham1"
	category = helicopter_wing_armament
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		build_cost_ic = 3
		air_attack = 4
		reliability = -0.05
		maximum_speed = -1
	}
	xp_cost = 3
}

helicopter_aa_missile_gen2 = {
	abbreviation = "ham2"
	category = helicopter_wing_armament
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_aa_missile_gen1
	add_stats = {
		build_cost_ic = 4
		air_attack = 6
		reliability = -0.05
		maximum_speed = -1.5
	}
	xp_cost = 3
}

helicopter_aa_missile_gen3 = {
	abbreviation = "ham3"
	category = helicopter_wing_armament
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_aa_missile_gen2
	add_stats = {
		build_cost_ic = 5
		air_attack = 8
		reliability = -0.05
		maximum_speed = -2
	}
	xp_cost = 3
}

##drones##
helicopter_drones_gen1 = {
	abbreviation = "hdg1"
	category = helicopter_wing_armament
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		build_cost_ic = 6
		soft_attack = 5
		hard_attack = 15
		reliability = -0.3
		maximum_speed = -4
	}
	xp_cost = 3
}

helicopter_drones_gen2 = {
	abbreviation = "hdg2"
	category = helicopter_wing_armament
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_drones_gen1
	add_stats = {
		build_cost_ic = 7.5
		soft_attack = 7.5
		hard_attack = 20
		reliability = -0.25
		maximum_speed = -5
	}
	xp_cost = 3
}

helicopter_drones_gen3 = {
	abbreviation = "hdg3"
	category = helicopter_wing_armament
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_drones_gen2
	add_stats = {
		build_cost_ic = 9
		soft_attack = 9
		hard_attack = 25
		reliability = -0.2
		maximum_speed = -3
	}
	xp_cost = 3
}

### Nose guns ###
#light guns (12.7 mm)
helicopter_light_nose_gun_gen1 = {
	abbreviation = "lng1"
	category = helicopter_light_nose_gun
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		build_cost_ic = 1
		soft_attack = 4
	}
	xp_cost = 3
}

helicopter_light_nose_gun_gen2 = {
	abbreviation = "lng2"
	category = helicopter_light_nose_gun
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_light_nose_gun_gen1
	add_stats = {
		build_cost_ic = 1.5
		soft_attack = 6
	}
	xp_cost = 3
}

helicopter_light_nose_gun_gen3 = {
	abbreviation = "lng3"
	category = helicopter_light_nose_gun
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_light_nose_gun_gen2
	add_stats = {
		build_cost_ic = 2
		soft_attack = 8
	}
	xp_cost = 3
}

#medium guns (20 mm)
helicopter_medium_nose_gun_gen1 = {
	abbreviation = "mng1"
	category = helicopter_medium_nose_gun
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		build_cost_ic = 3
		soft_attack = 7.5
		hard_attack = 2
		maximum_speed = -2
	}
	xp_cost = 3
}

helicopter_medium_nose_gun_gen2 = {
	abbreviation = "mng2"
	category = helicopter_medium_nose_gun
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_medium_nose_gun_gen1
	add_stats = {
		build_cost_ic = 4
		soft_attack = 10
		hard_attack = 3
		maximum_speed = -2
	}
	xp_cost = 3
}

helicopter_medium_nose_gun_gen3 = {
	abbreviation = "mng3"
	category = helicopter_medium_nose_gun
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_medium_nose_gun_gen2
	add_stats = {
		build_cost_ic = 5
		soft_attack = 12.5
		hard_attack = 4
		maximum_speed = -2
	}
	xp_cost = 3
}

#heavy guns (30 mm)
helicopter_heavy_nose_gun_gen1 = {
	abbreviation = "mng1"
	category = helicopter_heavy_nose_gun
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		build_cost_ic = 5
		soft_attack = 10
		hard_attack = 6
		maximum_speed = -4
	}
	xp_cost = 3
}

helicopter_heavy_nose_gun_gen2 = {
	abbreviation = "mng2"
	category = helicopter_heavy_nose_gun
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_heavy_nose_gun_gen1
	add_stats = {
		build_cost_ic = 6.5
		soft_attack = 12.5
		hard_attack = 8
		maximum_speed = -4
	}
	xp_cost = 3
}

helicopter_heavy_nose_gun_gen3 = {
	abbreviation = "mng3"
	category = helicopter_heavy_nose_gun
	sfx = sfx_ui_sd_module_turret
	parent = helicopter_heavy_nose_gun_gen2
	add_stats = {
		build_cost_ic = 8
		soft_attack = 15
		hard_attack = 10
		maximum_speed = -4
	}
	xp_cost = 3
}

### Armor ###
helicopter_armor_gen1 = {
	abbreviation = "hea1"
	category = helicopter_armor_type
	sfx = sfx_ui_sd_module_sonar
	add_stats = {
		defense = 1
		breakthrough = 1
		reliability = 0.1
	}
	xp_cost = 3
	multiply_stats = {
		build_cost_ic = 0.1
		maximum_speed = -0.1
		hardness = 0.1
	}
	build_cost_resources = {
		aluminium = 1
	}
}

helicopter_armor_gen2 = {
	abbreviation = "hea2"
	category = helicopter_armor_type
	sfx = sfx_ui_sd_module_sonar
	parent = helicopter_armor_gen1
	add_stats = {
		defense = 1.5
		breakthrough = 1.5
		reliability = 0.15
	}
	xp_cost = 3
	multiply_stats = {
		build_cost_ic = 0.15
		maximum_speed = -0.1
		hardness = 0.15
	}
	build_cost_resources = {
		aluminium = 1
	}
}

helicopter_armor_gen3 = {
	abbreviation = "hea3"
	category = helicopter_armor_type
	sfx = sfx_ui_sd_module_sonar
	parent = helicopter_armor_gen2
	add_stats = {
		defense = 2
		breakthrough = 2
		reliability = 0.2
	}
	xp_cost = 3
	multiply_stats = {
		build_cost_ic = 0.2
		maximum_speed = -0.1
		hardness = 0.2
	}
	build_cost_resources = {
		aluminium = 1
	}
}

### Helicopter defence modules
## Flares & chaff ##
flare_launchers = {
	abbreviation = "flar"
	category = helicopter_defence_type
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		build_cost_ic = 1
		defense = 2.5
		breakthrough = 2.5
		reliability = 0.1
	}
	xp_cost = 3
}

active_defence_system_gen1 = {
	abbreviation = "ads1"
	category = helicopter_active_defence_type
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		build_cost_ic = 4
		defense = 6
		breakthrough = 6
		reliability = 0.2
	}
	build_cost_resources = {
		chromium = 1
	}
	xp_cost = 3
}

active_defence_system_gen2 = {
	abbreviation = "ads2"
	category = helicopter_active_defence_type
	sfx = sfx_ui_sd_module_turret
	parent = active_defence_system_gen1
	add_stats = {
		build_cost_ic = 5
		defense = 10
		breakthrough = 10
		reliability = 0.25
	}
	build_cost_resources = {
		chromium = 1
	}
	xp_cost = 3
}

em_lock_detection_system_gen1 = {
	abbreviation = "elds1"
	category = helicopter_em_lock_type
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		build_cost_ic = 2
		defense = 3
		breakthrough = 3
		reliability = 0.15
	}
	build_cost_resources = {
		chromium = 1
	}
	xp_cost = 3
}

em_lock_detection_system_gen2 = {
	abbreviation = "elds2"
	category = helicopter_em_lock_type
	sfx = sfx_ui_sd_module_turret
	parent = em_lock_detection_system_gen1
	add_stats = {
		build_cost_ic = 2.5
		defense = 4
		breakthrough = 4
		reliability = 0.2
	}
	build_cost_resources = {
		chromium = 1
	}
	xp_cost = 3
}

em_lock_detection_system_gen3 = {
	abbreviation = "elds3"
	category = helicopter_em_lock_type
	sfx = sfx_ui_sd_module_turret
	parent = em_lock_detection_system_gen2
	add_stats = {
		build_cost_ic = 3
		defense = 5
		breakthrough = 5
		reliability = 0.25
	}
	build_cost_resources = {
		chromium = 1
	}
	xp_cost = 3
}

## Stealth modifications ##
stealth_modification_gen1 = {
	abbreviation = "hsm1"
	category = helicopter_stealth_module
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		defense = 4
		breakthrough = 4
		reliability = 0.2
	}
	multiply_stats = {
		build_cost_ic = 0.2
	}
	xp_cost = 3
	build_cost_resources = {
		chromium = 1
	}
}

stealth_modification_gen2 = {
	abbreviation = "hsm2"
	category = helicopter_stealth_module
	sfx = sfx_ui_sd_module_turret
	parent = stealth_modification_gen1
	add_stats = {
		defense = 6
		breakthrough = 6
		reliability = 0.3
	}
	multiply_stats = {
		build_cost_ic = 0.25
	}
	xp_cost = 3
	build_cost_resources = {
		chromium = 1
	}
}

stealth_modification_gen3 = {
	abbreviation = "hsm3"
	category = helicopter_stealth_module
	sfx = sfx_ui_sd_module_turret
	parent = stealth_modification_gen2
	add_stats = {
		defense = 8
		breakthrough = 8
		reliability = 0.4
	}
	multiply_stats = {
		build_cost_ic = 0.3
	}
	xp_cost = 3
	build_cost_resources = {
		chromium = 1
	}
}

#Sensors and avionics
sensors_and_avionics_gen_1 = {
	abbreviation = "saa1"
	category = helicopter_sensor_and_avionics_type
	sfx = sfx_ui_sd_module_turret
	add_stats = {
		reliability = 0.02
	}
	multiply_stats = {
		build_cost_ic = 0.1
		defense = 0.1
		breakthrough = 0.1
		hard_attack = 0.1
		soft_attack = 0.1
	}
	xp_cost = 3
}

sensors_and_avionics_gen_2 = {
	abbreviation = "saa2"
	category = helicopter_sensor_and_avionics_type
	sfx = sfx_ui_sd_module_turret
	parent = sensors_and_avionics_gen_1
	add_stats = {
		reliability = 0.04
	}
	multiply_stats = {
		build_cost_ic = 0.15
		defense = 0.15
		breakthrough = 0.15
		hard_attack = 0.15
		soft_attack = 0.15
	}
	xp_cost = 3
}

sensors_and_avionics_gen_3 = {
	abbreviation = "saa3"
	category = helicopter_sensor_and_avionics_type
	sfx = sfx_ui_sd_module_turret
	parent = sensors_and_avionics_gen_2
	add_stats = {
		reliability = 0.06
	}
	multiply_stats = {
		build_cost_ic = 0.2
		defense = 0.2
		breakthrough = 0.2
		hard_attack = 0.2
		soft_attack = 0.2
	}
	xp_cost = 3
}

sensors_and_avionics_gen_4 = {
	abbreviation = "saa4"
	category = helicopter_sensor_and_avionics_type
	sfx = sfx_ui_sd_module_turret
	parent = sensors_and_avionics_gen_3
	add_stats = {
		reliability = 0.08
	}
	multiply_stats = {
		build_cost_ic = 0.25
		defense = 0.25
		breakthrough = 0.25
		hard_attack = 0.25
		soft_attack = 0.25
	}
	xp_cost = 3
}

sensors_and_avionics_gen_5 = {
	abbreviation = "saa5"
	category = helicopter_sensor_and_avionics_type
	sfx = sfx_ui_sd_module_turret
	parent = sensors_and_avionics_gen_4
	add_stats = {
		reliability = 0.1
	}
	multiply_stats = {
		build_cost_ic = 0.3
		defense = 0.3
		breakthrough = 0.3
		hard_attack = 0.3
		soft_attack = 0.3
	}
	xp_cost = 3
}
