
ship_section_template = {
    key = "plnmg_pmcar_10_section"
    ship_size = plnmg_plntmatter_carrier
    fits_on_slot = "ship"
    entity = "lithoid_01_colossus_ship_entity"
    icon = "GFX_ship_part_core_mid"
    
    component_slot = {
        name = "EXTRA_LARGE_01"
        template = "invisible_extra_large_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "LARGE_GUN_01"
        template = "invisible_large_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "LARGE_GUN_02"
        template = "invisible_large_turret"
        locatorname = "planet_killer_gun_01"
    }
    
    component_slot = {
        name = "MEDIUM_GUN_01"
        template = "invisible_medium_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "MEDIUM_GUN_02"
        template = "invisible_medium_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "MEDIUM_GUN_03"
        template = "invisible_medium_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "MEDIUM_GUN_04"
        template = "invisible_medium_turret"
        locatorname = "planet_killer_gun_01"
    }

    component_slot = {
        name = "PD_01"
        template = "invisible_point_defence_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "PD_02"
        template = "invisible_point_defence_turret"
        locatorname = "planet_killer_gun_01"
    }

    large_utility_slots = 10
    ship_modifier = { plnmg_plntmatter_carrier_gen = 1 }
    resources = {
        category = ship_sections
        cost = { alloys = 2000 }
    }
}

ship_section_template = {
    key = "plnmg_pmcar_20_section"
    ship_size = plnmg_plntmatter_carrier
    fits_on_slot = "ship"
    entity = "lithoid_01_colossus_ship_entity"
    icon = "GFX_ship_part_core_mid"

    component_slot = {
        name = "TITANIC_01"
        template = "invisible_titanic_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "EXTRA_LARGE_01"
        template = "invisible_extra_large_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "EXTRA_LARGE_02"
        template = "invisible_extra_large_turret"
        locatorname = "planet_killer_gun_01"
    }

    component_slot = {
        name = "LARGE_GUN_01"
        template = "invisible_large_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "LARGE_GUN_02"
        template = "invisible_large_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "LARGE_GUN_03"
        template = "invisible_large_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "LARGE_GUN_04"
        template = "invisible_large_turret"
        locatorname = "planet_killer_gun_01"
    }

    component_slot = {
        name = "MEDIUM_GUN_01"
        template = "invisible_medium_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "MEDIUM_GUN_02"
        template = "invisible_medium_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "MEDIUM_GUN_03"
        template = "invisible_medium_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "MEDIUM_GUN_04"
        template = "invisible_medium_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "MEDIUM_GUN_05"
        template = "invisible_medium_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "MEDIUM_GUN_06"
        template = "invisible_medium_turret"
        locatorname = "planet_killer_gun_01"
    }
    # component_slot = {
    #     name = "MEDIUM_GUN_07"
    #     template = "invisible_medium_turret"
    #     locatorname = "planet_killer_gun_01"
    # }

    component_slot = {
        name = "SMALL_GUN_01"
        template = "invisible_small_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "SMALL_GUN_02"
        template = "invisible_small_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "SMALL_GUN_03"
        template = "invisible_small_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "SMALL_GUN_04"
        template = "invisible_small_turret"
        locatorname = "planet_killer_gun_01"
    }

    component_slot = {
        name = "PD_01"
        template = "invisible_point_defence_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "PD_02"
        template = "invisible_point_defence_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "PD_03"
        template = "invisible_point_defence_turret"
        locatorname = "planet_killer_gun_01"
    }
    component_slot = {
        name = "PD_04"
        template = "invisible_point_defence_turret"
        locatorname = "planet_killer_gun_01"
    }

    large_utility_slots = 20
    ship_modifier = { plnmg_plntmatter_carrier_gen = 2 }
    prerequisites = { tech_planetmega_dummy }

    resources = {
        category = ship_sections
        cost = { alloys = 3000 }
        upkeep = { energy = 5 }
    }
}
