# ####################
# Cutholoids
# ####################

### Meteoroid Slinger 1
weapon_component_template = {
	type = instant

	key = "METEOROID_SLINGER_1"
	size = medium

	icon = "GFX_ship_part_meteoroid_slinger_1"
	icon_frame = 1

	firing_arc = 25.0

	min_range = 0

	potential = {
		OR = {
			is_ship_size = cutholoids_hatchling
			is_ship_size = cutholoids_juvenile
			is_ship_size = cutholoids
		}
	}
	component_set = "METEOROID_SLINGER_1"
	projectile_gfx = "meteoroid_slinger"
	tags = {
		weapon_type_kinetic
		m_slot
		weapon_role_artillery
		weapon_type_space_fauna
	}
	ai_tags = {
		weapon_role_artillery
		artillery
		artillery_stealth
	}
	ai_tag_weight = 0

	resources = {
		category = ship_components
		cost = {
			minerals = 160
			mult = @fauna_cost_scaling
		}
		upkeep = {
			energy = 0.25
			minerals = 0.24
		}
	}
}

### Meteoroid Slinger 2
weapon_component_template = {
	type = instant

	key = "METEOROID_SLINGER_2"
	size = large

	icon = "GFX_ship_part_meteoroid_slinger_2"
	icon_frame = 1

	firing_arc = 25.0

	min_range = 0

	potential = {
		OR = {
			is_ship_size = cutholoids_hatchling
			is_ship_size = cutholoids_juvenile
			is_ship_size = cutholoids
		}
	}
	component_set = "METEOROID_SLINGER_2"
	projectile_gfx = "meteoroid_slinger"
	tags = {
		weapon_type_kinetic
		l_slot
		weapon_role_artillery
		weapon_type_space_fauna
	}
	ai_tags = {
		weapon_role_artillery
		artillery
		artillery_stealth
	}
	ai_tag_weight = 0

	resources = {
		category = ship_components
		cost = {
			minerals = 320
			mult = @fauna_cost_scaling
		}
		upkeep = {
			energy = 0.50
			minerals = 0.48
		}
	}
}

# Engulf < Destroyer
weapon_component_template = {
	type = engulf

	key = "MEDIUM_PREYING_MAW"
	size = engulf

	icon = GFX_ship_part_preying_maw
	icon_frame = 1

	potential = {
		OR = {
			is_ship_size = cutholoids_hatchling
			is_ship_size = cutholoids_juvenile
			is_ship_size = cutholoids
		}
	}

	min_range = 0

	targetable_ship_sizes = { corvette frigate mauler_stage_1 mauler_stage_2 mauler_stage_3 constructor nomads_constructor science space_whale_3 space_amoeba voidworms_small crystal_ship_small_blue crystal_ship_small_green crystal_ship_small_yellow crystal_ship_small_red crystal_ship_small_blue_elite crystal_ship_small_green_elite crystal_ship_small_yellow_elite crystal_ship_small_red_elite }
	component_set = "CUTHOLOID_PREYING_MAW"

	target_weights = {
		corvette = 3
		frigate = 3
		destroyer = 2
		cruiser = 1
		mauler_stage_1 = 3
		mauler_stage_2 = 3
		mauler_stage_3 = 3
		weaver_stage_1 = 2
		weaver_stage_2 = 2
		weaver_stage_3 = 2
		harbinger_stage_1 = 1
		harbinger_stage_2 = 1
		harbinger_stage_3 = 1
	}

	resources = {
		category = ship_components
		cost = {
			minerals = 120
			mult = @fauna_cost_scaling
		}
		upkeep = {
			energy = 0.19
			minerals = 0.18
		}
	}
}

# Engulf < Cruiser
weapon_component_template = {
	type = engulf

	key = "LARGE_PREYING_MAW"
	size = engulf

	icon = GFX_ship_part_preying_maw
	icon_frame = 1

	potential = {
		OR = {
			is_ship_size = cutholoids_juvenile
			is_ship_size = cutholoids
		}
	}

	min_range = 0

	targetable_ship_sizes = { corvette frigate destroyer cruiser mauler_stage_1 mauler_stage_2 mauler_stage_3 weaver_stage_1 weaver_stage_2 weaver_stage_3 harbinger_stage_1 harbinger_stage_2 harbinger_stage_3 constructor nomads_constructor science space_whale_3 space_whale_4 space_amoeba voidworms_small voidworms_medium crystal_ship_small_blue crystal_ship_medium_blue crystal_ship_small_green crystal_ship_medium_green crystal_ship_small_yellow crystal_ship_medium_yellow crystal_ship_small_red crystal_ship_medium_red crystal_ship_small_blue_elite crystal_ship_medium_blue_elite crystal_ship_small_green_elite crystal_ship_medium_green_elite crystal_ship_small_yellow_elite crystal_ship_medium_yellow_elite crystal_ship_small_red_elite crystal_ship_medium_red_elite }
	component_set = "CUTHOLOID_PREYING_MAW"

	target_weights = {
		corvette = 1
		frigate = 2
		destroyer = 3
		cruiser = 2
		mauler_stage_1 = 2
		mauler_stage_2 = 2
		mauler_stage_3 = 2
		weaver_stage_1 = 3
		weaver_stage_2 = 3
		weaver_stage_3 = 3
		harbinger_stage_1 = 2
		harbinger_stage_2 = 2
		harbinger_stage_3 = 2
	}

	resources = {
		category = ship_components
		cost = {
			minerals = 240
			mult = @fauna_cost_scaling
		}
		upkeep = {
			energy = 0.4
			minerals = 0.36
		}
	}
}

# Engulf < Battleship
weapon_component_template = {
	type = engulf

	key = "HUGE_PREYING_MAW"
	size = engulf

	icon = GFX_ship_part_preying_maw
	icon_frame = 1

	potential = {
		is_ship_size = cutholoids
	}

	min_range = 0

	targetable_ship_sizes = { corvette frigate destroyer cruiser mauler_stage_1 mauler_stage_2 mauler_stage_3 weaver_stage_1 weaver_stage_2 weaver_stage_3 harbinger_stage_1 harbinger_stage_2 harbinger_stage_3 constructor nomads_constructor science space_whale_1 space_whale_2 space_whale_3 space_whale_4 space_whale_5 space_amoeba space_amoeba_mother voidworms_small voidworms_medium crystal_ship_small_blue crystal_ship_medium_blue crystal_ship_large_blue crystal_ship_small_green crystal_ship_medium_green crystal_ship_large_green crystal_ship_small_yellow crystal_ship_medium_yellow crystal_ship_large_yellow crystal_ship_small_red crystal_ship_medium_red crystal_ship_large_red crystal_ship_small_blue_elite crystal_ship_medium_blue_elite crystal_ship_large_blue_elite crystal_ship_small_green_elite crystal_ship_medium_green_elite crystal_ship_large_green_elite crystal_ship_small_yellow_elite crystal_ship_medium_yellow_elite crystal_ship_large_yellow_elite crystal_ship_small_red_elite crystal_ship_medium_red_elite crystal_ship_large_red_elite }
	component_set = "CUTHOLOID_PREYING_MAW"

	target_weights = {
		corvette = 1
		frigate = 1
		destroyer = 2
		cruiser = 3
		mauler_stage_1 = 1
		mauler_stage_2 = 1
		mauler_stage_3 = 1
		weaver_stage_1 = 2
		weaver_stage_2 = 2
		weaver_stage_3 = 2
		harbinger_stage_1 = 3
		harbinger_stage_2 = 3
		harbinger_stage_3 = 3
	}

	resources = {
		category = ship_components
		cost = {
			minerals = 480
			mult = @fauna_cost_scaling
		}
		upkeep = {
			energy = 0.75
			minerals = 0.72
		}
	}
}
