#######################################################################################
###     Needs to add a line to each one so they show on the class O systemcraft     ###
#######################################################################################

###SYSTEMCRAFT BUILDINGS###
utility_component_template = {
	key = "SYSTEMCRAFT_ALLOY_FOUNDRIES"
	size = aux
	icon = "GFX_ship_part_systemcraft_foundry"
	icon_frame = 1
	power = -100
	size_restriction = { 
		giga_systemcraft
		giga_o_systemcraft
 	}
	component_set = "SYSTEMCRAFT_ALLOY_FOUNDRIES"
	prerequisites = { "giga_tech_war_system_6" }

	resources = {
		category = ship_components
		produces = { alloys = 200 }
	}
}

utility_component_template = {
	key = "SYSTEMCRAFT_DYSON_CAPACITOR"
	size = aux
	icon = "GFX_ship_part_systemcraft_dyson"
	icon_frame = 1
	power = -1000
	size_restriction = { 
		giga_systemcraft
		giga_o_systemcraft
 	}
	component_set = "SYSTEMCRAFT_DYSON_CAPACITOR"
	prerequisites = { "giga_tech_war_system_6" }

	resources = {
		category = ship_components
		produces = { energy = 500 }
	}
}

utility_component_template = {
	key = "SYSTEMCRAFT_FARMS"
	size = aux
	icon = "GFX_ship_part_systemcraft_farms"
	icon_frame = 1
	power = -750
	size_restriction = { 
		giga_systemcraft
		giga_o_systemcraft
 	}
	component_set = "SYSTEMCRAFT_FARMS"
	prerequisites = { "giga_tech_war_system_6" }

	resources = {
		category = ship_components
		produces = { food = 300 }
	}
}

utility_component_template = {
	key = "SYSTEMCRAFT_SHIPYARD"
	size = aux
	icon = "GFX_ship_part_systemcraft_shipyard"
	icon_frame = 1
	power = -750
	size_restriction = { 
		giga_systemcraft
		giga_o_systemcraft
 	}
	component_set = "SYSTEMCRAFT_SHIPYARD"
	prerequisites = { "giga_tech_war_system_6" }

	resources = {
		category = ship_components
		upkeep = { alloys = 15 }
	}

	modifier = { starbase_shipyard_capacity_add = 1 }							# REVIEW
}

utility_component_template = {
	key = "SYSTEMCRAFT_WEAPONS_PLANT"
	size = aux
	icon = "GFX_ship_part_systemcraft_weapons"
	icon_frame = 1
	power = -750
	size_restriction = { 
		giga_systemcraft
		giga_o_systemcraft
 	}
	component_set = "SYSTEMCRAFT_WEAPONS_PLANT"
	prerequisites = { "giga_tech_war_system_6" }

	resources = {
		category = ship_components
		upkeep = {
			alloys = 15
			volatile_motes = 1
		}
	}

	modifier = {
		ship_orbital_bombardment_mult = 0.15
		ship_fire_rate_mult = 0.01
	}
}

utility_component_template = {
	key = "SYSTEMCRAFT_STABILITY"
	size = aux
	icon = "GFX_ship_part_systemcraft_stability"
	icon_frame = 1
	power = -750
	size_restriction = { 
		giga_systemcraft
		giga_o_systemcraft
 	}
	component_set = "SYSTEMCRAFT_STABILITY"
	prerequisites = { "giga_tech_war_system_hull_booster" }

	resources = {
		category = ship_components
		upkeep = {
			energy = 50
			alloys = 50
			nanites = 5
			sr_dark_matter = 5
		}
	}

	modifier = {
		ship_armor_add = 1000000
		ship_armor_mult = 0.01
		ship_armor_regen_add_perc = 0.1
	}
}

utility_component_template = {
	key = "SYSTEMCRAFT_SHIELD"
	size = aux
	icon = "GFX_ship_part_systemcraft_shield"
	icon_frame = 1
	power = -750
	size_restriction = { 
		giga_systemcraft
		giga_o_systemcraft
 	}
	component_set = "SYSTEMCRAFT_SHIELD"
	prerequisites = { "giga_tech_war_system_6" }

	resources = {
		category = ship_components
		upkeep = {
			energy = 150
			sr_dark_matter = 5
		}
	}

	modifier = {
		ship_shield_add = 2500000
		ship_shield_mult = 0.01
		ship_shield_regen_add_perc = 0.1
	}
}