# Icons set here are the ones show in the actual slot. The reason is so that we can support different icons for different sizes. 
#############
#	POWER	#
#############

@power_S1 = -5
@power_M1 = -5
@power_L1 = -5
            
@power_S2 = -6
@power_M2 = -6
@power_L2 = -6
            
@power_S3 = -7
@power_M3 = -7
@power_L3 = -7
            
@power_S4 = -9
@power_M4 = -9
@power_L4 = -9
            
@power_S5 = -11
@power_M5 = -11
@power_L5 = -11

#############
#	COST	#
#############

@cost_S1 = 5
@cost_M1 = 35
@cost_L1 = 100

@cost_S2 = 5
@cost_M2 = 35
@cost_L2 = 100

@cost_S3 = 5
@cost_M3 = 35
@cost_L3 = 100

@cost_S4 = 5
@cost_M4 = 35
@cost_L4 = 100

@cost_S5 = 5
@cost_M5 = 35
@cost_L5 = 100

#############
# UTILITIES #
#############

# Fusion Reactors
utility_component_template = {
	key = "SMALL_DCacc_1"
	size = small
	icon = "GFX_ship_part_sensor_1"
	icon_frame = 1
	power = @power_S2
	cost = @cost_S2
	
	ship_modifier = {
		ship_accuracy_add = 7
	}
	
	prerequisites = { "tech_fusion_power" }
	component_set = "DCacc_1"
}

utility_component_template = {
	key = "MEDIUM_DCacc_1"
	size = medium
	icon = "GFX_ship_part_sensor_1"
	icon_frame = 1
	power = @power_M2
	cost = @cost_M2
	
	ship_modifier = {
		ship_accuracy_add = 7
	}
	
	prerequisites = { "tech_fusion_power" }
	component_set = "DCacc_1"
}

utility_component_template = {
	key = "LARGE_DCacc_1"
	size = large
	icon = "GFX_ship_part_sensor_1"
	icon_frame = 1
	power = @power_L2
	cost = @cost_L2
	
	ship_modifier = {
		ship_accuracy_add = 7
	}
	
	prerequisites = { "tech_fusion_power" }
	component_set = "DCacc_1"
}

# Cold Fusion Reactors
utility_component_template = {
	key = "SMALL_DCacc_2"
	size = small
	icon = "GFX_ship_part_sensor_2"
	icon_frame = 1
	power = @power_S3
	cost = @cost_S3
	
	ship_modifier = {
		ship_accuracy_add = 8
	}
	
	prerequisites = { "tech_cold_fusion_power" }
	component_set = "DCacc_2"
}

utility_component_template = {
	key = "MEDIUM_DCacc_2"
	size = medium
	icon = "GFX_ship_part_sensor_2"
	icon_frame = 1
	power = @power_M3
	cost = @cost_M3
	
	ship_modifier = {
		ship_accuracy_add = 8
	}
	
	prerequisites = { "tech_cold_fusion_power" }
	component_set = "DCacc_2"
}

utility_component_template = {
	key = "LARGE_DCacc_2"
	size = large
	icon = "GFX_ship_part_sensor_2"
	icon_frame = 1
	power = @power_L3
	cost = @cost_L3
	
	ship_modifier = {
		ship_accuracy_add = 8
	}
	
	prerequisites = { "tech_cold_fusion_power" }
	component_set = "DCacc_2"
}

# Antimatter Reactors
utility_component_template = {
	key = "SMALL_DCacc_3"
	size = small
	icon = "GFX_ship_part_sensor_3"
	icon_frame = 1
	power = @power_S4
	cost = @cost_S4
	
	ship_modifier = {
		ship_accuracy_add = 10
	}
	
	prerequisites = { "tech_antimatter_power" }
	component_set = "DCacc_3"
}

utility_component_template = {
	key = "MEDIUM_DCacc_3"
	size = medium
	icon = "GFX_ship_part_sensor_3"
	icon_frame = 1
	power = @power_M4
	cost = @cost_M4
	
	ship_modifier = {
		ship_accuracy_add = 10
	}
	
	prerequisites = { "tech_antimatter_power" }
	component_set = "DCacc_3"
}

utility_component_template = {
	key = "LARGE_DCacc_3"
	size = large
	icon = "GFX_ship_part_sensor_3"
	icon_frame = 1
	power = @power_L4
	cost = @cost_L4
	
	ship_modifier = {
		ship_accuracy_add = 10
	}
	
	prerequisites = { "tech_antimatter_power" }
	component_set = "DCacc_3"
}

# Zero-Point Reactors
utility_component_template = {
	key = "SMALL_DCacc_4"
	size = small
	icon = "GFX_ship_part_sensor_4"
	icon_frame = 1
	power = @power_S5
	cost = @cost_S5
	
	ship_modifier = {
		ship_accuracy_add = 12
	}
	
	prerequisites = { "tech_zero_point_power" }
	component_set = "DCacc_4"
}

utility_component_template = {
	key = "MEDIUM_DCacc_4"
	size = medium
	icon = "GFX_ship_part_sensor_4"
	icon_frame = 1
	power = @power_M5
	cost = @cost_M5
	
	ship_modifier = {
		ship_accuracy_add = 12
	}
	
	prerequisites = { "tech_zero_point_power" }
	component_set = "DCacc_4"
}

utility_component_template = {
	key = "LARGE_DCacc_4"
	size = large
	icon = "GFX_ship_part_sensor_4"
	icon_frame = 1
	power = @power_L5
	cost = @cost_L5
	
	ship_modifier = {
		ship_accuracy_add = 12
	}
	
	prerequisites = { "tech_zero_point_power"  }
	component_set = "DCacc_4"
}