utility_component_template = {
	key = "NHSC_DREADNOUGHT_COMPUTER_CRUISER"
	size = small
	icon = "GFX_ship_part_nhsc_dreadnought_computer"
	icon_frame = 1
	power = -30
	cost = 10
	class_restriction = { shipclass_military }
	size_restriction = { cruiser }
	component_set = "combat_computers"
	ship_behavior = "line"
	prerequisites = { "nhsc_tech_dreadnought_computer" }

	ship_modifier = {
		ship_weapon_damage = 0.10
		ship_tracking_add = 10
		ship_fire_rate_mult = 0.10
		ship_shield_mult = 0.3
	}
	modifier = {
		ship_evasion_add = 5
	}
	
	ai_weight = {
		weight = 5
	}	
}

utility_component_template = {
	key = "NHSC_DREADNOUGHT_COMPUTER_BATTLESHIP"
	size = small
	icon = "GFX_ship_part_nhsc_dreadnought_computer"
	icon_frame = 1
	power = -30
	cost = 10
	class_restriction = { shipclass_military }
	size_restriction = { battleship }
	component_set = "combat_computers"
	ship_behavior = "line"
	prerequisites = { "nhsc_tech_dreadnought_computer" }

	ship_modifier = {
		ship_weapon_damage = 0.10
		ship_tracking_add = 10
		ship_accuracy_add = 15
		ship_shield_mult = 0.25
	}
	modifier = {
		ship_evasion_add = 10
	}
	
	ai_weight = {
		weight = 5
	}	
}

utility_component_template = {
	key = "NHSC_DREADNOUGHT_COMPUTER_TITAN"
	size = small
	icon = "GFX_ship_part_nhsc_dreadnought_computer"
	icon_frame = 1
	power = -30
	cost = 10
	class_restriction = { shipclass_military }
	size_restriction = { titan }
	component_set = "combat_computers"
	ship_behavior = "artillery"
	prerequisites = { "nhsc_tech_dreadnought_computer" }

	ship_modifier = {
		ship_weapon_damage = 0.10
		ship_tracking_add = 10
		ship_accuracy_add = 15
		ship_shield_mult = 0.25
	}
	modifier = {
		ship_evasion_add = 10
	}
	
	ai_weight = {
		weight = 5
	}	
}

## ############################################### ##
##                     NSC stuff                   ##
## ############################################### ##

utility_component_template = {
	key = "NHSC_DREADNOUGHT_COMPUTER_CRUISER_NSC"
	size = small
	icon = "GFX_ship_part_nhsc_dreadnought_computer"
	icon_frame = 1
	power = -30
	cost = 10
	class_restriction = { shipclass_military }
	size_restriction = { cruiser }
	component_set = "combat_computers"
	ship_behavior = "line"
	prerequisites = { "nhsc_tech_dreadnought_computer_nsc" }

	ship_modifier = {
		ship_weapon_damage = 0.10
		ship_tracking_add = 10
		ship_fire_rate_mult = 0.10
		ship_shield_mult = 0.3
	}
	modifier = {
		ship_evasion_add = 5
	}
	
	ai_weight = {
		weight = 5
	}	
}

utility_component_template = {
	key = "NHSC_DREADNOUGHT_COMPUTER_BATTLESHIP_NSC"
	size = small
	icon = "GFX_ship_part_nhsc_dreadnought_computer"
	icon_frame = 1
	power = -30
	cost = 10
	class_restriction = { shipclass_military }
	size_restriction = { battleship }
	component_set = "combat_computers"
	ship_behavior = "line"
	prerequisites = { "nhsc_tech_dreadnought_computer_nsc" }

	ship_modifier = {
		ship_weapon_damage = 0.10
		ship_tracking_add = 10
		ship_accuracy_add = 15
		ship_shield_mult = 0.25
	}
	modifier = {
		ship_evasion_add = 10
	}
	
	ai_weight = {
		weight = 5
	}	
}

utility_component_template = {
	key = "NHSC_DREADNOUGHT_COMPUTER_STRIKECRUISER"
	size = small
	icon = "GFX_ship_part_nhsc_dreadnought_computer"
	icon_frame = 1
	power = -30
	cost = 10
	class_restriction = { shipclass_military }
	size_restriction = { StrikeCruiser }
	component_set = "combat_computers"
	ship_behavior = "line"
	prerequisites = { "nhsc_tech_dreadnought_computer_nsc" }

	ship_modifier = {
		ship_weapon_damage = 0.15
		ship_tracking_add = 10
		ship_accuracy_add = 5
		ship_shield_mult = 0.25
	}
	modifier = {
		ship_evasion_add = 15
	}
	
	ai_weight = {
		weight = 5
	}	
}

utility_component_template = {
	key = "NHSC_DREADNOUGHT_COMPUTER_BATTLECRUISER"
	size = small
	icon = "GFX_ship_part_nhsc_dreadnought_computer"
	icon_frame = 1
	power = -30
	cost = 10
	class_restriction = { shipclass_military }
	size_restriction = { Battlecruiser }
	component_set = "combat_computers"
	ship_behavior = "line"
	prerequisites = { "nhsc_tech_dreadnought_computer_nsc" }

	ship_modifier = {
		ship_weapon_damage = 0.10
		ship_tracking_add = 10
		ship_accuracy_add = 10
		ship_shield_mult = 0.20
	}
	modifier = {
		ship_evasion_add = 10
	}
	
	ai_weight = {
		weight = 5
	}	
}

utility_component_template = {
	key = "NHSC_DREADNOUGHT_COMPUTER_CARRIER"
	size = small
	icon = "GFX_ship_part_nhsc_dreadnought_computer"
	icon_frame = 1
	power = -30
	cost = 10
	class_restriction = { shipclass_military }
	size_restriction = { Carrier }
	component_set = "combat_computers"
	ship_behavior = "artillery"
	prerequisites = { "nhsc_tech_dreadnought_computer_nsc" }

	ship_modifier = {
		ship_weapon_damage = 0.10
		ship_tracking_add = 10
		ship_accuracy_add = 10
		ship_shield_mult = 0.20
	}
	modifier = {
		ship_evasion_add = 10
	}
	
	ai_weight = {
		weight = 5
	}	
}

utility_component_template = {
	key = "NHSC_DREADNOUGHT_COMPUTER_DREADNOUGHT"
	size = small
	icon = "GFX_ship_part_nhsc_dreadnought_computer"
	icon_frame = 1
	power = -30
	cost = 10
	class_restriction = { shipclass_military }
	size_restriction = { Dreadnought }
	component_set = "combat_computers"
	ship_behavior = "line"
	prerequisites = { "nhsc_tech_dreadnought_computer_nsc" }

	ship_modifier = {
		ship_weapon_damage = 0.10
		ship_tracking_add = 10
		ship_accuracy_add = 15
		ship_fire_rate_mult = 0.10
		ship_shield_mult = 0.15
	}
	modifier = {
		ship_evasion_add = 10
	}
	
	ai_weight = {
		weight = 5
	}	
}

utility_component_template = {
	key = "NHSC_DREADNOUGHT_COMPUTER_TITAN_NSC"
	size = small
	icon = "GFX_ship_part_nhsc_dreadnought_computer"
	icon_frame = 1
	power = -30
	cost = 10
	class_restriction = { shipclass_military }
	size_restriction = { titan }
	component_set = "combat_computers"
	ship_behavior = "artillery"
	prerequisites = { "nhsc_tech_dreadnought_computer_nsc" }

	ship_modifier = {
		ship_weapon_damage = 0.10
		ship_tracking_add = 15
		ship_accuracy_add = 15
		ship_fire_rate_mult = 0.10
		ship_shield_mult = 0.15
	}
	modifier = {
		ship_evasion_add = 15
	}
	
	ai_weight = {
		weight = 5
	}	
}

utility_component_template = {
	key = "NHSC_DREADNOUGHT_COMPUTER_FLAGSHIP"
	size = small
	icon = "GFX_ship_part_nhsc_dreadnought_computer"
	icon_frame = 1
	power = -30
	cost = 10
	class_restriction = { shipclass_military }
	size_restriction = { Flagship }
	component_set = "combat_computers"
	ship_behavior = "artillery"
	prerequisites = { "nhsc_tech_dreadnought_computer_nsc" }

	ship_modifier = {
		ship_weapon_damage = 0.10
		ship_tracking_add = 15
		ship_accuracy_add = 15
		ship_fire_rate_mult = 0.10
		ship_shield_mult = 0.15
	}
	modifier = {
		ship_evasion_add = 15
	}
	
	ai_weight = {
		weight = 5
	}	
}