ship_section_template = {
	key = "OFFSPRING_WEAVER_STAGE_1_buffer"
	ship_size = offspring_weaver_stage_1
	fits_on_slot = mid
	should_draw_components = no
	icon = "GFX_ship_part_core_mid"
	entity = "weaver_stage_1_ship_entity"

	ai_tags = {
		buffer_role
		buffer_role_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}
	
	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_01"
		template = "invisible_small_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_02"
		template = "invisible_small_turret"
		locatorname = "weapon_02"
	}
	
	component_slot = {
		name = "SMALL_GUN_03"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_04"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_02"
	}

	small_utility_slots = 8
	aux_utility_slots = 2

	resources = {
		category = ship_sections
		cost = {
			food = @weaver_stage_1_section_cost
			mult = @alloy_to_food_cost_ratio
		}
	}
}

ship_section_template = {
	key = "OFFSPRING_WEAVER_STAGE_1_debuffer"
	ship_size = offspring_weaver_stage_1
	fits_on_slot = mid
	should_draw_components = no
	icon = "GFX_ship_part_core_mid"
	entity = "weaver_stage_1_ship_entity"

	ai_tags = {
		debuffer_role
		debuffer_role_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}
	
	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_01"
		template = "invisible_small_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_02"
		template = "invisible_small_turret"
		locatorname = "weapon_02"
	}
	
	component_slot = {
		name = "SMALL_GUN_03"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_04"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_02"
	}

	small_utility_slots = 8
	aux_utility_slots = 2

	resources = {
		category = ship_sections
		cost = {
			food = @weaver_stage_1_section_cost
			mult = @alloy_to_food_cost_ratio
		}
	}
}

ship_section_template = {
	key = "OFFSPRING_WEAVER_STAGE_2_buffer"
	ship_size = offspring_weaver_stage_2
	fits_on_slot = mid
	should_draw_components = no
	icon = "GFX_ship_part_core_mid"
	entity = "weaver_stage_2_ship_entity"

	ai_tags = {
		buffer_role
		buffer_role_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}
	
	component_slot = {
		name = "MEDIUM_GUN_04"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_05"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "MEDIUM_GUN_06"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_01"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_02"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_03"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_02"
	}
	
	component_slot = {
		name = "SMALL_GUN_04"
		template = "invisible_small_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_05"
		template = "invisible_small_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_06"
		template = "invisible_small_turret"
		locatorname = "weapon_02"
	}

	small_utility_slots = 4
	medium_utility_slots = 4
	aux_utility_slots = 2

	resources = {
		category = ship_sections
		cost = {
			food = @weaver_stage_2_section_cost
			mult = @alloy_to_food_cost_ratio
		}
	}
}

ship_section_template = {
	key = "OFFSPRING_WEAVER_STAGE_2_debuffer"
	ship_size = offspring_weaver_stage_2
	fits_on_slot = mid
	should_draw_components = no
	icon = "GFX_ship_part_core_mid"
	entity = "weaver_stage_2_ship_entity"

	ai_tags = {
		debuffer_role
		debuffer_role_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}
	
	component_slot = {
		name = "MEDIUM_GUN_04"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_05"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "MEDIUM_GUN_06"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_01"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_02"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_03"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_02"
	}
	
	component_slot = {
		name = "SMALL_GUN_04"
		template = "invisible_small_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_05"
		template = "invisible_small_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_06"
		template = "invisible_small_turret"
		locatorname = "weapon_02"
	}

	small_utility_slots = 4
	medium_utility_slots = 4
	aux_utility_slots = 2

	resources = {
		category = ship_sections
		cost = {
			food = @weaver_stage_2_section_cost
			mult = @alloy_to_food_cost_ratio
		}
	}
}

ship_section_template = {
	key = "OFFSPRING_WEAVER_STAGE_3_buffer"
	ship_size = offspring_weaver_stage_3
	fits_on_slot = mid
	should_draw_components = no
	icon = "GFX_ship_part_core_mid"
	entity = "weaver_stage_3_ship_entity"

	ai_tags = {
		buffer_role
		buffer_role_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_04"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}
	
	component_slot = {
		name = "MEDIUM_GUN_05"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_06"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "MEDIUM_GUN_07"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_08"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_01"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_02"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_03"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_02"
	}
	
	component_slot = {
		name = "SMALL_GUN_04"
		template = "invisible_small_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_05"
		template = "invisible_small_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_06"
		template = "invisible_small_turret"
		locatorname = "weapon_02"
	}

	small_utility_slots = 4
	medium_utility_slots = 7
	aux_utility_slots = 3

	resources = {
		category = ship_sections
		cost = {
			food = @weaver_stage_3_section_cost
			mult = @alloy_to_food_cost_ratio
		}
	}
}

ship_section_template = {
	key = "OFFSPRING_WEAVER_STAGE_3_debuffer"
	ship_size = offspring_weaver_stage_3
	fits_on_slot = mid
	should_draw_components = no
	icon = "GFX_ship_part_core_mid"
	entity = "weaver_stage_3_ship_entity"

	ai_tags = {
		debuffer_role
		debuffer_role_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_04"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}
	
	component_slot = {
		name = "MEDIUM_GUN_05"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_06"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "MEDIUM_GUN_07"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_08"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_01"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_02"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_03"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_02"
	}
	
	component_slot = {
		name = "SMALL_GUN_04"
		template = "invisible_small_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_05"
		template = "invisible_small_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_06"
		template = "invisible_small_turret"
		locatorname = "weapon_02"
	}

	small_utility_slots = 4
	medium_utility_slots = 7
	aux_utility_slots = 3

	resources = {
		category = ship_sections
		cost = {
			food = @weaver_stage_3_section_cost
			mult = @alloy_to_food_cost_ratio
		}
	}
}
