@hit2 = 2
@hit3 = 4
@hit4 = 6

@sensor1 = 20
@sensor2 = 25
@sensor3 = 30
@sensor4 = 40

utility_component_template = {
	key = "SHIP_SENSOR_1"
	size = medium
	icon = "GFX_ship_part_sensor_1"
	icon_frame = 1
	power = 0
	cost = 5
	sensor_range = @sensor1
	
	component_set = "ship_sensor_components"
	
	ai_weight = {
		weight = 1
	}	
}

utility_component_template = {
	key = "SHIP_SENSOR_2"
	size = medium
	icon = "GFX_ship_part_sensor_2"
	icon_frame = 1
	power = 0
	cost = 10
	sensor_range = @sensor2
	
	prerequisites = { "tech_sensors_2" }
	component_set = "ship_sensor_components"
	
	ship_modifier = {
		ship_accuracy_add = @hit2
	}
	
	ai_weight = {
		weight = 10
	}	
}

utility_component_template = {
	key = "SHIP_SENSOR_3"
	size = medium
	icon = "GFX_ship_part_sensor_3"
	icon_frame = 1
	power = 0
	cost = 10
	sensor_range = @sensor3
	
	prerequisites = { "tech_sensors_3" }
	component_set = "ship_sensor_components"
	
	ship_modifier = {
		ship_accuracy_add = @hit3
	}
	
	ai_weight = {
		weight = 100
	}	
}

utility_component_template = {
	key = "SHIP_SENSOR_4"
	size = medium
	icon = "GFX_ship_part_sensor_4"
	icon_frame = 1
	power = 0
	cost = 10
	sensor_range = @sensor4
	
	ship_modifier = {
		ship_accuracy_add = @hit4
	}
	
	prerequisites = { "tech_sensors_4" }
	component_set = "ship_sensor_components"
	
	ai_weight = {
		weight = 1000
	}	
}

utility_component_template = {
	key = "STATION_SENSOR_1"
	size = medium
	icon = "GFX_ship_part_sensor_1"
	icon_frame = 1
	power = 0
	cost = 5
	sensor_range = @sensor1
	
	component_set = "station_sensor_components"
	
	ai_weight = {
		weight = 1
	}	
}

utility_component_template = {
	key = "STATION_SENSOR_2"
	size = medium
	icon = "GFX_ship_part_sensor_2"
	icon_frame = 1
	power = 0
	cost = 10
	sensor_range = @sensor2
	
	ship_modifier = {
		ship_accuracy_add = @hit2
	}
	
	prerequisites = { "tech_sensors_2" }
	component_set = "station_sensor_components"
	
	ai_weight = {
		weight = 10
	}	
}

utility_component_template = {
	key = "STATION_SENSOR_3"
	size = medium
	icon = "GFX_ship_part_sensor_3"
	icon_frame = 1
	power = 0
	cost = 10
	sensor_range = @sensor3
	
	ship_modifier = {
		ship_accuracy_add = @hit3
	}
	
	prerequisites = { "tech_sensors_3" }
	component_set = "station_sensor_components"
	
	ai_weight = {
		weight = 100
	}	
}

utility_component_template = {
	key = "STATION_SENSOR_4"
	size = medium
	icon = "GFX_ship_part_sensor_4"
	icon_frame = 1
	power = 0
	cost = 10
	sensor_range = @sensor4
	
	ship_modifier = {
		ship_accuracy_add = @hit4
	}
	
	prerequisites = { "tech_sensors_4" }
	component_set = "station_sensor_components"
	
	ai_weight = {
		weight = 1000
	}	
}