weapon_component_template = {
	key = "PLANET_LANCE_BLOKKAT"
	size = titanic
	#entity = "large_laser_gun_entity"
	type = instant
	icon = "GFX_ship_part_planet_lance_blokkat"
	icon_frame = 1
    power = -80000
	
	damage = { min = 3500000 max = 9000000 }
	windup = { min = 50 max = 60 }
    total_fire_time = 150
    range = 350
    accuracy = 1.00
	
    hull_damage = 1.00
    armor_penetration = 0.00
	shield_penetration = 1.00
    armor_damage = 1.40

    tracking = 0.20

	firing_arc = 50
	
	component_set = "PLANET_LANCE_BLOKKAT"
	projectile_gfx = "giga_super_omega_laser_blokkat"
	tags = { weapon_type_energy 
	weapon_type_anticompound
}

	size_restriction = { giga_planet_behemoth giga_systemcraft giga_o_systemcraft }
	
	prerequisites = { "giga_tech_blokkat_obliterator" }
	
	resources = {
		category = ship_components
		cost = {
			alloys = 15000
			energy = 50000
		}		
		upkeep = {
			energy = 2000
		}
	}
	ai_tags = { weapon_role_anti_armor }	#tags must be pre-registered in common/weapon_tags
	ai_weight = {
		factor = 5
		modifier = {
			factor = 10000
			has_global_flag = compound_invasion_ongoing
			not = { has_global_flag = compound_destroyed }
		}
	}
}