utility_component_template = {
	key = "REACTOR_SYSTEM_O"
	size = small
	icon = "GFX_ship_part_reactor_system_o"
	icon_frame = 1
	power = 5000000 #5 times more powerful than regular one
	component_set = "power_core"
	size_restriction = { giga_o_systemcraft }
	ai_weight = { weight = 10000 } # fix 'normal' reactors being potentially autopicked if they are somehow valid for the o class systemcraft
}

utility_component_template = {
	key = "GIGA_MAGINOT_O_STAR_REACTOR"
	size = small
	icon = "GFX_ship_part_reactor_system_o"
	icon_frame = 1
	power = 5000000
	component_set = "power_core"
	prerequisites = { giga_tech_maginot_systemcraft_upgrade tech_o_class_war_system }
	size_restriction = { strategic_defence_command_platform }
	modifier = { ship_shield_mult = 0.40 }

	ftl_inhibitor = yes

	ai_weight = {
		factor = 6000
	}
}

### Erasure Beam Duplicate - Increased cap

weapon_component_template = {
	key = "SYSTEMCRAFT_RAY_OF_DOOM_1_O_CLASS"
	size = titanic
	entity = "invisible_turret_entity"
	type = instant
	icon = "GFX_ship_part_planet_lance_white"
	icon_frame = 1
	power = -300000.00
	component_set = "SYSTEMCRAFT_RAY_OF_DOOM_1"
	projectile_gfx = "paluush_planetcraft_lance"
	tags = { weapon_type_energy weapon_role_artillery t_slot }
	ai_tags = { artillery weapon_role_artillery }
	size_restriction = { giga_o_systemcraft }
	prerequisites = { "giga_tech_war_system_5" }
	ai_tag_weight = 0

	firing_arc = 10
	min_range = 75

	damage = { min = 625000 max = 1250000 }
	windup = { min = 145 max = 150 }
	range = 250
	tracking = 0
	accuracy = 0.85
	total_fire_time = 125
	shield_damage = 0.75
	armor_damage = 1.50
	hull_damage = 1.25
	ship_limit = 5

	collateral_damage = @systemcraft_ray_of_doom_1_fleet_damage
	collateral_range = @ion_cannon_collateral_range

	resources = {
		category = ship_components
		cost = {
			alloys = @titanic_t7_cost
			rare_crystals = @titanic_t7_rare
		}
		upkeep = {
			alloys = @titanic_t7_upkeep_alloys
			energy = @titanic_t7_upkeep_energy
		}
	}
}

### Hypercannon Duplicate - Increased cap
weapon_component_template = {
	key = "GIGA_STELLAR_HYPERCANNON_O_CLASS"
	size = titanic
	entity = "invisible_turret_entity"
	type = instant
	icon = "GFX_ship_part_stellar_hypercannon"
	icon_frame = 1
	power = -300000.00
	component_set = "GIGA_STELLAR_HYPERCANNON"
	projectile_gfx = "giga_celestial_railgun"
	tags = { weapon_type_kinetic weapon_role_artillery t_slot }
	ai_tags = { artillery weapon_role_artillery }
	size_restriction = { giga_o_systemcraft }
	prerequisites = { "tech_o_class_war_system" }
	ai_tag_weight = 0

	firing_arc = 10
	min_range = 75

	damage = { min = 455000 max = 1300000 }
	windup = { min = 110 max = 120 }
	range = 250
	tracking = 0.0
	accuracy = 0.75
	total_fire_time = 60
	shield_damage = 1.50
	armor_damage = 0.75
	ship_limit = 5

	resources = {
		category = ship_components
		cost = {
			alloys = @titanic_t7_cost
			volatile_motes = @titanic_t7_rare
		}
		upkeep = {
			alloys = @titanic_t7_upkeep_alloys
			energy = @titanic_t7_upkeep_energy
		}
	}
}
