########################### ## Civilian Stations ########################### ship_section_template = { key = "DEFAULT_MINING_STATION_SECTION" ship_size = mining_station fits_on_slot = mid entity = "mining_station_section_entity" icon = "GFX_ship_part_core_mid" } ship_section_template = { key = "DEFAULT_RESEARCH_STATION_SECTION" ship_size = research_station fits_on_slot = mid entity = "research_station_section_entity" icon = "GFX_ship_part_core_mid" } ################## # Defense Platform ################## ship_section_template = { key = "LIGHT_MILITARY_STATION_SECTION" ship_size = military_station_small ship_size = military_station_medium ai_tags = { gunship } fits_on_slot = "north" fits_on_slot = "west" fits_on_slot = "east" fits_on_slot = "south" should_draw_components = yes entity = "military_station_section_light_entity" icon = "GFX_ship_part_core_mid" component_slot = { name = "SMALL_GUN_01" template = "small_turret" locatorname = "small_gun_01" } component_slot = { name = "SMALL_GUN_02" template = "small_turret" locatorname = "small_gun_02" } component_slot = { name = "SMALL_GUN_03" template = "small_turret" locatorname = "small_gun_03" is_side_slot = no } component_slot = { name = "SMALL_GUN_04" template = "small_turret" locatorname = "small_gun_04" is_side_slot = no } medium_utility_slots = 3 aux_utility_slots = 1 resources = { category = ship_sections cost = { trigger = { from = { country_uses_bio_ships = no } } alloys = @defense_platform_section_cost } cost = { trigger = { from = { country_uses_bio_ships = yes } } alloys = @defense_platform_section_cost mult = 0.5 } cost = { trigger = { from = { country_uses_bio_ships = yes } } food = @defense_platform_section_cost mult = @halved_alloy_to_food_cost_ratio } } ai_weight = { factor = 1 modifier = { factor = 10 is_preferred_weapons = weapon_type_kinetic } } } ship_section_template = { key = "PD_MILITARY_STATION_SECTION" ship_size = military_station_small ship_size = military_station_medium ai_tags = { screen } fits_on_slot = "north" fits_on_slot = "west" fits_on_slot = "east" fits_on_slot = "south" should_draw_components = yes entity = "military_station_section_light_entity" icon = "GFX_ship_part_core_mid" component_slot = { name = "SMALL_GUN_01" template = "point_defence_turret" locatorname = "small_gun_01" } component_slot = { name = "SMALL_GUN_02" template = "point_defence_turret" locatorname = "small_gun_02" } component_slot = { name = "SMALL_GUN_03" template = "point_defence_turret" locatorname = "small_gun_03" is_side_slot = no } component_slot = { name = "SMALL_GUN_04" template = "point_defence_turret" locatorname = "small_gun_04" is_side_slot = no } medium_utility_slots = 3 aux_utility_slots = 1 resources = { category = ship_sections cost = { trigger = { from = { country_uses_bio_ships = no } } alloys = @defense_platform_section_cost } cost = { trigger = { from = { country_uses_bio_ships = yes } } alloys = @defense_platform_section_cost mult = 0.5 } cost = { trigger = { from = { country_uses_bio_ships = yes } } food = @defense_platform_section_cost mult = @halved_alloy_to_food_cost_ratio } } ai_weight = { factor = 1 } } ship_section_template = { key = "MEDIUM_MILITARY_STATION_SECTION" ship_size = military_station_small ship_size = military_station_medium ai_tags = { gunship } fits_on_slot = "north" fits_on_slot = "west" fits_on_slot = "east" fits_on_slot = "south" should_draw_components = yes entity = "military_station_section_medium_entity" icon = "GFX_ship_part_core_mid" component_slot = { name = "MEDIUM_GUN_01" template = "medium_turret" locatorname = "medium_gun_01" } component_slot = { name = "MEDIUM_GUN_02" template = "medium_turret" locatorname = "medium_gun_02" } medium_utility_slots = 3 aux_utility_slots = 1 resources = { category = ship_sections cost = { trigger = { from = { country_uses_bio_ships = no } } alloys = @defense_platform_section_cost } cost = { trigger = { from = { country_uses_bio_ships = yes } } alloys = @defense_platform_section_cost mult = 0.5 } cost = { trigger = { from = { country_uses_bio_ships = yes } } food = @defense_platform_section_cost mult = @halved_alloy_to_food_cost_ratio } } ai_weight = { factor = 1 modifier = { factor = 10 OR = { is_preferred_weapons = weapon_type_energy is_preferred_weapons = weapon_type_kinetic } } } } ship_section_template = { key = "MISSILE_MILITARY_STATION_SECTION" ship_size = military_station_small ship_size = military_station_medium ai_tags = { explosive } fits_on_slot = "north" fits_on_slot = "west" fits_on_slot = "east" fits_on_slot = "south" should_draw_components = yes entity = "military_station_section_medium_entity" icon = "GFX_ship_part_core_mid" prerequisites = { tech_torpedoes_1 } ai_tags = { energy_torpedoes } component_slot = { name = "TORPEDO_01" template = "medium_missile_turret" locatorname = "medium_gun_01" } component_slot = { name = "TORPEDO_02" template = "medium_missile_turret" locatorname = "medium_gun_02" } medium_utility_slots = 3 aux_utility_slots = 1 resources = { category = ship_sections cost = { trigger = { from = { country_uses_bio_ships = no } } alloys = @defense_platform_section_cost } cost = { trigger = { from = { country_uses_bio_ships = yes } } alloys = @defense_platform_section_cost mult = 0.5 } cost = { trigger = { from = { country_uses_bio_ships = yes } } food = @defense_platform_section_cost mult = @halved_alloy_to_food_cost_ratio } } ai_weight = { factor = 1 modifier = { factor = 10 is_preferred_weapons = weapon_type_explosive } } } ship_section_template = { key = "HEAVY_MILITARY_STATION_SECTION" ship_size = military_station_small ship_size = military_station_medium ai_tags = { artillery } fits_on_slot = "north" fits_on_slot = "west" fits_on_slot = "east" fits_on_slot = "south" should_draw_components = yes entity = "military_station_section_heavy_entity" icon = "GFX_ship_part_core_mid" component_slot = { name = "LARGE_GUN_01" template = "large_turret" locatorname = "large_gun_01" } medium_utility_slots = 3 aux_utility_slots = 1 resources = { category = ship_sections cost = { trigger = { from = { country_uses_bio_ships = no } } alloys = @defense_platform_section_cost } cost = { trigger = { from = { country_uses_bio_ships = yes } } alloys = @defense_platform_section_cost mult = 0.5 } cost = { trigger = { from = { country_uses_bio_ships = yes } } food = @defense_platform_section_cost mult = @halved_alloy_to_food_cost_ratio } } ai_weight = { factor = 1 } } ship_section_template = { key = "HANGAR_MILITARY_STATION_SECTION" ship_size = military_station_small ship_size = military_station_medium ai_tags = { carrier } fits_on_slot = "north" fits_on_slot = "west" fits_on_slot = "east" fits_on_slot = "south" should_draw_components = yes entity = "military_station_section_hangar_entity" icon = "GFX_ship_part_core_mid" component_slot = { name = "STRIKE_CRAFT_01" template = "large_strike_craft" rotation = 90 locatorname = "large_gun_01" } medium_utility_slots = 3 aux_utility_slots = 1 ai_weight = { factor = 1 modifier = { factor = 10 is_preferred_weapons = weapon_type_strike_craft } } resources = { category = ship_sections cost = { trigger = { from = { country_uses_bio_ships = no } } alloys = @defense_platform_section_cost } cost = { trigger = { from = { country_uses_bio_ships = yes } } alloys = @defense_platform_section_cost mult = 0.5 } cost = { trigger = { from = { country_uses_bio_ships = yes } } food = @defense_platform_section_cost mult = @halved_alloy_to_food_cost_ratio } } } ship_section_template = { key = "LIGHT_LARGE_MILITARY_STATION_SECTION" ship_size = military_station_large fits_on_slot = "north" fits_on_slot = "west" fits_on_slot = "east" fits_on_slot = "south" should_draw_components = yes entity = "military_station_section_light_entity" icon = "GFX_ship_part_core_mid" component_slot = { name = "SMALL_GUN_01" template = "point_defence_turret" locatorname = "small_gun_01" section_instance = 0 } component_slot = { name = "SMALL_GUN_02" template = "small_turret" locatorname = "small_gun_02" section_instance = 0 } component_slot = { name = "SMALL_GUN_03" template = "point_defence_turret" locatorname = "small_gun_03" is_side_slot = no section_instance = 0 } component_slot = { name = "SMALL_GUN_04" template = "small_turret" locatorname = "small_gun_04" is_side_slot = no section_instance = 0 } component_slot = { name = "SMALL_GUN_05" template = "small_turret" locatorname = "small_gun_01" section_instance = 1 } component_slot = { name = "SMALL_GUN_06" template = "small_turret" locatorname = "small_gun_02" section_instance = 1 } component_slot = { name = "SMALL_GUN_07" template = "small_turret" locatorname = "small_gun_03" is_side_slot = no section_instance = 1 } component_slot = { name = "SMALL_GUN_08" template = "small_turret" locatorname = "small_gun_04" is_side_slot = no section_instance = 1 } small_utility_slots = 2 medium_utility_slots = 2 large_utility_slots = 2 aux_utility_slots = 1 } ship_section_template = { key = "MEDIUM_LARGE_MILITARY_STATION_SECTION" ship_size = military_station_large fits_on_slot = "north" fits_on_slot = "west" fits_on_slot = "east" fits_on_slot = "south" should_draw_components = yes entity = "military_station_section_medium_entity" icon = "GFX_ship_part_core_mid" component_slot = { name = "MEDIUM_GUN_01" template = "medium_turret" locatorname = "medium_gun_01" section_instance = 0 } component_slot = { name = "MEDIUM_GUN_02" template = "medium_turret" locatorname = "medium_gun_02" section_instance = 0 } component_slot = { name = "MEDIUM_GUN_03" template = "medium_turret" locatorname = "medium_gun_01" section_instance = 1 } component_slot = { name = "MEDIUM_GUN_04" template = "medium_turret" locatorname = "medium_gun_02" section_instance = 1 } small_utility_slots = 2 medium_utility_slots = 2 large_utility_slots = 2 aux_utility_slots = 1 } ship_section_template = { key = "HEAVY_LARGE_MILITARY_STATION_SECTION" ship_size = military_station_large fits_on_slot = "north" fits_on_slot = "west" fits_on_slot = "east" fits_on_slot = "south" should_draw_components = yes entity = "military_station_section_heavy_entity" icon = "GFX_ship_part_core_mid" component_slot = { name = "LARGE_GUN_01" template = "large_turret" locatorname = "large_gun_01" section_instance = 0 } component_slot = { name = "LARGE_GUN_02" template = "large_turret" locatorname = "large_gun_01" section_instance = 1 } small_utility_slots = 2 medium_utility_slots = 2 large_utility_slots = 2 aux_utility_slots = 1 } ship_section_template = { key = "HANGAR_LARGE_MILITARY_STATION_SECTION" ship_size = military_station_large prerequisites = { OR = { tech_strike_craft_1 tech_strike_craft_2 tech_strike_craft_3 tech_strike_craft_skrand } } fits_on_slot = "north" fits_on_slot = "west" fits_on_slot = "east" fits_on_slot = "south" should_draw_components = yes entity = "military_station_section_heavy_entity" icon = "GFX_ship_part_core_mid" component_slot = { name = "STRIKE_CRAFT_01" template = "large_strike_craft" rotation = 90 locatorname = "large_gun_01" section_instance = 0 } component_slot = { name = "STRIKE_CRAFT_02" template = "large_strike_craft" rotation = 90 locatorname = "large_gun_01" section_instance = 1 } small_utility_slots = 2 medium_utility_slots = 2 large_utility_slots = 2 aux_utility_slots = 1 } ########################### ## Other ########################### ship_section_template = { key = "abandoned_ship_section" ship_size = abandoned_ship fits_on_slot = mid entity = "abandoned_ship_section_entity" icon = "GFX_ship_part_core_mid" component_slot = { name = "LARGE_GUN_01" template = "large_turret" locatorname = "root" } component_slot = { name = "LARGE_GUN_02" template = "large_turret" locatorname = "root" } component_slot = { name = "MEDIUM_GUN_01" template = "medium_turret" locatorname = "root" } component_slot = { name = "MEDIUM_GUN_02" template = "medium_turret" locatorname = "root" } component_slot = { name = "MEDIUM_GUN_03" template = "medium_turret" locatorname = "root" } large_utility_slots = 1 medium_utility_slots = 3 } ship_section_template = { key = "probe_section" ship_size = probe fits_on_slot = mid entity = "probe_section_entity" icon = "GFX_ship_part_core_mid" component_slot = { name = "MEDIUM_GUN_01" template = "medium_turret" locatorname = "root" } component_slot = { name = "MEDIUM_GUN_02" template = "medium_turret" locatorname = "root" } small_utility_slots = 1 medium_utility_slots = 1 large_utility_slots = 1 } ship_section_template = { key = "alien_racing_section" ship_size = alien_racing_ship fits_on_slot = mid entity = "eventship_06_entity" icon = "GFX_ship_part_core_mid" small_utility_slots = 2 medium_utility_slots = 2 large_utility_slots = 1 } ## Nanite Swarmer ship_section_template = { key = "nanite_swarmer_torpedo_key" ship_size = nanite_swarmer fits_on_slot = mid entity = "gatebuilder_01_cruiser_section_entity" icon = "GFX_ship_part_core_mid" ai_tags = { explosive } component_slot = { name = "TORPEDO_01" template = "invisible_missile_turret" locatorname = "turret_01" } component_slot = { name = "TORPEDO_02" template = "invisible_missile_turret" locatorname = "turret_01" } small_utility_slots = 0 aux_utility_slots = 1 } ship_section_template = { key = "nanite_swarmer_medium_key" ship_size = nanite_swarmer fits_on_slot = mid entity = "gatebuilder_01_cruiser_section_entity" icon = "GFX_ship_part_core_mid" ai_tags = { gunship } component_slot = { name = "MEDIUM_01" template = "invisible_medium_turret" locatorname = "turret_01" } component_slot = { name = "MEDIUM_02" template = "invisible_medium_turret" locatorname = "turret_01" } small_utility_slots = 0 aux_utility_slots = 1 } ship_section_template = { key = "nanite_swarmer_flak_key" ship_size = nanite_swarmer fits_on_slot = mid entity = "gatebuilder_01_cruiser_section_entity" icon = "GFX_ship_part_core_mid" ai_tags = { screen } component_slot = { name = "SMALL_GUN_01" template = "invisible_point_defence_turret" locatorname = "turret_01" } component_slot = { name = "SMALL_GUN_02" template = "invisible_point_defence_turret" locatorname = "turret_01" } component_slot = { name = "SMALL_GUN_03" template = "invisible_point_defence_turret" locatorname = "turret_01" } component_slot = { name = "SMALL_GUN_04" template = "invisible_point_defence_turret" locatorname = "turret_01" } small_utility_slots = 0 aux_utility_slots = 1 } ship_section_template = { key = "nanite_swarmer_carrier_key" ship_size = nanite_swarmer fits_on_slot = mid entity = "gatebuilder_01_cruiser_section_entity" icon = "GFX_ship_part_core_mid" ai_tags = { carrier } component_slot = { name = "STRIKE_CRAFT_01" template = "large_strike_craft" locatorname = "turret_01" } small_utility_slots = 0 aux_utility_slots = 1 } ## Playable Nanite Interdictor ship_section_template = { #Carrier section key = "nanite_interdictor_carrier_key" ship_size = nanite_interdictor fits_on_slot = mid entity = "gatebuilder_01_mothership_section_entity" icon = "GFX_ship_part_core_mid" ai_tags = { carrier } component_slot = { name = "LARGE_GUN_01" template = "invisible_large_turret" locatorname = "xl_gun_01" } component_slot = { name = "SMALL_GUN_01" template = "invisible_point_defence_turret" locatorname = "xl_gun_01" } component_slot = { name = "SMALL_GUN_02" template = "invisible_point_defence_turret" locatorname = "xl_gun_01" } component_slot = { name = "STRIKE_CRAFT_01" template = "large_strike_craft" locatorname = "xl_gun_01" } component_slot = { name = "STRIKE_CRAFT_02" template = "large_strike_craft" locatorname = "xl_gun_01" } component_slot = { name = "STRIKE_CRAFT_03" template = "large_strike_craft" locatorname = "xl_gun_01" } component_slot = { name = "STRIKE_CRAFT_04" template = "large_strike_craft" locatorname = "xl_gun_01" } large_utility_slots = 3 aux_utility_slots = 1 } ship_section_template = { #Torpedo section key = "nanite_interdictor_torpedo_key" ship_size = nanite_interdictor fits_on_slot = mid entity = "gatebuilder_01_mothership_section_entity" icon = "GFX_ship_part_core_mid" ai_tags = { energy_torpedoes explosive } component_slot = { name = "TORPEDO_01" template = "invisible_missile_turret" locatorname = "xl_gun_01" } component_slot = { name = "TORPEDO_02" template = "invisible_missile_turret" locatorname = "xl_gun_01" } component_slot = { name = "TORPEDO_03" template = "invisible_missile_turret" locatorname = "xl_gun_01" } component_slot = { name = "TORPEDO_04" template = "invisible_missile_turret" locatorname = "xl_gun_01" } component_slot = { name = "TORPEDO_05" template = "invisible_missile_turret" locatorname = "xl_gun_01" } component_slot = { name = "SMALL_GUN_01" template = "invisible_small_turret" locatorname = "xl_gun_01" } component_slot = { name = "SMALL_GUN_02" template = "invisible_small_turret" locatorname = "xl_gun_01" } component_slot = { name = "SMALL_GUN_03" template = "invisible_small_turret" locatorname = "xl_gun_01" } component_slot = { name = "SMALL_GUN_04" template = "invisible_small_turret" locatorname = "xl_gun_01" } large_utility_slots = 3 aux_utility_slots = 1 }