### Caerulenite Mass Drivers
weapon_component_template = {
	type = instant

	key = "STZ_SMALL_CAERULENITE_MASS_DRIVER"
	size = small

	icon = "GFX_stz_ship_part_caerulenite_mass_driver"
	icon_frame = 1

	prerequisites = { "stz_tech_caerulenite_mass_driver" }
	component_set = "STZ_CAERULENITE_MASS_DRIVER"
	projectile_gfx = "gauss_cannon_s"
	tags = { weapon_type_stz_caerulenite weapon_type_kinetic s_slot }
	ai_tags = { weapon_role_anti_shield brawler brawler_stealth gunship }
	resources = {
		category = ship_components
		cost = {
			alloys = @s_t6_cost
			volatile_motes = @s_t6_rare
			stz_sr_caerulenite = @s_t6_rare
		}
		upkeep = {
			energy = @s_t5_upkeep_energy
			alloys = @s_t5_upkeep_alloys
			stz_sr_caerulenite = @stz_s_upkeep
		}
	}

	upgrades_to = "STZ_SMALL_VIRIDISIUM_MASS_DRIVER"

	power = -22
	damage = { min = 21 max = 60}

	hull_damage = 1.0
	shield_damage = 1.50
	shield_penetration = 0
	armor_damage = 0.75
	armor_penetration = 0

	total_fire_time = 20
	windup = { min = 4 max = 14 }

	range = 50
	accuracy = 0.80
	tracking = 0.50

	ai_weight = {
		weight = 6
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_caerulenite }
		}
	}
}

weapon_component_template = {
	type = instant

	key = "STZ_MEDIUM_CAERULENITE_MASS_DRIVER"
	size = medium

	icon = "GFX_stz_ship_part_caerulenite_mass_driver"
	icon_frame = 1

	prerequisites = { "stz_tech_caerulenite_mass_driver" }
	component_set = "STZ_CAERULENITE_MASS_DRIVER"
	projectile_gfx = "gauss_cannon_m"
	tags = { weapon_type_stz_caerulenite weapon_type_kinetic m_slot }
	ai_tags = { weapon_role_anti_shield gunship}
	resources = {
		category = ship_components
		cost = {
			alloys = @m_t6_cost
			volatile_motes = @m_t6_rare
			stz_sr_caerulenite = @m_t6_rare
		}
		upkeep = {
			energy = @m_t5_upkeep_energy
			alloys = @m_t5_upkeep_alloys
			stz_sr_caerulenite = @stz_m_upkeep
		}
	}

	upgrades_to = "STZ_MEDIUM_VIRIDISIUM_MASS_DRIVER"

	power = -51
	damage = { min = 52 max = 150}

	hull_damage = 1.0
	shield_damage = 1.50
	shield_penetration = 0
	armor_damage = 0.75
	armor_penetration = 0

	total_fire_time = 25
	windup = { min = 5 max = 17 }

	range = 75
	accuracy = 0.80
	tracking = 0.30

	ai_weight = {
		weight = 6
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_caerulenite }
		}
	}
}

weapon_component_template = {
	type = instant

	key = "STZ_LARGE_CAERULENITE_MASS_DRIVER"
	size = large

	icon = "GFX_stz_ship_part_caerulenite_mass_driver"
	icon_frame = 1

	prerequisites = { "stz_tech_caerulenite_mass_driver" }
	component_set = "STZ_CAERULENITE_MASS_DRIVER"
	projectile_gfx = "gauss_cannon_l"
	tags = { weapon_type_stz_caerulenite weapon_type_kinetic l_slot }
	ai_tags = { weapon_role_anti_shield gunship }
	resources = {
		category = ship_components
		cost = {
			alloys = @l_t6_cost
			volatile_motes = @l_t6_rare
			stz_sr_caerulenite = @l_t6_rare
		}
		upkeep = {
			energy = @l_t5_upkeep_energy
			alloys = @l_t5_upkeep_alloys
			stz_sr_caerulenite = @stz_l_upkeep
		}
	}

	upgrades_to = "STZ_LARGE_VIRIDISIUM_MASS_DRIVER"

	power = -114
	damage = { min = 125 max = 359}

	hull_damage = 1.0
	shield_damage = 1.50
	shield_penetration = 0
	armor_damage = 0.75
	armor_penetration = 0

	total_fire_time = 30
	windup = { min = 5 max = 20 }

	range = 100
	accuracy = 0.80
	tracking = 0.05

	min_range = 45

	ai_weight = {
		weight = 6
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_caerulenite }
		}
	}
}

### Viridian Mass Drivers
weapon_component_template = {
	type = instant

	key = "STZ_SMALL_VIRIDISIUM_MASS_DRIVER"
	size = small

	icon = "GFX_stz_ship_part_viridisium_mass_driver"
	icon_frame = 1

	prerequisites = { "stz_tech_viridisium_mass_driver" }
	component_set = "STZ_VIRIDISIUM_MASS_DRIVER"
	projectile_gfx = "gauss_cannon_s"
	tags = { weapon_type_stz_viridisium weapon_type_kinetic s_slot }
	ai_tags = { weapon_role_anti_shield brawler brawler_stealth gunship }
	resources = {
		category = ship_components
		cost = {
			alloys = @s_t7_cost
			volatile_motes = @s_t7_rare
			stz_sr_viridisium = @s_t7_rare
		}
		upkeep = {
			energy = @s_t5_upkeep_energy
			alloys = @s_t5_upkeep_alloys
			stz_sr_viridisium = @stz_s_upkeep
		}
	}

	power = -29
	damage = { min = 27 max = 78}

	hull_damage = 1.0
	shield_damage = 1.50
	shield_penetration = 0
	armor_damage = 1.0
	armor_penetration = 0

	total_fire_time = 20
	windup = { min = 4 max = 14 }

	range = 50
	accuracy = 0.85
	tracking = 0.50

	ai_weight = {
		weight = 7
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_viridisium }
		}
	}
}

weapon_component_template = {
	type = instant

	key = "STZ_MEDIUM_VIRIDISIUM_MASS_DRIVER"
	size = medium

	icon = "GFX_stz_ship_part_viridisium_mass_driver"
	icon_frame = 1

	prerequisites = { "stz_tech_viridisium_mass_driver" }
	component_set = "STZ_VIRIDISIUM_MASS_DRIVER"
	projectile_gfx = "gauss_cannon_m"
	tags = { weapon_type_stz_viridisium weapon_type_kinetic m_slot }
	ai_tags = { weapon_role_anti_shield gunship}
	resources = {
		category = ship_components
		cost = {
			alloys = @m_t7_cost
			volatile_motes = @m_t7_rare
			stz_sr_viridisium = @m_t7_rare
		}
		upkeep = {
			energy = @m_t5_upkeep_energy
			alloys = @m_t5_upkeep_alloys
			stz_sr_viridisium = @stz_m_upkeep
		}
	}

	power = -66
	damage = { min = 68 max = 195}

	hull_damage = 1.0
	shield_damage = 1.50
	shield_penetration = 0
	armor_damage = 1.0
	armor_penetration = 0

	total_fire_time = 25
	windup = { min = 5 max = 17 }

	range = 75
	accuracy = 0.85
	tracking = 0.30

	ai_weight = {
		weight = 7
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_viridisium }
		}
	}
}

weapon_component_template = {
	type = instant

	key = "STZ_LARGE_VIRIDISIUM_MASS_DRIVER"
	size = large

	icon = "GFX_stz_ship_part_viridisium_mass_driver"
	icon_frame = 1

	prerequisites = { "stz_tech_viridisium_mass_driver" }
	component_set = "STZ_VIRIDISIUM_MASS_DRIVER"
	projectile_gfx = "gauss_cannon_l"
	tags = { weapon_type_stz_viridisium weapon_type_kinetic l_slot }
	ai_tags = { weapon_role_anti_shield gunship }
	resources = {
		category = ship_components
		cost = {
			alloys = @l_t7_cost
			volatile_motes = @l_t7_rare
			stz_sr_viridisium = @l_t7_rare
		}
		upkeep = {
			energy = @l_t5_upkeep_energy
			alloys = @l_t5_upkeep_alloys
			stz_sr_viridisium = @stz_l_upkeep
		}
	}

	power = -148
	damage = { min = 163 max = 467}

	hull_damage = 1.0
	shield_damage = 1.50
	shield_penetration = 0
	armor_damage = 1.0
	armor_penetration = 0

	total_fire_time = 30
	windup = { min = 5 max = 20 }

	range = 100
	accuracy = 0.85
	tracking = 0.05

	min_range = 45

	ai_weight = {
		weight = 7
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_viridisium }
		}
	}
}

### Kinetic Artillery
weapon_component_template = {
	type = instant

	key = "STZ_CAERULENITE_KINETIC_ARTILLERY"
	size = large

	icon = "GFX_stz_ship_part_caerulenite_kinetic_artillery"
	icon_frame = 1

	min_range = 45.0

	prerequisites = { "stz_tech_caerulenite_kinetic_artillery" }
	component_set = "STZ_CAERULENITE_ARTILLERY"
	projectile_gfx = "adv_kinetic_artillery"
	tags = { weapon_type_stz_caerulenite weapon_type_kinetic l_slot weapon_role_artillery }
	ai_tags = { weapon_role_artillery artillery artillery_stealth }
	
	upgrades_to = "STZ_VIRIDISIUM_KINETIC_ARTILLERY"
	resources = {
		category = ship_components
		cost = {
			alloys = @l_t6_cost
			volatile_motes = @l_t6_rare
			stz_sr_caerulenite = @l_t6_rare
		}
		upkeep = {
			energy = @l_t5_upkeep_energy
			alloys = @l_t5_upkeep_alloys
			stz_sr_caerulenite = @stz_l_upkeep
		}
	}

	power = -118
	damage = { min = 253 max = 760}

	hull_damage = 1.0
	shield_damage = 2.0
	shield_penetration = 0
	armor_damage = 0.75
	armor_penetration = 0

	total_fire_time = 50
	windup = { min = 9 max = 34 }

	range = 120
	accuracy = 0.80
	tracking = 0.0

	ai_weight = {
		weight = 6
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_caerulenite }
		}
	}
}

weapon_component_template = {
	type = instant

	key = "STZ_VIRIDISIUM_KINETIC_ARTILLERY"
	size = large

	icon = "GFX_stz_ship_part_viridisium_kinetic_artillery"
	icon_frame = 1

	min_range = 45.0

	prerequisites = { "stz_tech_viridisium_kinetic_artillery" }
	component_set = "STZ_VIRIDISIUM_ARTILLERY"
	projectile_gfx = "adv_kinetic_artillery"
	tags = { weapon_type_stz_viridisium weapon_type_kinetic l_slot weapon_role_artillery }
	ai_tags = { weapon_role_artillery artillery artillery_stealth }
	
	resources = {
		category = ship_components
		cost = {
			alloys = @l_t7_cost
			volatile_motes = @l_t7_rare
			stz_sr_viridisium = @l_t7_rare
		}
		upkeep = {
			energy = @l_t5_upkeep_energy
			alloys = @l_t5_upkeep_alloys
			stz_sr_viridisium = @stz_l_upkeep
		}
	}

	power = -153
	damage = { min = 329 max = 988}

	hull_damage = 1.0
	shield_damage = 2.0
	shield_penetration = 0
	armor_damage = 1.0
	armor_penetration = 0

	total_fire_time = 50
	windup = { min = 9 max = 34 }

	range = 120
	accuracy = 0.85
	tracking = 0.0

	ai_weight = {
		weight = 7
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_viridisium }
		}
	}
}

### Mass Accelerators
weapon_component_template = {
	type = instant

	key = "STZ_CAERULENITE_MASS_ACCELERATOR"
	size = extra_large

	icon = "GFX_stz_ship_part_caerulenite_mass_accelerator"
	icon_frame = 1

	firing_arc = 25.0
	min_range = 45.0
	

	prerequisites = { "stz_tech_caerulenite_mass_accelerator" }
	component_set = "STZ_CAERULENITE_MASS_ACCELERATOR"
	projectile_gfx = "kinetic_artillery"
	tags = { weapon_type_stz_caerulenite weapon_type_kinetic weapon_role_artillery x_slot }
	ai_tags = { weapon_role_artillery artillery }
	
	upgrades_to = "STZ_VIRIDISIUM_MASS_ACCELERATOR"
	resources = {
		category = ship_components
		cost = {
			alloys = @xl_t7_cost
			volatile_motes = @xl_t7_rare
			stz_sr_caerulenite = @xl_t7_rare
		}
		upkeep = {
			energy = @xl_t5_upkeep_energy
			alloys = @xl_t5_upkeep_alloys
			stz_sr_caerulenite = @stz_xl_upkeep
		}
	}

	target_weights = {
		titan = 3
		battleship = 2
	}

	power = -260
	damage = { min = 1183 max = 3380}

	hull_damage = 1.0
	shield_damage = 1.5
	shield_penetration = 0
	armor_damage = 1.0
	armor_penetration = 0

	total_fire_time = 80
	windup = { min = 14 max = 54 }

	range = 150
	accuracy = 0.80
	tracking = 0.0

	ai_weight = {
		weight = 6
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_caerulenite }
		}
	}
}

weapon_component_template = {
	type = instant

	key = "STZ_VIRIDISIUM_MASS_ACCELERATOR"
	size = extra_large

	icon = "GFX_stz_ship_part_viridisium_mass_accelerator"
	icon_frame = 1

	firing_arc = 25.0
	min_range = 45.0
	

	prerequisites = { "stz_tech_viridisium_mass_accelerator" }
	component_set = "STZ_VIRIDISIUM_MASS_ACCELERATOR"
	projectile_gfx = "adv_kinetic_artillery"
	tags = { weapon_type_stz_viridisium weapon_type_kinetic weapon_role_artillery x_slot }
	ai_tags = { weapon_role_artillery artillery }
	
	resources = {
		category = ship_components
		cost = {
			alloys = 298
			volatile_motes = 5.72
			stz_sr_viridisium = 5.72
		}
		upkeep = {
			energy = @xl_t5_upkeep_energy
			alloys = @xl_t5_upkeep_alloys
			stz_sr_viridisium = @stz_xl_upkeep
		}
	}

	power = -338
	damage = { min = 1538 max = 4394}

	hull_damage = 1.25
	shield_damage = 1.5
	shield_penetration = 0
	armor_damage = 1.0
	armor_penetration = 0

	total_fire_time = 80
	windup = { min = 14 max = 54 }

	range = 150
	accuracy = 0.85
	tracking = 0.0

	target_weights = {
		titan = 3
		battleship = 2
	}

	ai_weight = {
		weight = 7
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_viridisium }
		}
	}
}

### AutoCannons

# Caerulenite
weapon_component_template = {
	type = instant

	key = "STZ_CAERULENITE_SMALL_AUTOCANNON"
	size = small

	icon = "GFX_stz_ship_part_caerulenite_autocannon"
	icon_frame = 1

	prerequisites = { "stz_tech_caerulenite_autocannon" }
	component_set = "STZ_CAERULENITE_AUTOCANNON"
	projectile_gfx = "stormfire_auto_cannons_s"
	tags = { weapon_type_stz_caerulenite weapon_type_kinetic s_slot }
	ai_tags = { weapon_role_anti_shield brawler brawler_stealth }
	upgrades_to = "STZ_VIRIDISIUM_SMALL_AUTOCANNON"
	resources = {
		category = ship_components
		cost = {
			alloys = @s_t6_cost
			volatile_motes = @s_t6_rare
			stz_sr_caerulenite = @s_t6_rare
		}
		upkeep = {
			energy = @s_t5_upkeep_energy
			alloys = @s_t5_upkeep_alloys
			stz_sr_caerulenite = @stz_s_upkeep
		}
	}

	power = -30
	damage = { min = 17 max = 35}

	hull_damage = 1.25
	shield_damage = 1.5
	shield_penetration = 0
	armor_damage = 0.5
	armor_penetration = 0

	total_fire_time = 6
	windup = { min = 1 max = 4 }

	range = 30
	accuracy = 0.85
	tracking = 0.75

	ai_weight = {
		weight = 6
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_caerulenite }
		}
	}
}

weapon_component_template = {
	type = instant

	key = "STZ_CAERULENITE_MEDIUM_AUTOCANNON"
	size = medium

	icon = "GFX_stz_ship_part_caerulenite_autocannon"
	icon_frame = 1

	prerequisites = { "stz_tech_caerulenite_autocannon" }
	component_set = "STZ_CAERULENITE_AUTOCANNON"
	projectile_gfx = "stormfire_auto_cannons_m"
	tags = { weapon_type_stz_caerulenite weapon_type_kinetic }
	ai_tags = { weapon_role_anti_shield brawler brawler_stealth }
	upgrades_to = "STZ_VIRIDISIUM_MEDIUM_AUTOCANNON"
	resources = {
		category = ship_components
		cost = {
			alloys = @m_t6_cost
			volatile_motes = @m_t6_rare
			stz_sr_caerulenite = @m_t6_rare
		}
		upkeep = {
			energy = @m_t5_upkeep_energy
			alloys = @m_t5_upkeep_alloys
			stz_sr_caerulenite = @stz_m_upkeep
		}
	}

	power = -66
	damage = { min = 43 max = 88}

	hull_damage = 1.25
	shield_damage = 1.5
	shield_penetration = 0
	armor_damage = 0.5
	armor_penetration = 0

	total_fire_time = 9
	windup = { min = 2 max = 6 }

	range = 35
	accuracy = 0.85
	tracking = 0.50

	ai_weight = {
		weight = 6
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_caerulenite }
		}
	}
}

weapon_component_template = {
	type = instant

	key = "STZ_CAERULENITE_LARGE_AUTOCANNON"
	size = large

	icon = "GFX_stz_ship_part_caerulenite_autocannon"
	icon_frame = 1

	prerequisites = { "stz_tech_caerulenite_autocannon" }
	component_set = "STZ_CAERULENITE_AUTOCANNON"
	projectile_gfx = "stormfire_auto_cannons_l"
	tags = { weapon_type_stz_caerulenite weapon_type_kinetic }
	ai_tags = { weapon_role_anti_shield brawler brawler_stealth }
	upgrades_to = "STZ_VIRIDISIUM_LARGE_AUTOCANNON"
	resources = {
		category = ship_components
		cost = {
			alloys = @l_t6_cost
			volatile_motes = @l_t6_rare
			stz_sr_caerulenite = @l_t6_rare
		}
		upkeep = {
			energy = @l_t5_upkeep_energy
			alloys = @l_t5_upkeep_alloys
			stz_sr_caerulenite = @stz_l_upkeep
		}
	}

	power = -150
	damage = { min = 101 max = 211}

	hull_damage = 1.25
	shield_damage = 1.5
	shield_penetration = 0
	armor_damage = 0.5
	armor_penetration = 0

	total_fire_time = 12
	windup = { min = 2 max = 8 }

	range = 40
	accuracy = 0.85
	tracking = 0.25

	ai_weight = {
		weight = 6
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_caerulenite }
		}
	}
}

# Viridisium
weapon_component_template = {
	type = instant

	key = "STZ_VIRIDISIUM_SMALL_AUTOCANNON"
	size = small

	icon = "GFX_stz_ship_part_viridisium_autocannon"
	icon_frame = 1

	prerequisites = { "stz_tech_viridisium_autocannon" }
	component_set = "STZ_VIRIDISIUM_AUTOCANNON"
	projectile_gfx = "stormfire_auto_cannons_s"
	tags = { weapon_type_stz_viridisium weapon_type_kinetic s_slot }
	ai_tags = { weapon_role_anti_shield brawler brawler_stealth }
	resources = {
		category = ship_components
		cost = {
			alloys = @s_t7_cost
			volatile_motes = @s_t7_rare
			stz_sr_viridisium = @s_t7_rare
		}
		upkeep = {
			energy = @s_t5_upkeep_energy
			alloys = @s_t5_upkeep_alloys
			stz_sr_viridisium = @stz_s_upkeep
		}
	}

	power = -39
	damage = { min = 22 max = 46}

	hull_damage = 1.25
	shield_damage = 1.5
	shield_penetration = 0
	armor_damage = 0.75
	armor_penetration = 0

	total_fire_time = 6
	windup = { min = 1 max = 4 }

	range = 30
	accuracy = 0.85
	tracking = 0.75

	ai_weight = {
		weight = 7
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_viridisium }
		}
	}
}

weapon_component_template = {
	type = instant

	key = "STZ_VIRIDISIUM_MEDIUM_AUTOCANNON"
	size = medium

	icon = "GFX_stz_ship_part_viridisium_autocannon"
	icon_frame = 1

	prerequisites = { "stz_tech_viridisium_autocannon" }
	component_set = "STZ_VIRIDISIUM_AUTOCANNON"
	projectile_gfx = "stormfire_auto_cannons_m"
	tags = { weapon_type_stz_viridisium weapon_type_kinetic }
	ai_tags = { weapon_role_anti_shield brawler brawler_stealth }
	resources = {
		category = ship_components
		cost = {
			alloys = @m_t7_cost
			volatile_motes = @m_t7_rare
			stz_sr_viridisium = @m_t7_rare
		}
		upkeep = {
			energy = @m_t5_upkeep_energy
			alloys = @m_t5_upkeep_alloys
			stz_sr_viridisium = @stz_m_upkeep
		}
	}

	power = -86
	damage = { min = 56 max = 114}

	hull_damage = 1.25
	shield_damage = 1.5
	shield_penetration = 0
	armor_damage = 0.75
	armor_penetration = 0

	total_fire_time = 9
	windup = { min = 2 max = 6 }

	range = 35
	accuracy = 0.85
	tracking = 0.50

	ai_weight = {
		weight = 7
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_viridisium }
		}
	}
}

weapon_component_template = {
	type = instant

	key = "STZ_VIRIDISIUM_LARGE_AUTOCANNON"
	size = large

	icon = "GFX_stz_ship_part_viridisium_autocannon"
	icon_frame = 1

	prerequisites = { "stz_tech_viridisium_autocannon" }
	component_set = "STZ_VIRIDISIUM_AUTOCANNON"
	projectile_gfx = "stormfire_auto_cannons_l"
	tags = { weapon_type_stz_viridisium weapon_type_kinetic }
	ai_tags = { weapon_role_anti_shield brawler brawler_stealth }
	resources = {
		category = ship_components
		cost = {
			alloys = @l_t7_cost
			volatile_motes = @l_t7_rare
			stz_sr_viridisium = @l_t7_rare
		}
		upkeep = {
			energy = @l_t5_upkeep_energy
			alloys = @l_t5_upkeep_alloys
			stz_sr_viridisium = @stz_l_upkeep
		}
	}

	power = -195
	damage = { min = 131 max = 274}

	hull_damage = 1.25
	shield_damage = 1.5
	shield_penetration = 0
	armor_damage = 0.75
	armor_penetration = 0

	total_fire_time = 12
	windup = { min = 2 max = 8 }

	range = 40
	accuracy = 0.85
	tracking = 0.25

	ai_weight = {
		weight = 7
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_viridisium }
		}
	}
}

### Titan Mass Accelerators
weapon_component_template = {
	type = instant

	key = "STZ_CAERULENITE_TITAN_MASS_ACCELERATOR"
	size = titanic

	icon = "GFX_stz_ship_part_caerulenite_titan_mass_accelerator"
	icon_frame = 1

	firing_arc = 25.0
	min_range = 60.0
	

	prerequisites = { "stz_tech_caerulenite_titan_mass_accelerator" }
	component_set = "STZ_CAERULENITE_TITAN_MASS_ACCELERATOR"
	projectile_gfx = "kinetic_artillery"
	tags = { weapon_type_stz_caerulenite weapon_type_kinetic weapon_role_artillery t_slot }
	ai_tags = { weapon_role_artillery artillery }
	
	upgrades_to = "STZ_VIRIDISIUM_TITAN_MASS_ACCELERATOR"
	resources = {
		category = ship_components
		cost = {
			alloys = @titanic_t6_cost
			volatile_motes = @titanic_t6_rare
			stz_sr_caerulenite = @titanic_t6_rare
		}
		upkeep = {
			energy = @titanic_t6_upkeep_energy
			alloys = @titanic_t6_upkeep_alloys
			stz_sr_caerulenite = @stz_t_upkeep
		}
	}

	target_weights = {
		titan = 3
		battleship = 2
	}

	power = -650
	damage = { min = 8281 max = 12422}

	hull_damage = 1.25
	shield_damage = 1.5
	shield_penetration = 0
	armor_damage = 1.0
	armor_penetration = 0

	total_fire_time = 180
	windup = { min = 45 max = 90 }

	range = 300
	accuracy = 1.0
	tracking = 0.0

	ai_weight = {
		weight = 6
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_caerulenite }
		}
	}
}

weapon_component_template = {
	type = instant

	key = "STZ_VIRIDISIUM_TITAN_MASS_ACCELERATOR"
	size = titanic

	icon = "GFX_stz_ship_part_viridisium_titan_mass_accelerator"
	icon_frame = 1

	firing_arc = 25.0
	min_range = 60.0
	

	prerequisites = { "stz_tech_viridisium_titan_mass_accelerator" }
	component_set = "STZ_VIRIDISIUM_TITAN_MASS_ACCELERATOR"
	projectile_gfx = "adv_kinetic_artillery"
	tags = { weapon_type_stz_viridisium weapon_type_kinetic weapon_role_artillery t_slot }
	ai_tags = { weapon_role_artillery artillery }
	
	resources = {
		category = ship_components
		cost = {
			alloys = @titanic_t7_cost
			volatile_motes = @titanic_t7_rare
			stz_sr_viridisium = @titanic_t7_rare
		}
		upkeep = {
			energy = @titanic_t6_upkeep_energy
			alloys = @titanic_t6_upkeep_alloys
			stz_sr_viridisium = @stz_t_upkeep
		}
	}

	power = -845
	damage = { min = 10765 max = 16149}

	hull_damage = 1.50
	shield_damage = 2.0
	shield_penetration = 0
	armor_damage = 1.0
	armor_penetration = 0

	total_fire_time = 180
	windup = { min = 45 max = 90 }

	range = 300
	accuracy = 1.0
	tracking = 0.0

	target_weights = {
		titan = 3
		battleship = 2
	}

	ai_weight = {
		weight = 7
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_viridisium }
		}
	}
}