### components that are shown in the ship designer :: sensors

@hit5 = 17.5
@hit6 = 20
@hit7 = 22.5
@hit_psi = 25

@cost5 = 10
@cost6 = 12
@cost7 = 14

@power5 = -25
@power6 = -30
@power7 = -35

@sensor5 = 4
@sensor6 = 5
@sensor7 = 5

### advanced tachyon sensors

utility_component_template = {
	key = "NHSC_ADV_TACHYON_SENSOR_SHIP"
	size = medium
	icon = "GFX_ship_part_sensor_nhsc_5"
	icon_frame = 1
	power = @power5
	cost = @cost5
	sensor_range = @sensor5

	ship_modifier = {
		ship_tracking_add = @hit5
	}	

	prerequisites = { "nhsc_tech_improvedtachyonsensors" }
	component_set = "sensor_components"

	upgrades_to = "NHSC_STRING_SENSOR_SHIP"
	
	ai_weight = {
		weight = 1000
	}
}

### string sensors

utility_component_template = {
	key = "NHSC_STRING_SENSOR_SHIP"
	size = medium
	icon = "GFX_ship_part_sensor_nhsc_6"
	icon_frame = 1
	power = @power6
	cost = @cost6
	sensor_range = @sensor6

	ship_modifier = {
		ship_tracking_add = @hit6
	}	

#	upgrades_to = { "NHSC_ADV_STRING_SENSOR_SHIP" "NHSC_PSI_SENSOR_SHIP" }

	prerequisites = { "nhsc_tech_stringtheory" }
	component_set = "sensor_components"
	
	ai_weight = {
		weight = 1500
	}
}

### advanced string sensors

utility_component_template = {
	key = "NHSC_ADV_STRING_SENSOR_SHIP"
	size = medium
	icon = "GFX_ship_part_sensor_nhsc_7"
	icon_frame = 1	
	power = @power7
	cost = @cost7
	sensor_range = @sensor7

	ship_modifier = {
		ship_tracking_add = @hit7
	}	

	prerequisites = { "nhsc_tech_stringfluctuationanalysis" }
	component_set = "sensor_components"
	
	ai_weight = {
		weight = 2000
	}
}

### psionic sensors

utility_component_template = {
	key = "NHSC_PSI_SENSOR_SHIP"
	size = medium
	icon = "GFX_ship_part_sensor_nhsc_psi"
	icon_frame = 1	
	power = @power7
	cost = @cost7
	sensor_range = @sensor7

	ship_modifier = {
		ship_tracking_add = @hit_psi
	}	

	prerequisites = { "nhsc_tech_psisensors" }
	component_set = "sensor_components"
	
	ai_weight = {
		weight = 2000
	}
}
