@hit2 = 2
@hit3 = 5
@hit4 = 8

@sensor1 = 20
@sensor2 = 40
@sensor3 = 60
@sensor4 = 80

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 = -16
	cost = 30
	sensor_range = @sensor2
	
	prerequisites = { "tech_sensors_2" }
	component_set = "ship_sensor_components"
	
	ship_modifier = {
		ship_accuracy_add = @hit2
	}
	
	ai_weight = {
		weight = 0
	}	
}

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

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

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 = 30
	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 = 160
	sensor_range = 120
	
	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 = 450
	sensor_range = 250
	
	ship_modifier = {
		ship_accuracy_add = @hit4
	}
	
	prerequisites = { "tech_sensors_4" }
	component_set = "station_sensor_components"
	
	ai_weight = {
		weight = 1000
	}	
}