##### STARBASE EXTENDED 3.0 WEAPONS #####


# STARBASE WEAPONS

# POINT DEFENSE
weapon_component_template = {
	key = "POINT_DEFENCE_STARBASE"
	size = point_defence
	icon = "GFX_ship_part_point_defense_3"
	icon_frame = 1
	entity = "turret_point_defence_entity"
	type = point_defence
	damage = { min = 2 max = 6 }
	windup = { min = 0 max = 0 }
	total_fire_time = 8
	range = 35
	accuracy = 0.75
	power = -20
	hull_damage = 1.0
	armor_penetration = 0.0
	armor_damage = 1.0
	shield_penetration = 0.0
	shield_damage = 1.0
	tracking = 0.4
	component_set = "POINT_DEFENCE_STARBASE"
	projectile_gfx = "white_laser_pd"
	tags = { weapon_type_point_defense weapon_type_energy }
	size_restriction = { starbase_starport starbase_starhold starbase_starfortress starbase_citadel starbase_stronghold starbase_headquarters }
}

# XL BEAM
weapon_component_template = {
	key = "XL_BEAM_STARBASE"
	size = extra_large
	entity = "invisible_turret_entity"
	damage = { min = 1200 max = 2400 }
	windup = { min = 10 max = 20 }
	total_fire_time = 70
	range = 150
	accuracy = 0.85
	type = instant
	power = -350
	hull_damage = 1.50
	armor_damage = 2.00
	shield_damage = 0.50	
	icon = "GFX_ship_part_devolution_beam"
	icon_frame = 1	
	firing_arc = 360.0
#	use_ship_kill_target = no	
	component_set = "XL_BEAM_STARBASE"
	projectile_gfx = "tachyon_lance"
	size_restriction = { starbase_citadel starbase_stronghold starbase_headquarters }
}

# TITANIC BEAM
weapon_component_template = {
	key = "PERDITION_BEAM_STARBASE"
	size = titanic
	entity = "large_laser_gun_entity"
	type = instant
	prio_projectile = yes
	damage = { min = 10000 max = 15000 }
	windup = { min = 30 max = 45 }
	total_fire_time = 120
	range = 150
	accuracy = 0.95
	type = instant
	power = -1000
	hull_damage = 1.25
	armor_damage = 1.50
	shield_damage = 0.75	
	icon = "GFX_ship_part_perdition_beam"
	icon_frame = 1	
	firing_arc = 360.0
#	use_ship_kill_target = no	
	component_set = "PERDITION_BEAM_STARBASE"
	projectile_gfx = "perdition_beam"
	size_restriction = { starbase_citadel starbase_stronghold starbase_headquarters }	
}

# ORBITAL RING WEAPONS

# POINT DEFENSE ORBITAL RING
weapon_component_template = {
	key = "POINT_DEFENCE_ORBITAL_RING"
	size = point_defence
	icon = "GFX_ship_part_point_defense_3"
	icon_frame = 1
	entity = "turret_point_defence_entity"
	type = point_defence
	damage = { min = 2 max = 6 }
	windup = { min = 0 max = 0 }
	total_fire_time = 8
	range = 35
	accuracy = 0.75
	power = -20
	hull_damage = 1.0
	armor_penetration = 0.0
	armor_damage = 1.0
	shield_penetration = 0.0
	shield_damage = 1.0
	tracking = 0.4
	component_set = "POINT_DEFENCE_STARBASE"
	projectile_gfx = "white_laser_pd"
	tags = { weapon_type_point_defense weapon_type_energy }
	size_restriction = { orbital_ring_tier_1 orbital_ring_tier_2 orbital_ring_tier_3  }
}


# XL BEAM ORBITAL RING
weapon_component_template = {
	key = "XL_BEAM_ORBITAL_RING"
	size = extra_large
	entity = "invisible_turret_entity"
	damage = { min = 1200 max = 2400 }
	windup = { min = 10 max = 20 }
	total_fire_time = 70
	range = 150
	accuracy = 0.85
	type = instant
	power = -350
	hull_damage = 1.50
	armor_damage = 2.00
	shield_damage = 0.50	
	icon = "GFX_ship_part_devolution_beam"
	icon_frame = 1	
	firing_arc = 360.0
#	use_ship_kill_target = no	
	component_set = "XL_BEAM_STARBASE"
	projectile_gfx = "tachyon_lance"
	size_restriction = { orbital_ring_tier_2 orbital_ring_tier_3 }
}

# TITANIC BEAM ORBITAL RING
weapon_component_template = {
	key = "PERDITION_BEAM_ORBITAL_RING"
	size = titanic
	entity = "large_laser_gun_entity"
	type = instant
	prio_projectile = yes
	damage = { min = 10000 max = 15000 }
	windup = { min = 30 max = 45 }
	total_fire_time = 120
	range = 150
	accuracy = 0.95
	type = instant
	power = -1000
	hull_damage = 1.25
	armor_damage = 1.50
	shield_damage = 0.75	
	icon = "GFX_ship_part_perdition_beam"
	icon_frame = 1	
	firing_arc = 360.0
#	use_ship_kill_target = no	
	component_set = "PERDITION_BEAM_STARBASE"
	projectile_gfx = "perdition_beam"
	size_restriction = { orbital_ring_tier_3 }	
}

# STARBASE AURAS

# SHIP DISRUPTOR AURA
utility_component_template = {
	key = "STARBASE_AURA_SHIP_DISRUPTOR"
	size = medium
	icon = "GFX_ship_part_aura_snare"
	icon_frame = 1
	power = 0
	class_restriction = { shipclass_starbase }
	hostile_aura = {
		name = "aura_starbase_ship_disruptor"
		system_wide = yes
		stack_info = { id = hostile_ship_disruptor_aura priority = 10 }
		modifier = { 
			ship_shield_mult = -0.10 
			ship_fire_rate_mult = -0.10
			ship_tracking_add = -2
			ship_accuracy_add = -5
		}
		graphics = { ship_effect = { entity = "ship_aura_negative_entity" dynamic_scale = no } }
	}
}

# SHIP AMPLIFIER AURA
utility_component_template = {
	key = "STARBASE_AURA_SHIP_AMPLIFIER"
	size = medium
	icon = "GFX_ship_part_aura_snare"
	icon_frame = 1
	power = 0
	class_restriction = { shipclass_starbase }
	friendly_aura = {
		name = "aura_starbase_ship_amplifier"
		system_wide = yes
		stack_info = { id = friendly_ship_amplifier_aura priority = 10 }
		modifier = {
			ship_shield_mult = 0.15
			ship_fire_rate_mult = 0.15
			ship_tracking_add = 4
			ship_accuracy_add = 10
		}
		graphics = { ship_effect = { entity = "ship_aura_positive_entity" dynamic_scale = no } }
	}
}




##### EOF